update_virtual_gateway
¶
update_virtual_gateway(
virtual_gateway_name: ResourceName,
mesh_name: ResourceName,
spec: VirtualGatewaySpec,
*,
config_overrides: Optional[AppMeshClientConfig] = None,
client_token: Optional[str] = None,
mesh_owner: Optional[AccountId] = None,
) -> UpdateVirtualGatewayOutput
Updates an existing virtual gateway in a specified service mesh.
Parameters:
-
virtual_gateway_name(ResourceName) –The name of the virtual gateway to update.
-
mesh_name(ResourceName) –The name of the service mesh that the virtual gateway resides in.
-
spec(VirtualGatewaySpec) –The new virtual gateway specification to apply. This overwrites the existing data.
-
client_token(Optional[str], default:None) –Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
-
mesh_owner(Optional[AccountId], default:None) –The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
Raises:
-
BadRequestException–The request syntax was malformed. Check your request syntax and try again.
-
ConflictException–The request contains a client token that was used for a previous update resource call with different specifications. Try the request again with a new client token.
-
ForbiddenException–You don't have permissions to perform this action.
-
InternalServerErrorException–The request processing has failed because of an unknown error, exception, or failure.
-
LimitExceededException–You have exceeded a service limit for your account. For more information, see Service Limits in the App Mesh User Guide.
-
NotFoundException–The specified resource doesn't exist. Check your request syntax and try again.
-
ServiceUnavailableException–The request has failed due to a temporary failure of the service.
-
TooManyRequestsException–The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.
-
UnknownServiceError–The service returned an error code this client does not model.