Class: Aws::IAM::Types::ListPolicyVersionsResponse

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

Overview

Contains the response to a successful ListPolicyVersions request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#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 your results.

Returns:

  • (Boolean)


6326
6327
6328
6329
6330
6331
6332
# File 'lib/aws-sdk-iam/types.rb', line 6326

class ListPolicyVersionsResponse < Struct.new(
  :versions,
  :is_truncated,
  :marker)
  SENSITIVE = []
  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)


6326
6327
6328
6329
6330
6331
6332
# File 'lib/aws-sdk-iam/types.rb', line 6326

class ListPolicyVersionsResponse < Struct.new(
  :versions,
  :is_truncated,
  :marker)
  SENSITIVE = []
  include Aws::Structure
end

#versionsArray<Types::PolicyVersion>

A list of policy versions.

For more information about managed policy versions, see [Versioning for managed policies] in the *IAM User Guide*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html

Returns:



6326
6327
6328
6329
6330
6331
6332
# File 'lib/aws-sdk-iam/types.rb', line 6326

class ListPolicyVersionsResponse < Struct.new(
  :versions,
  :is_truncated,
  :marker)
  SENSITIVE = []
  include Aws::Structure
end