WorkMail.Client.
update_availability_configuration
(**kwargs)¶Updates an existing AvailabilityConfiguration
for the given WorkMail organization and domain.
See also: AWS API Documentation
Request Syntax
response = client.update_availability_configuration(
OrganizationId='string',
DomainName='string',
EwsProvider={
'EwsEndpoint': 'string',
'EwsUsername': 'string',
'EwsPassword': 'string'
},
LambdaProvider={
'LambdaArn': 'string'
}
)
[REQUIRED]
The WorkMail organization for which the AvailabilityConfiguration
will be updated.
[REQUIRED]
The domain to which the provider applies the availability configuration.
The EWS availability provider definition. The request must contain exactly one provider definition, either EwsProvider
or LambdaProvider
. The previously stored provider will be overridden by the one provided.
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.
The Lambda availability provider definition. The request must contain exactly one provider definition, either EwsProvider
or LambdaProvider
. The previously stored provider will be overridden by the one provided.
The Amazon Resource Name (ARN) of the Lambda that acts as the availability provider.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException
WorkMail.Client.exceptions.ResourceNotFoundException
WorkMail.Client.exceptions.InvalidParameterException