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

Description

Lists all approval rule templates that are associated with a specified repository.

Synopsis

Creating a Request

data ListAssociatedApprovalRuleTemplatesForRepository Source #

Constructors

ListAssociatedApprovalRuleTemplatesForRepository' 

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.

  • repositoryName :: Text

    The name of the repository for which you want to list all associated approval rule templates.

Instances

Instances details
Eq ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

Read ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

Show ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

Generic ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

NFData ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

Hashable ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

ToJSON ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

AWSRequest ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

ToHeaders ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

ToPath ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

ToQuery ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

type Rep ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

type Rep ListAssociatedApprovalRuleTemplatesForRepository = D1 ('MetaData "ListAssociatedApprovalRuleTemplatesForRepository" "Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "ListAssociatedApprovalRuleTemplatesForRepository'" '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 "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListAssociatedApprovalRuleTemplatesForRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

newListAssociatedApprovalRuleTemplatesForRepository Source #

Create a value of ListAssociatedApprovalRuleTemplatesForRepository 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:ListAssociatedApprovalRuleTemplatesForRepository', listAssociatedApprovalRuleTemplatesForRepository_nextToken - An enumeration token that, when provided in a request, returns the next batch of the results.

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

$sel:repositoryName:ListAssociatedApprovalRuleTemplatesForRepository', listAssociatedApprovalRuleTemplatesForRepository_repositoryName - The name of the repository for which you want to list all associated approval rule templates.

Request Lenses

listAssociatedApprovalRuleTemplatesForRepository_nextToken :: Lens' ListAssociatedApprovalRuleTemplatesForRepository (Maybe Text) Source #

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

listAssociatedApprovalRuleTemplatesForRepository_maxResults :: Lens' ListAssociatedApprovalRuleTemplatesForRepository (Maybe Int) Source #

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

listAssociatedApprovalRuleTemplatesForRepository_repositoryName :: Lens' ListAssociatedApprovalRuleTemplatesForRepository Text Source #

The name of the repository for which you want to list all associated approval rule templates.

Destructuring the Response

data ListAssociatedApprovalRuleTemplatesForRepositoryResponse Source #

Constructors

ListAssociatedApprovalRuleTemplatesForRepositoryResponse' 

Fields

Instances

Instances details
Eq ListAssociatedApprovalRuleTemplatesForRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

Read ListAssociatedApprovalRuleTemplatesForRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

Show ListAssociatedApprovalRuleTemplatesForRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

Generic ListAssociatedApprovalRuleTemplatesForRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

NFData ListAssociatedApprovalRuleTemplatesForRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

type Rep ListAssociatedApprovalRuleTemplatesForRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository

type Rep ListAssociatedApprovalRuleTemplatesForRepositoryResponse = D1 ('MetaData "ListAssociatedApprovalRuleTemplatesForRepositoryResponse" "Amazonka.CodeCommit.ListAssociatedApprovalRuleTemplatesForRepository" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "ListAssociatedApprovalRuleTemplatesForRepositoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "approvalRuleTemplateNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses

listAssociatedApprovalRuleTemplatesForRepositoryResponse_nextToken :: Lens' ListAssociatedApprovalRuleTemplatesForRepositoryResponse (Maybe Text) Source #

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