Class: Aws::IoT::Types::ListAttachedPoliciesRequest

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

{
  target: "PolicyTarget", # required
  recursive: false,
  marker: "Marker",
  page_size: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#markerString

The token to retrieve the next set of results.

Returns:

  • (String)


10801
10802
10803
10804
10805
10806
10807
10808
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 10801

class ListAttachedPoliciesRequest < Struct.new(
  :target,
  :recursive,
  :marker,
  :page_size)
  SENSITIVE = []
  include Aws::Structure
end

#page_sizeInteger

The maximum number of results to be returned per request.

Returns:

  • (Integer)


10801
10802
10803
10804
10805
10806
10807
10808
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 10801

class ListAttachedPoliciesRequest < Struct.new(
  :target,
  :recursive,
  :marker,
  :page_size)
  SENSITIVE = []
  include Aws::Structure
end

#recursiveBoolean

When true, recursively list attached policies.

Returns:

  • (Boolean)


10801
10802
10803
10804
10805
10806
10807
10808
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 10801

class ListAttachedPoliciesRequest < Struct.new(
  :target,
  :recursive,
  :marker,
  :page_size)
  SENSITIVE = []
  include Aws::Structure
end

#targetString

The group or principal for which the policies will be listed. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Returns:

  • (String)


10801
10802
10803
10804
10805
10806
10807
10808
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 10801

class ListAttachedPoliciesRequest < Struct.new(
  :target,
  :recursive,
  :marker,
  :page_size)
  SENSITIVE = []
  include Aws::Structure
end