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 |
Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway.
You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any Amazon Web Services account.
Synopsis
- data CreateDirectConnectGatewayAssociationProposal = CreateDirectConnectGatewayAssociationProposal' {}
- newCreateDirectConnectGatewayAssociationProposal :: Text -> Text -> Text -> CreateDirectConnectGatewayAssociationProposal
- createDirectConnectGatewayAssociationProposal_addAllowedPrefixesToDirectConnectGateway :: Lens' CreateDirectConnectGatewayAssociationProposal (Maybe [RouteFilterPrefix])
- createDirectConnectGatewayAssociationProposal_removeAllowedPrefixesToDirectConnectGateway :: Lens' CreateDirectConnectGatewayAssociationProposal (Maybe [RouteFilterPrefix])
- createDirectConnectGatewayAssociationProposal_directConnectGatewayId :: Lens' CreateDirectConnectGatewayAssociationProposal Text
- createDirectConnectGatewayAssociationProposal_directConnectGatewayOwnerAccount :: Lens' CreateDirectConnectGatewayAssociationProposal Text
- createDirectConnectGatewayAssociationProposal_gatewayId :: Lens' CreateDirectConnectGatewayAssociationProposal Text
- data CreateDirectConnectGatewayAssociationProposalResponse = CreateDirectConnectGatewayAssociationProposalResponse' {}
- newCreateDirectConnectGatewayAssociationProposalResponse :: Int -> CreateDirectConnectGatewayAssociationProposalResponse
- createDirectConnectGatewayAssociationProposalResponse_directConnectGatewayAssociationProposal :: Lens' CreateDirectConnectGatewayAssociationProposalResponse (Maybe DirectConnectGatewayAssociationProposal)
- createDirectConnectGatewayAssociationProposalResponse_httpStatus :: Lens' CreateDirectConnectGatewayAssociationProposalResponse Int
Creating a Request
data CreateDirectConnectGatewayAssociationProposal Source #
See: newCreateDirectConnectGatewayAssociationProposal
smart constructor.
CreateDirectConnectGatewayAssociationProposal' | |
|
Instances
newCreateDirectConnectGatewayAssociationProposal Source #
Create a value of CreateDirectConnectGatewayAssociationProposal
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:CreateDirectConnectGatewayAssociationProposal'
, createDirectConnectGatewayAssociationProposal_addAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.
$sel:removeAllowedPrefixesToDirectConnectGateway:CreateDirectConnectGatewayAssociationProposal'
, createDirectConnectGatewayAssociationProposal_removeAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to no longer advertise to the Direct Connect
gateway.
$sel:directConnectGatewayId:CreateDirectConnectGatewayAssociationProposal'
, createDirectConnectGatewayAssociationProposal_directConnectGatewayId
- The ID of the Direct Connect gateway.
$sel:directConnectGatewayOwnerAccount:CreateDirectConnectGatewayAssociationProposal'
, createDirectConnectGatewayAssociationProposal_directConnectGatewayOwnerAccount
- The ID of the Amazon Web Services account that owns the Direct Connect
gateway.
$sel:gatewayId:CreateDirectConnectGatewayAssociationProposal'
, createDirectConnectGatewayAssociationProposal_gatewayId
- The ID of the virtual private gateway or transit gateway.
Request Lenses
createDirectConnectGatewayAssociationProposal_addAllowedPrefixesToDirectConnectGateway :: Lens' CreateDirectConnectGatewayAssociationProposal (Maybe [RouteFilterPrefix]) Source #
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
createDirectConnectGatewayAssociationProposal_removeAllowedPrefixesToDirectConnectGateway :: Lens' CreateDirectConnectGatewayAssociationProposal (Maybe [RouteFilterPrefix]) Source #
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
createDirectConnectGatewayAssociationProposal_directConnectGatewayId :: Lens' CreateDirectConnectGatewayAssociationProposal Text Source #
The ID of the Direct Connect gateway.
createDirectConnectGatewayAssociationProposal_directConnectGatewayOwnerAccount :: Lens' CreateDirectConnectGatewayAssociationProposal Text Source #
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
createDirectConnectGatewayAssociationProposal_gatewayId :: Lens' CreateDirectConnectGatewayAssociationProposal Text Source #
The ID of the virtual private gateway or transit gateway.
Destructuring the Response
data CreateDirectConnectGatewayAssociationProposalResponse Source #
See: newCreateDirectConnectGatewayAssociationProposalResponse
smart constructor.
CreateDirectConnectGatewayAssociationProposalResponse' | |
|
Instances
newCreateDirectConnectGatewayAssociationProposalResponse Source #
:: Int |
|
-> CreateDirectConnectGatewayAssociationProposalResponse |
Create a value of CreateDirectConnectGatewayAssociationProposalResponse
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:directConnectGatewayAssociationProposal:CreateDirectConnectGatewayAssociationProposalResponse'
, createDirectConnectGatewayAssociationProposalResponse_directConnectGatewayAssociationProposal
- Information about the Direct Connect gateway proposal.
$sel:httpStatus:CreateDirectConnectGatewayAssociationProposalResponse'
, createDirectConnectGatewayAssociationProposalResponse_httpStatus
- The response's http status code.
Response Lenses
createDirectConnectGatewayAssociationProposalResponse_directConnectGatewayAssociationProposal :: Lens' CreateDirectConnectGatewayAssociationProposalResponse (Maybe DirectConnectGatewayAssociationProposal) Source #
Information about the Direct Connect gateway proposal.
createDirectConnectGatewayAssociationProposalResponse_httpStatus :: Lens' CreateDirectConnectGatewayAssociationProposalResponse Int Source #
The response's http status code.