aws_sdk_vpclattice/client/
get_service_network_resource_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
28
29
30
31
32
33
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetServiceNetworkResourceAssociation`](crate::operation::get_service_network_resource_association::builders::GetServiceNetworkResourceAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_network_resource_association_identifier(impl Into<String>)`](crate::operation::get_service_network_resource_association::builders::GetServiceNetworkResourceAssociationFluentBuilder::service_network_resource_association_identifier) / [`set_service_network_resource_association_identifier(Option<String>)`](crate::operation::get_service_network_resource_association::builders::GetServiceNetworkResourceAssociationFluentBuilder::set_service_network_resource_association_identifier):<br>required: **true**<br><p>The ID of the association.</p><br>
    /// - On success, responds with [`GetServiceNetworkResourceAssociationOutput`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::id): <p>The ID of the association.</p>
    ///   - [`arn(Option<String>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::arn): <p>The Amazon Resource Name (ARN) of the association.</p>
    ///   - [`status(Option<ServiceNetworkResourceAssociationStatus>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::status): <p>The status of the association.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::created_by): <p>The account that created the association.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::created_at): <p>The date and time that the association was created, in ISO-8601 format.</p>
    ///   - [`resource_configuration_id(Option<String>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::resource_configuration_id): <p>The ID of the resource configuration that is associated with the service network.</p>
    ///   - [`resource_configuration_arn(Option<String>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::resource_configuration_arn): <p>The Amazon Resource Name (ARN) of the association.</p>
    ///   - [`resource_configuration_name(Option<String>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::resource_configuration_name): <p>The name of the resource configuration that is associated with the service network.</p>
    ///   - [`service_network_id(Option<String>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::service_network_id): <p>The ID of the service network that is associated with the resource configuration.</p>
    ///   - [`service_network_arn(Option<String>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::service_network_arn): <p>The Amazon Resource Name (ARN) of the service network that is associated with the resource configuration.</p>
    ///   - [`service_network_name(Option<String>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::service_network_name): <p>The name of the service network that is associated with the resource configuration.</p>
    ///   - [`failure_reason(Option<String>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::failure_reason): <p>The reason the association request failed.</p>
    ///   - [`failure_code(Option<String>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::failure_code): <p>The failure code.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::last_updated_at): <p>The most recent date and time that the association was updated, in ISO-8601 format.</p>
    ///   - [`private_dns_entry(Option<DnsEntry>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::private_dns_entry): <p>The private DNS entry for the service.</p>
    ///   - [`dns_entry(Option<DnsEntry>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::dns_entry): <p>The DNS entry for the service.</p>
    ///   - [`is_managed_association(Option<bool>)`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationOutput::is_managed_association): <p>Indicates whether the association is managed by Amazon.</p>
    /// - On failure, responds with [`SdkError<GetServiceNetworkResourceAssociationError>`](crate::operation::get_service_network_resource_association::GetServiceNetworkResourceAssociationError)
    pub fn get_service_network_resource_association(
        &self,
    ) -> crate::operation::get_service_network_resource_association::builders::GetServiceNetworkResourceAssociationFluentBuilder {
        crate::operation::get_service_network_resource_association::builders::GetServiceNetworkResourceAssociationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}