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)


2238
2239
2240
2241
2242
2243
2244
2245
# File 'lib/aws-sdk-comprehend/types.rb', line 2238

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)


2238
2239
2240
2241
2242
2243
2244
2245
# File 'lib/aws-sdk-comprehend/types.rb', line 2238

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)


2238
2239
2240
2241
2242
2243
2244
2245
# File 'lib/aws-sdk-comprehend/types.rb', line 2238

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)


2238
2239
2240
2241
2242
2243
2244
2245
# File 'lib/aws-sdk-comprehend/types.rb', line 2238

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