You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeCommit::Types::UpdateApprovalRuleTemplateContentInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateApprovalRuleTemplateContentInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  approval_rule_template_name: "ApprovalRuleTemplateName", # required
  new_rule_content: "ApprovalRuleTemplateContent", # required
  existing_rule_content_sha_256: "RuleContentSha256",
}

Instance Attribute Summary collapse

Instance Attribute Details

#approval_rule_template_nameString

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

Returns:

  • (String)

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

#existing_rule_content_sha_256String

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

Returns:

  • (String)

    The SHA-256 hash signature for the content of the approval rule.

#new_rule_contentString

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

Returns:

  • (String)

    The content that replaces the existing content of the rule.