update_availability_configuration
async
¶
update_availability_configuration(
organization_id: OrganizationId,
domain_name: DomainName,
*,
config_overrides: Optional[AsyncWorkMailClientConfig] = None,
ews_provider: Optional[EwsAvailabilityProvider] = None,
lambda_provider: Optional[LambdaAvailabilityProvider] = None,
) -> UpdateAvailabilityConfigurationResponse
Updates an existing AvailabilityConfiguration for the given WorkMail organization and domain.
Parameters:
-
organization_id(OrganizationId) –The WorkMail organization for which the
AvailabilityConfigurationwill be updated. -
domain_name(DomainName) –The domain to which the provider applies the availability configuration.
-
ews_provider(Optional[EwsAvailabilityProvider], default:None) –The EWS availability provider definition. The request must contain exactly one provider definition, either
EwsProviderorLambdaProvider. The previously stored provider will be overridden by the one provided. -
lambda_provider(Optional[LambdaAvailabilityProvider], default:None) –The Lambda availability provider definition. The request must contain exactly one provider definition, either
EwsProviderorLambdaProvider. The previously stored provider will be overridden by the one provided.
Raises:
-
InvalidParameterException–One or more of the input parameters don't match the service's restrictions.
-
OrganizationNotFoundException–An operation received a valid organization identifier that either doesn't belong or exist in the system.
-
OrganizationStateException–The organization must have a valid state to perform certain operations on the organization or its members.
-
ResourceNotFoundException–The resource cannot be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workmail/_services/async_work_mail.py
5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 | |