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

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


2217
2218
2219
2220
2221
2222
2223
2224
# File 'lib/aws-sdk-comprehend/types.rb', line 2217

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)


2217
2218
2219
2220
2221
2222
2223
2224
# File 'lib/aws-sdk-comprehend/types.rb', line 2217

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)


2217
2218
2219
2220
2221
2222
2223
2224
# File 'lib/aws-sdk-comprehend/types.rb', line 2217

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)


2217
2218
2219
2220
2221
2222
2223
2224
# File 'lib/aws-sdk-comprehend/types.rb', line 2217

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