update_vpc_endpoint
async
¶
update_vpc_endpoint(
vpc_endpoint_id: VpcEndpointId,
vpc_options: VPCOptions,
*,
config_overrides: Optional[AsyncElasticsearchServiceClientConfig] = None,
) -> UpdateVpcEndpointResponse
Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
Parameters:
-
vpc_endpoint_id(VpcEndpointId) –Unique identifier of the VPC endpoint to be updated.
-
vpc_options(VPCOptions) –The security groups and/or subnets to add, remove, or modify.
Raises:
-
BaseException–An error occurred while processing the request.
-
ConflictException–An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP status code 409.
-
DisabledOperationException–An error occured because the client wanted to access a not supported operation. Gives http status code of 409.
-
InternalException–The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.
-
ValidationException–An exception for missing / invalid input fields. Gives http status code of 400.
-
UnknownServiceError–The service returned an error code this client does not model.