libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeArtifact.ListDomains

Description

Returns a list of DomainSummary objects for all domains owned by the AWS account that makes this call. Each returned DomainSummary object contains information about a domain.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDomains Source #

See: newListDomains smart constructor.

Constructors

ListDomains' 

Fields

  • nextToken :: Maybe Text

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

Instances

Instances details
Eq ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Read ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Show ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Generic ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Associated Types

type Rep ListDomains :: Type -> Type #

NFData ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Methods

rnf :: ListDomains -> () #

Hashable ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

ToJSON ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

AWSPager ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

AWSRequest ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Associated Types

type AWSResponse ListDomains #

ToHeaders ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Methods

toHeaders :: ListDomains -> [Header] #

ToPath ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

ToQuery ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

type Rep ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

type Rep ListDomains = D1 ('MetaData "ListDomains" "Amazonka.CodeArtifact.ListDomains" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "ListDomains'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListDomains Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

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:nextToken:ListDomains', listDomains_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

$sel:maxResults:ListDomains', listDomains_maxResults - The maximum number of results to return per page.

Request Lenses

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

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

listDomains_maxResults :: Lens' ListDomains (Maybe Natural) Source #

The maximum number of results to return per page.

Destructuring the Response

data ListDomainsResponse Source #

See: newListDomainsResponse smart constructor.

Constructors

ListDomainsResponse' 

Fields

Instances

Instances details
Eq ListDomainsResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Read ListDomainsResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Show ListDomainsResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Generic ListDomainsResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Associated Types

type Rep ListDomainsResponse :: Type -> Type #

NFData ListDomainsResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

Methods

rnf :: ListDomainsResponse -> () #

type Rep ListDomainsResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListDomains

type Rep ListDomainsResponse = D1 ('MetaData "ListDomainsResponse" "Amazonka.CodeArtifact.ListDomains" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "ListDomainsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "domains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DomainSummary])) :*: 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:nextToken:ListDomains', listDomainsResponse_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

$sel:domains:ListDomainsResponse', listDomainsResponse_domains - The returned list of DomainSummary objects.

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

Response Lenses

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

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.