Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets information about the transit gateway registrations in a specified global network.
This operation returns paginated results.
Synopsis
- data GetTransitGatewayRegistrations = GetTransitGatewayRegistrations' {}
- newGetTransitGatewayRegistrations :: Text -> GetTransitGatewayRegistrations
- getTransitGatewayRegistrations_transitGatewayArns :: Lens' GetTransitGatewayRegistrations (Maybe [Text])
- getTransitGatewayRegistrations_nextToken :: Lens' GetTransitGatewayRegistrations (Maybe Text)
- getTransitGatewayRegistrations_maxResults :: Lens' GetTransitGatewayRegistrations (Maybe Natural)
- getTransitGatewayRegistrations_globalNetworkId :: Lens' GetTransitGatewayRegistrations Text
- data GetTransitGatewayRegistrationsResponse = GetTransitGatewayRegistrationsResponse' {}
- newGetTransitGatewayRegistrationsResponse :: Int -> GetTransitGatewayRegistrationsResponse
- getTransitGatewayRegistrationsResponse_transitGatewayRegistrations :: Lens' GetTransitGatewayRegistrationsResponse (Maybe [TransitGatewayRegistration])
- getTransitGatewayRegistrationsResponse_nextToken :: Lens' GetTransitGatewayRegistrationsResponse (Maybe Text)
- getTransitGatewayRegistrationsResponse_httpStatus :: Lens' GetTransitGatewayRegistrationsResponse Int
Creating a Request
data GetTransitGatewayRegistrations Source #
See: newGetTransitGatewayRegistrations
smart constructor.
GetTransitGatewayRegistrations' | |
|
Instances
newGetTransitGatewayRegistrations Source #
Create a value of GetTransitGatewayRegistrations
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:transitGatewayArns:GetTransitGatewayRegistrations'
, getTransitGatewayRegistrations_transitGatewayArns
- The Amazon Resource Names (ARNs) of one or more transit gateways. The
maximum is 10.
$sel:nextToken:GetTransitGatewayRegistrations'
, getTransitGatewayRegistrations_nextToken
- The token for the next page of results.
$sel:maxResults:GetTransitGatewayRegistrations'
, getTransitGatewayRegistrations_maxResults
- The maximum number of results to return.
$sel:globalNetworkId:GetTransitGatewayRegistrations'
, getTransitGatewayRegistrations_globalNetworkId
- The ID of the global network.
Request Lenses
getTransitGatewayRegistrations_transitGatewayArns :: Lens' GetTransitGatewayRegistrations (Maybe [Text]) Source #
The Amazon Resource Names (ARNs) of one or more transit gateways. The maximum is 10.
getTransitGatewayRegistrations_nextToken :: Lens' GetTransitGatewayRegistrations (Maybe Text) Source #
The token for the next page of results.
getTransitGatewayRegistrations_maxResults :: Lens' GetTransitGatewayRegistrations (Maybe Natural) Source #
The maximum number of results to return.
getTransitGatewayRegistrations_globalNetworkId :: Lens' GetTransitGatewayRegistrations Text Source #
The ID of the global network.
Destructuring the Response
data GetTransitGatewayRegistrationsResponse Source #
See: newGetTransitGatewayRegistrationsResponse
smart constructor.
GetTransitGatewayRegistrationsResponse' | |
|
Instances
newGetTransitGatewayRegistrationsResponse Source #
Create a value of GetTransitGatewayRegistrationsResponse
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:transitGatewayRegistrations:GetTransitGatewayRegistrationsResponse'
, getTransitGatewayRegistrationsResponse_transitGatewayRegistrations
- The transit gateway registrations.
$sel:nextToken:GetTransitGatewayRegistrations'
, getTransitGatewayRegistrationsResponse_nextToken
- The token for the next page of results.
$sel:httpStatus:GetTransitGatewayRegistrationsResponse'
, getTransitGatewayRegistrationsResponse_httpStatus
- The response's http status code.
Response Lenses
getTransitGatewayRegistrationsResponse_transitGatewayRegistrations :: Lens' GetTransitGatewayRegistrationsResponse (Maybe [TransitGatewayRegistration]) Source #
The transit gateway registrations.
getTransitGatewayRegistrationsResponse_nextToken :: Lens' GetTransitGatewayRegistrationsResponse (Maybe Text) Source #
The token for the next page of results.
getTransitGatewayRegistrationsResponse_httpStatus :: Lens' GetTransitGatewayRegistrationsResponse Int Source #
The response's http status code.