aws_sdk_vpclattice/client/
delete_service_network_resource_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 [`DeleteServiceNetworkResourceAssociation`](crate::operation::delete_service_network_resource_association::builders::DeleteServiceNetworkResourceAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_network_resource_association_identifier(impl Into<String>)`](crate::operation::delete_service_network_resource_association::builders::DeleteServiceNetworkResourceAssociationFluentBuilder::service_network_resource_association_identifier) / [`set_service_network_resource_association_identifier(Option<String>)`](crate::operation::delete_service_network_resource_association::builders::DeleteServiceNetworkResourceAssociationFluentBuilder::set_service_network_resource_association_identifier):<br>required: **true**<br><p>The ID of the association.</p><br>
    /// - On success, responds with [`DeleteServiceNetworkResourceAssociationOutput`](crate::operation::delete_service_network_resource_association::DeleteServiceNetworkResourceAssociationOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::delete_service_network_resource_association::DeleteServiceNetworkResourceAssociationOutput::id): <p>The ID of the association.</p>
    ///   - [`arn(Option<String>)`](crate::operation::delete_service_network_resource_association::DeleteServiceNetworkResourceAssociationOutput::arn): <p>The Amazon Resource Name (ARN) of the association.</p>
    ///   - [`status(Option<ServiceNetworkResourceAssociationStatus>)`](crate::operation::delete_service_network_resource_association::DeleteServiceNetworkResourceAssociationOutput::status): <p>The status of the association.</p>
    /// - On failure, responds with [`SdkError<DeleteServiceNetworkResourceAssociationError>`](crate::operation::delete_service_network_resource_association::DeleteServiceNetworkResourceAssociationError)
    pub fn delete_service_network_resource_association(
        &self,
    ) -> crate::operation::delete_service_network_resource_association::builders::DeleteServiceNetworkResourceAssociationFluentBuilder {
        crate::operation::delete_service_network_resource_association::builders::DeleteServiceNetworkResourceAssociationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}