| 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.DirectConnect.UpdateDirectConnectGatewayAssociation
Description
Updates the specified attributes of the Direct Connect gateway association.
Add or remove prefixes from the association.
Synopsis
- data UpdateDirectConnectGatewayAssociation = UpdateDirectConnectGatewayAssociation' {}
- newUpdateDirectConnectGatewayAssociation :: UpdateDirectConnectGatewayAssociation
- updateDirectConnectGatewayAssociation_addAllowedPrefixesToDirectConnectGateway :: Lens' UpdateDirectConnectGatewayAssociation (Maybe [RouteFilterPrefix])
- updateDirectConnectGatewayAssociation_associationId :: Lens' UpdateDirectConnectGatewayAssociation (Maybe Text)
- updateDirectConnectGatewayAssociation_removeAllowedPrefixesToDirectConnectGateway :: Lens' UpdateDirectConnectGatewayAssociation (Maybe [RouteFilterPrefix])
- data UpdateDirectConnectGatewayAssociationResponse = UpdateDirectConnectGatewayAssociationResponse' {}
- newUpdateDirectConnectGatewayAssociationResponse :: Int -> UpdateDirectConnectGatewayAssociationResponse
- updateDirectConnectGatewayAssociationResponse_directConnectGatewayAssociation :: Lens' UpdateDirectConnectGatewayAssociationResponse (Maybe DirectConnectGatewayAssociation)
- updateDirectConnectGatewayAssociationResponse_httpStatus :: Lens' UpdateDirectConnectGatewayAssociationResponse Int
Creating a Request
data UpdateDirectConnectGatewayAssociation Source #
See: newUpdateDirectConnectGatewayAssociation smart constructor.
Constructors
| UpdateDirectConnectGatewayAssociation' | |
Fields
| |
Instances
newUpdateDirectConnectGatewayAssociation :: UpdateDirectConnectGatewayAssociation Source #
Create a value of UpdateDirectConnectGatewayAssociation 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:addAllowedPrefixesToDirectConnectGateway:UpdateDirectConnectGatewayAssociation', updateDirectConnectGatewayAssociation_addAllowedPrefixesToDirectConnectGateway - The Amazon VPC prefixes to advertise to the Direct Connect gateway.
UpdateDirectConnectGatewayAssociation, updateDirectConnectGatewayAssociation_associationId - The ID of the Direct Connect gateway association.
$sel:removeAllowedPrefixesToDirectConnectGateway:UpdateDirectConnectGatewayAssociation', updateDirectConnectGatewayAssociation_removeAllowedPrefixesToDirectConnectGateway - The Amazon VPC prefixes to no longer advertise to the Direct Connect
gateway.
Request Lenses
updateDirectConnectGatewayAssociation_addAllowedPrefixesToDirectConnectGateway :: Lens' UpdateDirectConnectGatewayAssociation (Maybe [RouteFilterPrefix]) Source #
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
updateDirectConnectGatewayAssociation_associationId :: Lens' UpdateDirectConnectGatewayAssociation (Maybe Text) Source #
The ID of the Direct Connect gateway association.
updateDirectConnectGatewayAssociation_removeAllowedPrefixesToDirectConnectGateway :: Lens' UpdateDirectConnectGatewayAssociation (Maybe [RouteFilterPrefix]) Source #
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
Destructuring the Response
data UpdateDirectConnectGatewayAssociationResponse Source #
See: newUpdateDirectConnectGatewayAssociationResponse smart constructor.
Constructors
| UpdateDirectConnectGatewayAssociationResponse' | |
Fields
| |
Instances
newUpdateDirectConnectGatewayAssociationResponse Source #
Arguments
| :: Int |
|
| -> UpdateDirectConnectGatewayAssociationResponse |
Create a value of UpdateDirectConnectGatewayAssociationResponse 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:directConnectGatewayAssociation:UpdateDirectConnectGatewayAssociationResponse', updateDirectConnectGatewayAssociationResponse_directConnectGatewayAssociation - Undocumented member.
$sel:httpStatus:UpdateDirectConnectGatewayAssociationResponse', updateDirectConnectGatewayAssociationResponse_httpStatus - The response's http status code.
Response Lenses
updateDirectConnectGatewayAssociationResponse_directConnectGatewayAssociation :: Lens' UpdateDirectConnectGatewayAssociationResponse (Maybe DirectConnectGatewayAssociation) Source #
Undocumented member.
updateDirectConnectGatewayAssociationResponse_httpStatus :: Lens' UpdateDirectConnectGatewayAssociationResponse Int Source #
The response's http status code.