1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ExportServerEngineAttribute`](crate::operation::export_server_engine_attribute::builders::ExportServerEngineAttributeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`export_attribute_name(impl Into<String>)`](crate::operation::export_server_engine_attribute::builders::ExportServerEngineAttributeFluentBuilder::export_attribute_name) / [`set_export_attribute_name(Option<String>)`](crate::operation::export_server_engine_attribute::builders::ExportServerEngineAttributeFluentBuilder::set_export_attribute_name):<br>required: **true**<br><p>The name of the export attribute. Currently, the supported export attribute is <code>Userdata</code>. This exports a user data script that includes parameters and values provided in the <code>InputAttributes</code> list.</p><br>
    ///   - [`server_name(impl Into<String>)`](crate::operation::export_server_engine_attribute::builders::ExportServerEngineAttributeFluentBuilder::server_name) / [`set_server_name(Option<String>)`](crate::operation::export_server_engine_attribute::builders::ExportServerEngineAttributeFluentBuilder::set_server_name):<br>required: **true**<br><p>The name of the server from which you are exporting the attribute.</p><br>
    ///   - [`input_attributes(EngineAttribute)`](crate::operation::export_server_engine_attribute::builders::ExportServerEngineAttributeFluentBuilder::input_attributes) / [`set_input_attributes(Option<Vec::<EngineAttribute>>)`](crate::operation::export_server_engine_attribute::builders::ExportServerEngineAttributeFluentBuilder::set_input_attributes):<br>required: **false**<br><p>The list of engine attributes. The list type is <code>EngineAttribute</code>. An <code>EngineAttribute</code> list item is a pair that includes an attribute name and its value. For the <code>Userdata</code> ExportAttributeName, the following are supported engine attribute names.</p> <ul>  <li>   <p><b>RunList</b> In Chef, a list of roles or recipes that are run in the specified order. In Puppet, this parameter is ignored.</p></li>  <li>   <p><b>OrganizationName</b> In Chef, an organization name. AWS OpsWorks for Chef Automate always creates the organization <code>default</code>. In Puppet, this parameter is ignored.</p></li>  <li>   <p><b>NodeEnvironment</b> In Chef, a node environment (for example, development, staging, or one-box). In Puppet, this parameter is ignored.</p></li>  <li>   <p><b>NodeClientVersion</b> In Chef, the version of the Chef engine (three numbers separated by dots, such as 13.8.5). If this attribute is empty, OpsWorks for Chef Automate uses the most current version. In Puppet, this parameter is ignored.</p></li> </ul><br>
    /// - On success, responds with [`ExportServerEngineAttributeOutput`](crate::operation::export_server_engine_attribute::ExportServerEngineAttributeOutput) with field(s):
    ///   - [`engine_attribute(Option<EngineAttribute>)`](crate::operation::export_server_engine_attribute::ExportServerEngineAttributeOutput::engine_attribute): <p>The requested engine attribute pair with attribute name and value.</p>
    ///   - [`server_name(Option<String>)`](crate::operation::export_server_engine_attribute::ExportServerEngineAttributeOutput::server_name): <p>The server name used in the request.</p>
    /// - On failure, responds with [`SdkError<ExportServerEngineAttributeError>`](crate::operation::export_server_engine_attribute::ExportServerEngineAttributeError)
    pub fn export_server_engine_attribute(
        &self,
    ) -> crate::operation::export_server_engine_attribute::builders::ExportServerEngineAttributeFluentBuilder {
        crate::operation::export_server_engine_attribute::builders::ExportServerEngineAttributeFluentBuilder::new(self.handle.clone())
    }
}