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

Class: Aws::IoT::Types::DeletePolicyVersionRequest

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 DeletePolicyVersionRequest data as a hash:

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

The input for the DeletePolicyVersion operation.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The name of the policy.

Returns:

  • (String)


1037
1038
1039
1040
1041
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1037

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

#policy_version_idString

The policy version ID.

Returns:

  • (String)


1037
1038
1039
1040
1041
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1037

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