[][src]Struct rusoto_workmail::WorkmailClient

pub struct WorkmailClient { /* fields omitted */ }

A client for the Amazon WorkMail API.

Methods

impl WorkmailClient[src]

pub fn new(region: Region) -> WorkmailClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> WorkmailClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl Workmail for WorkmailClient[src]

fn associate_delegate_to_resource(
    &self,
    input: AssociateDelegateToResourceRequest
) -> RusotoFuture<AssociateDelegateToResourceResponse, AssociateDelegateToResourceError>
[src]

Adds a member (user or group) to the resource's set of delegates.

fn associate_member_to_group(
    &self,
    input: AssociateMemberToGroupRequest
) -> RusotoFuture<AssociateMemberToGroupResponse, AssociateMemberToGroupError>
[src]

Adds a member (user or group) to the group's set.

fn create_alias(
    &self,
    input: CreateAliasRequest
) -> RusotoFuture<CreateAliasResponse, CreateAliasError>
[src]

Adds an alias to the set of a given member (user or group) of Amazon WorkMail.

fn create_group(
    &self,
    input: CreateGroupRequest
) -> RusotoFuture<CreateGroupResponse, CreateGroupError>
[src]

Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.

fn create_resource(
    &self,
    input: CreateResourceRequest
) -> RusotoFuture<CreateResourceResponse, CreateResourceError>
[src]

Creates a new Amazon WorkMail resource.

fn create_user(
    &self,
    input: CreateUserRequest
) -> RusotoFuture<CreateUserResponse, CreateUserError>
[src]

Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.

fn delete_alias(
    &self,
    input: DeleteAliasRequest
) -> RusotoFuture<DeleteAliasResponse, DeleteAliasError>
[src]

Remove one or more specified aliases from a set of aliases for a given user.

fn delete_group(
    &self,
    input: DeleteGroupRequest
) -> RusotoFuture<DeleteGroupResponse, DeleteGroupError>
[src]

Deletes a group from Amazon WorkMail.

fn delete_mailbox_permissions(
    &self,
    input: DeleteMailboxPermissionsRequest
) -> RusotoFuture<DeleteMailboxPermissionsResponse, DeleteMailboxPermissionsError>
[src]

Deletes permissions granted to a member (user or group).

fn delete_resource(
    &self,
    input: DeleteResourceRequest
) -> RusotoFuture<DeleteResourceResponse, DeleteResourceError>
[src]

Deletes the specified resource.

fn delete_user(
    &self,
    input: DeleteUserRequest
) -> RusotoFuture<DeleteUserResponse, DeleteUserError>
[src]

Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a user, the user state must be DISABLED. Use the DescribeUser action to confirm the user state.

Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.

fn deregister_from_work_mail(
    &self,
    input: DeregisterFromWorkMailRequest
) -> RusotoFuture<DeregisterFromWorkMailResponse, DeregisterFromWorkMailError>
[src]

Mark a user, group, or resource as no longer used in Amazon WorkMail. This action disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.

fn describe_group(
    &self,
    input: DescribeGroupRequest
) -> RusotoFuture<DescribeGroupResponse, DescribeGroupError>
[src]

Returns the data available for the group.

fn describe_organization(
    &self,
    input: DescribeOrganizationRequest
) -> RusotoFuture<DescribeOrganizationResponse, DescribeOrganizationError>
[src]

Provides more information regarding a given organization based on its identifier.

fn describe_resource(
    &self,
    input: DescribeResourceRequest
) -> RusotoFuture<DescribeResourceResponse, DescribeResourceError>
[src]

Returns the data available for the resource.

fn describe_user(
    &self,
    input: DescribeUserRequest
) -> RusotoFuture<DescribeUserResponse, DescribeUserError>
[src]

Provides information regarding the user.

fn disassociate_delegate_from_resource(
    &self,
    input: DisassociateDelegateFromResourceRequest
) -> RusotoFuture<DisassociateDelegateFromResourceResponse, DisassociateDelegateFromResourceError>
[src]

