aws_sdk_vpclattice/client/
delete_service_network_vpc_association.rs

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