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 |
List the dedicated IP addresses that are associated with your Amazon Web Services account.
Synopsis
- data GetDedicatedIps = GetDedicatedIps' {}
- newGetDedicatedIps :: GetDedicatedIps
- getDedicatedIps_poolName :: Lens' GetDedicatedIps (Maybe Text)
- getDedicatedIps_nextToken :: Lens' GetDedicatedIps (Maybe Text)
- getDedicatedIps_pageSize :: Lens' GetDedicatedIps (Maybe Int)
- data GetDedicatedIpsResponse = GetDedicatedIpsResponse' {
- nextToken :: Maybe Text
- dedicatedIps :: Maybe [DedicatedIp]
- httpStatus :: Int
- newGetDedicatedIpsResponse :: Int -> GetDedicatedIpsResponse
- getDedicatedIpsResponse_nextToken :: Lens' GetDedicatedIpsResponse (Maybe Text)
- getDedicatedIpsResponse_dedicatedIps :: Lens' GetDedicatedIpsResponse (Maybe [DedicatedIp])
- getDedicatedIpsResponse_httpStatus :: Lens' GetDedicatedIpsResponse Int
Creating a Request
data GetDedicatedIps Source #
A request to obtain more information about dedicated IP pools.
See: newGetDedicatedIps
smart constructor.
GetDedicatedIps' | |
|
Instances
newGetDedicatedIps :: GetDedicatedIps Source #
Create a value of GetDedicatedIps
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:poolName:GetDedicatedIps'
, getDedicatedIps_poolName
- The name of the IP pool that the dedicated IP address is associated
with.
$sel:nextToken:GetDedicatedIps'
, getDedicatedIps_nextToken
- A token returned from a previous call to GetDedicatedIps
to indicate
the position of the dedicated IP pool in the list of IP pools.
$sel:pageSize:GetDedicatedIps'
, getDedicatedIps_pageSize
- The number of results to show in a single call to
GetDedicatedIpsRequest
. If the number of results is larger than the
number you specified in this parameter, then the response includes a
NextToken
element, which you can use to obtain additional results.
Request Lenses
getDedicatedIps_poolName :: Lens' GetDedicatedIps (Maybe Text) Source #
The name of the IP pool that the dedicated IP address is associated with.
getDedicatedIps_nextToken :: Lens' GetDedicatedIps (Maybe Text) Source #
A token returned from a previous call to GetDedicatedIps
to indicate
the position of the dedicated IP pool in the list of IP pools.
getDedicatedIps_pageSize :: Lens' GetDedicatedIps (Maybe Int) Source #
The number of results to show in a single call to
GetDedicatedIpsRequest
. If the number of results is larger than the
number you specified in this parameter, then the response includes a
NextToken
element, which you can use to obtain additional results.
Destructuring the Response
data GetDedicatedIpsResponse Source #
Information about the dedicated IP addresses that are associated with your Amazon Web Services account.
See: newGetDedicatedIpsResponse
smart constructor.
GetDedicatedIpsResponse' | |
|
Instances
newGetDedicatedIpsResponse Source #
Create a value of GetDedicatedIpsResponse
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:nextToken:GetDedicatedIps'
, getDedicatedIpsResponse_nextToken
- A token that indicates that there are additional dedicated IP addresses
to list. To view additional addresses, issue another request to
GetDedicatedIps
, passing this token in the NextToken
parameter.
$sel:dedicatedIps:GetDedicatedIpsResponse'
, getDedicatedIpsResponse_dedicatedIps
- A list of dedicated IP addresses that are associated with your Amazon
Web Services account.
$sel:httpStatus:GetDedicatedIpsResponse'
, getDedicatedIpsResponse_httpStatus
- The response's http status code.
Response Lenses
getDedicatedIpsResponse_nextToken :: Lens' GetDedicatedIpsResponse (Maybe Text) Source #
A token that indicates that there are additional dedicated IP addresses
to list. To view additional addresses, issue another request to
GetDedicatedIps
, passing this token in the NextToken
parameter.
getDedicatedIpsResponse_dedicatedIps :: Lens' GetDedicatedIpsResponse (Maybe [DedicatedIp]) Source #
A list of dedicated IP addresses that are associated with your Amazon Web Services account.
getDedicatedIpsResponse_httpStatus :: Lens' GetDedicatedIpsResponse Int Source #
The response's http status code.