aws_sdk_vpclattice/client/
delete_service_network_service_association.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteServiceNetworkServiceAssociation`](crate::operation::delete_service_network_service_association::builders::DeleteServiceNetworkServiceAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_network_service_association_identifier(impl Into<String>)`](crate::operation::delete_service_network_service_association::builders::DeleteServiceNetworkServiceAssociationFluentBuilder::service_network_service_association_identifier) / [`set_service_network_service_association_identifier(Option<String>)`](crate::operation::delete_service_network_service_association::builders::DeleteServiceNetworkServiceAssociationFluentBuilder::set_service_network_service_association_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the association.</p><br>
    /// - On success, responds with [`DeleteServiceNetworkServiceAssociationOutput`](crate::operation::delete_service_network_service_association::DeleteServiceNetworkServiceAssociationOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::delete_service_network_service_association::DeleteServiceNetworkServiceAssociationOutput::id): <p>The ID of the association.</p>
    ///   - [`status(Option<ServiceNetworkServiceAssociationStatus>)`](crate::operation::delete_service_network_service_association::DeleteServiceNetworkServiceAssociationOutput::status): <p>The status. You can retry the operation if the status is <code>DELETE_FAILED</code>. However, if you retry it when the status is <code>DELETE_IN_PROGRESS</code>, there is no change in the status.</p>
    ///   - [`arn(Option<String>)`](crate::operation::delete_service_network_service_association::DeleteServiceNetworkServiceAssociationOutput::arn): <p>The Amazon Resource Name (ARN) of the association.</p>
    /// - On failure, responds with [`SdkError<DeleteServiceNetworkServiceAssociationError>`](crate::operation::delete_service_network_service_association::DeleteServiceNetworkServiceAssociationError)
    pub fn delete_service_network_service_association(
        &self,
    ) -> crate::operation::delete_service_network_service_association::builders::DeleteServiceNetworkServiceAssociationFluentBuilder {
        crate::operation::delete_service_network_service_association::builders::DeleteServiceNetworkServiceAssociationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}