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 |
Returns information about all static IPs in the user's account.
This operation returns paginated results.
Synopsis
- data GetStaticIps = GetStaticIps' {}
- newGetStaticIps :: GetStaticIps
- getStaticIps_pageToken :: Lens' GetStaticIps (Maybe Text)
- data GetStaticIpsResponse = GetStaticIpsResponse' {
- nextPageToken :: Maybe Text
- staticIps :: Maybe [StaticIp]
- httpStatus :: Int
- newGetStaticIpsResponse :: Int -> GetStaticIpsResponse
- getStaticIpsResponse_nextPageToken :: Lens' GetStaticIpsResponse (Maybe Text)
- getStaticIpsResponse_staticIps :: Lens' GetStaticIpsResponse (Maybe [StaticIp])
- getStaticIpsResponse_httpStatus :: Lens' GetStaticIpsResponse Int
Creating a Request
data GetStaticIps Source #
See: newGetStaticIps
smart constructor.
Instances
newGetStaticIps :: GetStaticIps Source #
Create a value of GetStaticIps
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:pageToken:GetStaticIps'
, getStaticIps_pageToken
- The token to advance to the next page of results from your request.
To get a page token, perform an initial GetStaticIps
request. If your
results are paginated, the response will return a next page token that
you can specify as the page token in a subsequent request.
Request Lenses
getStaticIps_pageToken :: Lens' GetStaticIps (Maybe Text) Source #
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetStaticIps
request. If your
results are paginated, the response will return a next page token that
you can specify as the page token in a subsequent request.
Destructuring the Response
data GetStaticIpsResponse Source #
See: newGetStaticIpsResponse
smart constructor.
GetStaticIpsResponse' | |
|
Instances
newGetStaticIpsResponse Source #
Create a value of GetStaticIpsResponse
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:nextPageToken:GetStaticIpsResponse'
, getStaticIpsResponse_nextPageToken
- The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetStaticIps
request
and specify the next page token using the pageToken
parameter.
$sel:staticIps:GetStaticIpsResponse'
, getStaticIpsResponse_staticIps
- An array of key-value pairs containing information about your get static
IPs request.
$sel:httpStatus:GetStaticIpsResponse'
, getStaticIpsResponse_httpStatus
- The response's http status code.
Response Lenses
getStaticIpsResponse_nextPageToken :: Lens' GetStaticIpsResponse (Maybe Text) Source #
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetStaticIps
request
and specify the next page token using the pageToken
parameter.
getStaticIpsResponse_staticIps :: Lens' GetStaticIpsResponse (Maybe [StaticIp]) Source #
An array of key-value pairs containing information about your get static IPs request.
getStaticIpsResponse_httpStatus :: Lens' GetStaticIpsResponse Int Source #
The response's http status code.