update_api_mapping
async
¶
update_api_mapping(
api_mapping_id: __string,
domain_name: __string,
*,
config_overrides: Optional[AsyncApiGatewayV2ClientConfig] = None,
api_id: Optional[Id] = None,
api_mapping_key: Optional[SelectionKey] = None,
stage: Optional[StringWithLengthBetween1And128] = None,
) -> UpdateApiMappingResponse
The API mapping.
Parameters:
-
api_id(Optional[Id], default:None) –The API identifier.
-
api_mapping_id(__string) –The API mapping identifier.
-
api_mapping_key(Optional[SelectionKey], default:None) –The API mapping key.
-
domain_name(__string) –The domain name.
-
stage(Optional[StringWithLengthBetween1And128], default:None) –The API stage.
Raises:
-
BadRequestException–The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
-
ConflictException–The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
-
NotFoundException–The resource specified in the request was not found. See the message field for more information.
-
TooManyRequestsException–A limit has been exceeded. See the accompanying error message for details.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_apigatewayv2/_services/async_api_gateway_v2.py
5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 | |