Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the specified attributes of the Direct Connect gateway association.
Add or remove prefixes from the association.
Synopsis
- data UpdateDirectConnectGatewayAssociation = UpdateDirectConnectGatewayAssociation' {}
- newUpdateDirectConnectGatewayAssociation :: UpdateDirectConnectGatewayAssociation
- updateDirectConnectGatewayAssociation_associationId :: Lens' UpdateDirectConnectGatewayAssociation (Maybe Text)
- updateDirectConnectGatewayAssociation_addAllowedPrefixesToDirectConnectGateway :: Lens' UpdateDirectConnectGatewayAssociation (Maybe [RouteFilterPrefix])
- 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.
UpdateDirectConnectGatewayAssociation' | |
|
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:associationId:UpdateDirectConnectGatewayAssociation'
, updateDirectConnectGatewayAssociation_associationId
- The ID of the Direct Connect gateway association.
$sel:addAllowedPrefixesToDirectConnectGateway:UpdateDirectConnectGatewayAssociation'
, updateDirectConnectGatewayAssociation_addAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.
$sel:removeAllowedPrefixesToDirectConnectGateway:UpdateDirectConnectGatewayAssociation'
, updateDirectConnectGatewayAssociation_removeAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to no longer advertise to the Direct Connect
gateway.
Request Lenses
updateDirectConnectGatewayAssociation_associationId :: Lens' UpdateDirectConnectGatewayAssociation (Maybe Text) Source #
The ID of the Direct Connect gateway association.
updateDirectConnectGatewayAssociation_addAllowedPrefixesToDirectConnectGateway :: Lens' UpdateDirectConnectGatewayAssociation (Maybe [RouteFilterPrefix]) Source #
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
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.
UpdateDirectConnectGatewayAssociationResponse' | |
|
Instances
newUpdateDirectConnectGatewayAssociationResponse Source #
:: 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.