Removes a member from the resource's set of delegates.

fn disassociate_member_from_group(
    &self,
    input: DisassociateMemberFromGroupRequest
) -> RusotoFuture<DisassociateMemberFromGroupResponse, DisassociateMemberFromGroupError>
[src]

Removes a member from a group.

fn get_mailbox_details(
    &self,
    input: GetMailboxDetailsRequest
) -> RusotoFuture<GetMailboxDetailsResponse, GetMailboxDetailsError>
[src]

Requests a user's mailbox details for a specified organization and user.

fn list_aliases(
    &self,
    input: ListAliasesRequest
) -> RusotoFuture<ListAliasesResponse, ListAliasesError>
[src]

Creates a paginated call to list the aliases associated with a given entity.

fn list_group_members(
    &self,
    input: ListGroupMembersRequest
) -> RusotoFuture<ListGroupMembersResponse, ListGroupMembersError>
[src]

Returns an overview of the members of a group. Users and groups can be members of a group.

fn list_groups(
    &self,
    input: ListGroupsRequest
) -> RusotoFuture<ListGroupsResponse, ListGroupsError>
[src]

Returns summaries of the organization's groups.

fn list_mailbox_permissions(
    &self,
    input: ListMailboxPermissionsRequest
) -> RusotoFuture<ListMailboxPermissionsResponse, ListMailboxPermissionsError>
[src]

Lists the mailbox permissions associated with a user, group, or resource mailbox.

fn list_organizations(
    &self,
    input: ListOrganizationsRequest
) -> RusotoFuture<ListOrganizationsResponse, ListOrganizationsError>
[src]

Returns summaries of the customer's non-deleted organizations.

fn list_resource_delegates(
    &self,
    input: ListResourceDelegatesRequest
) -> RusotoFuture<ListResourceDelegatesResponse, ListResourceDelegatesError>
[src]

Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.

fn list_resources(
    &self,
    input: ListResourcesRequest
) -> RusotoFuture<ListResourcesResponse, ListResourcesError>
[src]

Returns summaries of the organization's resources.

fn list_users(
    &self,
    input: ListUsersRequest
) -> RusotoFuture<ListUsersResponse, ListUsersError>
[src]

Returns summaries of the organization's users.

fn put_mailbox_permissions(
    &self,
    input: PutMailboxPermissionsRequest
) -> RusotoFuture<PutMailboxPermissionsResponse, PutMailboxPermissionsError>
[src]

Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.

fn register_to_work_mail(
    &self,
    input: RegisterToWorkMailRequest
) -> RusotoFuture<RegisterToWorkMailResponse, RegisterToWorkMailError>
[src]

Registers an existing and disabled user, group, or resource for Amazon WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user, group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable.

Users can either be created by calling the CreateUser API operation or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.

fn reset_password(
    &self,
    input: ResetPasswordRequest
) -> RusotoFuture<ResetPasswordResponse, ResetPasswordError>
[src]

Allows the administrator to reset the password for a user.

fn update_mailbox_quota(
    &self,
    input: UpdateMailboxQuotaRequest
) -> RusotoFuture<UpdateMailboxQuotaResponse, UpdateMailboxQuotaError>
[src]

Updates a user's current mailbox quota for a specified organization and user.

fn update_primary_email_address(
    &self,
    input: UpdatePrimaryEmailAddressRequest
) -> RusotoFuture<UpdatePrimaryEmailAddressResponse, UpdatePrimaryEmailAddressError>
[src]

Updates the primary email for a user, group, or resource. The current email is moved into the list of aliases (or swapped between an existing alias and the current primary email), and the email provided in the input is promoted as the primary.

fn update_resource(
    &self,
    input: UpdateResourceRequest
) -> RusotoFuture<UpdateResourceResponse, UpdateResourceError>
[src]

Updates data for the resource. To have the latest information, it must be preceded by a DescribeResource call. The dataset in the request should be the one expected when performing another DescribeResource call.

impl Clone for WorkmailClient[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for WorkmailClient

impl Sync for WorkmailClient

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self