AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Note:

When making an API call, you may pass UpdateApprovalRuleTemplateContentInput data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

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)


7512
7513
7514
7515
7516
7517
7518
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 7512

class UpdateApprovalRuleTemplateContentInput < Struct.new(
  :approval_rule_template_name,
  :new_rule_content,
  :existing_rule_content_sha_256)
  SENSITIVE = []
  include Aws::Structure
end

#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)


7512
7513
7514
7515
7516
7517
7518
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 7512

class UpdateApprovalRuleTemplateContentInput < Struct.new(
  :approval_rule_template_name,
  :new_rule_content,
  :existing_rule_content_sha_256)
  SENSITIVE = []
  include Aws::Structure
end

#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)


7512
7513
7514
7515
7516
7517
7518
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 7512

class UpdateApprovalRuleTemplateContentInput < Struct.new(
  :approval_rule_template_name,
  :new_rule_content,
  :existing_rule_content_sha_256)
  SENSITIVE = []
  include Aws::Structure
end