import_workspace_media
¶
import_workspace_media(
instance_id: InstanceId,
workspace_id: WorkspaceId,
media_type: MediaType,
media_source: MediaSource,
*,
config_overrides: Optional[ConnectClientConfig] = None,
) -> ImportWorkspaceMediaResponse
Imports a media asset (such as a logo) for use in a workspace.
Parameters:
-
instance_id(InstanceId) –The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
workspace_id(WorkspaceId) –The identifier of the workspace.
-
media_type(MediaType) –The type of media. Valid values are:
IMAGE_LOGO_FAVICONandIMAGE_LOGO_HORIZONTAL. -
media_source(MediaSource) –The media source. Can be an S3 presigned URL or a base64-encoded string.
Raises:
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is 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
13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 | |