aws_sdk_iotfleetwise/client/delete_state_template.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 [`DeleteStateTemplate`](crate::operation::delete_state_template::builders::DeleteStateTemplateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identifier(impl Into<String>)`](crate::operation::delete_state_template::builders::DeleteStateTemplateFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_state_template::builders::DeleteStateTemplateFluentBuilder::set_identifier):<br>required: **true**<br><p>A unique, service-generated identifier.</p><br>
7 /// - On success, responds with [`DeleteStateTemplateOutput`](crate::operation::delete_state_template::DeleteStateTemplateOutput) with field(s):
8 /// - [`name(Option<String>)`](crate::operation::delete_state_template::DeleteStateTemplateOutput::name): <p>The name of the state template.</p>
9 /// - [`arn(Option<String>)`](crate::operation::delete_state_template::DeleteStateTemplateOutput::arn): <p>The Amazon Resource Name (ARN) of the state template.</p>
10 /// - [`id(Option<String>)`](crate::operation::delete_state_template::DeleteStateTemplateOutput::id): <p>The unique ID of the state template.</p>
11 /// - On failure, responds with [`SdkError<DeleteStateTemplateError>`](crate::operation::delete_state_template::DeleteStateTemplateError)
12 pub fn delete_state_template(&self) -> crate::operation::delete_state_template::builders::DeleteStateTemplateFluentBuilder {
13 crate::operation::delete_state_template::builders::DeleteStateTemplateFluentBuilder::new(self.handle.clone())
14 }
15}