Class: Aws::LexModelsV2::Types::DescribeResourcePolicyResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lexmodelsv2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

The JSON structure that contains the resource policy. For more information about the contents of a JSON policy document, see [ IAM JSON policy reference ][1].

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html

Returns:

  • (String)


6636
6637
6638
6639
6640
6641
6642
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 6636

class DescribeResourcePolicyResponse < Struct.new(
  :resource_arn,
  :policy,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.

Returns:

  • (String)


6636
6637
6638
6639
6640
6641
6642
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 6636

class DescribeResourcePolicyResponse < Struct.new(
  :resource_arn,
  :policy,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#revision_idString

The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.

Returns:

  • (String)


6636
6637
6638
6639
6640
6641
6642
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 6636

class DescribeResourcePolicyResponse < Struct.new(
  :resource_arn,
  :policy,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end