update_stream
async
¶
update_stream(
stream_id: StreamId,
*,
config_overrides: Optional[AsyncIoTClientConfig] = 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/async_io_t.py
18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 | |