Struct aws_sdk_appfabric::types::AppAuthorizationSummary
source · #[non_exhaustive]pub struct AppAuthorizationSummary {
pub app_authorization_arn: Option<String>,
pub app_bundle_arn: Option<String>,
pub app: Option<String>,
pub tenant: Option<Tenant>,
pub status: Option<AppAuthorizationStatus>,
pub updated_at: Option<DateTime>,
}
Expand description
Contains a summary of an app authorization.
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.The Amazon Resource Name (ARN) of the app authorization.
app_bundle_arn: Option<String>
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
app: Option<String>
The name of the application.
tenant: Option<Tenant>
Contains information about an application tenant, such as the application display name and identifier.
status: Option<AppAuthorizationStatus>
The state of the app authorization.
The following states are possible:
-
PendingConnect
: The initial state of the app authorization. The app authorization is created but not yet connected. -
Connected
: The app authorization is connected to the application, and is ready to be used. -
ConnectionValidationFailed
: The app authorization received a validation exception when trying to connect to the application. If the app authorization is in this state, you should verify the configured credentials and try to connect the app authorization again. -
TokenAutoRotationFailed
: AppFabric failed to refresh the access token. If the app authorization is in this state, you should try to reconnect the app authorization.
updated_at: Option<DateTime>
Timestamp for when the app authorization was last updated.
Implementations§
source§impl AppAuthorizationSummary
impl AppAuthorizationSummary
The Amazon Resource Name (ARN) of the app authorization.
sourcepub fn app_bundle_arn(&self) -> Option<&str>
pub fn app_bundle_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the app bundle for the app authorization.
sourcepub fn tenant(&self) -> Option<&Tenant>
pub fn tenant(&self) -> Option<&Tenant>
Contains information about an application tenant, such as the application display name and identifier.
sourcepub fn status(&self) -> Option<&AppAuthorizationStatus>
pub fn status(&self) -> Option<&AppAuthorizationStatus>
The state of the app authorization.
The following states are possible:
-
PendingConnect
: The initial state of the app authorization. The app authorization is created but not yet connected. -
Connected
: The app authorization is connected to the application, and is ready to be used. -
ConnectionValidationFailed
: The app authorization received a validation exception when trying to connect to the application. If the app authorization is in this state, you should verify the configured credentials and try to connect the app authorization again. -
TokenAutoRotationFailed
: AppFabric failed to refresh the access token. If the app authorization is in this state, you should try to reconnect the app authorization.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
Timestamp for when the app authorization was last updated.
source§impl AppAuthorizationSummary
impl AppAuthorizationSummary
sourcepub fn builder() -> AppAuthorizationSummaryBuilder
pub fn builder() -> AppAuthorizationSummaryBuilder
Creates a new builder-style object to manufacture AppAuthorizationSummary
.
Trait Implementations§
source§impl Clone for AppAuthorizationSummary
impl Clone for AppAuthorizationSummary
source§fn clone(&self) -> AppAuthorizationSummary
fn clone(&self) -> AppAuthorizationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AppAuthorizationSummary
impl Debug for AppAuthorizationSummary
source§impl PartialEq<AppAuthorizationSummary> for AppAuthorizationSummary
impl PartialEq<AppAuthorizationSummary> for AppAuthorizationSummary
source§fn eq(&self, other: &AppAuthorizationSummary) -> bool
fn eq(&self, other: &AppAuthorizationSummary) -> bool
self
and other
values to be equal, and is used
by ==
.