KinesisVideo / Client / exceptions / ResourceInUseException
ResourceInUseException¶
- class KinesisVideo.Client.exceptions.ResourceInUseException¶
When the input
StreamARNorChannelARNinCLOUD_STORAGE_MODEis already mapped to a different Kinesis Video Stream resource, or if the provided inputStreamARNorChannelARNis not in Active status, try one of the following :The
DescribeMediaStorageConfigurationAPI to determine what the stream given channel is mapped to.The
DescribeMappedResourceConfigurationAPI to determine the channel that the given stream is mapped to.The
DescribeStreamorDescribeSignalingChannelAPI to determine the status of the resource.
Example
try: ... except client.exceptions.ResourceInUseException as e: print(e.response)
- response¶
The parsed error response. All exceptions have a top level
Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'Message': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
When the input
StreamARNorChannelARNinCLOUD_STORAGE_MODEis already mapped to a different Kinesis Video Stream resource, or if the provided inputStreamARNorChannelARNis not in Active status, try one of the following :The
DescribeMediaStorageConfigurationAPI to determine what the stream given channel is mapped to.The
DescribeMappedResourceConfigurationAPI to determine the channel that the given stream is mapped to.The
DescribeStreamorDescribeSignalingChannelAPI to determine the status of the resource.
Message (string) –
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.