create_vpc_endpoint
¶
create_vpc_endpoint(
domain_arn: DomainArn,
vpc_options: VPCOptions,
*,
config_overrides: Optional[OpenSearchClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> CreateVpcEndpointResponse
Creates an Amazon OpenSearch Service-managed VPC endpoint.
Parameters:
-
domain_arn(DomainArn) –The Amazon Resource Name (ARN) of the domain to create the endpoint for.
-
vpc_options(VPCOptions) –Options to specify the subnets and security groups for the endpoint.
-
client_token(Optional[ClientToken], default:None) –Unique, case-sensitive identifier to ensure idempotency of the request.
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.
-
LimitExceededException–An exception for trying to create more than the allowed number of resources or sub-resources.
-
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.