update_resource
(**kwargs)¶Updates data for the resource. To have the latest information, it must be preceded by a DescribeResource call. The dataset in the request should be the one expected when performing another DescribeResource
call.
See also: AWS API Documentation
Request Syntax
response = client.update_resource(
OrganizationId='string',
ResourceId='string',
Name='string',
BookingOptions={
'AutoAcceptRequests': True|False,
'AutoDeclineRecurringRequests': True|False,
'AutoDeclineConflictingRequests': True|False
}
)
[REQUIRED]
The identifier associated with the organization for which the resource is updated.
[REQUIRED]
The identifier of the resource to be updated.
The resource's booking options to be updated.
The resource's ability to automatically reply to requests. If disabled, delegates must be associated to the resource.
The resource's ability to automatically decline any recurring requests.
The resource's ability to automatically decline any conflicting requests.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.DirectoryUnavailableException
WorkMail.Client.exceptions.EntityNotFoundException
WorkMail.Client.exceptions.EntityStateException
WorkMail.Client.exceptions.InvalidConfigurationException
WorkMail.Client.exceptions.EmailAddressInUseException
WorkMail.Client.exceptions.MailDomainNotFoundException
WorkMail.Client.exceptions.MailDomainStateException
WorkMail.Client.exceptions.NameAvailabilityException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException