update_availability_configuration
¶
update_availability_configuration(
organization_id: OrganizationId,
domain_name: DomainName,
*,
config_overrides: Optional[WorkMailClientConfig] = 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/work_mail.py
5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 | |