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 OpenSearch Serverless-managed interface VPC endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
Synopsis
- data CreateVpcEndpoint = CreateVpcEndpoint' {}
- newCreateVpcEndpoint :: Text -> NonEmpty Text -> Text -> CreateVpcEndpoint
- createVpcEndpoint_clientToken :: Lens' CreateVpcEndpoint (Maybe Text)
- createVpcEndpoint_securityGroupIds :: Lens' CreateVpcEndpoint (Maybe (NonEmpty Text))
- createVpcEndpoint_name :: Lens' CreateVpcEndpoint Text
- createVpcEndpoint_subnetIds :: Lens' CreateVpcEndpoint (NonEmpty Text)
- createVpcEndpoint_vpcId :: Lens' CreateVpcEndpoint Text
- data CreateVpcEndpointResponse = CreateVpcEndpointResponse' {}
- newCreateVpcEndpointResponse :: Int -> CreateVpcEndpointResponse
- createVpcEndpointResponse_createVpcEndpointDetail :: Lens' CreateVpcEndpointResponse (Maybe CreateVpcEndpointDetail)
- createVpcEndpointResponse_httpStatus :: Lens' CreateVpcEndpointResponse Int
Creating a Request
data CreateVpcEndpoint Source #
See: newCreateVpcEndpoint
smart constructor.
CreateVpcEndpoint' | |
|
Instances
:: Text | |
-> NonEmpty Text | |
-> Text | |
-> 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_securityGroupIds
- The unique identifiers of the security groups that define the ports,
protocols, and sources for inbound traffic that you are authorizing into
your endpoint.
CreateVpcEndpoint
, createVpcEndpoint_name
- The name of the interface endpoint.
CreateVpcEndpoint
, createVpcEndpoint_subnetIds
- The ID of one or more subnets from which you'll access OpenSearch
Serverless.
CreateVpcEndpoint
, createVpcEndpoint_vpcId
- The ID of the VPC from which you'll access OpenSearch Serverless.
Request Lenses
createVpcEndpoint_clientToken :: Lens' CreateVpcEndpoint (Maybe Text) Source #
Unique, case-sensitive identifier to ensure idempotency of the request.
createVpcEndpoint_securityGroupIds :: Lens' CreateVpcEndpoint (Maybe (NonEmpty Text)) Source #
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
createVpcEndpoint_name :: Lens' CreateVpcEndpoint Text Source #
The name of the interface endpoint.
createVpcEndpoint_subnetIds :: Lens' CreateVpcEndpoint (NonEmpty Text) Source #
The ID of one or more subnets from which you'll access OpenSearch Serverless.
createVpcEndpoint_vpcId :: Lens' CreateVpcEndpoint Text Source #
The ID of the VPC from which you'll access OpenSearch Serverless.
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:createVpcEndpointDetail:CreateVpcEndpointResponse'
, createVpcEndpointResponse_createVpcEndpointDetail
- Details about the created interface VPC endpoint.
$sel:httpStatus:CreateVpcEndpointResponse'
, createVpcEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
createVpcEndpointResponse_createVpcEndpointDetail :: Lens' CreateVpcEndpointResponse (Maybe CreateVpcEndpointDetail) Source #
Details about the created interface VPC endpoint.
createVpcEndpointResponse_httpStatus :: Lens' CreateVpcEndpointResponse Int Source #
The response's http status code.