update_attached_files_configuration
¶
update_attached_files_configuration(
instance_id: InstanceId,
attachment_scope: AttachmentScope,
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
25047 25048 25049 25050 25051 25052 25053 25054 25055 25056 25057 25058 25059 25060 25061 25062 25063 25064 25065 25066 25067 25068 25069 25070 25071 25072 25073 25074 25075 25076 25077 25078 25079 25080 25081 25082 25083 25084 25085 25086 25087 25088 25089 25090 25091 25092 25093 25094 25095 25096 25097 25098 25099 25100 25101 25102 25103 25104 25105 25106 25107 25108 25109 | |