aws_sdk_backupexternal/client/get_appliance.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetAppliance`](crate::operation::get_appliance::builders::GetApplianceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`appliance_arn(impl Into<String>)`](crate::operation::get_appliance::builders::GetApplianceFluentBuilder::appliance_arn) / [`set_appliance_arn(Option<String>)`](crate::operation::get_appliance::builders::GetApplianceFluentBuilder::set_appliance_arn):<br>required: **true**<br>The Amazon Resource Name (ARN) of the appliance.<br>
7 /// - On success, responds with [`GetApplianceOutput`](crate::operation::get_appliance::GetApplianceOutput) with field(s):
8 /// - [`appliance_arn(String)`](crate::operation::get_appliance::GetApplianceOutput::appliance_arn): The Amazon Resource Name (ARN) of the appliance.
9 /// - [`appliance_name(String)`](crate::operation::get_appliance::GetApplianceOutput::appliance_name): The name of the appliance.
10 /// - [`environment_type(ApplianceEnvironmentType)`](crate::operation::get_appliance::GetApplianceOutput::environment_type): The environment in which the appliance runs.
11 /// - [`appliance_iam_role_arn(String)`](crate::operation::get_appliance::GetApplianceOutput::appliance_iam_role_arn): The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.
12 /// - [`node_fault_tolerance(i32)`](crate::operation::get_appliance::GetApplianceOutput::node_fault_tolerance): The number of node failures that the appliance can tolerate.
13 /// - [`network_configuration(Option<ApplianceNetworkConfigurationForGetAppliance>)`](crate::operation::get_appliance::GetApplianceOutput::network_configuration): The network configuration of the appliance.
14 /// - [`appliance_management_status(ApplianceManagementStatus)`](crate::operation::get_appliance::GetApplianceOutput::appliance_management_status): The management status of the appliance.
15 /// - [`appliance_operation_mode(ApplianceOperationMode)`](crate::operation::get_appliance::GetApplianceOutput::appliance_operation_mode): The operation mode of the appliance.
16 /// - [`health_status(Option<ApplianceHealthStatus>)`](crate::operation::get_appliance::GetApplianceOutput::health_status): The health status of the appliance.
17 /// - [`notifications(Option<Vec::<Notification>>)`](crate::operation::get_appliance::GetApplianceOutput::notifications): The notifications for the appliance.
18 /// - [`created_at(DateTime)`](crate::operation::get_appliance::GetApplianceOutput::created_at): The date and time that the appliance was created.
19 /// - [`deleted_at(Option<DateTime>)`](crate::operation::get_appliance::GetApplianceOutput::deleted_at): The date and time that the appliance was deleted.
20 /// - [`patched_at(Option<DateTime>)`](crate::operation::get_appliance::GetApplianceOutput::patched_at): The date and time that the appliance was last patched.
21 /// - [`software_version(Option<String>)`](crate::operation::get_appliance::GetApplianceOutput::software_version): The software version of the appliance.
22 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_appliance::GetApplianceOutput::tags): The tags associated with the resource.
23 /// - On failure, responds with [`SdkError<GetApplianceError>`](crate::operation::get_appliance::GetApplianceError)
24 pub fn get_appliance(&self) -> crate::operation::get_appliance::builders::GetApplianceFluentBuilder {
25 crate::operation::get_appliance::builders::GetApplianceFluentBuilder::new(self.handle.clone())
26 }
27}