Skip to content

Type definitions#

Index > WorkMail > Type definitions

Auto-generated documentation for WorkMail type annotations stubs module mypy-boto3-workmail.

AccessControlRuleTypeDef#

# AccessControlRuleTypeDef definition

class AccessControlRuleTypeDef(TypedDict):
    Name: NotRequired[str],
    Effect: NotRequired[AccessControlRuleEffectType],  # (1)
    Description: NotRequired[str],
    IpRanges: NotRequired[List[str]],
    NotIpRanges: NotRequired[List[str]],
    Actions: NotRequired[List[str]],
    NotActions: NotRequired[List[str]],
    UserIds: NotRequired[List[str]],
    NotUserIds: NotRequired[List[str]],
    DateCreated: NotRequired[datetime],
    DateModified: NotRequired[datetime],
    ImpersonationRoleIds: NotRequired[List[str]],
    NotImpersonationRoleIds: NotRequired[List[str]],
  1. See AccessControlRuleEffectType

AssociateDelegateToResourceRequestRequestTypeDef#

# AssociateDelegateToResourceRequestRequestTypeDef definition

class AssociateDelegateToResourceRequestRequestTypeDef(TypedDict):
    OrganizationId: str,
    ResourceId: str,
    EntityId: str,

AssociateMemberToGroupRequestRequestTypeDef#

# AssociateMemberToGroupRequestRequestTypeDef definition

class AssociateMemberToGroupRequestRequestTypeDef(TypedDict):
    OrganizationId: str,
    GroupId: str,
    MemberId: str,

AssumeImpersonationRoleRequestRequestTypeDef#

# AssumeImpersonationRoleRequestRequestTypeDef definition

class AssumeImpersonationRoleRequestRequestTypeDef(TypedDict):
    OrganizationId: str,
    ImpersonationRoleId: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

LambdaAvailabilityProviderTypeDef#

# LambdaAvailabilityProviderTypeDef definition

class LambdaAvailabilityProviderTypeDef(TypedDict):
    LambdaArn: str,

RedactedEwsAvailabilityProviderTypeDef#

# RedactedEwsAvailabilityProviderTypeDef definition

class RedactedEwsAvailabilityProviderTypeDef(TypedDict):
    EwsEndpoint: NotRequired[str],
    EwsUsername: NotRequired[str],

BookingOptionsTypeDef#

# BookingOptionsTypeDef definition

class BookingOptionsTypeDef(TypedDict):
    AutoAcceptRequests: NotRequired[bool],
    AutoDeclineRecurringRequests: NotRequired[bool],
    AutoDeclineConflictingRequests: NotRequired[bool],

CancelMailboxExportJobRequestRequestTypeDef#

# CancelMailboxExportJobRequestRequestTypeDef definition

class CancelMailboxExportJobRequestRequestTypeDef(TypedDict):
    ClientToken: str,
    JobId: str,
    OrganizationId: str,

CreateAliasRequestRequestTypeDef