Lists all managed policies that are attached to the specified IAM Role in the caller's namespace or x-emc-namespace header if provided.
Marker | For pagination, the value of the Marker element in the response that you received to indicate where the next call should start. |
MaxItems | Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true and Marker contains a value to include in the subsequent call that tells the service where to continue from. |
PathPrefix | The path to the IAM role. |
RoleName | Simple name identifying the role. |
This call has no restrictions.
No Request Payload
Field | Description | Type | Notes |
ListAttachedRolePoliciesResponse | |||
ListAttachedRolePoliciesResult | |||
AttachedPolicies | |||
member |
0-* Elements |
||
Marker | When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. | String | |
ResponseMetadata | |||
RequestId | String |
POST https://192.168.0.0:4443/iam?RoleName=FinanceRole&Action=ListAttachedRolePolicies Accept: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN> x-emc-namespace: <namespace>
HTTP/1.1 200 OK <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:ListAttachedRolePoliciesResponse xmlns:ns2="none"> <ResponseMetadata> <RequestId>0af9f5b8:17178fe9282:d8c0:0</RequestId> </ResponseMetadata> <ListAttachedRolePoliciesResult> <IsTruncated>false</IsTruncated> <AttachedPolicies> <member> <PolicyName>ECSS3FullAccess</PolicyName> <PolicyArn>urn:ecs:iam:::policy/ECSS3FullAccess</PolicyArn> </member> <member> <PolicyName>IAMFullAccess</PolicyName> <PolicyArn>urn:ecs:iam:::policy/IAMFullAccess</PolicyArn> </member> </AttachedPolicies> </ListAttachedRolePoliciesResult> </ns2:ListAttachedRolePoliciesResponse>