Struct aws_sdk_iot::client::fluent_builders::CreateStream [−][src]
pub struct CreateStream<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateStream
.
Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream.
Requires permission to access the CreateStream action.
Implementations
impl<C, M, R> CreateStream<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateStream<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateStreamOutput, SdkError<CreateStreamError>> where
R::Policy: SmithyRetryPolicy<CreateStreamInputOperationOutputAlias, CreateStreamOutput, CreateStreamError, CreateStreamInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateStreamOutput, SdkError<CreateStreamError>> where
R::Policy: SmithyRetryPolicy<CreateStreamInputOperationOutputAlias, CreateStreamOutput, CreateStreamError, CreateStreamInputOperationRetryAlias>,
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.
The stream ID.
A description of the stream.
A description of the stream.
Appends an item to files
.
To override the contents of this collection use set_files
.
The files to stream.
The files to stream.
An IAM role that allows the IoT service principal assumes to access your S3 files.
An IAM role that allows the IoT service principal assumes to access your S3 files.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Metadata which can be used to manage streams.
Metadata which can be used to manage streams.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateStream<C, M, R>
impl<C, M, R> Unpin for CreateStream<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateStream<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more