Class: Aws::CodeCommit::Types::ApprovalRule

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