pub struct Builder { /* private fields */ }
Expand description

A builder for UpdateStackInput.

Implementations§

The stack name to display.

Examples found in repository?
src/client.rs (line 8370)
8369
8370
8371
8372
        pub fn display_name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.display_name(input.into());
            self
        }

The stack name to display.

Examples found in repository?
src/client.rs (line 8375)
8374
8375
8376
8377
        pub fn set_display_name(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_display_name(input);
            self
        }

The description to display.

Examples found in repository?
src/client.rs (line 8380)
8379
8380
8381
8382
        pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.description(input.into());
            self
        }

The description to display.

Examples found in repository?
src/client.rs (line 8385)
8384
8385
8386
8387
        pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_description(input);
            self
        }

The name of the stack.

Examples found in repository?
src/client.rs (line 8390)
8389
8390
8391
8392
        pub fn name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.name(input.into());
            self
        }

The name of the stack.

Examples found in repository?
src/client.rs (line 8395)
8394
8395
8396
8397
        pub fn set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_name(input);
            self
        }

Appends an item to storage_connectors.

To override the contents of this collection use set_storage_connectors.

The storage connectors to enable.

Examples found in repository?
src/client.rs (line 8404)
8403
8404
8405
8406
        pub fn storage_connectors(mut self, input: crate::model::StorageConnector) -> Self {
            self.inner = self.inner.storage_connectors(input);
            self
        }

The storage connectors to enable.

Examples found in repository?
src/client.rs (line 8412)
8408
8409
8410
8411
8412
8413
8414
        pub fn set_storage_connectors(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::StorageConnector>>,
        ) -> Self {
            self.inner = self.inner.set_storage_connectors(input);
            self
        }
👎Deprecated

Deletes the storage connectors currently enabled for the stack.

Examples found in repository?
src/client.rs (line 8418)
8417
8418
8419
8420
        pub fn delete_storage_connectors(mut self, input: bool) -> Self {
            self.inner = self.inner.delete_storage_connectors(input);
            self
        }
👎Deprecated

Deletes the storage connectors currently enabled for the stack.

Examples found in repository?
src/client.rs (line 8424)
8423
8424
8425
8426
        pub fn set_delete_storage_connectors(mut self, input: std::option::Option<bool>) -> Self {
            self.inner = self.inner.set_delete_storage_connectors(input);
            self
        }

The URL that users are redirected to after their streaming session ends.

Examples found in repository?
src/client.rs (line 8429)
8428
8429
8430
8431
        pub fn redirect_url(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.redirect_url(input.into());
            self
        }

The URL that users are redirected to after their streaming session ends.

Examples found in repository?
src/client.rs (line 8434)
8433
8434
8435
8436
        pub fn set_redirect_url(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_redirect_url(input);
            self
        }

The URL that users are redirected to after they choose the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.

Examples found in repository?
src/client.rs (line 8439)
8438
8439
8440
8441
        pub fn feedback_url(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.feedback_url(input.into());
            self
        }

The URL that users are redirected to after they choose the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.

Examples found in repository?
src/client.rs (line 8444)
8443
8444
8445
8446
        pub fn set_feedback_url(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_feedback_url(input);
            self
        }

Appends an item to attributes_to_delete.

To override the contents of this collection use set_attributes_to_delete.

The stack attributes to delete.

Examples found in repository?
src/client.rs (line 8453)
8452
8453
8454
8455
        pub fn attributes_to_delete(mut self, input: crate::model::StackAttribute) -> Self {
            self.inner = self.inner.attributes_to_delete(input);
            self
        }

The stack attributes to delete.

Examples found in repository?
src/client.rs (line 8461)
8457
8458
8459
8460
8461
8462
8463
        pub fn set_attributes_to_delete(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::StackAttribute>>,
        ) -> Self {
            self.inner = self.inner.set_attributes_to_delete(input);
            self
        }

Appends an item to user_settings.

To override the contents of this collection use set_user_settings.

The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.

Examples found in repository?
src/client.rs (line 8470)
8469
8470
8471
8472
        pub fn user_settings(mut self, input: crate::model::UserSetting) -> Self {
            self.inner = self.inner.user_settings(input);
            self
        }

The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.

Examples found in repository?
src/client.rs (line 8478)
8474
8475
8476
8477
8478
8479
8480
        pub fn set_user_settings(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::UserSetting>>,
        ) -> Self {
            self.inner = self.inner.set_user_settings(input);
            self
        }

The persistent application settings for users of a stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.

Examples found in repository?
src/client.rs (line 8483)
8482
8483
8484
8485
        pub fn application_settings(mut self, input: crate::model::ApplicationSettings) -> Self {
            self.inner = self.inner.application_settings(input);
            self
        }

The persistent application settings for users of a stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.

Examples found in repository?
src/client.rs (line 8491)
8487
8488
8489
8490
8491
8492
8493
        pub fn set_application_settings(
            mut self,
            input: std::option::Option<crate::model::ApplicationSettings>,
        ) -> Self {
            self.inner = self.inner.set_application_settings(input);
            self
        }

Appends an item to access_endpoints.

To override the contents of this collection use set_access_endpoints.

The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.

Examples found in repository?
src/client.rs (line 8500)
8499
8500
8501
8502
        pub fn access_endpoints(mut self, input: crate::model::AccessEndpoint) -> Self {
            self.inner = self.inner.access_endpoints(input);
            self
        }

The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.

Examples found in repository?
src/client.rs (line 8508)
8504
8505
8506
8507
8508
8509
8510
        pub fn set_access_endpoints(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::AccessEndpoint>>,
        ) -> Self {
            self.inner = self.inner.set_access_endpoints(input);
            self
        }

Appends an item to embed_host_domains.

To override the contents of this collection use set_embed_host_domains.

The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.

Examples found in repository?
src/client.rs (line 8517)
8516
8517
8518
8519
        pub fn embed_host_domains(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.embed_host_domains(input.into());
            self
        }

The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.

Examples found in repository?
src/client.rs (line 8525)
8521
8522
8523
8524
8525
8526
8527
        pub fn set_embed_host_domains(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_embed_host_domains(input);
            self
        }

The streaming protocol you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.

Examples found in repository?
src/client.rs (line 8533)
8529
8530
8531
8532
8533
8534
8535
        pub fn streaming_experience_settings(
            mut self,
            input: crate::model::StreamingExperienceSettings,
        ) -> Self {
            self.inner = self.inner.streaming_experience_settings(input);
            self
        }

The streaming protocol you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.

Examples found in repository?
src/client.rs (line 8541)
8537
8538
8539
8540
8541
8542
8543
        pub fn set_streaming_experience_settings(
            mut self,
            input: std::option::Option<crate::model::StreamingExperienceSettings>,
        ) -> Self {
            self.inner = self.inner.set_streaming_experience_settings(input);
            self
        }

Consumes the builder and constructs a UpdateStackInput.

Examples found in repository?
src/client.rs (line 8337)
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::UpdateStack,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<crate::error::UpdateStackError>,
        > {
            let handle = self.handle.clone();
            let operation = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            Ok(crate::operation::customize::CustomizableOperation { handle, operation })
        }

        /// 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](aws_smithy_types::retry::RetryConfig), which can be
        /// set when configuring the client.
        pub async fn send(
            self,
        ) -> std::result::Result<
            crate::output::UpdateStackOutput,
            aws_smithy_http::result::SdkError<crate::error::UpdateStackError>,
        > {
            let op = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&self.handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            self.handle.client.call(op).await
        }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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