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

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

Overview

The output from the CreatePolicy operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

The policy ARN.

Returns:

  • (String)


3387
3388
3389
3390
3391
3392
3393
3394
# File 'lib/aws-sdk-iot/types.rb', line 3387

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

#policy_documentString

The JSON document that describes the policy.

Returns:

  • (String)


3387
3388
3389
3390
3391
3392
3393
3394
# File 'lib/aws-sdk-iot/types.rb', line 3387

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

#policy_nameString

The policy name.

Returns:

  • (String)


3387
3388
3389
3390
3391
3392
3393
3394
# File 'lib/aws-sdk-iot/types.rb', line 3387

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

#policy_version_idString

The policy version ID.

Returns:

  • (String)


3387
3388
3389
3390
3391
3392
3393
3394
# File 'lib/aws-sdk-iot/types.rb', line 3387

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