pub struct UpdateStreamFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateStream
.
Updates an existing stream. The stream version will be incremented by one.
Requires permission to access the UpdateStream action.
Implementations§
source§impl UpdateStreamFluentBuilder
impl UpdateStreamFluentBuilder
sourcepub fn as_input(&self) -> &UpdateStreamInputBuilder
pub fn as_input(&self) -> &UpdateStreamInputBuilder
Access the UpdateStream as a reference.
sourcepub async fn send(
self
) -> Result<UpdateStreamOutput, SdkError<UpdateStreamError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateStreamOutput, SdkError<UpdateStreamError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateStreamOutput, UpdateStreamError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateStreamOutput, UpdateStreamError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_stream_id(self, input: Option<String>) -> Self
pub fn set_stream_id(self, input: Option<String>) -> Self
The stream ID.
sourcepub fn get_stream_id(&self) -> &Option<String>
pub fn get_stream_id(&self) -> &Option<String>
The stream ID.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the stream.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the stream.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the stream.
sourcepub fn files(self, input: StreamFile) -> Self
pub fn files(self, input: StreamFile) -> Self
Appends an item to files
.
To override the contents of this collection use set_files
.
The files associated with the stream.
sourcepub fn set_files(self, input: Option<Vec<StreamFile>>) -> Self
pub fn set_files(self, input: Option<Vec<StreamFile>>) -> Self
The files associated with the stream.
sourcepub fn get_files(&self) -> &Option<Vec<StreamFile>>
pub fn get_files(&self) -> &Option<Vec<StreamFile>>
The files associated with the stream.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
An IAM role that allows the IoT service principal assumes to access your S3 files.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
An IAM role that allows the IoT service principal assumes to access your S3 files.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
An IAM role that allows the IoT service principal assumes to access your S3 files.
Trait Implementations§
source§impl Clone for UpdateStreamFluentBuilder
impl Clone for UpdateStreamFluentBuilder
source§fn clone(&self) -> UpdateStreamFluentBuilder
fn clone(&self) -> UpdateStreamFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more