1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateAppBlockBuilderStreamingURL`](crate::operation::create_app_block_builder_streaming_url::builders::CreateAppBlockBuilderStreamingURLFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_block_builder_name(impl Into<String>)`](crate::operation::create_app_block_builder_streaming_url::builders::CreateAppBlockBuilderStreamingURLFluentBuilder::app_block_builder_name) / [`set_app_block_builder_name(Option<String>)`](crate::operation::create_app_block_builder_streaming_url::builders::CreateAppBlockBuilderStreamingURLFluentBuilder::set_app_block_builder_name):<br>required: **true**<br><p>The name of the app block builder.</p><br>
    ///   - [`validity(i64)`](crate::operation::create_app_block_builder_streaming_url::builders::CreateAppBlockBuilderStreamingURLFluentBuilder::validity) / [`set_validity(Option<i64>)`](crate::operation::create_app_block_builder_streaming_url::builders::CreateAppBlockBuilderStreamingURLFluentBuilder::set_validity):<br>required: **false**<br><p>The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.</p><br>
    /// - On success, responds with [`CreateAppBlockBuilderStreamingUrlOutput`](crate::operation::create_app_block_builder_streaming_url::CreateAppBlockBuilderStreamingUrlOutput) with field(s):
    ///   - [`streaming_url(Option<String>)`](crate::operation::create_app_block_builder_streaming_url::CreateAppBlockBuilderStreamingUrlOutput::streaming_url): <p>The URL to start the streaming session.</p>
    ///   - [`expires(Option<DateTime>)`](crate::operation::create_app_block_builder_streaming_url::CreateAppBlockBuilderStreamingUrlOutput::expires): <p>The elapsed time, in seconds after the Unix epoch, when this URL expires.</p>
    /// - On failure, responds with [`SdkError<CreateAppBlockBuilderStreamingURLError>`](crate::operation::create_app_block_builder_streaming_url::CreateAppBlockBuilderStreamingURLError)
    pub fn create_app_block_builder_streaming_url(
        &self,
    ) -> crate::operation::create_app_block_builder_streaming_url::builders::CreateAppBlockBuilderStreamingURLFluentBuilder {
        crate::operation::create_app_block_builder_streaming_url::builders::CreateAppBlockBuilderStreamingURLFluentBuilder::new(self.handle.clone())
    }
}