| 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.NetworkManager.CreateTransitGatewayRouteTableAttachment
Description
Creates a transit gateway route table attachment.
Synopsis
- data CreateTransitGatewayRouteTableAttachment = CreateTransitGatewayRouteTableAttachment' {
- clientToken :: Maybe Text
- tags :: Maybe [Tag]
- peeringId :: Text
- transitGatewayRouteTableArn :: Text
- newCreateTransitGatewayRouteTableAttachment :: Text -> Text -> CreateTransitGatewayRouteTableAttachment
- createTransitGatewayRouteTableAttachment_clientToken :: Lens' CreateTransitGatewayRouteTableAttachment (Maybe Text)
- createTransitGatewayRouteTableAttachment_tags :: Lens' CreateTransitGatewayRouteTableAttachment (Maybe [Tag])
- createTransitGatewayRouteTableAttachment_peeringId :: Lens' CreateTransitGatewayRouteTableAttachment Text
- createTransitGatewayRouteTableAttachment_transitGatewayRouteTableArn :: Lens' CreateTransitGatewayRouteTableAttachment Text
- data CreateTransitGatewayRouteTableAttachmentResponse = CreateTransitGatewayRouteTableAttachmentResponse' {}
- newCreateTransitGatewayRouteTableAttachmentResponse :: Int -> CreateTransitGatewayRouteTableAttachmentResponse
- createTransitGatewayRouteTableAttachmentResponse_transitGatewayRouteTableAttachment :: Lens' CreateTransitGatewayRouteTableAttachmentResponse (Maybe TransitGatewayRouteTableAttachment)
- createTransitGatewayRouteTableAttachmentResponse_httpStatus :: Lens' CreateTransitGatewayRouteTableAttachmentResponse Int
Creating a Request
data CreateTransitGatewayRouteTableAttachment Source #
See: newCreateTransitGatewayRouteTableAttachment smart constructor.
Constructors
| CreateTransitGatewayRouteTableAttachment' | |
Fields
| |
Instances
newCreateTransitGatewayRouteTableAttachment Source #
Arguments
| :: Text | |
| -> Text | |
| -> CreateTransitGatewayRouteTableAttachment |
Create a value of CreateTransitGatewayRouteTableAttachment 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:clientToken:CreateTransitGatewayRouteTableAttachment', createTransitGatewayRouteTableAttachment_clientToken - The client token associated with the request.
CreateTransitGatewayRouteTableAttachment, createTransitGatewayRouteTableAttachment_tags - The list of key-value tags associated with the request.
CreateTransitGatewayRouteTableAttachment, createTransitGatewayRouteTableAttachment_peeringId - The ID of the peer for the
CreateTransitGatewayRouteTableAttachment, createTransitGatewayRouteTableAttachment_transitGatewayRouteTableArn - The ARN of the transit gateway route table for the attachment request.
Request Lenses
createTransitGatewayRouteTableAttachment_clientToken :: Lens' CreateTransitGatewayRouteTableAttachment (Maybe Text) Source #
The client token associated with the request.
createTransitGatewayRouteTableAttachment_tags :: Lens' CreateTransitGatewayRouteTableAttachment (Maybe [Tag]) Source #
The list of key-value tags associated with the request.
createTransitGatewayRouteTableAttachment_peeringId :: Lens' CreateTransitGatewayRouteTableAttachment Text Source #
The ID of the peer for the
createTransitGatewayRouteTableAttachment_transitGatewayRouteTableArn :: Lens' CreateTransitGatewayRouteTableAttachment Text Source #
The ARN of the transit gateway route table for the attachment request.
Destructuring the Response
data CreateTransitGatewayRouteTableAttachmentResponse Source #
See: newCreateTransitGatewayRouteTableAttachmentResponse smart constructor.
Constructors
| CreateTransitGatewayRouteTableAttachmentResponse' | |
Fields
| |
Instances
newCreateTransitGatewayRouteTableAttachmentResponse Source #
Arguments
| :: Int |
|
| -> CreateTransitGatewayRouteTableAttachmentResponse |
Create a value of CreateTransitGatewayRouteTableAttachmentResponse 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:transitGatewayRouteTableAttachment:CreateTransitGatewayRouteTableAttachmentResponse', createTransitGatewayRouteTableAttachmentResponse_transitGatewayRouteTableAttachment - The route table associated with the create transit gateway route table
attachment request.
$sel:httpStatus:CreateTransitGatewayRouteTableAttachmentResponse', createTransitGatewayRouteTableAttachmentResponse_httpStatus - The response's http status code.
Response Lenses
createTransitGatewayRouteTableAttachmentResponse_transitGatewayRouteTableAttachment :: Lens' CreateTransitGatewayRouteTableAttachmentResponse (Maybe TransitGatewayRouteTableAttachment) Source #
The route table associated with the create transit gateway route table attachment request.
createTransitGatewayRouteTableAttachmentResponse_httpStatus :: Lens' CreateTransitGatewayRouteTableAttachmentResponse Int Source #
The response's http status code.