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 |
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 #
See: newCreateVpcEndpoint
smart constructor.
CreateVpcEndpoint' | |
|
Instances
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 #
See: newCreateVpcEndpointResponse
smart constructor.
CreateVpcEndpointResponse' | |
|
Instances
newCreateVpcEndpointResponse Source #
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.