Class: Aws::Comprehend::Types::DescribeResourcePolicyResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timeTime

The time at which the policy was created.

Returns:

  • (Time)


1688
1689
1690
1691
1692
1693
1694
1695
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1688

class DescribeResourcePolicyResponse < Struct.new(
  :resource_policy,
  :creation_time,
  :last_modified_time,
  :policy_revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_timeTime

The time at which the policy was last modified.

Returns:

  • (Time)


1688
1689
1690
1691
1692
1693
1694
1695
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1688

class DescribeResourcePolicyResponse < Struct.new(
  :resource_policy,
  :creation_time,
  :last_modified_time,
  :policy_revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_revision_idString

The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.

Returns:

  • (String)


1688
1689
1690
1691
1692
1693
1694
1695
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1688

class DescribeResourcePolicyResponse < Struct.new(
  :resource_policy,
  :creation_time,
  :last_modified_time,
  :policy_revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#resource_policyString

The JSON body of the resource-based policy.

Returns:

  • (String)


1688
1689
1690
1691
1692
1693
1694
1695
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1688

class DescribeResourcePolicyResponse < Struct.new(
  :resource_policy,
  :creation_time,
  :last_modified_time,
  :policy_revision_id)
  SENSITIVE = []
  include Aws::Structure
end