| 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.GetTransitGatewayRouteTableAttachment
Description
Returns information about a transit gateway route table attachment.
Synopsis
- data GetTransitGatewayRouteTableAttachment = GetTransitGatewayRouteTableAttachment' {
- attachmentId :: Text
- newGetTransitGatewayRouteTableAttachment :: Text -> GetTransitGatewayRouteTableAttachment
- getTransitGatewayRouteTableAttachment_attachmentId :: Lens' GetTransitGatewayRouteTableAttachment Text
- data GetTransitGatewayRouteTableAttachmentResponse = GetTransitGatewayRouteTableAttachmentResponse' {}
- newGetTransitGatewayRouteTableAttachmentResponse :: Int -> GetTransitGatewayRouteTableAttachmentResponse
- getTransitGatewayRouteTableAttachmentResponse_transitGatewayRouteTableAttachment :: Lens' GetTransitGatewayRouteTableAttachmentResponse (Maybe TransitGatewayRouteTableAttachment)
- getTransitGatewayRouteTableAttachmentResponse_httpStatus :: Lens' GetTransitGatewayRouteTableAttachmentResponse Int
Creating a Request
data GetTransitGatewayRouteTableAttachment Source #
See: newGetTransitGatewayRouteTableAttachment smart constructor.
Constructors
| GetTransitGatewayRouteTableAttachment' | |
Fields
| |
Instances
newGetTransitGatewayRouteTableAttachment Source #
Create a value of GetTransitGatewayRouteTableAttachment 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:
GetTransitGatewayRouteTableAttachment, getTransitGatewayRouteTableAttachment_attachmentId - The ID of the transit gateway route table attachment.
Request Lenses
getTransitGatewayRouteTableAttachment_attachmentId :: Lens' GetTransitGatewayRouteTableAttachment Text Source #
The ID of the transit gateway route table attachment.
Destructuring the Response
data GetTransitGatewayRouteTableAttachmentResponse Source #
See: newGetTransitGatewayRouteTableAttachmentResponse smart constructor.
Constructors
| GetTransitGatewayRouteTableAttachmentResponse' | |
Fields
| |
Instances
newGetTransitGatewayRouteTableAttachmentResponse Source #
Arguments
| :: Int |
|
| -> GetTransitGatewayRouteTableAttachmentResponse |
Create a value of GetTransitGatewayRouteTableAttachmentResponse 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:GetTransitGatewayRouteTableAttachmentResponse', getTransitGatewayRouteTableAttachmentResponse_transitGatewayRouteTableAttachment - Returns information about the transit gateway route table attachment.
$sel:httpStatus:GetTransitGatewayRouteTableAttachmentResponse', getTransitGatewayRouteTableAttachmentResponse_httpStatus - The response's http status code.
Response Lenses
getTransitGatewayRouteTableAttachmentResponse_transitGatewayRouteTableAttachment :: Lens' GetTransitGatewayRouteTableAttachmentResponse (Maybe TransitGatewayRouteTableAttachment) Source #
Returns information about the transit gateway route table attachment.
getTransitGatewayRouteTableAttachmentResponse_httpStatus :: Lens' GetTransitGatewayRouteTableAttachmentResponse Int Source #
The response's http status code.