com.amazonaws.services.identitymanagement
Class AmazonIdentityManagementAsyncClient

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceClient
      extended by com.amazonaws.services.identitymanagement.AmazonIdentityManagementClient
          extended by com.amazonaws.services.identitymanagement.AmazonIdentityManagementAsyncClient
All Implemented Interfaces:
AmazonIdentityManagement, AmazonIdentityManagementAsync

public class AmazonIdentityManagementAsyncClient
extends AmazonIdentityManagementClient
implements AmazonIdentityManagementAsync

Client for accessing AmazonIdentityManagement. All calls made using this client are non-blocking and will immediately return a Java Future. Callers must use the Future object to determine when the service call has actually completed. AWS Identity and Access Management

AWS Identity and Access Management (IAM) is a web service that enables Amazon Web Services (AWS) customers to manage Users and User permissions under their AWS Account.

This is the AWS Identity and Access Management API Reference. This guide describes who should read this guide and other resources related to IAM.

Use of this guide assumes you are familiar with the following:

If you're new to AWS and need additional technical information about a specific AWS product, you can find the product's technical documentation at http://aws.amazon.com/documentation/ .

We will refer to Amazon AWS Identity and Access Management using the abbreviated form IAM. All copyrights and legal protections still apply.


Constructor Summary
AmazonIdentityManagementAsyncClient(AWSCredentials awsCredentials)
          Constructs a new asynchronous client to invoke service methods on AmazonIdentityManagement using the specified AWS account credentials.
AmazonIdentityManagementAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonIdentityManagement using the specified AWS account credentials, executor service, and client configuration options.
AmazonIdentityManagementAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonIdentityManagement using the specified AWS account credentials and executor service.
 
Method Summary
 Future<Void> addUserToGroupAsync(AddUserToGroupRequest addUserToGroupRequest)
           Adds the specified User to the specified group.
 Future<CreateAccessKeyResult> createAccessKeyAsync(CreateAccessKeyRequest createAccessKeyRequest)
           Creates a new AWS Secret Access Key and corresponding AWS Access Key ID for the specified User.
 Future<CreateGroupResult> createGroupAsync(CreateGroupRequest createGroupRequest)
           Creates a new group.
 Future<CreateLoginProfileResult> createLoginProfileAsync(CreateLoginProfileRequest createLoginProfileRequest)
           Creates a login profile for the specified User, giving the User the ability to access AWS services such as the AWS Management Console.
 Future<CreateUserResult> createUserAsync(CreateUserRequest createUserRequest)
           Creates a new User for your AWS Account.
 Future<Void> deactivateMFADeviceAsync(DeactivateMFADeviceRequest deactivateMFADeviceRequest)
           Deactivates the specified MFA device and removes it from association with the User name for which it was originally enabled.
 Future<Void> deleteAccessKeyAsync(DeleteAccessKeyRequest deleteAccessKeyRequest)
           Deletes the access key associated with the specified User.
 Future<Void> deleteGroupAsync(DeleteGroupRequest deleteGroupRequest)
           Deletes the specified group.
 Future<Void> deleteGroupPolicyAsync(DeleteGroupPolicyRequest deleteGroupPolicyRequest)
           Deletes the specified policy that is associated with the specified group.
 Future<Void> deleteLoginProfileAsync(DeleteLoginProfileRequest deleteLoginProfileRequest)
           Deletes the login profile for the specified User, which terminates the User's ability to access AWS services through the IAM login page.
 Future<Void> deleteServerCertificateAsync(DeleteServerCertificateRequest deleteServerCertificateRequest)
           Deletes the specified server certificate.
 Future<Void> deleteSigningCertificateAsync(DeleteSigningCertificateRequest deleteSigningCertificateRequest)
           Deletes the specified signing certificate associated with the specified User.
 Future<Void> deleteUserAsync(DeleteUserRequest deleteUserRequest)
           Deletes the specified User.
 Future<Void> deleteUserPolicyAsync(DeleteUserPolicyRequest deleteUserPolicyRequest)
           Deletes the specified policy associated with the specified User.
 Future<Void> enableMFADeviceAsync(EnableMFADeviceRequest enableMFADeviceRequest)
           Enables the specified MFA device and associates it with the specified User name.
 ExecutorService getExecutorService()
          Returns the executor service used by this async client to execute requests.
 Future<GetGroupResult> getGroupAsync(GetGroupRequest getGroupRequest)
           Returns a list of Users that are in the specified group.
 Future<GetGroupPolicyResult> getGroupPolicyAsync(GetGroupPolicyRequest getGroupPolicyRequest)
           Retrieves the specified policy document for the specified group.
 Future<GetLoginProfileResult> getLoginProfileAsync(GetLoginProfileRequest getLoginProfileRequest)
           Retrieves the login profile for the specified User.
 Future<GetServerCertificateResult> getServerCertificateAsync(GetServerCertificateRequest getServerCertificateRequest)
           Retrieves information about the specified server certificate.
 Future<GetUserResult> getUserAsync(GetUserRequest getUserRequest)
           Retrieves information about the specified User, including the User's path, GUID, and ARN.
 Future<GetUserPolicyResult> getUserPolicyAsync(GetUserPolicyRequest getUserPolicyRequest)
           Retrieves the specified policy document for the specified User.
 Future<ListAccessKeysResult> listAccessKeysAsync(ListAccessKeysRequest listAccessKeysRequest)
           Returns information about the Access Key IDs associated with the specified User.
 Future<ListGroupPoliciesResult> listGroupPoliciesAsync(ListGroupPoliciesRequest listGroupPoliciesRequest)
           Lists the names of the policies associated with the specified group.
 Future<ListGroupsResult> listGroupsAsync(ListGroupsRequest listGroupsRequest)
           Lists the groups that have the specified path prefix.
 Future<ListGroupsForUserResult> listGroupsForUserAsync(ListGroupsForUserRequest listGroupsForUserRequest)
           Lists the groups the specified User belongs to.
 Future<ListMFADevicesResult> listMFADevicesAsync(ListMFADevicesRequest listMFADevicesRequest)
           Lists the MFA devices associated with the specified User name.
 Future<ListServerCertificatesResult> listServerCertificatesAsync(ListServerCertificatesRequest listServerCertificatesRequest)
           Lists the server certificates that have the specified path prefix.
 Future<ListSigningCertificatesResult> listSigningCertificatesAsync(ListSigningCertificatesRequest listSigningCertificatesRequest)
           Returns information about the signing certificates associated with the specified User.
 Future<ListUserPoliciesResult> listUserPoliciesAsync(ListUserPoliciesRequest listUserPoliciesRequest)
           Lists the names of the policies associated with the specified User.
 Future<ListUsersResult> listUsersAsync(ListUsersRequest listUsersRequest)
           Lists the Users that have the specified path prefix.
 Future<Void> putGroupPolicyAsync(PutGroupPolicyRequest putGroupPolicyRequest)
           Adds (or updates) a policy document associated with the specified group.
 Future<Void> putUserPolicyAsync(PutUserPolicyRequest putUserPolicyRequest)
           Adds (or updates) a policy document associated with the specified User.
 Future<Void> removeUserFromGroupAsync(RemoveUserFromGroupRequest removeUserFromGroupRequest)
           Removes the specified User from the specified group.
 Future<Void> resyncMFADeviceAsync(ResyncMFADeviceRequest resyncMFADeviceRequest)
           Synchronizes the specified MFA device with AWS servers.
 Future<Void> updateAccessKeyAsync(UpdateAccessKeyRequest updateAccessKeyRequest)
           Changes the status of the specified access key from Active to Inactive, or vice versa.
 Future<Void> updateGroupAsync(UpdateGroupRequest updateGroupRequest)
           Updates the name and/or the path of the specified group.
 Future<Void> updateLoginProfileAsync(UpdateLoginProfileRequest updateLoginProfileRequest)
           Updates the login profile for the specified User.
 Future<Void> updateServerCertificateAsync(UpdateServerCertificateRequest updateServerCertificateRequest)
           Updates the name and/or the path of the specified server certificate.
 Future<Void> updateSigningCertificateAsync(UpdateSigningCertificateRequest updateSigningCertificateRequest)
           Changes the status of the specified signing certificate from active to disabled, or vice versa.
 Future<Void> updateUserAsync(UpdateUserRequest updateUserRequest)
           Updates the name and/or the path of the specified User.
 Future<UploadServerCertificateResult> uploadServerCertificateAsync(UploadServerCertificateRequest uploadServerCertificateRequest)
           Uploads a server certificate entity for the AWS Account.
 Future<UploadSigningCertificateResult> uploadSigningCertificateAsync(UploadSigningCertificateRequest uploadSigningCertificateRequest)
           Uploads an X.509 signing certificate and associates it with the specified User.
 
Methods inherited from class com.amazonaws.services.identitymanagement.AmazonIdentityManagementClient
addUserToGroup, createAccessKey, createAccessKey, createGroup, createLoginProfile, createUser, deactivateMFADevice, deleteAccessKey, deleteGroup, deleteGroupPolicy, deleteLoginProfile, deleteServerCertificate, deleteSigningCertificate, deleteUser, deleteUserPolicy, enableMFADevice, getCachedResponseMetadata, getGroup, getGroupPolicy, getLoginProfile, getServerCertificate, getUser, getUser, getUserPolicy, listAccessKeys, listAccessKeys, listGroupPolicies, listGroups, listGroups, listGroupsForUser, listMFADevices, listServerCertificates, listServerCertificates, listSigningCertificates, listSigningCertificates, listUserPolicies, listUsers, listUsers, putGroupPolicy, putUserPolicy, removeUserFromGroup, resyncMFADevice, updateAccessKey, updateGroup, updateLoginProfile, updateServerCertificate, updateSigningCertificate, updateUser, uploadServerCertificate, uploadSigningCertificate
 
Methods inherited from class com.amazonaws.AmazonWebServiceClient
setEndpoint, shutdown
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amazonaws.services.identitymanagement.AmazonIdentityManagement
addUserToGroup, createAccessKey, createAccessKey, createGroup, createLoginProfile, createUser, deactivateMFADevice, deleteAccessKey, deleteGroup, deleteGroupPolicy, deleteLoginProfile, deleteServerCertificate, deleteSigningCertificate, deleteUser, deleteUserPolicy, enableMFADevice, getCachedResponseMetadata, getGroup, getGroupPolicy, getLoginProfile, getServerCertificate, getUser, getUser, getUserPolicy, listAccessKeys, listAccessKeys, listGroupPolicies, listGroups, listGroups, listGroupsForUser, listMFADevices, listServerCertificates, listServerCertificates, listSigningCertificates, listSigningCertificates, listUserPolicies, listUsers, listUsers, putGroupPolicy, putUserPolicy, removeUserFromGroup, resyncMFADevice, setEndpoint, shutdown, updateAccessKey, updateGroup, updateLoginProfile, updateServerCertificate, updateSigningCertificate, updateUser, uploadServerCertificate, uploadSigningCertificate
 

Constructor Detail

AmazonIdentityManagementAsyncClient

public AmazonIdentityManagementAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AmazonIdentityManagement using the specified AWS account credentials. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.

AmazonIdentityManagementAsyncClient

public AmazonIdentityManagementAsyncClient(AWSCredentials awsCredentials,
                                           ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonIdentityManagement using the specified AWS account credentials and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
executorService - The executor service by which all asynchronous requests will be executed.

AmazonIdentityManagementAsyncClient

public AmazonIdentityManagementAsyncClient(AWSCredentials awsCredentials,
                                           ClientConfiguration clientConfiguration,
                                           ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonIdentityManagement using the specified AWS account credentials, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).
executorService - The executor service by which all asynchronous requests will be executed.
Method Detail

getExecutorService

public ExecutorService getExecutorService()
Returns the executor service used by this async client to execute requests.

Returns:
The executor service used by this async client to execute requests.

listGroupsAsync

public Future<ListGroupsResult> listGroupsAsync(ListGroupsRequest listGroupsRequest)
                                         throws AmazonServiceException,
                                                AmazonClientException

Lists the groups that have the specified path prefix.

You can paginate the results using the MaxItems and Marker parameters.

Specified by:
listGroupsAsync in interface AmazonIdentityManagementAsync
Parameters:
listGroupsRequest - Container for the necessary parameters to execute the ListGroups operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the ListGroups service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

deleteAccessKeyAsync

public Future<Void> deleteAccessKeyAsync(DeleteAccessKeyRequest deleteAccessKeyRequest)
                                  throws AmazonServiceException,
                                         AmazonClientException

Deletes the access key associated with the specified User.

If you do not specify a User name, IAM determines the User name implicitly based on the AWS Access Key ID signing the request. Because this action works for access keys under the AWS Account, you can use this API to manage root credentials even if the AWS Account has no associated Users.

Specified by:
deleteAccessKeyAsync in interface AmazonIdentityManagementAsync
Parameters:
deleteAccessKeyRequest - Container for the necessary parameters to execute the DeleteAccessKey operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the DeleteAccessKey service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

listSigningCertificatesAsync

public Future<ListSigningCertificatesResult> listSigningCertificatesAsync(ListSigningCertificatesRequest listSigningCertificatesRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Returns information about the signing certificates associated with the specified User. If there are none, the action returns an empty list.

Although each User is limited to a small number of signing certificates, you can still paginate the results using the MaxItems and Marker parameters.

If the UserName field is not specified, the UserName is determined implicitly based on the AWS Access Key ID used to sign the request. Because this action works for access keys under the AWS Account, this API can be used to manage root credentials even if the AWS Account has no associated Users.

Specified by:
listSigningCertificatesAsync in interface AmazonIdentityManagementAsync
Parameters:
listSigningCertificatesRequest - Container for the necessary parameters to execute the ListSigningCertificates operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the ListSigningCertificates service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

uploadSigningCertificateAsync

public Future<UploadSigningCertificateResult> uploadSigningCertificateAsync(UploadSigningCertificateRequest uploadSigningCertificateRequest)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Uploads an X.509 signing certificate and associates it with the specified User. Some AWS services use X.509 signing certificates to validate requests that are signed with a corresponding private key. When you upload the certificate, its default status is Active .

If the UserName field is not specified, the User name is determined implicitly based on the AWS Access Key ID used to sign the request. Because this action works for access keys under the AWS Account, this API can be used to manage root credentials even if the AWS Account has no associated Users.

NOTE:Because the body of a X.509 certificate can be large, you should use POST rather than GET when calling UploadSigningCertificate. For more information, see Making Query Requests in Using AWS Identity and Access Management.

Specified by:
uploadSigningCertificateAsync in interface AmazonIdentityManagementAsync
Parameters:
uploadSigningCertificateRequest - Container for the necessary parameters to execute the UploadSigningCertificate operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the UploadSigningCertificate service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

deleteUserPolicyAsync

public Future<Void> deleteUserPolicyAsync(DeleteUserPolicyRequest deleteUserPolicyRequest)
                                   throws AmazonServiceException,
                                          AmazonClientException

Deletes the specified policy associated with the specified User.

Specified by:
deleteUserPolicyAsync in interface AmazonIdentityManagementAsync
Parameters:
deleteUserPolicyRequest - Container for the necessary parameters to execute the DeleteUserPolicy operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the DeleteUserPolicy service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

putUserPolicyAsync

public Future<Void> putUserPolicyAsync(PutUserPolicyRequest putUserPolicyRequest)
                                throws AmazonServiceException,
                                       AmazonClientException

Adds (or updates) a policy document associated with the specified User. For information about policies, refer to Overview of Policies in Using AWS Identity and Access Management .

For information about limits on the number of policies you can associate with a User, see Limitations on IAM Entities in Using AWS Identity and Access Management .

NOTE:Because policy documents can be large, you should use POST rather than GET when calling PutUserPolicy. For more information, see Making Query Requests in Using AWS Identity and Access Management.

Specified by:
putUserPolicyAsync in interface AmazonIdentityManagementAsync
Parameters:
putUserPolicyRequest - Container for the necessary parameters to execute the PutUserPolicy operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the PutUserPolicy service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

listServerCertificatesAsync

public Future<ListServerCertificatesResult> listServerCertificatesAsync(ListServerCertificatesRequest listServerCertificatesRequest)
                                                                 throws AmazonServiceException,
                                                                        AmazonClientException

Lists the server certificates that have the specified path prefix. If none exist, the action returns an empty list.

You can paginate the results using the MaxItems and Marker parameters.

Specified by:
listServerCertificatesAsync in interface AmazonIdentityManagementAsync
Parameters:
listServerCertificatesRequest - Container for the necessary parameters to execute the ListServerCertificates operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the ListServerCertificates service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

getUserPolicyAsync

public Future<GetUserPolicyResult> getUserPolicyAsync(GetUserPolicyRequest getUserPolicyRequest)
                                               throws AmazonServiceException,
                                                      AmazonClientException

Retrieves the specified policy document for the specified User. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html .

Specified by:
getUserPolicyAsync in interface AmazonIdentityManagementAsync
Parameters:
getUserPolicyRequest - Container for the necessary parameters to execute the GetUserPolicy operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the GetUserPolicy service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

updateLoginProfileAsync

public Future<Void> updateLoginProfileAsync(UpdateLoginProfileRequest updateLoginProfileRequest)
                                     throws AmazonServiceException,
                                            AmazonClientException

Updates the login profile for the specified User. Use this API to change the User's password.

NOTE:In the full release you will be able to use IAM to access your services through the AWS Management Console. Although this feature is not currently available, you can create login profiles for your Users now. Then, when this feature is implemented, your Users can use IAM to access your services through the AWS Management Console.

Specified by:
updateLoginProfileAsync in interface AmazonIdentityManagementAsync
Parameters:
updateLoginProfileRequest - Container for the necessary parameters to execute the UpdateLoginProfile operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the UpdateLoginProfile service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

updateServerCertificateAsync

public Future<Void> updateServerCertificateAsync(UpdateServerCertificateRequest updateServerCertificateRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException

Updates the name and/or the path of the specified server certificate.

IMPORTANT: You should understand the implications of changing a server certificate's path or name. For more information, see Managing Server Certificates in Using AWS Identity and Access Management.

NOTE:To change a server certificate name the requester must have appropriate permissions on both the source object and the target object. For example, to change the name from ProductionCert to ProdCert, the entity making the request must have permission on ProductionCert and ProdCert, or must have permission on all (*). For more information about permissions, see Permissions and Policies.

Specified by:
updateServerCertificateAsync in interface AmazonIdentityManagementAsync
Parameters:
updateServerCertificateRequest - Container for the necessary parameters to execute the UpdateServerCertificate operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the UpdateServerCertificate service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

updateUserAsync

public Future<Void> updateUserAsync(UpdateUserRequest updateUserRequest)
                             throws AmazonServiceException,
                                    AmazonClientException

Updates the name and/or the path of the specified User.

IMPORTANT: You should understand the implications of changing a User's path or name. For more information, see Renaming Users and Groups in Using AWS Identity and Access Management.

NOTE:To change a User name the requester must have appropriate permissions on both the source object and the target object. For example, to change Bob to Robert, the entity making the request must have permission on Bob and Robert, or must have permission on all (*). For more information about permissions, see Permissions and Policies.

Specified by:
updateUserAsync in interface AmazonIdentityManagementAsync
Parameters:
updateUserRequest - Container for the necessary parameters to execute the UpdateUser operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the UpdateUser service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

deleteLoginProfileAsync

public Future<Void> deleteLoginProfileAsync(DeleteLoginProfileRequest deleteLoginProfileRequest)
                                     throws AmazonServiceException,
                                            AmazonClientException

Deletes the login profile for the specified User, which terminates the User's ability to access AWS services through the IAM login page.

IMPORTANT:Deleting a User's login profile does not prevent a User from accessing IAM through the command line interface or the API. To prevent all User access you must also either make the access key inactive or delete it. For more information about making keys inactive or deleting them, see UpdateAccessKey and DeleteAccessKey.

NOTE:In the full release you will be able to use IAM to access your services through the AWS Management Console. Although this feature is not currently available, you can create login profiles for your Users now. Then, when this feature is implemented, your Users can use IAM to access your services through the AWS Management Console.

Specified by:
deleteLoginProfileAsync in interface AmazonIdentityManagementAsync
Parameters:
deleteLoginProfileRequest - Container for the necessary parameters to execute the DeleteLoginProfile operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the DeleteLoginProfile service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

updateSigningCertificateAsync

public Future<Void> updateSigningCertificateAsync(UpdateSigningCertificateRequest updateSigningCertificateRequest)
                                           throws AmazonServiceException,
                                                  AmazonClientException

Changes the status of the specified signing certificate from active to disabled, or vice versa. This action can be used to disable a User's signing certificate as part of a certificate rotation workflow.

If the UserName field is not specified, the UserName is determined implicitly based on the AWS Access Key ID used to sign the request. Because this action works for access keys under the AWS Account, this API can be used to manage root credentials even if the AWS Account has no associated Users.

For information about rotating certificates, see Managing Keys and Certificates in Using AWS Identity and Access Management .

Specified by:
updateSigningCertificateAsync in interface AmazonIdentityManagementAsync
Parameters:
updateSigningCertificateRequest - Container for the necessary parameters to execute the UpdateSigningCertificate operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the UpdateSigningCertificate service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

deleteGroupPolicyAsync

public Future<Void> deleteGroupPolicyAsync(DeleteGroupPolicyRequest deleteGroupPolicyRequest)
                                    throws AmazonServiceException,
                                           AmazonClientException

Deletes the specified policy that is associated with the specified group.

Specified by:
deleteGroupPolicyAsync in interface AmazonIdentityManagementAsync
Parameters:
deleteGroupPolicyRequest - Container for the necessary parameters to execute the DeleteGroupPolicy operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the DeleteGroupPolicy service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

listUsersAsync

public Future<ListUsersResult> listUsersAsync(ListUsersRequest listUsersRequest)
                                       throws AmazonServiceException,
                                              AmazonClientException

Lists the Users that have the specified path prefix. If there are none, the action returns an empty list.

You can paginate the results using the MaxItems and Marker parameters.

Specified by:
listUsersAsync in interface AmazonIdentityManagementAsync
Parameters:
listUsersRequest - Container for the necessary parameters to execute the ListUsers operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the ListUsers service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

updateGroupAsync

public Future<Void> updateGroupAsync(UpdateGroupRequest updateGroupRequest)
                              throws AmazonServiceException,
                                     AmazonClientException

Updates the name and/or the path of the specified group.

IMPORTANT: You should understand the implications of changing a group's path or name. For more information, see Renaming Users and Groups in Using AWS Identity and Access Management.

NOTE:To change a group name the requester must have appropriate permissions on both the source object and the target object. For example, to change Managers to MGRs, the entity making the request must have permission on Managers and MGRs, or must have permission on all (*). For more information about permissions, see Permissions and Policies.

Specified by:
updateGroupAsync in interface AmazonIdentityManagementAsync
Parameters:
updateGroupRequest - Container for the necessary parameters to execute the UpdateGroup operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the UpdateGroup service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

getServerCertificateAsync

public Future<GetServerCertificateResult> getServerCertificateAsync(GetServerCertificateRequest getServerCertificateRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Retrieves information about the specified server certificate.

Specified by:
getServerCertificateAsync in interface AmazonIdentityManagementAsync
Parameters:
getServerCertificateRequest - Container for the necessary parameters to execute the GetServerCertificate operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the GetServerCertificate service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

putGroupPolicyAsync

public Future<Void> putGroupPolicyAsync(PutGroupPolicyRequest putGroupPolicyRequest)
                                 throws AmazonServiceException,
                                        AmazonClientException

Adds (or updates) a policy document associated with the specified group. For information about policies, refer to Overview of Policies in Using AWS Identity and Access Management .

For information about limits on the number of policies you can associate with a group, see Limitations on IAM Entities in Using AWS Identity and Access Management .

NOTE:Because policy documents can be large, you should use POST rather than GET when calling PutGroupPolicy. For more information, see Making Query Requests in Using AWS Identity and Access Management.

Specified by:
putGroupPolicyAsync in interface AmazonIdentityManagementAsync
Parameters:
putGroupPolicyRequest - Container for the necessary parameters to execute the PutGroupPolicy operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the PutGroupPolicy service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

createUserAsync

public Future<CreateUserResult> createUserAsync(CreateUserRequest createUserRequest)
                                         throws AmazonServiceException,
                                                AmazonClientException

Creates a new User for your AWS Account.

For information about limitations on the number of Users you can create, see Limitations on IAM Entities in Using AWS Identity and Access Management .

Specified by:
createUserAsync in interface AmazonIdentityManagementAsync
Parameters:
createUserRequest - Container for the necessary parameters to execute the CreateUser operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the CreateUser service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

deleteSigningCertificateAsync

public Future<Void> deleteSigningCertificateAsync(DeleteSigningCertificateRequest deleteSigningCertificateRequest)
                                           throws AmazonServiceException,
                                                  AmazonClientException

Deletes the specified signing certificate associated with the specified User.

If you do not specify a User name, IAM determines the User name implicitly based on the AWS Access Key ID signing the request. Because this action works for access keys under the AWS Account, you can use this API to manage root credentials even if the AWS Account has no associated Users.

Specified by:
deleteSigningCertificateAsync in interface AmazonIdentityManagementAsync
Parameters:
deleteSigningCertificateRequest - Container for the necessary parameters to execute the DeleteSigningCertificate operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the DeleteSigningCertificate service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

enableMFADeviceAsync

public Future<Void> enableMFADeviceAsync(EnableMFADeviceRequest enableMFADeviceRequest)
                                  throws AmazonServiceException,
                                         AmazonClientException

Enables the specified MFA device and associates it with the specified User name. Once enabled, the MFA device is required for every subsequent login by the User name associated with the device.

Specified by:
enableMFADeviceAsync in interface AmazonIdentityManagementAsync
Parameters:
enableMFADeviceRequest - Container for the necessary parameters to execute the EnableMFADevice operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the EnableMFADevice service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

listUserPoliciesAsync

public Future<ListUserPoliciesResult> listUserPoliciesAsync(ListUserPoliciesRequest listUserPoliciesRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Lists the names of the policies associated with the specified User. If there are none, the action returns an empty list.

You can paginate the results using the MaxItems and Marker parameters.

Specified by:
listUserPoliciesAsync in interface AmazonIdentityManagementAsync
Parameters:
listUserPoliciesRequest - Container for the necessary parameters to execute the ListUserPolicies operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the ListUserPolicies service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

listAccessKeysAsync

public Future<ListAccessKeysResult> listAccessKeysAsync(ListAccessKeysRequest listAccessKeysRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Returns information about the Access Key IDs associated with the specified User. If there are none, the action returns an empty list.

Although each User is limited to a small number of keys, you can still paginate the results using the MaxItems and Marker parameters.

If the UserName field is not specified, the UserName is determined implicitly based on the AWS Access Key ID used to sign the request. Because this action works for access keys under the AWS Account, this API can be used to manage root credentials even if the AWS Account has no associated Users.

NOTE:To ensure the security of your AWS Account, the secret access key is accessible only during key and User creation.

Specified by:
listAccessKeysAsync in interface AmazonIdentityManagementAsync
Parameters:
listAccessKeysRequest - Container for the necessary parameters to execute the ListAccessKeys operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the ListAccessKeys service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

getLoginProfileAsync

public Future<GetLoginProfileResult> getLoginProfileAsync(GetLoginProfileRequest getLoginProfileRequest)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Retrieves the login profile for the specified User.

NOTE:In the full release you will be able to use IAM to access your services through the AWS Management Console. Although this feature is not currently available, you can create login profiles for your Users now. Then, when this feature is implemented, your Users can use IAM to access your services through the AWS Management Console.

Specified by:
getLoginProfileAsync in interface AmazonIdentityManagementAsync
Parameters:
getLoginProfileRequest - Container for the necessary parameters to execute the GetLoginProfile operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the GetLoginProfile service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

listGroupsForUserAsync

public Future<ListGroupsForUserResult> listGroupsForUserAsync(ListGroupsForUserRequest listGroupsForUserRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Lists the groups the specified User belongs to.

You can paginate the results using the MaxItems and Marker parameters.

Specified by:
listGroupsForUserAsync in interface AmazonIdentityManagementAsync
Parameters:
listGroupsForUserRequest - Container for the necessary parameters to execute the ListGroupsForUser operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the ListGroupsForUser service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

createGroupAsync

public Future<CreateGroupResult> createGroupAsync(CreateGroupRequest createGroupRequest)
                                           throws AmazonServiceException,
                                                  AmazonClientException

Creates a new group.

For information about the number of groups you can create, see Limitations on IAM Entities in Using AWS Identity and Access Management .

Specified by:
createGroupAsync in interface AmazonIdentityManagementAsync
Parameters:
createGroupRequest - Container for the necessary parameters to execute the CreateGroup operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the CreateGroup service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

uploadServerCertificateAsync

public Future<UploadServerCertificateResult> uploadServerCertificateAsync(UploadServerCertificateRequest uploadServerCertificateRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Uploads a server certificate entity for the AWS Account. The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded.

For information about the number of server certificates you can upload, see Limitations on IAM Entities in Using AWS Identity and Access Management .

NOTE:Because the body of the public key certificate, private key, and the certificate chain can be large, you should use POST rather than GET when calling UploadServerCertificate. For more information, see Making Query Requests in Using AWS Identity and Access Management.

Specified by:
uploadServerCertificateAsync in interface AmazonIdentityManagementAsync
Parameters:
uploadServerCertificateRequest - Container for the necessary parameters to execute the UploadServerCertificate operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the UploadServerCertificate service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

getGroupPolicyAsync

public Future<GetGroupPolicyResult> getGroupPolicyAsync(GetGroupPolicyRequest getGroupPolicyRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Retrieves the specified policy document for the specified group. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html .

Specified by:
getGroupPolicyAsync in interface AmazonIdentityManagementAsync
Parameters:
getGroupPolicyRequest - Container for the necessary parameters to execute the GetGroupPolicy operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the GetGroupPolicy service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

deleteUserAsync

public Future<Void> deleteUserAsync(DeleteUserRequest deleteUserRequest)
                             throws AmazonServiceException,
                                    AmazonClientException

Deletes the specified User. The User must not belong to any groups, have any keys or signing certificates, or have any attached policies.

Specified by:
deleteUserAsync in interface AmazonIdentityManagementAsync
Parameters:
deleteUserRequest - Container for the necessary parameters to execute the DeleteUser operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the DeleteUser service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

deactivateMFADeviceAsync

public Future<Void> deactivateMFADeviceAsync(DeactivateMFADeviceRequest deactivateMFADeviceRequest)
                                      throws AmazonServiceException,
                                             AmazonClientException

Deactivates the specified MFA device and removes it from association with the User name for which it was originally enabled.

Specified by:
deactivateMFADeviceAsync in interface AmazonIdentityManagementAsync
Parameters:
deactivateMFADeviceRequest - Container for the necessary parameters to execute the DeactivateMFADevice operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the DeactivateMFADevice service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

removeUserFromGroupAsync

public Future<Void> removeUserFromGroupAsync(RemoveUserFromGroupRequest removeUserFromGroupRequest)
                                      throws AmazonServiceException,
                                             AmazonClientException

Removes the specified User from the specified group.

Specified by:
removeUserFromGroupAsync in interface AmazonIdentityManagementAsync
Parameters:
removeUserFromGroupRequest - Container for the necessary parameters to execute the RemoveUserFromGroup operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the RemoveUserFromGroup service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

deleteServerCertificateAsync

public Future<Void> deleteServerCertificateAsync(DeleteServerCertificateRequest deleteServerCertificateRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException

Deletes the specified server certificate.

IMPORTANT:If your Elastic Load Balancing instances are using a server certificate, deleting the certificate could have implications for your application. If your Elastic Load Balancing instances do not detect the deletion of bound certificates, they may continue to use the certificates. This could cause them to stop accepting traffic. We recommend that you remove the reference to the certificate from your Elastic Load Balancing instances before using this command to delete the certificate.

Specified by:
deleteServerCertificateAsync in interface AmazonIdentityManagementAsync
Parameters:
deleteServerCertificateRequest - Container for the necessary parameters to execute the DeleteServerCertificate operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the DeleteServerCertificate service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

listGroupPoliciesAsync

public Future<ListGroupPoliciesResult> listGroupPoliciesAsync(ListGroupPoliciesRequest listGroupPoliciesRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Lists the names of the policies associated with the specified group. If there are none, the action returns an empty list.

You can paginate the results using the MaxItems and Marker parameters.

Specified by:
listGroupPoliciesAsync in interface AmazonIdentityManagementAsync
Parameters:
listGroupPoliciesRequest - Container for the necessary parameters to execute the ListGroupPolicies operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the ListGroupPolicies service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

createLoginProfileAsync

public Future<CreateLoginProfileResult> createLoginProfileAsync(CreateLoginProfileRequest createLoginProfileRequest)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Creates a login profile for the specified User, giving the User the ability to access AWS services such as the AWS Management Console. For more information about login profiles, see Managing Login Profiles and MFA Devices in Using AWS Identity and Access Management .

NOTE:In the full release you will be able to use IAM to access your services through the AWS Management Console. Although this feature is not currently available, you can create login profiles for your Users now. Then, when this feature is implemented, your Users can use IAM to access your services through the AWS Management Console.

Specified by:
createLoginProfileAsync in interface AmazonIdentityManagementAsync
Parameters:
createLoginProfileRequest - Container for the necessary parameters to execute the CreateLoginProfile operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the CreateLoginProfile service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

createAccessKeyAsync

public Future<CreateAccessKeyResult> createAccessKeyAsync(CreateAccessKeyRequest createAccessKeyRequest)
                                                   throws AmazonServiceException,
                                                          AmazonClientException

Creates a new AWS Secret Access Key and corresponding AWS Access Key ID for the specified User. The default status for new keys is Active .

If you do not specify a User name, IAM determines the User name implicitly based on the AWS Access Key ID signing the request. Because this action works for access keys under the AWS Account, you can use this API to manage root credentials even if the AWS Account has no associated Users.

For information about limits on the number of keys you can create, see Limitations on IAM Entities in Using AWS Identity and Access Management .

IMPORTANT:To ensure the security of your AWS Account, the Secret Access Key is accessible only during key and User creation. You must save the key (for example, in a text file) if you want to be able to access it again. If a secret key is lost, you can delete the access keys for the associated User and then create new keys.

Specified by:
createAccessKeyAsync in interface AmazonIdentityManagementAsync
Parameters:
createAccessKeyRequest - Container for the necessary parameters to execute the CreateAccessKey operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the CreateAccessKey service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

getUserAsync

public Future<GetUserResult> getUserAsync(GetUserRequest getUserRequest)
                                   throws AmazonServiceException,
                                          AmazonClientException

Retrieves information about the specified User, including the User's path, GUID, and ARN.

If you do not specify a User name, IAM determines the User name implicitly based on the AWS Access Key ID signing the request.

Specified by:
getUserAsync in interface AmazonIdentityManagementAsync
Parameters:
getUserRequest - Container for the necessary parameters to execute the GetUser operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the GetUser service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

resyncMFADeviceAsync

public Future<Void> resyncMFADeviceAsync(ResyncMFADeviceRequest resyncMFADeviceRequest)
                                  throws AmazonServiceException,
                                         AmazonClientException

Synchronizes the specified MFA device with AWS servers.

Specified by:
resyncMFADeviceAsync in interface AmazonIdentityManagementAsync
Parameters:
resyncMFADeviceRequest - Container for the necessary parameters to execute the ResyncMFADevice operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the ResyncMFADevice service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

listMFADevicesAsync

public Future<ListMFADevicesResult> listMFADevicesAsync(ListMFADevicesRequest listMFADevicesRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Lists the MFA devices associated with the specified User name.

You can paginate the results using the MaxItems and Marker parameters.

Specified by:
listMFADevicesAsync in interface AmazonIdentityManagementAsync
Parameters:
listMFADevicesRequest - Container for the necessary parameters to execute the ListMFADevices operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the ListMFADevices service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

updateAccessKeyAsync

public Future<Void> updateAccessKeyAsync(UpdateAccessKeyRequest updateAccessKeyRequest)
                                  throws AmazonServiceException,
                                         AmazonClientException

Changes the status of the specified access key from Active to Inactive, or vice versa. This action can be used to disable a User's key as part of a key rotation workflow.

If the UserName field is not specified, the UserName is determined implicitly based on the AWS Access Key ID used to sign the request. Because this action works for access keys under the AWS Account, this API can be used to manage root credentials even if the AWS Account has no associated Users.

For information about rotating keys, see Managing Keys and Certificates in Using AWS Identity and Access Management .

Specified by:
updateAccessKeyAsync in interface AmazonIdentityManagementAsync
Parameters:
updateAccessKeyRequest - Container for the necessary parameters to execute the UpdateAccessKey operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the UpdateAccessKey service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

addUserToGroupAsync

public Future<Void> addUserToGroupAsync(AddUserToGroupRequest addUserToGroupRequest)
                                 throws AmazonServiceException,
                                        AmazonClientException

Adds the specified User to the specified group.

Specified by:
addUserToGroupAsync in interface AmazonIdentityManagementAsync
Parameters:
addUserToGroupRequest - Container for the necessary parameters to execute the AddUserToGroup operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the AddUserToGroup service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

getGroupAsync

public Future<GetGroupResult> getGroupAsync(GetGroupRequest getGroupRequest)
                                     throws AmazonServiceException,
                                            AmazonClientException

Returns a list of Users that are in the specified group. You can paginate the results using the MaxItems and Marker parameters.

Specified by:
getGroupAsync in interface AmazonIdentityManagementAsync
Parameters:
getGroupRequest - Container for the necessary parameters to execute the GetGroup operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the GetGroup service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.

deleteGroupAsync

public Future<Void> deleteGroupAsync(DeleteGroupRequest deleteGroupRequest)
                              throws AmazonServiceException,
                                     AmazonClientException

Deletes the specified group. The group must not contain any Users or have any attached policies.

Specified by:
deleteGroupAsync in interface AmazonIdentityManagementAsync
Parameters:
deleteGroupRequest - Container for the necessary parameters to execute the DeleteGroup operation on AmazonIdentityManagement.
Returns:
A Java Future object containing the response from the DeleteGroup service method, as returned by AmazonIdentityManagement.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonIdentityManagement indicating either a problem with the data in the request, or a server side issue.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.