WorkMail.Client.create_availability_configuration(**kwargs)¶Creates an AvailabilityConfiguration for the given WorkMail organization and domain.
See also: AWS API Documentation
Request Syntax
response = client.create_availability_configuration(
ClientToken='string',
OrganizationId='string',
DomainName='string',
EwsProvider={
'EwsEndpoint': 'string',
'EwsUsername': 'string',
'EwsPassword': 'string'
},
LambdaProvider={
'LambdaArn': 'string'
}
)
An idempotent token that ensures that an API request is executed only once.
This field is autopopulated if not provided.
[REQUIRED]
The WorkMail organization for which the AvailabilityConfiguration will be created.
[REQUIRED]
The domain to which the provider applies.
Exchange Web Services (EWS) availability provider definition. The request must contain exactly one provider definition, either EwsProvider or LambdaProvider .
The endpoint of the remote EWS server.
The username used to authenticate the remote EWS server.
The password used to authenticate the remote EWS server.
Lambda availability provider definition. The request must contain exactly one provider definition, either EwsProvider or LambdaProvider .
The Amazon Resource Name (ARN) of the Lambda that acts as the availability provider.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.OrganizationNotFoundExceptionWorkMail.Client.exceptions.OrganizationStateExceptionWorkMail.Client.exceptions.NameAvailabilityExceptionWorkMail.Client.exceptions.InvalidParameterExceptionWorkMail.Client.exceptions.LimitExceededException