amazonka-route53-domains-2.0: Amazon Route 53 Domains SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53Domains.ListDomains

Description

This operation returns all the domain names registered with Amazon Route 53 for the current Amazon Web Services account if no filtering conditions are used.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDomains Source #

The ListDomains request includes the following elements.

See: newListDomains smart constructor.

Constructors

ListDomains' 

Fields

  • filterConditions :: Maybe [FilterCondition]

    A complex type that contains information about the filters applied during the ListDomains request. The filter conditions can include domain name and domain expiration.

  • marker :: Maybe Text

    For an initial request for a list of domains, omit this element. If the number of domains that are associated with the current Amazon Web Services account is greater than the value that you specified for MaxItems, you can use Marker to return additional domains. Get the value of NextPageMarker from the previous response, and submit another request that includes the value of NextPageMarker in the Marker element.

    Constraints: The marker must match the value specified in the previous request.

  • maxItems :: Maybe Int

    Number of domains to be returned.

    Default: 20

  • sortCondition :: Maybe SortCondition

    A complex type that contains information about the requested ordering of domains in the returned list.

Instances

Instances details
ToJSON ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

ToHeaders ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

Methods

toHeaders :: ListDomains -> [Header] #

ToPath ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

ToQuery ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

AWSPager ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

AWSRequest ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

Associated Types

type AWSResponse ListDomains #

Generic ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

Associated Types

type Rep ListDomains :: Type -> Type #

Read ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

Show ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

NFData ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

Methods

rnf :: ListDomains -> () #

Eq ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

Hashable ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

type AWSResponse ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

type Rep ListDomains Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

type Rep ListDomains = D1 ('MetaData "ListDomains" "Amazonka.Route53Domains.ListDomains" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "ListDomains'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filterConditions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FilterCondition])) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "sortCondition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortCondition)))))

newListDomains :: ListDomains Source #

Create a value of ListDomains 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:filterConditions:ListDomains', listDomains_filterConditions - A complex type that contains information about the filters applied during the ListDomains request. The filter conditions can include domain name and domain expiration.

$sel:marker:ListDomains', listDomains_marker - For an initial request for a list of domains, omit this element. If the number of domains that are associated with the current Amazon Web Services account is greater than the value that you specified for MaxItems, you can use Marker to return additional domains. Get the value of NextPageMarker from the previous response, and submit another request that includes the value of NextPageMarker in the Marker element.

Constraints: The marker must match the value specified in the previous request.

$sel:maxItems:ListDomains', listDomains_maxItems - Number of domains to be returned.

Default: 20

$sel:sortCondition:ListDomains', listDomains_sortCondition - A complex type that contains information about the requested ordering of domains in the returned list.

Request Lenses

listDomains_filterConditions :: Lens' ListDomains (Maybe [FilterCondition]) Source #

A complex type that contains information about the filters applied during the ListDomains request. The filter conditions can include domain name and domain expiration.

listDomains_marker :: Lens' ListDomains (Maybe Text) Source #

For an initial request for a list of domains, omit this element. If the number of domains that are associated with the current Amazon Web Services account is greater than the value that you specified for MaxItems, you can use Marker to return additional domains. Get the value of NextPageMarker from the previous response, and submit another request that includes the value of NextPageMarker in the Marker element.

Constraints: The marker must match the value specified in the previous request.

listDomains_maxItems :: Lens' ListDomains (Maybe Int) Source #

Number of domains to be returned.

Default: 20

listDomains_sortCondition :: Lens' ListDomains (Maybe SortCondition) Source #

A complex type that contains information about the requested ordering of domains in the returned list.

Destructuring the Response

data ListDomainsResponse Source #

The ListDomains response includes the following elements.

See: newListDomainsResponse smart constructor.

Constructors

ListDomainsResponse' 

Fields

Instances

Instances details
Generic ListDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

Associated Types

type Rep ListDomainsResponse :: Type -> Type #

Read ListDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

Show ListDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

NFData ListDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

Methods

rnf :: ListDomainsResponse -> () #

Eq ListDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

type Rep ListDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ListDomains

type Rep ListDomainsResponse = D1 ('MetaData "ListDomainsResponse" "Amazonka.Route53Domains.ListDomains" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "ListDomainsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DomainSummary])) :*: (S1 ('MetaSel ('Just "nextPageMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDomainsResponse Source #

Create a value of ListDomainsResponse 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:domains:ListDomainsResponse', listDomainsResponse_domains - A list of domains.

$sel:nextPageMarker:ListDomainsResponse', listDomainsResponse_nextPageMarker - If there are more domains than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker.

$sel:httpStatus:ListDomainsResponse', listDomainsResponse_httpStatus - The response's http status code.

Response Lenses

listDomainsResponse_nextPageMarker :: Lens' ListDomainsResponse (Maybe Text) Source #

If there are more domains than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker.