#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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 GetComponent to 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>>
👎Deprecated: This shape is no longer used. Please use AssociatedHost.

The hosts of the component.

§primary_host: Option<String>
👎Deprecated: This shape is no longer used. Please use AssociatedHost.

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

source

pub fn component_id(&self) -> Option<&str>

The ID of the component.

source

pub fn sid(&self) -> Option<&str>

The SAP System Identifier of the application component.

source

pub fn system_number(&self) -> Option<&str>

The SAP system number of the application component.

source

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.

source

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().

source

pub fn application_id(&self) -> Option<&str>

The ID of the application.

source

pub fn component_type(&self) -> Option<&ComponentType>

The type of the component.

source

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 GetComponent to 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.

source

pub fn sap_hostname(&self) -> Option<&str>

The hostname of the component.

source

pub fn sap_feature(&self) -> Option<&str>

The SAP feature of the component.

source

pub fn sap_kernel_version(&self) -> Option<&str>

The kernel version of the component.

source

pub fn hdb_version(&self) -> Option<&str>

The SAP HANA version of the component.

source

pub fn resilience(&self) -> Option<&Resilience>

Details of the SAP HANA system replication for the component.

source

pub fn associated_host(&self) -> Option<&AssociatedHost>

The associated host of the component.

source

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().

source

pub fn hosts(&self) -> &[Host]

👎Deprecated: This shape is no longer used. Please use AssociatedHost.

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().

source

pub fn primary_host(&self) -> Option<&str>

👎Deprecated: This shape is no longer used. Please use AssociatedHost.

The primary host of the component.

source

pub fn database_connection(&self) -> Option<&DatabaseConnection>

The connection specifications for the database of the component.

source

pub fn last_updated(&self) -> Option<&DateTime>

The time at which the component was last updated.

source

pub fn arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the component.

source§

impl Component

source

pub fn builder() -> ComponentBuilder

Creates a new builder-style object to manufacture Component.

Trait Implementations§

source§

impl Clone for Component

source§

fn clone(&self) -> Component

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Component

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for Component

source§

fn eq(&self, other: &Component) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Component

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more