| 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.RedshiftServerLess.UpdateEndpointAccess
Description
Updates an Amazon Redshift Serverless managed endpoint.
Synopsis
- data UpdateEndpointAccess = UpdateEndpointAccess' {
- vpcSecurityGroupIds :: Maybe [Text]
- endpointName :: Text
- newUpdateEndpointAccess :: Text -> UpdateEndpointAccess
- updateEndpointAccess_vpcSecurityGroupIds :: Lens' UpdateEndpointAccess (Maybe [Text])
- updateEndpointAccess_endpointName :: Lens' UpdateEndpointAccess Text
- data UpdateEndpointAccessResponse = UpdateEndpointAccessResponse' {}
- newUpdateEndpointAccessResponse :: Int -> UpdateEndpointAccessResponse
- updateEndpointAccessResponse_endpoint :: Lens' UpdateEndpointAccessResponse (Maybe EndpointAccess)
- updateEndpointAccessResponse_httpStatus :: Lens' UpdateEndpointAccessResponse Int
Creating a Request
data UpdateEndpointAccess Source #
See: newUpdateEndpointAccess smart constructor.
Constructors
| UpdateEndpointAccess' | |
Fields
| |
Instances
newUpdateEndpointAccess Source #
Arguments
| :: Text | |
| -> UpdateEndpointAccess |
Create a value of UpdateEndpointAccess 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:vpcSecurityGroupIds:UpdateEndpointAccess', updateEndpointAccess_vpcSecurityGroupIds - The list of VPC security groups associated with the endpoint after the
endpoint is modified.
UpdateEndpointAccess, updateEndpointAccess_endpointName - The name of the VPC endpoint to update.
Request Lenses
updateEndpointAccess_vpcSecurityGroupIds :: Lens' UpdateEndpointAccess (Maybe [Text]) Source #
The list of VPC security groups associated with the endpoint after the endpoint is modified.
updateEndpointAccess_endpointName :: Lens' UpdateEndpointAccess Text Source #
The name of the VPC endpoint to update.
Destructuring the Response
data UpdateEndpointAccessResponse Source #
See: newUpdateEndpointAccessResponse smart constructor.
Constructors
| UpdateEndpointAccessResponse' | |
Fields
| |
Instances
newUpdateEndpointAccessResponse Source #
Create a value of UpdateEndpointAccessResponse 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:
UpdateEndpointAccessResponse, updateEndpointAccessResponse_endpoint - The updated VPC endpoint.
$sel:httpStatus:UpdateEndpointAccessResponse', updateEndpointAccessResponse_httpStatus - The response's http status code.
Response Lenses
updateEndpointAccessResponse_endpoint :: Lens' UpdateEndpointAccessResponse (Maybe EndpointAccess) Source #
The updated VPC endpoint.
updateEndpointAccessResponse_httpStatus :: Lens' UpdateEndpointAccessResponse Int Source #
The response's http status code.