Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Undocumented operation.
This operation returns paginated results.
- listResourceRecordSets :: Text -> ListResourceRecordSets
- data ListResourceRecordSets
- lrrsStartRecordName :: Lens' ListResourceRecordSets (Maybe Text)
- lrrsStartRecordType :: Lens' ListResourceRecordSets (Maybe RecordType)
- lrrsStartRecordIdentifier :: Lens' ListResourceRecordSets (Maybe Text)
- lrrsMaxItems :: Lens' ListResourceRecordSets (Maybe Text)
- lrrsHostedZoneId :: Lens' ListResourceRecordSets Text
- listResourceRecordSetsResponse :: Int -> Bool -> Text -> ListResourceRecordSetsResponse
- data ListResourceRecordSetsResponse
- lrrsrsNextRecordType :: Lens' ListResourceRecordSetsResponse (Maybe RecordType)
- lrrsrsNextRecordName :: Lens' ListResourceRecordSetsResponse (Maybe Text)
- lrrsrsNextRecordIdentifier :: Lens' ListResourceRecordSetsResponse (Maybe Text)
- lrrsrsResponseStatus :: Lens' ListResourceRecordSetsResponse Int
- lrrsrsResourceRecordSets :: Lens' ListResourceRecordSetsResponse [ResourceRecordSet]
- lrrsrsIsTruncated :: Lens' ListResourceRecordSetsResponse Bool
- lrrsrsMaxItems :: Lens' ListResourceRecordSetsResponse Text
Creating a Request
listResourceRecordSets Source #
Creates a value of ListResourceRecordSets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListResourceRecordSets Source #
The input for a ListResourceRecordSets request.
See: listResourceRecordSets
smart constructor.
Request Lenses
lrrsStartRecordName :: Lens' ListResourceRecordSets (Maybe Text) Source #
The first name in the lexicographic ordering of domain names that you want the ListResourceRecordSets
request to list.
lrrsStartRecordType :: Lens' ListResourceRecordSets (Maybe RecordType) Source #
The type of resource record set to begin the record listing from.
Valid values for basic resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| NS
| PTR
| SOA
| SPF
| SRV
| TXT
Values for weighted, latency, geo, and failover resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| PTR
| SPF
| SRV
| TXT
Values for alias resource record sets:
- CloudFront distribution: A
- Elastic Beanstalk environment that has a regionalized subdomain: A
- ELB load balancer: A | AAAA
- Amazon S3 bucket: A
Constraint: Specifying 'type' without specifying name
returns an InvalidInput
error.
lrrsStartRecordIdentifier :: Lens' ListResourceRecordSets (Maybe Text) Source #
Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of NextRecordIdentifier
from the previous response to get the next resource record set that has the current DNS name and type.
lrrsMaxItems :: Lens' ListResourceRecordSets (Maybe Text) Source #
(Optional) The maximum number of resource records sets to include in the response body for this request. If the response includes more than maxitems
resource record sets, the value of the IsTruncated
element in the response is true
, and the values of the NextRecordName
and NextRecordType
elements in the response identify the first resource record set in the next group of maxitems
resource record sets.
lrrsHostedZoneId :: Lens' ListResourceRecordSets Text Source #
The ID of the hosted zone that contains the resource record sets that you want to get.
Destructuring the Response
listResourceRecordSetsResponse Source #
:: Int | |
-> Bool | |
-> Text | |
-> ListResourceRecordSetsResponse |
Creates a value of ListResourceRecordSetsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListResourceRecordSetsResponse Source #
A complex type that contains list information for the resource record set.
See: listResourceRecordSetsResponse
smart constructor.
Response Lenses
lrrsrsNextRecordType :: Lens' ListResourceRecordSetsResponse (Maybe RecordType) Source #
If the results were truncated, the type of the next record in the list.
This element is present only if IsTruncated
is true.
lrrsrsNextRecordName :: Lens' ListResourceRecordSetsResponse (Maybe Text) Source #
If the results were truncated, the name of the next record in the list.
This element is present only if IsTruncated
is true.
lrrsrsNextRecordIdentifier :: Lens' ListResourceRecordSetsResponse (Maybe Text) Source #
Weighted, latency, geolocation, and failover resource record sets only: If results were truncated for a given DNS name and type, the value of SetIdentifier
for the next resource record set that has the current DNS name and type.
lrrsrsResponseStatus :: Lens' ListResourceRecordSetsResponse Int Source #
The response status code.
lrrsrsResourceRecordSets :: Lens' ListResourceRecordSetsResponse [ResourceRecordSet] Source #
Information about multiple resource record sets.
lrrsrsIsTruncated :: Lens' ListResourceRecordSetsResponse Bool Source #
A flag that indicates whether more resource record sets remain to be listed. If your results were truncated, you can make a follow-up pagination request by using the NextRecordName
element.
lrrsrsMaxItems :: Lens' ListResourceRecordSetsResponse Text Source #
The maximum number of records you requested.