KinesisVideo / Client / exceptions / ResourceInUseException
ResourceInUseException#
- class KinesisVideo.Client.exceptions.ResourceInUseException#
When the input
StreamARN
orChannelARN
inCLOUD_STORAGE_MODE
is already mapped to a different Kinesis Video Stream resource, or if the provided inputStreamARN
orChannelARN
is not in Active status, try one of the following :The
DescribeMediaStorageConfiguration
API to determine what the stream given channel is mapped to.The
DescribeMappedResourceConfiguration
API to determine the channel that the given stream is mapped to.The
DescribeStream
orDescribeSignalingChannel
API 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
Error
key 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
StreamARN
orChannelARN
inCLOUD_STORAGE_MODE
is already mapped to a different Kinesis Video Stream resource, or if the provided inputStreamARN
orChannelARN
is not in Active status, try one of the following :The
DescribeMediaStorageConfiguration
API to determine what the stream given channel is mapped to.The
DescribeMappedResourceConfiguration
API to determine the channel that the given stream is mapped to.The
DescribeStream
orDescribeSignalingChannel
API 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.