Connect / Client / list_attached_files_configurations
list_attached_files_configurations¶
- Connect.Client.list_attached_files_configurations(**kwargs)¶
Provides summary information about the attached files configurations for the specified Connect Customer instance.
This API returns effective configurations (custom overrides or defaults) for each attachment scope. If no custom configuration exists for a scope, the default configuration values are returned.
See also: AWS API Documentation
Request Syntax
response = client.list_attached_files_configurations( InstanceId='string', MaxResults=123, NextToken='string' )
- Parameters:
InstanceId (string) –
[REQUIRED]
The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
MaxResults (integer) – The maximum number of results to return per page. The default MaxResult size is 100.
NextToken (string) – The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'AttachedFilesConfigurations': [ { 'InstanceId': 'string', 'AttachmentScope': 'EMAIL'|'CHAT'|'CASE'|'TASK', 'MaximumSizeLimitInBytes': 123, 'ExtensionConfiguration': { 'AllowedExtensions': [ { 'Extension': 'string' }, ] } }, ], 'NextToken': 'string' }
Response Structure
(dict) –
AttachedFilesConfigurations (list) –
Information about the attached files configurations.
(dict) –
A summary of the attached files configuration.
InstanceId (string) –
The identifier of the Connect Customer instance.
AttachmentScope (string) –
The scope of the attachment. Valid values are
EMAIL,CHAT,CASE, andTASK.MaximumSizeLimitInBytes (integer) –
The maximum size limit for attached files in bytes. The minimum value is 1 and the maximum value is 104857600 (100 MB).
ExtensionConfiguration (dict) –
The configuration for allowed file extensions.
AllowedExtensions (list) –
The list of allowed file extensions.
(dict) –
Information about an allowed file extension.
Extension (string) –
The file extension. The extension must be between 1 and 10 characters and can contain only alphanumeric characters, hyphens, and underscores.
NextToken (string) –
If there are additional results, this is the token for the next set of results.
Exceptions
Connect.Client.exceptions.InvalidParameterExceptionConnect.Client.exceptions.ResourceNotFoundExceptionConnect.Client.exceptions.ThrottlingExceptionConnect.Client.exceptions.InternalServiceExceptionConnect.Client.exceptions.AccessDeniedException