amazonka-codecommit-2.0: Amazon CodeCommit 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.CodeCommit.ListRepositoriesForApprovalRuleTemplate

Description

Lists all repositories associated with the specified approval rule template.

Synopsis

Creating a Request

data ListRepositoriesForApprovalRuleTemplate Source #

Constructors

ListRepositoriesForApprovalRuleTemplate' 

Fields

  • maxResults :: Maybe Int

    A non-zero, non-negative integer used to limit the number of returned results.

  • nextToken :: Maybe Text

    An enumeration token that, when provided in a request, returns the next batch of the results.

  • approvalRuleTemplateName :: Text

    The name of the approval rule template for which you want to list repositories that are associated with that template.

Instances

Instances details
ToJSON ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

ToHeaders ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

ToPath ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

ToQuery ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

AWSRequest ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

Generic ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

Read ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

Show ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

NFData ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

Eq ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

Hashable ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

type AWSResponse ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

type Rep ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

type Rep ListRepositoriesForApprovalRuleTemplate = D1 ('MetaData "ListRepositoriesForApprovalRuleTemplate" "Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "ListRepositoriesForApprovalRuleTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "approvalRuleTemplateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListRepositoriesForApprovalRuleTemplate Source #

Create a value of ListRepositoriesForApprovalRuleTemplate 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:ListRepositoriesForApprovalRuleTemplate', listRepositoriesForApprovalRuleTemplate_maxResults - A non-zero, non-negative integer used to limit the number of returned results.

ListRepositoriesForApprovalRuleTemplate, listRepositoriesForApprovalRuleTemplate_nextToken - An enumeration token that, when provided in a request, returns the next batch of the results.

ListRepositoriesForApprovalRuleTemplate, listRepositoriesForApprovalRuleTemplate_approvalRuleTemplateName - The name of the approval rule template for which you want to list repositories that are associated with that template.

Request Lenses

listRepositoriesForApprovalRuleTemplate_maxResults :: Lens' ListRepositoriesForApprovalRuleTemplate (Maybe Int) Source #

A non-zero, non-negative integer used to limit the number of returned results.

listRepositoriesForApprovalRuleTemplate_nextToken :: Lens' ListRepositoriesForApprovalRuleTemplate (Maybe Text) Source #

An enumeration token that, when provided in a request, returns the next batch of the results.

listRepositoriesForApprovalRuleTemplate_approvalRuleTemplateName :: Lens' ListRepositoriesForApprovalRuleTemplate Text Source #

The name of the approval rule template for which you want to list repositories that are associated with that template.

Destructuring the Response

data ListRepositoriesForApprovalRuleTemplateResponse Source #

Constructors

ListRepositoriesForApprovalRuleTemplateResponse' 

Fields

  • nextToken :: Maybe Text

    An enumeration token that allows the operation to batch the next results of the operation.

  • repositoryNames :: Maybe [Text]

    A list of repository names that are associated with the specified approval rule template.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListRepositoriesForApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

Read ListRepositoriesForApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

Show ListRepositoriesForApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

NFData ListRepositoriesForApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

Eq ListRepositoriesForApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

type Rep ListRepositoriesForApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

type Rep ListRepositoriesForApprovalRuleTemplateResponse = D1 ('MetaData "ListRepositoriesForApprovalRuleTemplateResponse" "Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "ListRepositoriesForApprovalRuleTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "repositoryNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRepositoriesForApprovalRuleTemplateResponse Source #

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

ListRepositoriesForApprovalRuleTemplate, listRepositoriesForApprovalRuleTemplateResponse_nextToken - An enumeration token that allows the operation to batch the next results of the operation.

$sel:repositoryNames:ListRepositoriesForApprovalRuleTemplateResponse', listRepositoriesForApprovalRuleTemplateResponse_repositoryNames - A list of repository names that are associated with the specified approval rule template.

$sel:httpStatus:ListRepositoriesForApprovalRuleTemplateResponse', listRepositoriesForApprovalRuleTemplateResponse_httpStatus - The response's http status code.

Response Lenses

listRepositoriesForApprovalRuleTemplateResponse_nextToken :: Lens' ListRepositoriesForApprovalRuleTemplateResponse (Maybe Text) Source #

An enumeration token that allows the operation to batch the next results of the operation.

listRepositoriesForApprovalRuleTemplateResponse_repositoryNames :: Lens' ListRepositoriesForApprovalRuleTemplateResponse (Maybe [Text]) Source #

A list of repository names that are associated with the specified approval rule template.