aws_sdk_vpclattice/client/
update_service_network_vpc_association.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateServiceNetworkVpcAssociation`](crate::operation::update_service_network_vpc_association::builders::UpdateServiceNetworkVpcAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_network_vpc_association_identifier(impl Into<String>)`](crate::operation::update_service_network_vpc_association::builders::UpdateServiceNetworkVpcAssociationFluentBuilder::service_network_vpc_association_identifier) / [`set_service_network_vpc_association_identifier(Option<String>)`](crate::operation::update_service_network_vpc_association::builders::UpdateServiceNetworkVpcAssociationFluentBuilder::set_service_network_vpc_association_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the association.</p><br>
    ///   - [`security_group_ids(impl Into<String>)`](crate::operation::update_service_network_vpc_association::builders::UpdateServiceNetworkVpcAssociationFluentBuilder::security_group_ids) / [`set_security_group_ids(Option<Vec::<String>>)`](crate::operation::update_service_network_vpc_association::builders::UpdateServiceNetworkVpcAssociationFluentBuilder::set_security_group_ids):<br>required: **true**<br><p>The IDs of the security groups.</p><br>
    /// - On success, responds with [`UpdateServiceNetworkVpcAssociationOutput`](crate::operation::update_service_network_vpc_association::UpdateServiceNetworkVpcAssociationOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::update_service_network_vpc_association::UpdateServiceNetworkVpcAssociationOutput::id): <p>The ID of the association.</p>
    ///   - [`arn(Option<String>)`](crate::operation::update_service_network_vpc_association::UpdateServiceNetworkVpcAssociationOutput::arn): <p>The Amazon Resource Name (ARN) of the association.</p>
    ///   - [`status(Option<ServiceNetworkVpcAssociationStatus>)`](crate::operation::update_service_network_vpc_association::UpdateServiceNetworkVpcAssociationOutput::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>
    ///   - [`created_by(Option<String>)`](crate::operation::update_service_network_vpc_association::UpdateServiceNetworkVpcAssociationOutput::created_by): <p>The account that created the association.</p>
    ///   - [`security_group_ids(Option<Vec::<String>>)`](crate::operation::update_service_network_vpc_association::UpdateServiceNetworkVpcAssociationOutput::security_group_ids): <p>The IDs of the security groups.</p>
    /// - On failure, responds with [`SdkError<UpdateServiceNetworkVpcAssociationError>`](crate::operation::update_service_network_vpc_association::UpdateServiceNetworkVpcAssociationError)
    pub fn update_service_network_vpc_association(
        &self,
    ) -> crate::operation::update_service_network_vpc_association::builders::UpdateServiceNetworkVpcAssociationFluentBuilder {
        crate::operation::update_service_network_vpc_association::builders::UpdateServiceNetworkVpcAssociationFluentBuilder::new(self.handle.clone())
    }
}