| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticSearch.CreateVpcEndpoint
Description
Creates an Amazon OpenSearch Service-managed VPC endpoint.
Synopsis
- data CreateVpcEndpoint = CreateVpcEndpoint' {}
- newCreateVpcEndpoint :: Text -> VPCOptions -> CreateVpcEndpoint
- createVpcEndpoint_clientToken :: Lens' CreateVpcEndpoint (Maybe Text)
- createVpcEndpoint_domainArn :: Lens' CreateVpcEndpoint Text
- createVpcEndpoint_vpcOptions :: Lens' CreateVpcEndpoint VPCOptions
- data CreateVpcEndpointResponse = CreateVpcEndpointResponse' {}
- newCreateVpcEndpointResponse :: Int -> VpcEndpoint -> CreateVpcEndpointResponse
- createVpcEndpointResponse_httpStatus :: Lens' CreateVpcEndpointResponse Int
- createVpcEndpointResponse_vpcEndpoint :: Lens' CreateVpcEndpointResponse VpcEndpoint
Creating a Request
data CreateVpcEndpoint Source #
Container for the parameters to the CreateVpcEndpointRequest
operation.
See: newCreateVpcEndpoint smart constructor.
Constructors
| CreateVpcEndpoint' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> VPCOptions | |
| -> CreateVpcEndpoint |
Create a value of CreateVpcEndpoint with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:CreateVpcEndpoint', createVpcEndpoint_clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.
CreateVpcEndpoint, createVpcEndpoint_domainArn - The Amazon Resource Name (ARN) of the domain to grant access to.
CreateVpcEndpoint, createVpcEndpoint_vpcOptions - Options to specify the subnets and security groups for the endpoint.
Request Lenses
createVpcEndpoint_clientToken :: Lens' CreateVpcEndpoint (Maybe Text) Source #
Unique, case-sensitive identifier to ensure idempotency of the request.
createVpcEndpoint_domainArn :: Lens' CreateVpcEndpoint Text Source #
The Amazon Resource Name (ARN) of the domain to grant access to.
createVpcEndpoint_vpcOptions :: Lens' CreateVpcEndpoint VPCOptions Source #
Options to specify the subnets and security groups for the endpoint.
Destructuring the Response
data CreateVpcEndpointResponse Source #
Container for response parameters to the CreateVpcEndpoint operation.
Contains the configuration and status of the VPC Endpoint being created.
See: newCreateVpcEndpointResponse smart constructor.
Constructors
| CreateVpcEndpointResponse' | |
Fields
| |
Instances
newCreateVpcEndpointResponse Source #
Arguments
| :: Int | |
| -> VpcEndpoint | |
| -> CreateVpcEndpointResponse |
Create a value of CreateVpcEndpointResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateVpcEndpointResponse', createVpcEndpointResponse_httpStatus - The response's http status code.
$sel:vpcEndpoint:CreateVpcEndpointResponse', createVpcEndpointResponse_vpcEndpoint - Information about the newly created VPC endpoint.
Response Lenses
createVpcEndpointResponse_httpStatus :: Lens' CreateVpcEndpointResponse Int Source #
The response's http status code.
createVpcEndpointResponse_vpcEndpoint :: Lens' CreateVpcEndpointResponse VpcEndpoint Source #
Information about the newly created VPC endpoint.