| 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 |
Amazonka.PinpointEmail.GetDedicatedIps
Description
List the dedicated IP addresses that are associated with your Amazon Pinpoint account.
This operation returns paginated results.
Synopsis
- data GetDedicatedIps = GetDedicatedIps' {}
- newGetDedicatedIps :: GetDedicatedIps
- getDedicatedIps_nextToken :: Lens' GetDedicatedIps (Maybe Text)
- getDedicatedIps_pageSize :: Lens' GetDedicatedIps (Maybe Int)
- getDedicatedIps_poolName :: Lens' GetDedicatedIps (Maybe Text)
- data GetDedicatedIpsResponse = GetDedicatedIpsResponse' {
- dedicatedIps :: Maybe [DedicatedIp]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetDedicatedIpsResponse :: Int -> GetDedicatedIpsResponse
- getDedicatedIpsResponse_dedicatedIps :: Lens' GetDedicatedIpsResponse (Maybe [DedicatedIp])
- getDedicatedIpsResponse_nextToken :: Lens' GetDedicatedIpsResponse (Maybe Text)
- 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.
Constructors
| GetDedicatedIps' | |
Fields
| |
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:
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.
GetDedicatedIps, getDedicatedIps_poolName - The name of the IP pool that the dedicated IP address is associated
with.
Request Lenses
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.
getDedicatedIps_poolName :: Lens' GetDedicatedIps (Maybe Text) Source #
The name of the IP pool that the dedicated IP address is associated with.
Destructuring the Response
data GetDedicatedIpsResponse Source #
Information about the dedicated IP addresses that are associated with your Amazon Pinpoint account.
See: newGetDedicatedIpsResponse smart constructor.
Constructors
| GetDedicatedIpsResponse' | |
Fields
| |
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:dedicatedIps:GetDedicatedIpsResponse', getDedicatedIpsResponse_dedicatedIps - A list of dedicated IP addresses that are reserved for use by your
Amazon Pinpoint account.
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:httpStatus:GetDedicatedIpsResponse', getDedicatedIpsResponse_httpStatus - The response's http status code.
Response Lenses
getDedicatedIpsResponse_dedicatedIps :: Lens' GetDedicatedIpsResponse (Maybe [DedicatedIp]) Source #
A list of dedicated IP addresses that are reserved for use by your Amazon Pinpoint account.
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_httpStatus :: Lens' GetDedicatedIpsResponse Int Source #
The response's http status code.