aws_sdk_ssmcontacts/client/
delete_contact.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 [`DeleteContact`](crate::operation::delete_contact::builders::DeleteContactFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`contact_id(impl Into<String>)`](crate::operation::delete_contact::builders::DeleteContactFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::delete_contact::builders::DeleteContactFluentBuilder::set_contact_id):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the contact that you're deleting.</p><br>
7    /// - On success, responds with [`DeleteContactOutput`](crate::operation::delete_contact::DeleteContactOutput)
8    /// - On failure, responds with [`SdkError<DeleteContactError>`](crate::operation::delete_contact::DeleteContactError)
9    pub fn delete_contact(&self) -> crate::operation::delete_contact::builders::DeleteContactFluentBuilder {
10        crate::operation::delete_contact::builders::DeleteContactFluentBuilder::new(self.handle.clone())
11    }
12}