Struct aws_sdk_ssmsap::types::Component
source · #[non_exhaustive]pub struct Component {Show 20 fields
pub component_id: Option<String>,
pub sid: Option<String>,
pub system_number: Option<String>,
pub parent_component: Option<String>,
pub child_components: Option<Vec<String>>,
pub application_id: Option<String>,
pub component_type: Option<ComponentType>,
pub status: Option<ComponentStatus>,
pub sap_hostname: Option<String>,
pub sap_feature: Option<String>,
pub sap_kernel_version: Option<String>,
pub hdb_version: Option<String>,
pub resilience: Option<Resilience>,
pub associated_host: Option<AssociatedHost>,
pub databases: Option<Vec<String>>,
pub hosts: Option<Vec<Host>>,
pub primary_host: Option<String>,
pub database_connection: Option<DatabaseConnection>,
pub last_updated: Option<DateTime>,
pub arn: Option<String>,
}Expand description
The SAP component of your application.
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.component_id: Option<String>The ID of the component.
sid: Option<String>The SAP System Identifier of the application component.
system_number: Option<String>The SAP system number of the application component.
parent_component: Option<String>The parent component of a highly available environment. For example, in a highly available SAP on AWS workload, the parent component consists of the entire setup, including the child components.
child_components: Option<Vec<String>>The child components of a highly available environment. For example, in a highly available SAP on AWS workload, the child component consists of the primary and secondar instances.
application_id: Option<String>The ID of the application.
component_type: Option<ComponentType>The type of the component.
status: Option<ComponentStatus>The status of the component.
-
ACTIVATED - this status has been deprecated.
-
STARTING - the component is in the process of being started.
-
STOPPED - the component is not running.
-
STOPPING - the component is in the process of being stopped.
-
RUNNING - the component is running.
-
RUNNING_WITH_ERROR - one or more child component(s) of the parent component is not running. Call
GetComponentto review the status of each child component. -
UNDEFINED - AWS Systems Manager for SAP cannot provide the component status based on the discovered information. Verify your SAP application.
sap_hostname: Option<String>The hostname of the component.
sap_feature: Option<String>The SAP feature of the component.
sap_kernel_version: Option<String>The kernel version of the component.
hdb_version: Option<String>The SAP HANA version of the component.
resilience: Option<Resilience>Details of the SAP HANA system replication for the component.
associated_host: Option<AssociatedHost>The associated host of the component.
databases: Option<Vec<String>>The SAP HANA databases of the component.
hosts: Option<Vec<Host>>The hosts of the component.
primary_host: Option<String>The primary host of the component.
database_connection: Option<DatabaseConnection>The connection specifications for the database of the component.
last_updated: Option<DateTime>The time at which the component was last updated.
arn: Option<String>The Amazon Resource Name (ARN) of the component.
Implementations§
source§impl Component
impl Component
sourcepub fn component_id(&self) -> Option<&str>
pub fn component_id(&self) -> Option<&str>
The ID of the component.
sourcepub fn system_number(&self) -> Option<&str>
pub fn system_number(&self) -> Option<&str>
The SAP system number of the application component.
sourcepub fn parent_component(&self) -> Option<&str>
pub fn parent_component(&self) -> Option<&str>
The parent component of a highly available environment. For example, in a highly available SAP on AWS workload, the parent component consists of the entire setup, including the child components.
sourcepub fn child_components(&self) -> &[String]
pub fn child_components(&self) -> &[String]
The child components of a highly available environment. For example, in a highly available SAP on AWS workload, the child component consists of the primary and secondar instances.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .child_components.is_none().
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The ID of the application.
sourcepub fn component_type(&self) -> Option<&ComponentType>
pub fn component_type(&self) -> Option<&ComponentType>
The type of the component.
sourcepub fn status(&self) -> Option<&ComponentStatus>
pub fn status(&self) -> Option<&ComponentStatus>
The status of the component.
-
ACTIVATED - this status has been deprecated.
-
STARTING - the component is in the process of being started.
-
STOPPED - the component is not running.
-
STOPPING - the component is in the process of being stopped.
-
RUNNING - the component is running.
-
RUNNING_WITH_ERROR - one or more child component(s) of the parent component is not running. Call
GetComponentto review the status of each child component. -
UNDEFINED - AWS Systems Manager for SAP cannot provide the component status based on the discovered information. Verify your SAP application.
sourcepub fn sap_hostname(&self) -> Option<&str>
pub fn sap_hostname(&self) -> Option<&str>
The hostname of the component.
sourcepub fn sap_feature(&self) -> Option<&str>
pub fn sap_feature(&self) -> Option<&str>
The SAP feature of the component.
sourcepub fn sap_kernel_version(&self) -> Option<&str>
pub fn sap_kernel_version(&self) -> Option<&str>
The kernel version of the component.
sourcepub fn hdb_version(&self) -> Option<&str>
pub fn hdb_version(&self) -> Option<&str>
The SAP HANA version of the component.
sourcepub fn resilience(&self) -> Option<&Resilience>
pub fn resilience(&self) -> Option<&Resilience>
Details of the SAP HANA system replication for the component.
sourcepub fn associated_host(&self) -> Option<&AssociatedHost>
pub fn associated_host(&self) -> Option<&AssociatedHost>
The associated host of the component.
sourcepub fn databases(&self) -> &[String]
pub fn databases(&self) -> &[String]
The SAP HANA databases of the component.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .databases.is_none().
sourcepub fn hosts(&self) -> &[Host]
👎Deprecated: This shape is no longer used. Please use AssociatedHost.
pub fn hosts(&self) -> &[Host]
The hosts of the component.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .hosts.is_none().
sourcepub fn primary_host(&self) -> Option<&str>
👎Deprecated: This shape is no longer used. Please use AssociatedHost.
pub fn primary_host(&self) -> Option<&str>
The primary host of the component.
sourcepub fn database_connection(&self) -> Option<&DatabaseConnection>
pub fn database_connection(&self) -> Option<&DatabaseConnection>
The connection specifications for the database of the component.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
The time at which the component was last updated.