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 Managed Service for Apache Flink application. Using this operation, you can update application code, input configuration, and output configuration.
Managed Service for Apache Flink updates the ApplicationVersionId
each time you update your application.
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
.
sourcepub fn runtime_environment_update(self, input: RuntimeEnvironment) -> Self
pub fn runtime_environment_update(self, input: RuntimeEnvironment) -> Self
Updates the Managed Service for Apache Flink runtime environment used to run your code. To avoid issues you must:
-
Ensure your new jar and dependencies are compatible with the new runtime selected.
-
Ensure your new code's state is compatible with the snapshot from which your application will start
sourcepub fn set_runtime_environment_update(
self,
input: Option<RuntimeEnvironment>
) -> Self
pub fn set_runtime_environment_update( self, input: Option<RuntimeEnvironment> ) -> Self
Updates the Managed Service for Apache Flink runtime environment used to run your code. To avoid issues you must:
-
Ensure your new jar and dependencies are compatible with the new runtime selected.
-
Ensure your new code's state is compatible with the snapshot from which your application will start
sourcepub fn get_runtime_environment_update(&self) -> &Option<RuntimeEnvironment>
pub fn get_runtime_environment_update(&self) -> &Option<RuntimeEnvironment>
Updates the Managed Service for Apache Flink runtime environment used to run your code. To avoid issues you must:
-
Ensure your new jar and dependencies are compatible with the new runtime selected.
-
Ensure your new code's state is compatible with the snapshot from which your application will start
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 moreAuto Trait Implementations§
impl Freeze for UpdateApplicationFluentBuilder
impl !RefUnwindSafe for UpdateApplicationFluentBuilder
impl Send for UpdateApplicationFluentBuilder
impl Sync for UpdateApplicationFluentBuilder
impl Unpin for UpdateApplicationFluentBuilder
impl !UnwindSafe for UpdateApplicationFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more