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
25623 25624 25625 25626 25627 25628 25629 25630 25631 25632 25633 25634 25635 25636 25637 25638 25639 25640 25641 25642 25643 25644 25645 25646 25647 25648 25649 25650 25651 25652 25653 25654 25655 25656 25657 25658 25659 25660 25661 25662 25663 25664 25665 25666 25667 25668 25669 25670 25671 25672 25673 25674 25675 25676 25677 25678 25679 25680 25681 25682 25683 25684 25685 25686 | |