Connect / Client / describe_attached_files_configuration
describe_attached_files_configuration¶
- Connect.Client.describe_attached_files_configuration(**kwargs)¶
Describes the attached files configuration for the specified Connect Customer instance and attachment scope.
If a custom configuration exists for the specified attachment scope, the custom configuration is returned. If no custom configuration exists, the default configuration values for that attachment scope are returned.
See also: AWS API Documentation
Request Syntax
response = client.describe_attached_files_configuration( InstanceId='string', AttachmentScope='EMAIL'|'CHAT'|'CASE'|'TASK' )
- 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.
AttachmentScope (string) –
[REQUIRED]
The scope of the attachment. Valid values are
EMAIL,CHAT,CASE, andTASK.
- Return type:
dict
- Returns:
Response Syntax
{ 'AttachedFilesConfiguration': { 'InstanceId': 'string', 'AttachmentScope': 'EMAIL'|'CHAT'|'CASE'|'TASK', 'MaximumSizeLimitInBytes': 123, 'ExtensionConfiguration': { 'AllowedExtensions': [ { 'Extension': 'string' }, ] }, 'LastModifiedTime': datetime(2015, 1, 1) } }
Response Structure
(dict) –
AttachedFilesConfiguration (dict) –
Information about 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.
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.
LastModifiedTime (datetime) –
The timestamp when the configuration was last modified.
Exceptions
Connect.Client.exceptions.InvalidParameterExceptionConnect.Client.exceptions.ResourceNotFoundExceptionConnect.Client.exceptions.ThrottlingExceptionConnect.Client.exceptions.InternalServiceExceptionConnect.Client.exceptions.AccessDeniedException