update_stream
¶
update_stream(
stream_id: StreamId,
*,
config_overrides: Optional[IoTClientConfig] = None,
description: Optional[StreamDescription] = None,
files: Optional[StreamFiles] = None,
role_arn: Optional[RoleArn] = None,
) -> UpdateStreamResponse
Updates an existing stream. The stream version will be incremented by one.
Requires permission to access the UpdateStream action.
Parameters:
-
stream_id(StreamId) –The stream ID.
-
description(Optional[StreamDescription], default:None) –The description of the stream.
-
files(Optional[StreamFiles], default:None) –The files associated with the stream.
-
role_arn(Optional[RoleArn], default:None) –An IAM role that allows the IoT service principal assumes to access your S3 files.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
LimitExceededException–A limit has been exceeded.
-
ResourceNotFoundException–The specified resource does not exist.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 | |