aws-sdk-computeoptimizerautomation 1.3.0

AWS SDK for Compute Optimizer Automation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetEnrollmentConfiguration`](crate::operation::get_enrollment_configuration::builders::GetEnrollmentConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_enrollment_configuration::builders::GetEnrollmentConfigurationFluentBuilder::send) it.
    /// - On success, responds with [`GetEnrollmentConfigurationOutput`](crate::operation::get_enrollment_configuration::GetEnrollmentConfigurationOutput) with field(s):
    ///   - [`status(EnrollmentStatus)`](crate::operation::get_enrollment_configuration::GetEnrollmentConfigurationOutput::status): <p>The current enrollment status.</p>
    ///   - [`status_reason(Option<String>)`](crate::operation::get_enrollment_configuration::GetEnrollmentConfigurationOutput::status_reason): <p>The reason for the current enrollment status.</p>
    ///   - [`organization_rule_mode(Option<OrganizationRuleMode>)`](crate::operation::get_enrollment_configuration::GetEnrollmentConfigurationOutput::organization_rule_mode): <p>Specifies whether the management account can create Automation rules that implement optimization actions for this account.</p>
    ///   - [`last_updated_timestamp(Option<DateTime>)`](crate::operation::get_enrollment_configuration::GetEnrollmentConfigurationOutput::last_updated_timestamp): <p>The timestamp of the last update to the enrollment configuration.</p>
    /// - On failure, responds with [`SdkError<GetEnrollmentConfigurationError>`](crate::operation::get_enrollment_configuration::GetEnrollmentConfigurationError)
    pub fn get_enrollment_configuration(&self) -> crate::operation::get_enrollment_configuration::builders::GetEnrollmentConfigurationFluentBuilder {
        crate::operation::get_enrollment_configuration::builders::GetEnrollmentConfigurationFluentBuilder::new(self.handle.clone())
    }
}