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
- Struct
- Aws::CodeCommit::Types::UpdateApprovalRuleTemplateContentInput
- Defined in:
- (unknown)
Overview
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
-
#approval_rule_template_name ⇒ String
The name of the approval rule template where you want to update the content of the rule.
-
#existing_rule_content_sha_256 ⇒ String
The SHA-256 hash signature for the content of the approval rule.
-
#new_rule_content ⇒ String
The content that replaces the existing content of the rule.
Instance Attribute Details
#approval_rule_template_name ⇒ String
The name of the approval rule template where you want to update the content of the rule.
#existing_rule_content_sha_256 ⇒ String
The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.
#new_rule_content ⇒ String
The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.