update_attached_files_configuration
async
¶
update_attached_files_configuration(
instance_id: InstanceId,
attachment_scope: AttachmentScope,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
maximum_size_limit_in_bytes: Optional[MaximumSizeLimitInBytes] = None,
extension_configuration: Optional[ExtensionConfiguration] = None,
) -> UpdateAttachedFilesConfigurationResponse
Updates the attached files configuration for the specified Connect Customer instance and attachment scope.
If no instance-specific configuration exists, this operation creates one. Partial updates are supported—only specified fields are updated, while unspecified fields retain their current values.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
attachment_scope(AttachmentScope) –The scope of the attachment. Valid values are
EMAIL,CHAT,CASE, andTASK. -
maximum_size_limit_in_bytes(Optional[MaximumSizeLimitInBytes], default:None) –The maximum size limit for attached files in bytes. The minimum value is 1 and the maximum value is 104857600 (100 MB).
-
extension_configuration(Optional[ExtensionConfiguration], default:None) –The configuration for allowed file extensions.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
25384 25385 25386 25387 25388 25389 25390 25391 25392 25393 25394 25395 25396 25397 25398 25399 25400 25401 25402 25403 25404 25405 25406 25407 25408 25409 25410 25411 25412 25413 25414 25415 25416 25417 25418 25419 25420 25421 25422 25423 25424 25425 25426 25427 25428 25429 25430 25431 25432 25433 25434 25435 25436 25437 25438 25439 25440 25441 25442 25443 25444 25445 25446 25447 | |