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

Class: Aws::IoT::Types::GetPolicyRequest

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

{
  policy_name: "PolicyName", # required
}

The input for the GetPolicy operation.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The name of the policy.

Returns:

  • (String)


2906
2907
2908
2909
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2906

class GetPolicyRequest < Struct.new(
  :policy_name)
  include Aws::Structure
end