Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates an association between a direct connect gateway and a virtual private gateway (VGW). The VGW must be attached to a VPC and must not be associated with another direct connect gateway.
- createDirectConnectGatewayAssociation :: Text -> Text -> CreateDirectConnectGatewayAssociation
- data CreateDirectConnectGatewayAssociation
- cdcgaDirectConnectGatewayId :: Lens' CreateDirectConnectGatewayAssociation Text
- cdcgaVirtualGatewayId :: Lens' CreateDirectConnectGatewayAssociation Text
- createDirectConnectGatewayAssociationResponse :: Int -> CreateDirectConnectGatewayAssociationResponse
- data CreateDirectConnectGatewayAssociationResponse
- cdcgarsDirectConnectGatewayAssociation :: Lens' CreateDirectConnectGatewayAssociationResponse (Maybe DirectConnectGatewayAssociation)
- cdcgarsResponseStatus :: Lens' CreateDirectConnectGatewayAssociationResponse Int
Creating a Request
createDirectConnectGatewayAssociation Source #
Creates a value of CreateDirectConnectGatewayAssociation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdcgaDirectConnectGatewayId
- The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: NonecdcgaVirtualGatewayId
- The ID of the virtual private gateway. Example: "vgw-abc123ef" Default: None
data CreateDirectConnectGatewayAssociation Source #
Container for the parameters to the CreateDirectConnectGatewayAssociation operation.
See: createDirectConnectGatewayAssociation
smart constructor.
Request Lenses
cdcgaDirectConnectGatewayId :: Lens' CreateDirectConnectGatewayAssociation Text Source #
The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: None
cdcgaVirtualGatewayId :: Lens' CreateDirectConnectGatewayAssociation Text Source #
The ID of the virtual private gateway. Example: "vgw-abc123ef" Default: None
Destructuring the Response
createDirectConnectGatewayAssociationResponse Source #
Creates a value of CreateDirectConnectGatewayAssociationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdcgarsDirectConnectGatewayAssociation
- The direct connect gateway association to be created.cdcgarsResponseStatus
- -- | The response status code.
data CreateDirectConnectGatewayAssociationResponse Source #
Container for the response from the CreateDirectConnectGatewayAssociation API call
See: createDirectConnectGatewayAssociationResponse
smart constructor.
Response Lenses
cdcgarsDirectConnectGatewayAssociation :: Lens' CreateDirectConnectGatewayAssociationResponse (Maybe DirectConnectGatewayAssociation) Source #
The direct connect gateway association to be created.
cdcgarsResponseStatus :: Lens' CreateDirectConnectGatewayAssociationResponse Int Source #
- - | The response status code.