#[non_exhaustive]pub struct ApplicationDetail {Show 18 fields
pub application_arn: String,
pub application_description: Option<String>,
pub application_name: String,
pub runtime_environment: RuntimeEnvironment,
pub service_execution_role: Option<String>,
pub application_status: ApplicationStatus,
pub application_version_id: i64,
pub create_timestamp: Option<DateTime>,
pub last_update_timestamp: Option<DateTime>,
pub application_configuration_description: Option<ApplicationConfigurationDescription>,
pub cloud_watch_logging_option_descriptions: Option<Vec<CloudWatchLoggingOptionDescription>>,
pub application_maintenance_configuration_description: Option<ApplicationMaintenanceConfigurationDescription>,
pub application_version_updated_from: Option<i64>,
pub application_version_rolled_back_from: Option<i64>,
pub application_version_create_timestamp: Option<DateTime>,
pub conditional_token: Option<String>,
pub application_version_rolled_back_to: Option<i64>,
pub application_mode: Option<ApplicationMode>,
}Expand description
Describes the application, including the application Amazon Resource Name (ARN), status, latest version, and input and output configurations.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.application_arn: StringThe ARN of the application.
application_description: Option<String>The description of the application.
application_name: StringThe name of the application.
runtime_environment: RuntimeEnvironmentThe runtime environment for the application.
service_execution_role: Option<String>Specifies the IAM role that the application uses to access external resources.
application_status: ApplicationStatusThe status of the application.
application_version_id: i64Provides the current application version. Managed Service for Apache Flink updates the ApplicationVersionId each time you update the application.
create_timestamp: Option<DateTime>The current timestamp when the application was created.
last_update_timestamp: Option<DateTime>The current timestamp when the application was last updated.
application_configuration_description: Option<ApplicationConfigurationDescription>Describes details about the application code and starting parameters for a Managed Service for Apache Flink application.
cloud_watch_logging_option_descriptions: Option<Vec<CloudWatchLoggingOptionDescription>>Describes the application Amazon CloudWatch logging options.
application_maintenance_configuration_description: Option<ApplicationMaintenanceConfigurationDescription>The details of the maintenance configuration for the application.
application_version_updated_from: Option<i64>The previous application version before the latest application update. RollbackApplication reverts the application to this version.
application_version_rolled_back_from: Option<i64>If you reverted the application using RollbackApplication, the application version when RollbackApplication was called.
application_version_create_timestamp: Option<DateTime>The timestamp that indicates when the application version was created.
conditional_token: Option<String>A value you use to implement strong concurrency for application updates.
application_version_rolled_back_to: Option<i64>The version to which you want to roll back the application.
application_mode: Option<ApplicationMode>To create a Managed Service for Apache Flink Studio notebook, you must set the mode to INTERACTIVE. However, for a Managed Service for Apache Flink application, the mode is optional.
Implementations§
Source§impl ApplicationDetail
impl ApplicationDetail
Sourcepub fn application_arn(&self) -> &str
pub fn application_arn(&self) -> &str
The ARN of the application.
Sourcepub fn application_description(&self) -> Option<&str>
pub fn application_description(&self) -> Option<&str>
The description of the application.
Sourcepub fn application_name(&self) -> &str
pub fn application_name(&self) -> &str
The name of the application.
Sourcepub fn runtime_environment(&self) -> &RuntimeEnvironment
pub fn runtime_environment(&self) -> &RuntimeEnvironment
The runtime environment for the application.
Sourcepub fn service_execution_role(&self) -> Option<&str>
pub fn service_execution_role(&self) -> Option<&str>
Specifies the IAM role that the application uses to access external resources.
Sourcepub fn application_status(&self) -> &ApplicationStatus
pub fn application_status(&self) -> &ApplicationStatus
The status of the application.
Sourcepub fn application_version_id(&self) -> i64
pub fn application_version_id(&self) -> i64
Provides the current application version. Managed Service for Apache Flink updates the ApplicationVersionId each time you update the application.
Sourcepub fn create_timestamp(&self) -> Option<&DateTime>
pub fn create_timestamp(&self) -> Option<&DateTime>
The current timestamp when the application was created.
Sourcepub fn last_update_timestamp(&self) -> Option<&DateTime>
pub fn last_update_timestamp(&self) -> Option<&DateTime>
The current timestamp when the application was last updated.
Sourcepub fn application_configuration_description(
&self,
) -> Option<&ApplicationConfigurationDescription>
pub fn application_configuration_description( &self, ) -> Option<&ApplicationConfigurationDescription>
Describes details about the application code and starting parameters for a Managed Service for Apache Flink application.
Sourcepub fn cloud_watch_logging_option_descriptions(
&self,
) -> &[CloudWatchLoggingOptionDescription]
pub fn cloud_watch_logging_option_descriptions( &self, ) -> &[CloudWatchLoggingOptionDescription]
Describes the application Amazon CloudWatch logging options.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cloud_watch_logging_option_descriptions.is_none().
Sourcepub fn application_maintenance_configuration_description(
&self,
) -> Option<&ApplicationMaintenanceConfigurationDescription>
pub fn application_maintenance_configuration_description( &self, ) -> Option<&ApplicationMaintenanceConfigurationDescription>
The details of the maintenance configuration for the application.
Sourcepub fn application_version_updated_from(&self) -> Option<i64>
pub fn application_version_updated_from(&self) -> Option<i64>
The previous application version before the latest application update. RollbackApplication reverts the application to this version.
Sourcepub fn application_version_rolled_back_from(&self) -> Option<i64>
pub fn application_version_rolled_back_from(&self) -> Option<i64>
If you reverted the application using RollbackApplication, the application version when RollbackApplication was called.
Sourcepub fn application_version_create_timestamp(&self) -> Option<&DateTime>
pub fn application_version_create_timestamp(&self) -> Option<&DateTime>
The timestamp that indicates when the application version was created.
Sourcepub fn conditional_token(&self) -> Option<&str>
pub fn conditional_token(&self) -> Option<&str>
A value you use to implement strong concurrency for application updates.
Sourcepub fn application_version_rolled_back_to(&self) -> Option<i64>
pub fn application_version_rolled_back_to(&self) -> Option<i64>
The version to which you want to roll back the application.
Sourcepub fn application_mode(&self) -> Option<&ApplicationMode>
pub fn application_mode(&self) -> Option<&ApplicationMode>
To create a Managed Service for Apache Flink Studio notebook, you must set the mode to INTERACTIVE. However, for a Managed Service for Apache Flink application, the mode is optional.
Source§impl ApplicationDetail
impl ApplicationDetail
Sourcepub fn builder() -> ApplicationDetailBuilder
pub fn builder() -> ApplicationDetailBuilder
Creates a new builder-style object to manufacture ApplicationDetail.
Trait Implementations§
Source§impl Clone for ApplicationDetail
impl Clone for ApplicationDetail
Source§fn clone(&self) -> ApplicationDetail
fn clone(&self) -> ApplicationDetail
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ApplicationDetail
impl Debug for ApplicationDetail
Source§impl PartialEq for ApplicationDetail
impl PartialEq for ApplicationDetail
impl StructuralPartialEq for ApplicationDetail
Auto Trait Implementations§
impl Freeze for ApplicationDetail
impl RefUnwindSafe for ApplicationDetail
impl Send for ApplicationDetail
impl Sync for ApplicationDetail
impl Unpin for ApplicationDetail
impl UnwindSafe for ApplicationDetail
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the foreground set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red() and
green(), which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg():
use yansi::{Paint, Color};
painted.fg(Color::White);Set foreground color to white using white().
use yansi::Paint;
painted.white();Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the background set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red() and
on_green(), which have the same functionality but
are pithier.
§Example
Set background color to red using fg():
use yansi::{Paint, Color};
painted.bg(Color::Red);Set background color to red using on_red().
use yansi::Paint;
painted.on_red();Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute value.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold() and
underline(), which have the same functionality
but are pithier.
§Example
Make text bold using attr():
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);Make text bold using using bold().
use yansi::Paint;
painted.bold();Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi Quirk value.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask() and
wrap(), which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk():
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);Enable wrapping using wrap().
use yansi::Paint;
painted.wrap();Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted only when both stdout and stderr are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);