amazonka-schemas-2.0: Amazon Schemas 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.Schemas.ListRegistries

Description

List the registries.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRegistries Source #

See: newListRegistries smart constructor.

Constructors

ListRegistries' 

Fields

  • limit :: Maybe Int
     
  • nextToken :: Maybe Text

    The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

  • registryNamePrefix :: Maybe Text

    Specifying this limits the results to only those registry names that start with the specified prefix.

  • scope :: Maybe Text

    Can be set to Local or AWS to limit responses to your custom registries, or the ones provided by AWS.

Instances

Instances details
ToHeaders ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

ToPath ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

ToQuery ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

AWSPager ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

AWSRequest ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

Associated Types

type AWSResponse ListRegistries #

Generic ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

Associated Types

type Rep ListRegistries :: Type -> Type #

Read ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

Show ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

NFData ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

Methods

rnf :: ListRegistries -> () #

Eq ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

Hashable ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

type AWSResponse ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

type Rep ListRegistries Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

type Rep ListRegistries = D1 ('MetaData "ListRegistries" "Amazonka.Schemas.ListRegistries" "amazonka-schemas-2.0-BJyIo2S2AS7BU9nZBCcS3" 'False) (C1 ('MetaCons "ListRegistries'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "registryNamePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListRegistries :: ListRegistries Source #

Create a value of ListRegistries 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:limit:ListRegistries', listRegistries_limit - Undocumented member.

ListRegistries, listRegistries_nextToken - The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

$sel:registryNamePrefix:ListRegistries', listRegistries_registryNamePrefix - Specifying this limits the results to only those registry names that start with the specified prefix.

$sel:scope:ListRegistries', listRegistries_scope - Can be set to Local or AWS to limit responses to your custom registries, or the ones provided by AWS.

Request Lenses

listRegistries_nextToken :: Lens' ListRegistries (Maybe Text) Source #

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

listRegistries_registryNamePrefix :: Lens' ListRegistries (Maybe Text) Source #

Specifying this limits the results to only those registry names that start with the specified prefix.

listRegistries_scope :: Lens' ListRegistries (Maybe Text) Source #

Can be set to Local or AWS to limit responses to your custom registries, or the ones provided by AWS.

Destructuring the Response

data ListRegistriesResponse Source #

See: newListRegistriesResponse smart constructor.

Constructors

ListRegistriesResponse' 

Fields

  • nextToken :: Maybe Text

    The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

  • registries :: Maybe [RegistrySummary]

    An array of registry summaries.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListRegistriesResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

Associated Types

type Rep ListRegistriesResponse :: Type -> Type #

Read ListRegistriesResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

Show ListRegistriesResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

NFData ListRegistriesResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

Methods

rnf :: ListRegistriesResponse -> () #

Eq ListRegistriesResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

type Rep ListRegistriesResponse Source # 
Instance details

Defined in Amazonka.Schemas.ListRegistries

type Rep ListRegistriesResponse = D1 ('MetaData "ListRegistriesResponse" "Amazonka.Schemas.ListRegistries" "amazonka-schemas-2.0-BJyIo2S2AS7BU9nZBCcS3" 'False) (C1 ('MetaCons "ListRegistriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "registries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RegistrySummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRegistriesResponse Source #

Create a value of ListRegistriesResponse 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:

ListRegistries, listRegistriesResponse_nextToken - The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

$sel:registries:ListRegistriesResponse', listRegistriesResponse_registries - An array of registry summaries.

$sel:httpStatus:ListRegistriesResponse', listRegistriesResponse_httpStatus - The response's http status code.

Response Lenses

listRegistriesResponse_nextToken :: Lens' ListRegistriesResponse (Maybe Text) Source #

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.