aws_sdk_backup/client/describe_global_settings.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 [`DescribeGlobalSettings`](crate::operation::describe_global_settings::builders::DescribeGlobalSettingsFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::describe_global_settings::builders::DescribeGlobalSettingsFluentBuilder::send) it.
6 /// - On success, responds with [`DescribeGlobalSettingsOutput`](crate::operation::describe_global_settings::DescribeGlobalSettingsOutput) with field(s):
7 /// - [`global_settings(Option<HashMap::<String, String>>)`](crate::operation::describe_global_settings::DescribeGlobalSettingsOutput::global_settings): <p>The status of the flags <code>isCrossAccountBackupEnabled</code> and <code>isMpaEnabled</code> ('Mpa' refers to multi-party approval).</p>
8 /// - [`last_update_time(Option<DateTime>)`](crate::operation::describe_global_settings::DescribeGlobalSettingsOutput::last_update_time): <p>The date and time that the flag <code>isCrossAccountBackupEnabled</code> was last updated. This update is in Unix format and Coordinated Universal Time (UTC). The value of <code>LastUpdateTime</code> is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>
9 /// - On failure, responds with [`SdkError<DescribeGlobalSettingsError>`](crate::operation::describe_global_settings::DescribeGlobalSettingsError)
10 pub fn describe_global_settings(&self) -> crate::operation::describe_global_settings::builders::DescribeGlobalSettingsFluentBuilder {
11 crate::operation::describe_global_settings::builders::DescribeGlobalSettingsFluentBuilder::new(self.handle.clone())
12 }
13}