Paws::CodeCommit::UpdateApprovalRuleTemplateContent - Arguments for method UpdateApprovalRuleTemplateContent on Paws::CodeCommit


This class represents the parameters used for calling the method UpdateApprovalRuleTemplateContent on the AWS CodeCommit service. Use the attributes of this class as arguments to method UpdateApprovalRuleTemplateContent.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateApprovalRuleTemplateContent.


    my $codecommit = Paws->service('CodeCommit');
    my $UpdateApprovalRuleTemplateContentOutput =
      ApprovalRuleTemplateName  => 'MyApprovalRuleTemplateName',
      NewRuleContent            => 'MyApprovalRuleTemplateContent',
      ExistingRuleContentSha256 => 'MyRuleContentSha256',             # OPTIONAL

    # Results:
    my $ApprovalRuleTemplate =

# Returns a Paws::CodeCommit::UpdateApprovalRuleTemplateContentOutput object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED ApprovalRuleTemplateName => Str

The name of the approval rule template where you want to update the content of the rule.

ExistingRuleContentSha256 => Str

The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.

REQUIRED NewRuleContent => Str

The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.


This class forms part of Paws, documenting arguments for method UpdateApprovalRuleTemplateContent in Paws::CodeCommit


The source code is located here:

Please report bugs to: