update_stream
(**kwargs)¶Updates an existing stream. The stream version will be incremented by one.
Requires permission to access the UpdateStream action.
See also: AWS API Documentation
Request Syntax
response = client.update_stream(
streamId='string',
description='string',
files=[
{
'fileId': 123,
's3Location': {
'bucket': 'string',
'key': 'string',
'version': 'string'
}
},
],
roleArn='string'
)
[REQUIRED]
The stream ID.
The files associated with the 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.
dict
Response Syntax
{
'streamId': 'string',
'streamArn': 'string',
'description': 'string',
'streamVersion': 123
}
Response Structure
(dict) --
streamId (string) --
The stream ID.
streamArn (string) --
The stream ARN.
description (string) --
A description of the stream.
streamVersion (integer) --
The stream version.
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