Connect / Client / import_workspace_media
import_workspace_media¶
- Connect.Client.import_workspace_media(**kwargs)¶
Imports a media asset (such as a logo) for use in a workspace.
See also: AWS API Documentation
Request Syntax
response = client.import_workspace_media( InstanceId='string', WorkspaceId='string', MediaType='IMAGE_LOGO_LIGHT_FAVICON'|'IMAGE_LOGO_DARK_FAVICON'|'IMAGE_LOGO_LIGHT_HORIZONTAL'|'IMAGE_LOGO_DARK_HORIZONTAL', MediaSource='string' )
- Parameters:
InstanceId (string) –
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
WorkspaceId (string) –
[REQUIRED]
The identifier of the workspace.
MediaType (string) –
[REQUIRED]
The type of media. Valid values are:
IMAGE_LOGO_FAVICONandIMAGE_LOGO_HORIZONTAL.MediaSource (string) –
[REQUIRED]
The media source. Can be an S3 presigned URL or a base64-encoded string.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions