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

Description

Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not specified, the AWS Region where you are signed in is used.

Synopsis

Creating a Request

data ListApprovalRuleTemplates Source #

See: newListApprovalRuleTemplates smart constructor.

Constructors

ListApprovalRuleTemplates' 

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.

Instances

Instances details
Eq ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

Read ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

Show ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

Generic ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

Associated Types

type Rep ListApprovalRuleTemplates :: Type -> Type #

NFData ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

Hashable ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

ToJSON ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

AWSRequest ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

ToHeaders ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

ToPath ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

ToQuery ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

type Rep ListApprovalRuleTemplates Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

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

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

newListApprovalRuleTemplates :: ListApprovalRuleTemplates Source #

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

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

Request Lenses

listApprovalRuleTemplates_nextToken :: Lens' ListApprovalRuleTemplates (Maybe Text) Source #

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

listApprovalRuleTemplates_maxResults :: Lens' ListApprovalRuleTemplates (Maybe Int) Source #

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

Destructuring the Response

data ListApprovalRuleTemplatesResponse Source #

See: newListApprovalRuleTemplatesResponse smart constructor.

Constructors

ListApprovalRuleTemplatesResponse' 

Fields

Instances

Instances details
Eq ListApprovalRuleTemplatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

Read ListApprovalRuleTemplatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

Show ListApprovalRuleTemplatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

Generic ListApprovalRuleTemplatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

Associated Types

type Rep ListApprovalRuleTemplatesResponse :: Type -> Type #

NFData ListApprovalRuleTemplatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

type Rep ListApprovalRuleTemplatesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListApprovalRuleTemplates

type Rep ListApprovalRuleTemplatesResponse = D1 ('MetaData "ListApprovalRuleTemplatesResponse" "Amazonka.CodeCommit.ListApprovalRuleTemplates" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "ListApprovalRuleTemplatesResponse'" '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))))

newListApprovalRuleTemplatesResponse Source #

Create a value of ListApprovalRuleTemplatesResponse 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:ListApprovalRuleTemplates', listApprovalRuleTemplatesResponse_nextToken - An enumeration token that allows the operation to batch the next results of the operation.

$sel:approvalRuleTemplateNames:ListApprovalRuleTemplatesResponse', listApprovalRuleTemplatesResponse_approvalRuleTemplateNames - The names of all the approval rule templates found in the AWS Region for your AWS account.

$sel:httpStatus:ListApprovalRuleTemplatesResponse', listApprovalRuleTemplatesResponse_httpStatus - The response's http status code.

Response Lenses

listApprovalRuleTemplatesResponse_nextToken :: Lens' ListApprovalRuleTemplatesResponse (Maybe Text) Source #

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

listApprovalRuleTemplatesResponse_approvalRuleTemplateNames :: Lens' ListApprovalRuleTemplatesResponse (Maybe [Text]) Source #

The names of all the approval rule templates found in the AWS Region for your AWS account.