Struct aws_sdk_iam::client::Client [−][src]
pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Client for AWS Identity and Access Management
Client for invoking operations on AWS Identity and Access Management. Each operation on AWS Identity and Access Management is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_iam::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_iam::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_iam::Client::from_conf(config);Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub fn add_client_id_to_open_id_connect_provider(
&self
) -> AddClientIDToOpenIDConnectProvider<C, M, R>
pub fn add_client_id_to_open_id_connect_provider(
&self
) -> AddClientIDToOpenIDConnectProvider<C, M, R>
Constructs a fluent builder for the AddClientIDToOpenIDConnectProvider operation.
See AddClientIDToOpenIDConnectProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the AddRoleToInstanceProfile operation.
See AddRoleToInstanceProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the AddUserToGroup operation.
See AddUserToGroup for more information about the
operation and its arguments.
Constructs a fluent builder for the AttachGroupPolicy operation.
See AttachGroupPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the AttachRolePolicy operation.
See AttachRolePolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the AttachUserPolicy operation.
See AttachUserPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the ChangePassword operation.
See ChangePassword for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateAccessKey operation.
See CreateAccessKey for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateAccountAlias operation.
See CreateAccountAlias for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateGroup operation.
See CreateGroup for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateInstanceProfile operation.
See CreateInstanceProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLoginProfile operation.
See CreateLoginProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateOpenIDConnectProvider operation.
See CreateOpenIDConnectProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the CreatePolicy operation.
See CreatePolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the CreatePolicyVersion operation.
See CreatePolicyVersion for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateRole operation.
See CreateRole for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateSAMLProvider operation.
See CreateSAMLProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateServiceLinkedRole operation.
See CreateServiceLinkedRole for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateServiceSpecificCredential operation.
See CreateServiceSpecificCredential for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateUser operation.
See CreateUser for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateVirtualMFADevice operation.
See CreateVirtualMFADevice for more information about the
operation and its arguments.
Constructs a fluent builder for the DeactivateMFADevice operation.
See DeactivateMFADevice for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteAccessKey operation.
See DeleteAccessKey for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteAccountAlias operation.
See DeleteAccountAlias for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteAccountPasswordPolicy operation.
See DeleteAccountPasswordPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteGroup operation.
See DeleteGroup for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteGroupPolicy operation.
See DeleteGroupPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteInstanceProfile operation.
See DeleteInstanceProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteLoginProfile operation.
See DeleteLoginProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteOpenIDConnectProvider operation.
See DeleteOpenIDConnectProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the DeletePolicy operation.
See DeletePolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the DeletePolicyVersion operation.
See DeletePolicyVersion for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteRole operation.
See DeleteRole for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteRolePermissionsBoundary operation.
See DeleteRolePermissionsBoundary for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteRolePolicy operation.
See DeleteRolePolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteSAMLProvider operation.
See DeleteSAMLProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteServerCertificate operation.
See DeleteServerCertificate for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteServiceLinkedRole operation.
See DeleteServiceLinkedRole for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteServiceSpecificCredential operation.
See DeleteServiceSpecificCredential for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteSigningCertificate operation.
See DeleteSigningCertificate for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteSSHPublicKey operation.
See DeleteSSHPublicKey for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteUser operation.
See DeleteUser for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteUserPermissionsBoundary operation.
See DeleteUserPermissionsBoundary for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteUserPolicy operation.
See DeleteUserPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteVirtualMFADevice operation.
See DeleteVirtualMFADevice for more information about the
operation and its arguments.
Constructs a fluent builder for the DetachGroupPolicy operation.
See DetachGroupPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the DetachRolePolicy operation.
See DetachRolePolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the DetachUserPolicy operation.
See DetachUserPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the EnableMFADevice operation.
See EnableMFADevice for more information about the
operation and its arguments.
Constructs a fluent builder for the GenerateCredentialReport operation.
See GenerateCredentialReport for more information about the
operation and its arguments.
pub fn generate_organizations_access_report(
&self
) -> GenerateOrganizationsAccessReport<C, M, R>
pub fn generate_organizations_access_report(
&self
) -> GenerateOrganizationsAccessReport<C, M, R>
Constructs a fluent builder for the GenerateOrganizationsAccessReport operation.
See GenerateOrganizationsAccessReport for more information about the
operation and its arguments.
pub fn generate_service_last_accessed_details(
&self
) -> GenerateServiceLastAccessedDetails<C, M, R>
pub fn generate_service_last_accessed_details(
&self
) -> GenerateServiceLastAccessedDetails<C, M, R>
Constructs a fluent builder for the GenerateServiceLastAccessedDetails operation.
See GenerateServiceLastAccessedDetails for more information about the
operation and its arguments.
Constructs a fluent builder for the GetAccessKeyLastUsed operation.
See GetAccessKeyLastUsed for more information about the
operation and its arguments.
Constructs a fluent builder for the GetAccountAuthorizationDetails operation.
See GetAccountAuthorizationDetails for more information about the
operation and its arguments.
Constructs a fluent builder for the GetAccountPasswordPolicy operation.
See GetAccountPasswordPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the GetAccountSummary operation.
See GetAccountSummary for more information about the
operation and its arguments.
Constructs a fluent builder for the GetContextKeysForCustomPolicy operation.
See GetContextKeysForCustomPolicy for more information about the
operation and its arguments.
pub fn get_context_keys_for_principal_policy(
&self
) -> GetContextKeysForPrincipalPolicy<C, M, R>
pub fn get_context_keys_for_principal_policy(
&self
) -> GetContextKeysForPrincipalPolicy<C, M, R>
Constructs a fluent builder for the GetContextKeysForPrincipalPolicy operation.
See GetContextKeysForPrincipalPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the GetCredentialReport operation.
See GetCredentialReport for more information about the
operation and its arguments.
Constructs a fluent builder for the GetGroup operation.
See GetGroup for more information about the
operation and its arguments.
Constructs a fluent builder for the GetGroupPolicy operation.
See GetGroupPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the GetInstanceProfile operation.
See GetInstanceProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the GetLoginProfile operation.
See GetLoginProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the GetOpenIDConnectProvider operation.
See GetOpenIDConnectProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the GetOrganizationsAccessReport operation.
See GetOrganizationsAccessReport for more information about the
operation and its arguments.
Constructs a fluent builder for the GetPolicy operation.
See GetPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the GetPolicyVersion operation.
See GetPolicyVersion for more information about the
operation and its arguments.
Constructs a fluent builder for the GetRole operation.
See GetRole for more information about the
operation and its arguments.
Constructs a fluent builder for the GetRolePolicy operation.
See GetRolePolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the GetSAMLProvider operation.
See GetSAMLProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the GetServerCertificate operation.
See GetServerCertificate for more information about the
operation and its arguments.
Constructs a fluent builder for the GetServiceLastAccessedDetails operation.
See GetServiceLastAccessedDetails for more information about the
operation and its arguments.
pub fn get_service_last_accessed_details_with_entities(
&self
) -> GetServiceLastAccessedDetailsWithEntities<C, M, R>
pub fn get_service_last_accessed_details_with_entities(
&self
) -> GetServiceLastAccessedDetailsWithEntities<C, M, R>
Constructs a fluent builder for the GetServiceLastAccessedDetailsWithEntities operation.
See GetServiceLastAccessedDetailsWithEntities for more information about the
operation and its arguments.
pub fn get_service_linked_role_deletion_status(
&self
) -> GetServiceLinkedRoleDeletionStatus<C, M, R>
pub fn get_service_linked_role_deletion_status(
&self
) -> GetServiceLinkedRoleDeletionStatus<C, M, R>
Constructs a fluent builder for the GetServiceLinkedRoleDeletionStatus operation.
See GetServiceLinkedRoleDeletionStatus for more information about the
operation and its arguments.
Constructs a fluent builder for the GetSSHPublicKey operation.
See GetSSHPublicKey for more information about the
operation and its arguments.
Constructs a fluent builder for the GetUser operation.
See GetUser for more information about the
operation and its arguments.
Constructs a fluent builder for the GetUserPolicy operation.
See GetUserPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the ListAccessKeys operation.
See ListAccessKeys for more information about the
operation and its arguments.
Constructs a fluent builder for the ListAccountAliases operation.
See ListAccountAliases for more information about the
operation and its arguments.
Constructs a fluent builder for the ListAttachedGroupPolicies operation.
See ListAttachedGroupPolicies for more information about the
operation and its arguments.
Constructs a fluent builder for the ListAttachedRolePolicies operation.
See ListAttachedRolePolicies for more information about the
operation and its arguments.
Constructs a fluent builder for the ListAttachedUserPolicies operation.
See ListAttachedUserPolicies for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEntitiesForPolicy operation.
See ListEntitiesForPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the ListGroupPolicies operation.
See ListGroupPolicies for more information about the
operation and its arguments.
Constructs a fluent builder for the ListGroups operation.
See ListGroups for more information about the
operation and its arguments.
Constructs a fluent builder for the ListGroupsForUser operation.
See ListGroupsForUser for more information about the
operation and its arguments.
Constructs a fluent builder for the ListInstanceProfiles operation.
See ListInstanceProfiles for more information about the
operation and its arguments.
Constructs a fluent builder for the ListInstanceProfilesForRole operation.
See ListInstanceProfilesForRole for more information about the
operation and its arguments.
Constructs a fluent builder for the ListInstanceProfileTags operation.
See ListInstanceProfileTags for more information about the
operation and its arguments.
Constructs a fluent builder for the ListMFADevices operation.
See ListMFADevices for more information about the
operation and its arguments.
Constructs a fluent builder for the ListMFADeviceTags operation.
See ListMFADeviceTags for more information about the
operation and its arguments.
Constructs a fluent builder for the ListOpenIDConnectProviders operation.
See ListOpenIDConnectProviders for more information about the
operation and its arguments.
Constructs a fluent builder for the ListOpenIDConnectProviderTags operation.
See ListOpenIDConnectProviderTags for more information about the
operation and its arguments.
Constructs a fluent builder for the ListPolicies operation.
See ListPolicies for more information about the
operation and its arguments.
pub fn list_policies_granting_service_access(
&self
) -> ListPoliciesGrantingServiceAccess<C, M, R>
pub fn list_policies_granting_service_access(
&self
) -> ListPoliciesGrantingServiceAccess<C, M, R>
Constructs a fluent builder for the ListPoliciesGrantingServiceAccess operation.
See ListPoliciesGrantingServiceAccess for more information about the
operation and its arguments.
Constructs a fluent builder for the ListPolicyTags operation.
See ListPolicyTags for more information about the
operation and its arguments.
Constructs a fluent builder for the ListPolicyVersions operation.
See ListPolicyVersions for more information about the
operation and its arguments.
Constructs a fluent builder for the ListRolePolicies operation.
See ListRolePolicies for more information about the
operation and its arguments.
Constructs a fluent builder for the ListRoles operation.
See ListRoles for more information about the
operation and its arguments.
Constructs a fluent builder for the ListRoleTags operation.
See ListRoleTags for more information about the
operation and its arguments.
Constructs a fluent builder for the ListSAMLProviders operation.
See ListSAMLProviders for more information about the
operation and its arguments.
Constructs a fluent builder for the ListSAMLProviderTags operation.
See ListSAMLProviderTags for more information about the
operation and its arguments.
Constructs a fluent builder for the ListServerCertificates operation.
See ListServerCertificates for more information about the
operation and its arguments.
Constructs a fluent builder for the ListServerCertificateTags operation.
See ListServerCertificateTags for more information about the
operation and its arguments.
Constructs a fluent builder for the ListServiceSpecificCredentials operation.
See ListServiceSpecificCredentials for more information about the
operation and its arguments.
Constructs a fluent builder for the ListSigningCertificates operation.
See ListSigningCertificates for more information about the
operation and its arguments.
Constructs a fluent builder for the ListSSHPublicKeys operation.
See ListSSHPublicKeys for more information about the
operation and its arguments.
Constructs a fluent builder for the ListUserPolicies operation.
See ListUserPolicies for more information about the
operation and its arguments.
Constructs a fluent builder for the ListUsers operation.
See ListUsers for more information about the
operation and its arguments.
Constructs a fluent builder for the ListUserTags operation.
See ListUserTags for more information about the
operation and its arguments.
Constructs a fluent builder for the ListVirtualMFADevices operation.
See ListVirtualMFADevices for more information about the
operation and its arguments.
Constructs a fluent builder for the PutGroupPolicy operation.
See PutGroupPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the PutRolePermissionsBoundary operation.
See PutRolePermissionsBoundary for more information about the
operation and its arguments.
Constructs a fluent builder for the PutRolePolicy operation.
See PutRolePolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the PutUserPermissionsBoundary operation.
See PutUserPermissionsBoundary for more information about the
operation and its arguments.
Constructs a fluent builder for the PutUserPolicy operation.
See PutUserPolicy for more information about the
operation and its arguments.
pub fn remove_client_id_from_open_id_connect_provider(
&self
) -> RemoveClientIDFromOpenIDConnectProvider<C, M, R>
pub fn remove_client_id_from_open_id_connect_provider(
&self
) -> RemoveClientIDFromOpenIDConnectProvider<C, M, R>
Constructs a fluent builder for the RemoveClientIDFromOpenIDConnectProvider operation.
See RemoveClientIDFromOpenIDConnectProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the RemoveRoleFromInstanceProfile operation.
See RemoveRoleFromInstanceProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the RemoveUserFromGroup operation.
See RemoveUserFromGroup for more information about the
operation and its arguments.
Constructs a fluent builder for the ResetServiceSpecificCredential operation.
See ResetServiceSpecificCredential for more information about the
operation and its arguments.
Constructs a fluent builder for the ResyncMFADevice operation.
See ResyncMFADevice for more information about the
operation and its arguments.
Constructs a fluent builder for the SetDefaultPolicyVersion operation.
See SetDefaultPolicyVersion for more information about the
operation and its arguments.
pub fn set_security_token_service_preferences(
&self
) -> SetSecurityTokenServicePreferences<C, M, R>
pub fn set_security_token_service_preferences(
&self
) -> SetSecurityTokenServicePreferences<C, M, R>
Constructs a fluent builder for the SetSecurityTokenServicePreferences operation.
See SetSecurityTokenServicePreferences for more information about the
operation and its arguments.
Constructs a fluent builder for the SimulateCustomPolicy operation.
See SimulateCustomPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the SimulatePrincipalPolicy operation.
See SimulatePrincipalPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the TagInstanceProfile operation.
See TagInstanceProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the TagMFADevice operation.
See TagMFADevice for more information about the
operation and its arguments.
Constructs a fluent builder for the TagOpenIDConnectProvider operation.
See TagOpenIDConnectProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the TagPolicy operation.
See TagPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the TagRole operation.
See TagRole for more information about the
operation and its arguments.
Constructs a fluent builder for the TagSAMLProvider operation.
See TagSAMLProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the TagServerCertificate operation.
See TagServerCertificate for more information about the
operation and its arguments.
Constructs a fluent builder for the TagUser operation.
See TagUser for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagInstanceProfile operation.
See UntagInstanceProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagMFADevice operation.
See UntagMFADevice for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagOpenIDConnectProvider operation.
See UntagOpenIDConnectProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagPolicy operation.
See UntagPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagRole operation.
See UntagRole for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagSAMLProvider operation.
See UntagSAMLProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagServerCertificate operation.
See UntagServerCertificate for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagUser operation.
See UntagUser for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateAccessKey operation.
See UpdateAccessKey for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateAccountPasswordPolicy operation.
See UpdateAccountPasswordPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateAssumeRolePolicy operation.
See UpdateAssumeRolePolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateGroup operation.
See UpdateGroup for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateLoginProfile operation.
See UpdateLoginProfile for more information about the
operation and its arguments.
pub fn update_open_id_connect_provider_thumbprint(
&self
) -> UpdateOpenIDConnectProviderThumbprint<C, M, R>
pub fn update_open_id_connect_provider_thumbprint(
&self
) -> UpdateOpenIDConnectProviderThumbprint<C, M, R>
Constructs a fluent builder for the UpdateOpenIDConnectProviderThumbprint operation.
See UpdateOpenIDConnectProviderThumbprint for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateRole operation.
See UpdateRole for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateRoleDescription operation.
See UpdateRoleDescription for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateSAMLProvider operation.
See UpdateSAMLProvider for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateServerCertificate operation.
See UpdateServerCertificate for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateServiceSpecificCredential operation.
See UpdateServiceSpecificCredential for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateSigningCertificate operation.
See UpdateSigningCertificate for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateSSHPublicKey operation.
See UpdateSSHPublicKey for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateUser operation.
See UpdateUser for more information about the
operation and its arguments.
Constructs a fluent builder for the UploadServerCertificate operation.
See UploadServerCertificate for more information about the
operation and its arguments.
Constructs a fluent builder for the UploadSigningCertificate operation.
See UploadSigningCertificate for more information about the
operation and its arguments.
Constructs a fluent builder for the UploadSSHPublicKey operation.
See UploadSSHPublicKey for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
