There are more AWS SDK examples available in the AWS Doc SDK Examples
Scenarios for IAM using AWS SDKs
The following code examples show how to use AWS Identity and Access Management with AWS SDKs. Each example shows you how to accomplish a specific task by calling multiple functions within the same service.
Examples