Class: Aws::IoT::Types::SetDefaultPolicyVersionRequest

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

Overview

Note:

When making an API call, you may pass SetDefaultPolicyVersionRequest data as a hash:

{
  policy_name: "PolicyName", # required
  policy_version_id: "PolicyVersionId", # required
}

The input for the SetDefaultPolicyVersion operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The policy name.

Returns:

  • (String)


16103
16104
16105
16106
16107
16108
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16103

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

#policy_version_idString

The policy version ID.

Returns:

  • (String)


16103
16104
16105
16106
16107
16108
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16103

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