aws_sdk_evs/client/delete_environment_host.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 [`DeleteEnvironmentHost`](crate::operation::delete_environment_host::builders::DeleteEnvironmentHostFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`client_token(impl Into<String>)`](crate::operation::delete_environment_host::builders::DeleteEnvironmentHostFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_environment_host::builders::DeleteEnvironmentHostFluentBuilder::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 deletion request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.</p><br>
7 /// - [`environment_id(impl Into<String>)`](crate::operation::delete_environment_host::builders::DeleteEnvironmentHostFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::delete_environment_host::builders::DeleteEnvironmentHostFluentBuilder::set_environment_id):<br>required: **true**<br><p>A unique ID for the host's environment.</p><br>
8 /// - [`host_name(impl Into<String>)`](crate::operation::delete_environment_host::builders::DeleteEnvironmentHostFluentBuilder::host_name) / [`set_host_name(Option<String>)`](crate::operation::delete_environment_host::builders::DeleteEnvironmentHostFluentBuilder::set_host_name):<br>required: **true**<br><p>The DNS hostname associated with the host to be deleted.</p><br>
9 /// - On success, responds with [`DeleteEnvironmentHostOutput`](crate::operation::delete_environment_host::DeleteEnvironmentHostOutput) with field(s):
10 /// - [`environment_summary(Option<EnvironmentSummary>)`](crate::operation::delete_environment_host::DeleteEnvironmentHostOutput::environment_summary): <p>A summary of the environment that the host was deleted from.</p>
11 /// - [`host(Option<Host>)`](crate::operation::delete_environment_host::DeleteEnvironmentHostOutput::host): <p>A description of the deleted host.</p>
12 /// - On failure, responds with [`SdkError<DeleteEnvironmentHostError>`](crate::operation::delete_environment_host::DeleteEnvironmentHostError)
13 pub fn delete_environment_host(&self) -> crate::operation::delete_environment_host::builders::DeleteEnvironmentHostFluentBuilder {
14 crate::operation::delete_environment_host::builders::DeleteEnvironmentHostFluentBuilder::new(self.handle.clone())
15 }
16}