aws_sdk_vpclattice/client/
get_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
21
22
23
24
25
26
27
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetServiceNetworkVpcAssociation`](crate::operation::get_service_network_vpc_association::builders::GetServiceNetworkVpcAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_network_vpc_association_identifier(impl Into<String>)`](crate::operation::get_service_network_vpc_association::builders::GetServiceNetworkVpcAssociationFluentBuilder::service_network_vpc_association_identifier) / [`set_service_network_vpc_association_identifier(Option<String>)`](crate::operation::get_service_network_vpc_association::builders::GetServiceNetworkVpcAssociationFluentBuilder::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 [`GetServiceNetworkVpcAssociationOutput`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::id): <p>The ID of the specified association between the service network and the VPC.</p>
    ///   - [`status(Option<ServiceNetworkVpcAssociationStatus>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::status): <p>The status of the association.</p>
    ///   - [`arn(Option<String>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::arn): <p>The Amazon Resource Name (ARN) of the association.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::created_by): <p>The account that created the association.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::created_at): <p>The date and time that the association was created, specified in ISO-8601 format.</p>
    ///   - [`service_network_id(Option<String>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::service_network_id): <p>The ID of the service network.</p>
    ///   - [`service_network_name(Option<String>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::service_network_name): <p>The name of the service network.</p>
    ///   - [`service_network_arn(Option<String>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::service_network_arn): <p>The Amazon Resource Name (ARN) of the service network.</p>
    ///   - [`vpc_id(Option<String>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::vpc_id): <p>The ID of the VPC.</p>
    ///   - [`security_group_ids(Option<Vec::<String>>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::security_group_ids): <p>The IDs of the security groups.</p>
    ///   - [`failure_message(Option<String>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::failure_message): <p>The failure message.</p>
    ///   - [`failure_code(Option<String>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::failure_code): <p>The failure code.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationOutput::last_updated_at): <p>The date and time that the association was last updated, specified in ISO-8601 format.</p>
    /// - On failure, responds with [`SdkError<GetServiceNetworkVpcAssociationError>`](crate::operation::get_service_network_vpc_association::GetServiceNetworkVpcAssociationError)
    pub fn get_service_network_vpc_association(
        &self,
    ) -> crate::operation::get_service_network_vpc_association::builders::GetServiceNetworkVpcAssociationFluentBuilder {
        crate::operation::get_service_network_vpc_association::builders::GetServiceNetworkVpcAssociationFluentBuilder::new(self.handle.clone())
    }
}