update_api_mapping
¶
update_api_mapping(
api_mapping_id: __string,
domain_name: __string,
*,
config_overrides: Optional[ApiGatewayV2ClientConfig] = 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/api_gateway_v2.py
5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 | |