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 |
Modifies a reference (route) to a prefix list in a specified transit gateway route table.
Synopsis
- data ModifyTransitGatewayPrefixListReference = ModifyTransitGatewayPrefixListReference' {}
- newModifyTransitGatewayPrefixListReference :: Text -> Text -> ModifyTransitGatewayPrefixListReference
- modifyTransitGatewayPrefixListReference_blackhole :: Lens' ModifyTransitGatewayPrefixListReference (Maybe Bool)
- modifyTransitGatewayPrefixListReference_dryRun :: Lens' ModifyTransitGatewayPrefixListReference (Maybe Bool)
- modifyTransitGatewayPrefixListReference_transitGatewayAttachmentId :: Lens' ModifyTransitGatewayPrefixListReference (Maybe Text)
- modifyTransitGatewayPrefixListReference_transitGatewayRouteTableId :: Lens' ModifyTransitGatewayPrefixListReference Text
- modifyTransitGatewayPrefixListReference_prefixListId :: Lens' ModifyTransitGatewayPrefixListReference Text
- data ModifyTransitGatewayPrefixListReferenceResponse = ModifyTransitGatewayPrefixListReferenceResponse' {}
- newModifyTransitGatewayPrefixListReferenceResponse :: Int -> ModifyTransitGatewayPrefixListReferenceResponse
- modifyTransitGatewayPrefixListReferenceResponse_transitGatewayPrefixListReference :: Lens' ModifyTransitGatewayPrefixListReferenceResponse (Maybe TransitGatewayPrefixListReference)
- modifyTransitGatewayPrefixListReferenceResponse_httpStatus :: Lens' ModifyTransitGatewayPrefixListReferenceResponse Int
Creating a Request
data ModifyTransitGatewayPrefixListReference Source #
See: newModifyTransitGatewayPrefixListReference
smart constructor.
ModifyTransitGatewayPrefixListReference' | |
|
Instances
newModifyTransitGatewayPrefixListReference Source #
Create a value of ModifyTransitGatewayPrefixListReference
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:
ModifyTransitGatewayPrefixListReference
, modifyTransitGatewayPrefixListReference_blackhole
- Indicates whether to drop traffic that matches this route.
$sel:dryRun:ModifyTransitGatewayPrefixListReference'
, modifyTransitGatewayPrefixListReference_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
.
ModifyTransitGatewayPrefixListReference
, modifyTransitGatewayPrefixListReference_transitGatewayAttachmentId
- The ID of the attachment to which traffic is routed.
ModifyTransitGatewayPrefixListReference
, modifyTransitGatewayPrefixListReference_transitGatewayRouteTableId
- The ID of the transit gateway route table.
ModifyTransitGatewayPrefixListReference
, modifyTransitGatewayPrefixListReference_prefixListId
- The ID of the prefix list.
Request Lenses
modifyTransitGatewayPrefixListReference_blackhole :: Lens' ModifyTransitGatewayPrefixListReference (Maybe Bool) Source #
Indicates whether to drop traffic that matches this route.
modifyTransitGatewayPrefixListReference_dryRun :: Lens' ModifyTransitGatewayPrefixListReference (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
.
modifyTransitGatewayPrefixListReference_transitGatewayAttachmentId :: Lens' ModifyTransitGatewayPrefixListReference (Maybe Text) Source #
The ID of the attachment to which traffic is routed.
modifyTransitGatewayPrefixListReference_transitGatewayRouteTableId :: Lens' ModifyTransitGatewayPrefixListReference Text Source #
The ID of the transit gateway route table.
modifyTransitGatewayPrefixListReference_prefixListId :: Lens' ModifyTransitGatewayPrefixListReference Text Source #
The ID of the prefix list.
Destructuring the Response
data ModifyTransitGatewayPrefixListReferenceResponse Source #
See: newModifyTransitGatewayPrefixListReferenceResponse
smart constructor.
ModifyTransitGatewayPrefixListReferenceResponse' | |
|
Instances
newModifyTransitGatewayPrefixListReferenceResponse Source #
:: Int |
|
-> ModifyTransitGatewayPrefixListReferenceResponse |
Create a value of ModifyTransitGatewayPrefixListReferenceResponse
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:ModifyTransitGatewayPrefixListReferenceResponse'
, modifyTransitGatewayPrefixListReferenceResponse_transitGatewayPrefixListReference
- Information about the prefix list reference.
$sel:httpStatus:ModifyTransitGatewayPrefixListReferenceResponse'
, modifyTransitGatewayPrefixListReferenceResponse_httpStatus
- The response's http status code.
Response Lenses
modifyTransitGatewayPrefixListReferenceResponse_transitGatewayPrefixListReference :: Lens' ModifyTransitGatewayPrefixListReferenceResponse (Maybe TransitGatewayPrefixListReference) Source #
Information about the prefix list reference.
modifyTransitGatewayPrefixListReferenceResponse_httpStatus :: Lens' ModifyTransitGatewayPrefixListReferenceResponse Int Source #
The response's http status code.