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

Class: Aws::IoT::Types::GetPolicyVersionResponse

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

Overview

The output from the GetPolicyVersion operation.

Instance Attribute Summary collapse

Instance Attribute Details

#is_default_versionBoolean

Specifies whether the policy version is the default.

Returns:

  • (Boolean)


1739
1740
1741
1742
1743
1744
1745
1746
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1739

class GetPolicyVersionResponse < Struct.new(
  :policy_arn,
  :policy_name,
  :policy_document,
  :policy_version_id,
  :is_default_version)
  include Aws::Structure
end

#policy_arnString

The policy ARN.

Returns:

  • (String)


1739
1740
1741
1742
1743
1744
1745
1746
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1739

class GetPolicyVersionResponse < Struct.new(
  :policy_arn,
  :policy_name,
  :policy_document,
  :policy_version_id,
  :is_default_version)
  include Aws::Structure
end

#policy_documentString

The JSON document that describes the policy.

Returns:

  • (String)


1739
1740
1741
1742
1743
1744
1745
1746
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1739

class GetPolicyVersionResponse < Struct.new(
  :policy_arn,
  :policy_name,
  :policy_document,
  :policy_version_id,
  :is_default_version)
  include Aws::Structure
end

#policy_nameString

The policy name.

Returns:

  • (String)


1739
1740
1741
1742
1743
1744
1745
1746
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1739

class GetPolicyVersionResponse < Struct.new(
  :policy_arn,
  :policy_name,
  :policy_document,
  :policy_version_id,
  :is_default_version)
  include Aws::Structure
end

#policy_version_idString

The policy version ID.

Returns:

  • (String)


1739
1740
1741
1742
1743
1744
1745
1746
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1739

class GetPolicyVersionResponse < Struct.new(
  :policy_arn,
  :policy_name,
  :policy_document,
  :policy_version_id,
  :is_default_version)
  include Aws::Structure
end