update_vpc_endpoint
async
¶
update_vpc_endpoint(
vpc_endpoint_id: VpcEndpointId,
vpc_options: VPCOptions,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
) -> UpdateVpcEndpointResponse
Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
Parameters:
-
vpc_endpoint_id(VpcEndpointId) –The unique identifier of the endpoint.
-
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.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.