aws-sdk-evs 1.29.0

AWS SDK for Amazon Elastic VMware Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateEnvironmentHost`](crate::operation::create_environment_host::builders::CreateEnvironmentHostFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_environment_host::builders::CreateEnvironmentHostFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_environment_host::builders::CreateEnvironmentHostFluentBuilder::set_client_token):<br>required: **false**<br><note>  <p>This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect.</p> </note> <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the host creation request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.</p><br>
    ///   - [`environment_id(impl Into<String>)`](crate::operation::create_environment_host::builders::CreateEnvironmentHostFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::create_environment_host::builders::CreateEnvironmentHostFluentBuilder::set_environment_id):<br>required: **true**<br><p>A unique ID for the environment that the host is added to.</p><br>
    ///   - [`host(HostInfoForCreate)`](crate::operation::create_environment_host::builders::CreateEnvironmentHostFluentBuilder::host) / [`set_host(Option<HostInfoForCreate>)`](crate::operation::create_environment_host::builders::CreateEnvironmentHostFluentBuilder::set_host):<br>required: **true**<br><p>The host that is created and added to the environment.</p><br>
    ///   - [`esx_version(impl Into<String>)`](crate::operation::create_environment_host::builders::CreateEnvironmentHostFluentBuilder::esx_version) / [`set_esx_version(Option<String>)`](crate::operation::create_environment_host::builders::CreateEnvironmentHostFluentBuilder::set_esx_version):<br>required: **false**<br><p>The ESX version to use for the host.</p><br>
    /// - On success, responds with [`CreateEnvironmentHostOutput`](crate::operation::create_environment_host::CreateEnvironmentHostOutput) with field(s):
    ///   - [`environment_summary(Option<EnvironmentSummary>)`](crate::operation::create_environment_host::CreateEnvironmentHostOutput::environment_summary): <p>A summary of the environment that the host is created in.</p>
    ///   - [`host(Option<Host>)`](crate::operation::create_environment_host::CreateEnvironmentHostOutput::host): <p>A description of the created host.</p>
    /// - On failure, responds with [`SdkError<CreateEnvironmentHostError>`](crate::operation::create_environment_host::CreateEnvironmentHostError)
    pub fn create_environment_host(&self) -> crate::operation::create_environment_host::builders::CreateEnvironmentHostFluentBuilder {
        crate::operation::create_environment_host::builders::CreateEnvironmentHostFluentBuilder::new(self.handle.clone())
    }
}