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 |
Gets information about the prefix list references in a specified transit gateway route table.
This operation returns paginated results.
Synopsis
- data GetTransitGatewayPrefixListReferences = GetTransitGatewayPrefixListReferences' {}
- newGetTransitGatewayPrefixListReferences :: Text -> GetTransitGatewayPrefixListReferences
- getTransitGatewayPrefixListReferences_dryRun :: Lens' GetTransitGatewayPrefixListReferences (Maybe Bool)
- getTransitGatewayPrefixListReferences_filters :: Lens' GetTransitGatewayPrefixListReferences (Maybe [Filter])
- getTransitGatewayPrefixListReferences_maxResults :: Lens' GetTransitGatewayPrefixListReferences (Maybe Natural)
- getTransitGatewayPrefixListReferences_nextToken :: Lens' GetTransitGatewayPrefixListReferences (Maybe Text)
- getTransitGatewayPrefixListReferences_transitGatewayRouteTableId :: Lens' GetTransitGatewayPrefixListReferences Text
- data GetTransitGatewayPrefixListReferencesResponse = GetTransitGatewayPrefixListReferencesResponse' {}
- newGetTransitGatewayPrefixListReferencesResponse :: Int -> GetTransitGatewayPrefixListReferencesResponse
- getTransitGatewayPrefixListReferencesResponse_nextToken :: Lens' GetTransitGatewayPrefixListReferencesResponse (Maybe Text)
- getTransitGatewayPrefixListReferencesResponse_transitGatewayPrefixListReferences :: Lens' GetTransitGatewayPrefixListReferencesResponse (Maybe [TransitGatewayPrefixListReference])
- getTransitGatewayPrefixListReferencesResponse_httpStatus :: Lens' GetTransitGatewayPrefixListReferencesResponse Int
Creating a Request
data GetTransitGatewayPrefixListReferences Source #
See: newGetTransitGatewayPrefixListReferences
smart constructor.
GetTransitGatewayPrefixListReferences' | |
|
Instances
newGetTransitGatewayPrefixListReferences Source #
Create a value of GetTransitGatewayPrefixListReferences
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:dryRun:GetTransitGatewayPrefixListReferences'
, getTransitGatewayPrefixListReferences_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
.
$sel:filters:GetTransitGatewayPrefixListReferences'
, getTransitGatewayPrefixListReferences_filters
- One or more filters. The possible values are:
attachment.resource-id
- The ID of the resource for the attachment.attachment.resource-type
- The type of resource for the attachment. Valid values arevpc
|vpn
|direct-connect-gateway
|peering
.attachment.transit-gateway-attachment-id
- The ID of the attachment.is-blackhole
- Whether traffic matching the route is blocked (true
|false
).prefix-list-id
- The ID of the prefix list.prefix-list-owner-id
- The ID of the owner of the prefix list.state
- The state of the prefix list reference (pending
|available
|modifying
|deleting
).
$sel:maxResults:GetTransitGatewayPrefixListReferences'
, getTransitGatewayPrefixListReferences_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
GetTransitGatewayPrefixListReferences
, getTransitGatewayPrefixListReferences_nextToken
- The token for the next page of results.
GetTransitGatewayPrefixListReferences
, getTransitGatewayPrefixListReferences_transitGatewayRouteTableId
- The ID of the transit gateway route table.
Request Lenses
getTransitGatewayPrefixListReferences_dryRun :: Lens' GetTransitGatewayPrefixListReferences (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
.
getTransitGatewayPrefixListReferences_filters :: Lens' GetTransitGatewayPrefixListReferences (Maybe [Filter]) Source #
One or more filters. The possible values are:
attachment.resource-id
- The ID of the resource for the attachment.attachment.resource-type
- The type of resource for the attachment. Valid values arevpc
|vpn
|direct-connect-gateway
|peering
.attachment.transit-gateway-attachment-id
- The ID of the attachment.is-blackhole
- Whether traffic matching the route is blocked (true
|false
).prefix-list-id
- The ID of the prefix list.prefix-list-owner-id
- The ID of the owner of the prefix list.state
- The state of the prefix list reference (pending
|available
|modifying
|deleting
).
getTransitGatewayPrefixListReferences_maxResults :: Lens' GetTransitGatewayPrefixListReferences (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
getTransitGatewayPrefixListReferences_nextToken :: Lens' GetTransitGatewayPrefixListReferences (Maybe Text) Source #
The token for the next page of results.
getTransitGatewayPrefixListReferences_transitGatewayRouteTableId :: Lens' GetTransitGatewayPrefixListReferences Text Source #
The ID of the transit gateway route table.
Destructuring the Response
data GetTransitGatewayPrefixListReferencesResponse Source #
See: newGetTransitGatewayPrefixListReferencesResponse
smart constructor.
GetTransitGatewayPrefixListReferencesResponse' | |
|
Instances
newGetTransitGatewayPrefixListReferencesResponse Source #
:: Int |
|
-> GetTransitGatewayPrefixListReferencesResponse |
Create a value of GetTransitGatewayPrefixListReferencesResponse
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:
GetTransitGatewayPrefixListReferences
, getTransitGatewayPrefixListReferencesResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:transitGatewayPrefixListReferences:GetTransitGatewayPrefixListReferencesResponse'
, getTransitGatewayPrefixListReferencesResponse_transitGatewayPrefixListReferences
- Information about the prefix list references.
$sel:httpStatus:GetTransitGatewayPrefixListReferencesResponse'
, getTransitGatewayPrefixListReferencesResponse_httpStatus
- The response's http status code.
Response Lenses
getTransitGatewayPrefixListReferencesResponse_nextToken :: Lens' GetTransitGatewayPrefixListReferencesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
getTransitGatewayPrefixListReferencesResponse_transitGatewayPrefixListReferences :: Lens' GetTransitGatewayPrefixListReferencesResponse (Maybe [TransitGatewayPrefixListReference]) Source #
Information about the prefix list references.
getTransitGatewayPrefixListReferencesResponse_httpStatus :: Lens' GetTransitGatewayPrefixListReferencesResponse Int Source #
The response's http status code.