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::ApprovalRule

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

Overview

Returns information about an approval rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#approval_rule_contentString

The content of the approval rule.

Returns:

  • (String)


78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#approval_rule_idString

The system-generated ID of the approval rule.

Returns:

  • (String)


78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#approval_rule_nameString

The name of the approval rule.

Returns:

  • (String)


78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#creation_dateTime

The date the approval rule was created, in timestamp format.

Returns:

  • (Time)


78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_dateTime

The date the approval rule was most recently changed, in timestamp format.

Returns:

  • (Time)


78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_userString

The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.

Returns:

  • (String)


78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#origin_approval_rule_templateTypes::OriginApprovalRuleTemplate

The approval rule template used to create the rule.



78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#rule_content_sha_256String

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

Returns:

  • (String)


78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end