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)


2929
2930
2931
2932
2933
2934
2935
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2929

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

#policy_arnString

The policy ARN.

Returns:

  • (String)


2929
2930
2931
2932
2933
2934
2935
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2929

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)


2929
2930
2931
2932
2933
2934
2935
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2929

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

#policy_nameString

The policy name.

Returns:

  • (String)


2929
2930
2931
2932
2933
2934
2935
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2929

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