update_availability_configuration

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'
    }
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The WorkMail organization for which the AvailabilityConfiguration will be updated.

  • DomainName (string) --

    [REQUIRED]

    The domain to which the provider applies the availability configuration.

  • EwsProvider (dict) --

    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.

    • EwsEndpoint (string) -- [REQUIRED]

      The endpoint of the remote EWS server.

    • EwsUsername (string) -- [REQUIRED]

      The username used to authenticate the remote EWS server.

    • EwsPassword (string) -- [REQUIRED]

      The password used to authenticate the remote EWS server.

  • LambdaProvider (dict) --

    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.

    • LambdaArn (string) -- [REQUIRED]

      The Amazon Resource Name (ARN) of the Lambda that acts as the availability provider.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WorkMail.Client.exceptions.OrganizationNotFoundException
  • WorkMail.Client.exceptions.OrganizationStateException
  • WorkMail.Client.exceptions.ResourceNotFoundException
  • WorkMail.Client.exceptions.InvalidParameterException