aws_sdk_vpclattice/client/
create_service_network_service_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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateServiceNetworkServiceAssociation`](crate::operation::create_service_network_service_association::builders::CreateServiceNetworkServiceAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_service_network_service_association::builders::CreateServiceNetworkServiceAssociationFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_service_network_service_association::builders::CreateServiceNetworkServiceAssociationFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.</p><br>
    ///   - [`service_identifier(impl Into<String>)`](crate::operation::create_service_network_service_association::builders::CreateServiceNetworkServiceAssociationFluentBuilder::service_identifier) / [`set_service_identifier(Option<String>)`](crate::operation::create_service_network_service_association::builders::CreateServiceNetworkServiceAssociationFluentBuilder::set_service_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the service.</p><br>
    ///   - [`service_network_identifier(impl Into<String>)`](crate::operation::create_service_network_service_association::builders::CreateServiceNetworkServiceAssociationFluentBuilder::service_network_identifier) / [`set_service_network_identifier(Option<String>)`](crate::operation::create_service_network_service_association::builders::CreateServiceNetworkServiceAssociationFluentBuilder::set_service_network_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN if the resources specified in the operation are in different accounts.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_service_network_service_association::builders::CreateServiceNetworkServiceAssociationFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_service_network_service_association::builders::CreateServiceNetworkServiceAssociationFluentBuilder::set_tags):<br>required: **false**<br><p>The tags for the association.</p><br>
    /// - On success, responds with [`CreateServiceNetworkServiceAssociationOutput`](crate::operation::create_service_network_service_association::CreateServiceNetworkServiceAssociationOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::create_service_network_service_association::CreateServiceNetworkServiceAssociationOutput::id): <p>The ID of the association.</p>
    ///   - [`status(Option<ServiceNetworkServiceAssociationStatus>)`](crate::operation::create_service_network_service_association::CreateServiceNetworkServiceAssociationOutput::status): <p>The association status.</p>
    ///   - [`arn(Option<String>)`](crate::operation::create_service_network_service_association::CreateServiceNetworkServiceAssociationOutput::arn): <p>The Amazon Resource Name (ARN) of the association.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::create_service_network_service_association::CreateServiceNetworkServiceAssociationOutput::created_by): <p>The account that created the association.</p>
    ///   - [`custom_domain_name(Option<String>)`](crate::operation::create_service_network_service_association::CreateServiceNetworkServiceAssociationOutput::custom_domain_name): <p>The custom domain name of the service.</p>
    ///   - [`dns_entry(Option<DnsEntry>)`](crate::operation::create_service_network_service_association::CreateServiceNetworkServiceAssociationOutput::dns_entry): <p>The DNS name of the service.</p>
    /// - On failure, responds with [`SdkError<CreateServiceNetworkServiceAssociationError>`](crate::operation::create_service_network_service_association::CreateServiceNetworkServiceAssociationError)
    pub fn create_service_network_service_association(
        &self,
    ) -> crate::operation::create_service_network_service_association::builders::CreateServiceNetworkServiceAssociationFluentBuilder {
        crate::operation::create_service_network_service_association::builders::CreateServiceNetworkServiceAssociationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}