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 |
Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
Synopsis
- data UpdateVpcEndpoint = UpdateVpcEndpoint' {}
- newUpdateVpcEndpoint :: Text -> VPCOptions -> UpdateVpcEndpoint
- updateVpcEndpoint_vpcEndpointId :: Lens' UpdateVpcEndpoint Text
- updateVpcEndpoint_vpcOptions :: Lens' UpdateVpcEndpoint VPCOptions
- data UpdateVpcEndpointResponse = UpdateVpcEndpointResponse' {}
- newUpdateVpcEndpointResponse :: Int -> VpcEndpoint -> UpdateVpcEndpointResponse
- updateVpcEndpointResponse_httpStatus :: Lens' UpdateVpcEndpointResponse Int
- updateVpcEndpointResponse_vpcEndpoint :: Lens' UpdateVpcEndpointResponse VpcEndpoint
Creating a Request
data UpdateVpcEndpoint Source #
Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
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:
UpdateVpcEndpoint
, updateVpcEndpoint_vpcEndpointId
- Unique identifier of the VPC endpoint to be updated.
UpdateVpcEndpoint
, updateVpcEndpoint_vpcOptions
- The security groups and/or subnets to add, remove, or modify.
Request Lenses
updateVpcEndpoint_vpcEndpointId :: Lens' UpdateVpcEndpoint Text Source #
Unique identifier of the VPC endpoint to be updated.
updateVpcEndpoint_vpcOptions :: Lens' UpdateVpcEndpoint VPCOptions Source #
The security groups and/or subnets to add, remove, or modify.
Destructuring the Response
data UpdateVpcEndpointResponse Source #
Contains the configuration and status of the VPC endpoint being updated.
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:httpStatus:UpdateVpcEndpointResponse'
, updateVpcEndpointResponse_httpStatus
- The response's http status code.
$sel:vpcEndpoint:UpdateVpcEndpointResponse'
, updateVpcEndpointResponse_vpcEndpoint
- The endpoint to be updated.
Response Lenses
updateVpcEndpointResponse_httpStatus :: Lens' UpdateVpcEndpointResponse Int Source #
The response's http status code.
updateVpcEndpointResponse_vpcEndpoint :: Lens' UpdateVpcEndpointResponse VpcEndpoint Source #
The endpoint to be updated.