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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The policy name.

Returns:

  • (String)


2953
2954
2955
2956
2957
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2953

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

#policy_version_idString

The policy version ID.

Returns:

  • (String)


2953
2954
2955
2956
2957
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2953

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