aws_sdk_ssm/client/delete_association.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteAssociation`](crate::operation::delete_association::builders::DeleteAssociationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::delete_association::builders::DeleteAssociationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_association::builders::DeleteAssociationFluentBuilder::set_name):<br>required: **false**<br><p>The name of the SSM document.</p><br>
/// - [`instance_id(impl Into<String>)`](crate::operation::delete_association::builders::DeleteAssociationFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::delete_association::builders::DeleteAssociationFluentBuilder::set_instance_id):<br>required: **false**<br><p>The managed node ID.</p><note> <p><code>InstanceId</code> has been deprecated. To specify a managed node ID for an association, use the <code>Targets</code> parameter. Requests that include the parameter <code>InstanceID</code> with Systems Manager documents (SSM documents) that use schema version 2.0 or later will fail. In addition, if you use the parameter <code>InstanceId</code>, you can't use the parameters <code>AssociationName</code>, <code>DocumentVersion</code>, <code>MaxErrors</code>, <code>MaxConcurrency</code>, <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these parameters, you must use the <code>Targets</code> parameter.</p> </note><br>
/// - [`association_id(impl Into<String>)`](crate::operation::delete_association::builders::DeleteAssociationFluentBuilder::association_id) / [`set_association_id(Option<String>)`](crate::operation::delete_association::builders::DeleteAssociationFluentBuilder::set_association_id):<br>required: **false**<br><p>The association ID that you want to delete.</p><br>
/// - On success, responds with [`DeleteAssociationOutput`](crate::operation::delete_association::DeleteAssociationOutput)
/// - On failure, responds with [`SdkError<DeleteAssociationError>`](crate::operation::delete_association::DeleteAssociationError)
pub fn delete_association(&self) -> crate::operation::delete_association::builders::DeleteAssociationFluentBuilder {
crate::operation::delete_association::builders::DeleteAssociationFluentBuilder::new(self.handle.clone())
}
}