You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IoT::Types::GetPolicyResponse

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

Overview

The output from the GetPolicy operation.

Instance Attribute Summary collapse

Instance Attribute Details

#default_version_idString

The default policy version ID.

Returns:

  • (String)


1685
1686
1687
1688
1689
1690
1691
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1685

class GetPolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :default_version_id)
  include Aws::Structure
end

#policy_arnString

The policy ARN.

Returns:

  • (String)


1685
1686
1687
1688
1689
1690
1691
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1685

class GetPolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :default_version_id)
  include Aws::Structure
end

#policy_documentString

The JSON document that describes the policy.

Returns:

  • (String)


1685
1686
1687
1688
1689
1690
1691
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1685

class GetPolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :default_version_id)
  include Aws::Structure
end

#policy_nameString

The policy name.

Returns:

  • (String)


1685
1686
1687
1688
1689
1690
1691
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1685

class GetPolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :default_version_id)
  include Aws::Structure
end