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.ListRepositories

Description

Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified AWS account and that matches the input parameters.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRepositories Source #

See: newListRepositories smart constructor.

Constructors

ListRepositories' 

Fields

  • repositoryPrefix :: Maybe Text

    A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.

  • 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 ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Read ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Show ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Generic ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Associated Types

type Rep ListRepositories :: Type -> Type #

NFData ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Methods

rnf :: ListRepositories -> () #

Hashable ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

ToJSON ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

AWSPager ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

AWSRequest ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Associated Types

type AWSResponse ListRepositories #

ToHeaders ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

ToPath ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

ToQuery ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

type Rep ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

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

Defined in Amazonka.CodeArtifact.ListRepositories

newListRepositories :: ListRepositories Source #

Create a value of ListRepositories 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:repositoryPrefix:ListRepositories', listRepositories_repositoryPrefix - A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.

$sel:nextToken:ListRepositories', listRepositories_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:ListRepositories', listRepositories_maxResults - The maximum number of results to return per page.

Request Lenses

listRepositories_repositoryPrefix :: Lens' ListRepositories (Maybe Text) Source #

A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.

listRepositories_nextToken :: Lens' ListRepositories (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.

listRepositories_maxResults :: Lens' ListRepositories (Maybe Natural) Source #

The maximum number of results to return per page.

Destructuring the Response

data ListRepositoriesResponse Source #

See: newListRepositoriesResponse smart constructor.

Constructors

ListRepositoriesResponse' 

Fields

Instances

Instances details
Eq ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Read ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Show ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Generic ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Associated Types

type Rep ListRepositoriesResponse :: Type -> Type #

NFData ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

type Rep ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

type Rep ListRepositoriesResponse = D1 ('MetaData "ListRepositoriesResponse" "Amazonka.CodeArtifact.ListRepositories" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "ListRepositoriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RepositorySummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRepositoriesResponse Source #

Create a value of ListRepositoriesResponse 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:repositories:ListRepositoriesResponse', listRepositoriesResponse_repositories - The returned list of RepositorySummary objects.

$sel:nextToken:ListRepositories', listRepositoriesResponse_nextToken - If there are additional results, this is the token for the next set of results.

$sel:httpStatus:ListRepositoriesResponse', listRepositoriesResponse_httpStatus - The response's http status code.

Response Lenses

listRepositoriesResponse_nextToken :: Lens' ListRepositoriesResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.