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

Description

Creates an association between an approval rule template and one or more specified repositories.

Synopsis

Creating a Request

data BatchAssociateApprovalRuleTemplateWithRepositories Source #

Constructors

BatchAssociateApprovalRuleTemplateWithRepositories' 

Fields

  • approvalRuleTemplateName :: Text

    The name of the template you want to associate with one or more repositories.

  • repositoryNames :: [Text]

    The names of the repositories you want to associate with the template.

    The length constraint limit is for each string in the array. The array itself can be empty.

Instances

Instances details
Eq BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

Read BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

Show BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

Generic BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

NFData BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

Hashable BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

ToJSON BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

AWSRequest BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

ToHeaders BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

ToPath BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

ToQuery BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

type Rep BatchAssociateApprovalRuleTemplateWithRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

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

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

newBatchAssociateApprovalRuleTemplateWithRepositories Source #

Create a value of BatchAssociateApprovalRuleTemplateWithRepositories 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:approvalRuleTemplateName:BatchAssociateApprovalRuleTemplateWithRepositories', batchAssociateApprovalRuleTemplateWithRepositories_approvalRuleTemplateName - The name of the template you want to associate with one or more repositories.

$sel:repositoryNames:BatchAssociateApprovalRuleTemplateWithRepositories', batchAssociateApprovalRuleTemplateWithRepositories_repositoryNames - The names of the repositories you want to associate with the template.

The length constraint limit is for each string in the array. The array itself can be empty.

Request Lenses

batchAssociateApprovalRuleTemplateWithRepositories_repositoryNames :: Lens' BatchAssociateApprovalRuleTemplateWithRepositories [Text] Source #

The names of the repositories you want to associate with the template.

The length constraint limit is for each string in the array. The array itself can be empty.

Destructuring the Response

data BatchAssociateApprovalRuleTemplateWithRepositoriesResponse Source #

Constructors

BatchAssociateApprovalRuleTemplateWithRepositoriesResponse' 

Fields

Instances

Instances details
Eq BatchAssociateApprovalRuleTemplateWithRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

Read BatchAssociateApprovalRuleTemplateWithRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

Show BatchAssociateApprovalRuleTemplateWithRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

Generic BatchAssociateApprovalRuleTemplateWithRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

NFData BatchAssociateApprovalRuleTemplateWithRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

type Rep BatchAssociateApprovalRuleTemplateWithRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories

type Rep BatchAssociateApprovalRuleTemplateWithRepositoriesResponse = D1 ('MetaData "BatchAssociateApprovalRuleTemplateWithRepositoriesResponse" "Amazonka.CodeCommit.BatchAssociateApprovalRuleTemplateWithRepositories" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "BatchAssociateApprovalRuleTemplateWithRepositoriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "associatedRepositoryNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchAssociateApprovalRuleTemplateWithRepositoriesError]))))

Response Lenses

batchAssociateApprovalRuleTemplateWithRepositoriesResponse_errors :: Lens' BatchAssociateApprovalRuleTemplateWithRepositoriesResponse [BatchAssociateApprovalRuleTemplateWithRepositoriesError] Source #

A list of any errors that might have occurred while attempting to create the association between the template and the repositories.