Struct aws_sdk_kinesisanalyticsv2::operation::update_application::builders::UpdateApplicationFluentBuilder
source · pub struct UpdateApplicationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateApplication.
Updates an existing Kinesis Data Analytics application. Using this operation, you can update application code, input configuration, and output configuration.
Kinesis Data Analytics updates the ApplicationVersionId each time you update your application.
You cannot update the RuntimeEnvironment of an existing application. If you need to update an application's RuntimeEnvironment, you must delete the application and create it again.
Implementations§
source§impl UpdateApplicationFluentBuilder
impl UpdateApplicationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateApplicationInputBuilder
pub fn as_input(&self) -> &UpdateApplicationInputBuilder
Access the UpdateApplication as a reference.
sourcepub async fn send(
self
) -> Result<UpdateApplicationOutput, SdkError<UpdateApplicationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateApplicationOutput, SdkError<UpdateApplicationError, 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<UpdateApplicationOutput, UpdateApplicationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateApplicationOutput, UpdateApplicationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the application to update.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the application to update.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of the application to update.
sourcepub fn current_application_version_id(self, input: i64) -> Self
pub fn current_application_version_id(self, input: i64) -> Self
The current application version ID. You must provide the CurrentApplicationVersionId or the ConditionalToken.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.
sourcepub fn set_current_application_version_id(self, input: Option<i64>) -> Self
pub fn set_current_application_version_id(self, input: Option<i64>) -> Self
The current application version ID. You must provide the CurrentApplicationVersionId or the ConditionalToken.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.
sourcepub fn get_current_application_version_id(&self) -> &Option<i64>
pub fn get_current_application_version_id(&self) -> &Option<i64>
The current application version ID. You must provide the CurrentApplicationVersionId or the ConditionalToken.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.
sourcepub fn application_configuration_update(
self,
input: ApplicationConfigurationUpdate
) -> Self
pub fn application_configuration_update( self, input: ApplicationConfigurationUpdate ) -> Self
Describes application configuration updates.
sourcepub fn set_application_configuration_update(
self,
input: Option<ApplicationConfigurationUpdate>
) -> Self
pub fn set_application_configuration_update( self, input: Option<ApplicationConfigurationUpdate> ) -> Self
Describes application configuration updates.
sourcepub fn get_application_configuration_update(
&self
) -> &Option<ApplicationConfigurationUpdate>
pub fn get_application_configuration_update( &self ) -> &Option<ApplicationConfigurationUpdate>
Describes application configuration updates.
sourcepub fn service_execution_role_update(self, input: impl Into<String>) -> Self
pub fn service_execution_role_update(self, input: impl Into<String>) -> Self
Describes updates to the service execution role.
sourcepub fn set_service_execution_role_update(self, input: Option<String>) -> Self
pub fn set_service_execution_role_update(self, input: Option<String>) -> Self
Describes updates to the service execution role.
sourcepub fn get_service_execution_role_update(&self) -> &Option<String>
pub fn get_service_execution_role_update(&self) -> &Option<String>
Describes updates to the service execution role.
sourcepub fn run_configuration_update(self, input: RunConfigurationUpdate) -> Self
pub fn run_configuration_update(self, input: RunConfigurationUpdate) -> Self
Describes updates to the application's starting parameters.
sourcepub fn set_run_configuration_update(
self,
input: Option<RunConfigurationUpdate>
) -> Self
pub fn set_run_configuration_update( self, input: Option<RunConfigurationUpdate> ) -> Self
Describes updates to the application's starting parameters.
sourcepub fn get_run_configuration_update(&self) -> &Option<RunConfigurationUpdate>
pub fn get_run_configuration_update(&self) -> &Option<RunConfigurationUpdate>
Describes updates to the application's starting parameters.
sourcepub fn cloud_watch_logging_option_updates(
self,
input: CloudWatchLoggingOptionUpdate
) -> Self
pub fn cloud_watch_logging_option_updates( self, input: CloudWatchLoggingOptionUpdate ) -> Self
Appends an item to CloudWatchLoggingOptionUpdates.
To override the contents of this collection use set_cloud_watch_logging_option_updates.
Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption.
sourcepub fn set_cloud_watch_logging_option_updates(
self,
input: Option<Vec<CloudWatchLoggingOptionUpdate>>
) -> Self
pub fn set_cloud_watch_logging_option_updates( self, input: Option<Vec<CloudWatchLoggingOptionUpdate>> ) -> Self
Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption.
sourcepub fn get_cloud_watch_logging_option_updates(
&self
) -> &Option<Vec<CloudWatchLoggingOptionUpdate>>
pub fn get_cloud_watch_logging_option_updates( &self ) -> &Option<Vec<CloudWatchLoggingOptionUpdate>>
Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption.
sourcepub fn conditional_token(self, input: impl Into<String>) -> Self
pub fn conditional_token(self, input: impl Into<String>) -> Self
A value you use to implement strong concurrency for application updates. You must provide the CurrentApplicationVersionId or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.
sourcepub fn set_conditional_token(self, input: Option<String>) -> Self
pub fn set_conditional_token(self, input: Option<String>) -> Self
A value you use to implement strong concurrency for application updates. You must provide the CurrentApplicationVersionId or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.
sourcepub fn get_conditional_token(&self) -> &Option<String>
pub fn get_conditional_token(&self) -> &Option<String>
A value you use to implement strong concurrency for application updates. You must provide the CurrentApplicationVersionId or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.
Trait Implementations§
source§impl Clone for UpdateApplicationFluentBuilder
impl Clone for UpdateApplicationFluentBuilder
source§fn clone(&self) -> UpdateApplicationFluentBuilder
fn clone(&self) -> UpdateApplicationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more