Class: Aws::IAM::Types::ListPolicyTagsRequest

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

Overview

Note:

When making an API call, you may pass ListPolicyTagsRequest data as a hash:

{
  policy_arn: "arnType", # required
  marker: "markerType",
  max_items: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#markerString

Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.

Returns:

  • (String)


6873
6874
6875
6876
6877
6878
6879
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6873

class ListPolicyTagsRequest < Struct.new(
  :policy_arn,
  :marker,
  :max_items)
  SENSITIVE = []
  include Aws::Structure
end

#max_itemsInteger

(Optional) Use this only when paginating results to indicate the maximum number of items that you want in the response. If additional items exist beyond the maximum that you specify, the IsTruncated response element is true.

If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when more results are available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.

Returns:

  • (Integer)


6873
6874
6875
6876
6877
6878
6879
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6873

class ListPolicyTagsRequest < Struct.new(
  :policy_arn,
  :marker,
  :max_items)
  SENSITIVE = []
  include Aws::Structure
end

#policy_arnString

The ARN of the IAM customer managed policy whose tags you want to see.

This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

Returns:

  • (String)


6873
6874
6875
6876
6877
6878
6879
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6873

class ListPolicyTagsRequest < Struct.new(
  :policy_arn,
  :marker,
  :max_items)
  SENSITIVE = []
  include Aws::Structure
end