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 |
Updates an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
Synopsis
- data UpdateVpcEndpoint = UpdateVpcEndpoint' {
- addSecurityGroupIds :: Maybe (NonEmpty Text)
- addSubnetIds :: Maybe (NonEmpty Text)
- clientToken :: Maybe Text
- removeSecurityGroupIds :: Maybe (NonEmpty Text)
- removeSubnetIds :: Maybe (NonEmpty Text)
- id :: Text
- newUpdateVpcEndpoint :: Text -> UpdateVpcEndpoint
- updateVpcEndpoint_addSecurityGroupIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text))
- updateVpcEndpoint_addSubnetIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text))
- updateVpcEndpoint_clientToken :: Lens' UpdateVpcEndpoint (Maybe Text)
- updateVpcEndpoint_removeSecurityGroupIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text))
- updateVpcEndpoint_removeSubnetIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text))
- updateVpcEndpoint_id :: Lens' UpdateVpcEndpoint Text
- data UpdateVpcEndpointResponse = UpdateVpcEndpointResponse' {}
- newUpdateVpcEndpointResponse :: Int -> UpdateVpcEndpointResponse
- updateVpcEndpointResponse_updateVpcEndpointDetail :: Lens' UpdateVpcEndpointResponse (Maybe UpdateVpcEndpointDetail)
- updateVpcEndpointResponse_httpStatus :: Lens' UpdateVpcEndpointResponse Int
Creating a Request
data UpdateVpcEndpoint Source #
See: newUpdateVpcEndpoint
smart constructor.
UpdateVpcEndpoint' | |
|
Instances
Create a value of UpdateVpcEndpoint
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:addSecurityGroupIds:UpdateVpcEndpoint'
, updateVpcEndpoint_addSecurityGroupIds
- The unique identifiers of the security groups to add to the endpoint.
Security groups define the ports, protocols, and sources for inbound
traffic that you are authorizing into your endpoint.
$sel:addSubnetIds:UpdateVpcEndpoint'
, updateVpcEndpoint_addSubnetIds
- The ID of one or more subnets to add to the endpoint.
$sel:clientToken:UpdateVpcEndpoint'
, updateVpcEndpoint_clientToken
- Unique, case-sensitive identifier to ensure idempotency of the request.
$sel:removeSecurityGroupIds:UpdateVpcEndpoint'
, updateVpcEndpoint_removeSecurityGroupIds
- The unique identifiers of the security groups to remove from the
endpoint.
$sel:removeSubnetIds:UpdateVpcEndpoint'
, updateVpcEndpoint_removeSubnetIds
- The unique identifiers of the subnets to remove from the endpoint.
UpdateVpcEndpoint
, updateVpcEndpoint_id
- The unique identifier of the interface endpoint to update.
Request Lenses
updateVpcEndpoint_addSecurityGroupIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text)) Source #
The unique identifiers of the security groups to add to the endpoint. Security groups define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
updateVpcEndpoint_addSubnetIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text)) Source #
The ID of one or more subnets to add to the endpoint.
updateVpcEndpoint_clientToken :: Lens' UpdateVpcEndpoint (Maybe Text) Source #
Unique, case-sensitive identifier to ensure idempotency of the request.
updateVpcEndpoint_removeSecurityGroupIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text)) Source #
The unique identifiers of the security groups to remove from the endpoint.
updateVpcEndpoint_removeSubnetIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text)) Source #
The unique identifiers of the subnets to remove from the endpoint.
updateVpcEndpoint_id :: Lens' UpdateVpcEndpoint Text Source #
The unique identifier of the interface endpoint to update.
Destructuring the Response
data UpdateVpcEndpointResponse Source #
See: newUpdateVpcEndpointResponse
smart constructor.
UpdateVpcEndpointResponse' | |
|
Instances
newUpdateVpcEndpointResponse Source #
Create a value of UpdateVpcEndpointResponse
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:updateVpcEndpointDetail:UpdateVpcEndpointResponse'
, updateVpcEndpointResponse_updateVpcEndpointDetail
- Details about the updated VPC endpoint.
$sel:httpStatus:UpdateVpcEndpointResponse'
, updateVpcEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
updateVpcEndpointResponse_updateVpcEndpointDetail :: Lens' UpdateVpcEndpointResponse (Maybe UpdateVpcEndpointDetail) Source #
Details about the updated VPC endpoint.
updateVpcEndpointResponse_httpStatus :: Lens' UpdateVpcEndpointResponse Int Source #
The response's http status code.