libZSservicesZSamazonka-codecommitZSamazonka-codecommit
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.CodeCommit.ListRepositoriesForApprovalRuleTemplate

Description

Lists all repositories associated with the specified approval rule template.

Synopsis

Creating a Request

data ListRepositoriesForApprovalRuleTemplate Source #

Constructors

ListRepositoriesForApprovalRuleTemplate' 

Fields

  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Int

    A non-zero, non-negative integer used to limit the number of returned 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
Eq 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

Generic ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

NFData ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

Hashable ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

ToJSON ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

AWSRequest 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

type Rep ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

type Rep ListRepositoriesForApprovalRuleTemplate = D1 ('MetaData "ListRepositoriesForApprovalRuleTemplate" "Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "ListRepositoriesForApprovalRuleTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "approvalRuleTemplateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListRepositoriesForApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

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:nextToken:ListRepositoriesForApprovalRuleTemplate', listRepositoriesForApprovalRuleTemplate_nextToken - An enumeration token that, when provided in a request, returns the next batch of the results.

$sel:maxResults:ListRepositoriesForApprovalRuleTemplate', listRepositoriesForApprovalRuleTemplate_maxResults - A non-zero, non-negative integer used to limit the number of returned results.

$sel:approvalRuleTemplateName: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_nextToken :: Lens' ListRepositoriesForApprovalRuleTemplate (Maybe Text) Source #

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

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

A non-zero, non-negative integer used to limit the number of returned 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

  • repositoryNames :: Maybe [Text]

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

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq 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

Generic ListRepositoriesForApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositoriesForApprovalRuleTemplate

NFData 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" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "ListRepositoriesForApprovalRuleTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") '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:

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

$sel:nextToken:ListRepositoriesForApprovalRuleTemplate', listRepositoriesForApprovalRuleTemplateResponse_nextToken - An enumeration token that allows the operation to batch the next results of the operation.

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

Response Lenses

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

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

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

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