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 |
Creates a reference (route) to a prefix list in a specified transit gateway route table.
Synopsis
- data CreateTransitGatewayPrefixListReference = CreateTransitGatewayPrefixListReference' {}
- newCreateTransitGatewayPrefixListReference :: Text -> Text -> CreateTransitGatewayPrefixListReference
- createTransitGatewayPrefixListReference_blackhole :: Lens' CreateTransitGatewayPrefixListReference (Maybe Bool)
- createTransitGatewayPrefixListReference_dryRun :: Lens' CreateTransitGatewayPrefixListReference (Maybe Bool)
- createTransitGatewayPrefixListReference_transitGatewayAttachmentId :: Lens' CreateTransitGatewayPrefixListReference (Maybe Text)
- createTransitGatewayPrefixListReference_transitGatewayRouteTableId :: Lens' CreateTransitGatewayPrefixListReference Text
- createTransitGatewayPrefixListReference_prefixListId :: Lens' CreateTransitGatewayPrefixListReference Text
- data CreateTransitGatewayPrefixListReferenceResponse = CreateTransitGatewayPrefixListReferenceResponse' {}
- newCreateTransitGatewayPrefixListReferenceResponse :: Int -> CreateTransitGatewayPrefixListReferenceResponse
- createTransitGatewayPrefixListReferenceResponse_transitGatewayPrefixListReference :: Lens' CreateTransitGatewayPrefixListReferenceResponse (Maybe TransitGatewayPrefixListReference)
- createTransitGatewayPrefixListReferenceResponse_httpStatus :: Lens' CreateTransitGatewayPrefixListReferenceResponse Int
Creating a Request
data CreateTransitGatewayPrefixListReference Source #
See: newCreateTransitGatewayPrefixListReference
smart constructor.
CreateTransitGatewayPrefixListReference' | |
|
Instances
newCreateTransitGatewayPrefixListReference Source #
Create a value of CreateTransitGatewayPrefixListReference
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:
CreateTransitGatewayPrefixListReference
, createTransitGatewayPrefixListReference_blackhole
- Indicates whether to drop traffic that matches this route.
$sel:dryRun:CreateTransitGatewayPrefixListReference'
, createTransitGatewayPrefixListReference_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
CreateTransitGatewayPrefixListReference
, createTransitGatewayPrefixListReference_transitGatewayAttachmentId
- The ID of the attachment to which traffic is routed.
CreateTransitGatewayPrefixListReference
, createTransitGatewayPrefixListReference_transitGatewayRouteTableId
- The ID of the transit gateway route table.
CreateTransitGatewayPrefixListReference
, createTransitGatewayPrefixListReference_prefixListId
- The ID of the prefix list that is used for destination matches.
Request Lenses
createTransitGatewayPrefixListReference_blackhole :: Lens' CreateTransitGatewayPrefixListReference (Maybe Bool) Source #
Indicates whether to drop traffic that matches this route.
createTransitGatewayPrefixListReference_dryRun :: Lens' CreateTransitGatewayPrefixListReference (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
createTransitGatewayPrefixListReference_transitGatewayAttachmentId :: Lens' CreateTransitGatewayPrefixListReference (Maybe Text) Source #
The ID of the attachment to which traffic is routed.
createTransitGatewayPrefixListReference_transitGatewayRouteTableId :: Lens' CreateTransitGatewayPrefixListReference Text Source #
The ID of the transit gateway route table.
createTransitGatewayPrefixListReference_prefixListId :: Lens' CreateTransitGatewayPrefixListReference Text Source #
The ID of the prefix list that is used for destination matches.
Destructuring the Response
data CreateTransitGatewayPrefixListReferenceResponse Source #
See: newCreateTransitGatewayPrefixListReferenceResponse
smart constructor.
CreateTransitGatewayPrefixListReferenceResponse' | |
|
Instances
newCreateTransitGatewayPrefixListReferenceResponse Source #
:: Int |
|
-> CreateTransitGatewayPrefixListReferenceResponse |
Create a value of CreateTransitGatewayPrefixListReferenceResponse
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:transitGatewayPrefixListReference:CreateTransitGatewayPrefixListReferenceResponse'
, createTransitGatewayPrefixListReferenceResponse_transitGatewayPrefixListReference
- Information about the prefix list reference.
$sel:httpStatus:CreateTransitGatewayPrefixListReferenceResponse'
, createTransitGatewayPrefixListReferenceResponse_httpStatus
- The response's http status code.
Response Lenses
createTransitGatewayPrefixListReferenceResponse_transitGatewayPrefixListReference :: Lens' CreateTransitGatewayPrefixListReferenceResponse (Maybe TransitGatewayPrefixListReference) Source #
Information about the prefix list reference.
createTransitGatewayPrefixListReferenceResponse_httpStatus :: Lens' CreateTransitGatewayPrefixListReferenceResponse Int Source #
The response's http status code.