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
25284 25285 25286 25287 25288 25289 25290 25291 25292 25293 25294 25295 25296 25297 25298 25299 25300 25301 25302 25303 25304 25305 25306 25307 25308 25309 25310 25311 25312 25313 25314 25315 25316 25317 25318 25319 25320 25321 25322 25323 25324 25325 25326 25327 25328 25329 25330 25331 25332 25333 25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 | |