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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 '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 '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 '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