Class: Aws::CodeCommit::Types::Approval

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

Overview

Returns information about a specific approval on a pull request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#approval_stateString

The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.

Returns:

  • (String)


33
34
35
36
37
38
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 33

class Approval < Struct.new(
  :user_arn,
  :approval_state)
  SENSITIVE = []
  include Aws::Structure
end

#user_arnString

The Amazon Resource Name (ARN) of the user.

Returns:

  • (String)


33
34
35
36
37
38
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 33

class Approval < Struct.new(
  :user_arn,
  :approval_state)
  SENSITIVE = []
  include Aws::Structure
end