IoT.Client.
describe_stream
(**kwargs)¶Gets information about a stream.
Requires permission to access the DescribeStream action.
See also: AWS API Documentation
Request Syntax
response = client.describe_stream(
streamId='string'
)
[REQUIRED]
The stream ID.
{
'streamInfo': {
'streamId': 'string',
'streamArn': 'string',
'streamVersion': 123,
'description': 'string',
'files': [
{
'fileId': 123,
's3Location': {
'bucket': 'string',
'key': 'string',
'version': 'string'
}
},
],
'createdAt': datetime(2015, 1, 1),
'lastUpdatedAt': datetime(2015, 1, 1),
'roleArn': 'string'
}
}
Response Structure
Information about the stream.
The stream ID.
The stream ARN.
The stream version.
The description of the stream.
The files to stream.
Represents a file to stream.
The file ID.
The location of the file in S3.
The S3 bucket.
The S3 key.
The S3 bucket version.
The date when the stream was created.
The date when the stream was last updated.
An IAM role IoT assumes to access your S3 files.
Exceptions
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ServiceUnavailableException
IoT.Client.exceptions.InternalFailureException