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

Class: Aws::IoT::Types::CreatePolicyResponse

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

Overview

The output from the CreatePolicy operation.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

The policy ARN.

Returns:

  • (String)


1144
1145
1146
1147
1148
1149
1150
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1144

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

#policy_documentString

The JSON document that describes the policy.

Returns:

  • (String)


1144
1145
1146
1147
1148
1149
1150
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1144

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

#policy_nameString

The policy name.

Returns:

  • (String)


1144
1145
1146
1147
1148
1149
1150
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1144

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

#policy_version_idString

The policy version ID.

Returns:

  • (String)


1144
1145
1146
1147
1148
1149
1150
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1144

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