NAME

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

DESCRIPTION

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.

SYNOPSIS

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

# Results:
my $ApprovalRuleTemplate =
  $UpdateApprovalRuleTemplateContentOutput->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 https://docs.aws.amazon.com/goto/WebAPI/codecommit/UpdateApprovalRuleTemplateContent

ATTRIBUTES

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.

SEE ALSO

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

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues