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

Class: Aws::Organizations::Types::ListTargetsForPolicyResponse

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#next_tokenString

If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

Returns:

  • (String)


2162
2163
2164
2165
2166
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2162

class ListTargetsForPolicyResponse < Struct.new(
  :targets,
  :next_token)
  include Aws::Structure
end

#targetsArray<Types::PolicyTargetSummary>

A list of structures, each of which contains details about one of the entities to which the specified policy is attached.

Returns:



2162
2163
2164
2165
2166
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2162

class ListTargetsForPolicyResponse < Struct.new(
  :targets,
  :next_token)
  include Aws::Structure
end