amazonka-codeartifact-2.0: Amazon CodeArtifact 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.CodeArtifact.ListRepositories

Description

Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified Amazon Web Services 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

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

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

  • repositoryPrefix :: Maybe Text

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

Instances

Instances details
ToJSON ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.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

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 #

Generic ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Associated Types

type Rep ListRepositories :: Type -> Type #

Read ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Show ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

NFData ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Methods

rnf :: ListRepositories -> () #

Eq ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Hashable ListRepositories Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

type AWSResponse 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" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" 'False) (C1 ('MetaCons "ListRepositories'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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

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

Request Lenses

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

The maximum number of results to return per page.

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_repositoryPrefix :: Lens' ListRepositories (Maybe Text) Source #

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

Destructuring the Response

data ListRepositoriesResponse Source #

See: newListRepositoriesResponse smart constructor.

Constructors

ListRepositoriesResponse' 

Fields

Instances

Instances details
Generic ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Associated Types

type Rep ListRepositoriesResponse :: Type -> Type #

Read ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Show ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

NFData ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListRepositories

Eq 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" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" 'False) (C1 ('MetaCons "ListRepositoriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "repositories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RepositorySummary])) :*: 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:

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

$sel:repositories:ListRepositoriesResponse', listRepositoriesResponse_repositories - The returned list of RepositorySummary objects.

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