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

Class: Aws::IAM::Types::ListGroupsForUserResponse

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

Overview

Contains the response to a successful ListGroupsForUser request.

Instance Attribute Summary collapse

Instance Attribute Details

#groupsArray<Types::Group>

A list of groups.

Returns:



4354
4355
4356
4357
4358
4359
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 4354

class ListGroupsForUserResponse < Struct.new(
  :groups,
  :is_truncated,
  :marker)
  include Aws::Structure
end

#is_truncatedBoolean

A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results.

Returns:

  • (Boolean)


4354
4355
4356
4357
4358
4359
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 4354

class ListGroupsForUserResponse < Struct.new(
  :groups,
  :is_truncated,
  :marker)
  include Aws::Structure
end

#markerString

When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

Returns:

  • (String)


4354
4355
4356
4357
4358
4359
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 4354

class ListGroupsForUserResponse < Struct.new(
  :groups,
  :is_truncated,
  :marker)
  include Aws::Structure
end