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

Description

Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.

Synopsis

Creating a Request

data DeleteApprovalRuleTemplate Source #

See: newDeleteApprovalRuleTemplate smart constructor.

Constructors

DeleteApprovalRuleTemplate' 

Fields

Instances

Instances details
Eq DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

Read DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

Show DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

Generic DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

Associated Types

type Rep DeleteApprovalRuleTemplate :: Type -> Type #

NFData DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

Hashable DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

ToJSON DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

AWSRequest DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

ToHeaders DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

ToPath DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

ToQuery DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

type Rep DeleteApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

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

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

newDeleteApprovalRuleTemplate Source #

Create a value of DeleteApprovalRuleTemplate 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:DeleteApprovalRuleTemplate', deleteApprovalRuleTemplate_approvalRuleTemplateName - The name of the approval rule template to delete.

Request Lenses

Destructuring the Response

data DeleteApprovalRuleTemplateResponse Source #

Constructors

DeleteApprovalRuleTemplateResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • approvalRuleTemplateId :: Text

    The system-generated ID of the deleted approval rule template. If the template has been previously deleted, the only response is a 200 OK.

Instances

Instances details
Eq DeleteApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

Read DeleteApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

Show DeleteApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

Generic DeleteApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

Associated Types

type Rep DeleteApprovalRuleTemplateResponse :: Type -> Type #

NFData DeleteApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

type Rep DeleteApprovalRuleTemplateResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteApprovalRuleTemplate

type Rep DeleteApprovalRuleTemplateResponse = D1 ('MetaData "DeleteApprovalRuleTemplateResponse" "Amazonka.CodeCommit.DeleteApprovalRuleTemplate" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "DeleteApprovalRuleTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "approvalRuleTemplateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteApprovalRuleTemplateResponse Source #

Create a value of DeleteApprovalRuleTemplateResponse 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:httpStatus:DeleteApprovalRuleTemplateResponse', deleteApprovalRuleTemplateResponse_httpStatus - The response's http status code.

$sel:approvalRuleTemplateId:DeleteApprovalRuleTemplateResponse', deleteApprovalRuleTemplateResponse_approvalRuleTemplateId - The system-generated ID of the deleted approval rule template. If the template has been previously deleted, the only response is a 200 OK.

Response Lenses

deleteApprovalRuleTemplateResponse_approvalRuleTemplateId :: Lens' DeleteApprovalRuleTemplateResponse Text Source #

The system-generated ID of the deleted approval rule template. If the template has been previously deleted, the only response is a 200 OK.