Class GetAccountAuthorizationDetailsCommandProtected
Retrieves information about all IAM users, groups, roles, and policies in your Amazon Web Services
account, including their relationships to one another. Use this operation to obtain a
snapshot of the configuration of IAM permissions (users, groups, roles, and policies)
in your account.
Policies returned by this operation are URL-encoded compliant
with RFC 3986. You can use a URL
decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
can use the decode method of the java.net.URLDecoder utility class in
the Java SDK. Other languages and SDKs provide similar functionality.
You can optionally filter the results using the Filter parameter. You can
paginate the results using the MaxItems and Marker
parameters.
Example
Use a bare-bones client and the command you need to make an API call.
Retrieves information about all IAM users, groups, roles, and policies in your Amazon Web Services account, including their relationships to one another. Use this operation to obtain a snapshot of the configuration of IAM permissions (users, groups, roles, and policies) in your account.
Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the
decode
method of thejava.net.URLDecoder
utility class in the Java SDK. Other languages and SDKs provide similar functionality.You can optionally filter the results using the
Filter
parameter. You can paginate the results using theMaxItems
andMarker
parameters.Example
Use a bare-bones client and the command you need to make an API call.
Param
GetAccountAuthorizationDetailsCommandInput
Returns
GetAccountAuthorizationDetailsCommandOutput
See
input
shape.response
shape.config
shape.Throws
ServiceFailureException (server fault)
The request processing has failed because of an unknown error, exception or failure.
Throws
IAMServiceException
Base exception class for all service exceptions from IAM service.