aws-sdk-rtbfabric 1.25.0

AWS SDK for RTBFabric
Documentation
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 [`AssociateCertificate`](crate::operation::associate_certificate::builders::AssociateCertificateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_id(impl Into<String>)`](crate::operation::associate_certificate::builders::AssociateCertificateFluentBuilder::gateway_id) / [`set_gateway_id(Option<String>)`](crate::operation::associate_certificate::builders::AssociateCertificateFluentBuilder::set_gateway_id):<br>required: **true**<br><p>The unique identifier of the gateway.</p><br>
    ///   - [`acm_certificate_arn(impl Into<String>)`](crate::operation::associate_certificate::builders::AssociateCertificateFluentBuilder::acm_certificate_arn) / [`set_acm_certificate_arn(Option<String>)`](crate::operation::associate_certificate::builders::AssociateCertificateFluentBuilder::set_acm_certificate_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the ACM certificate to associate.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::associate_certificate::builders::AssociateCertificateFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::associate_certificate::builders::AssociateCertificateFluentBuilder::set_client_token):<br>required: **true**<br><p>Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of value</a>.</p> <p>If you don't provide this value, then Amazon Web Services generates a random one for you.</p> <p>If you retry the operation with the same <code>ClientToken</code>, but with different parameters, the retry fails with an <code>IdempotentParameterMismatch</code> error.</p><br>
    /// - On success, responds with [`AssociateCertificateOutput`](crate::operation::associate_certificate::AssociateCertificateOutput) with field(s):
    ///   - [`gateway_id(String)`](crate::operation::associate_certificate::AssociateCertificateOutput::gateway_id): <p>The unique identifier of the gateway.</p>
    ///   - [`acm_certificate_arn(String)`](crate::operation::associate_certificate::AssociateCertificateOutput::acm_certificate_arn): <p>The Amazon Resource Name (ARN) of the ACM certificate.</p>
    ///   - [`status(CertificateAssociationStatus)`](crate::operation::associate_certificate::AssociateCertificateOutput::status): <p>The status of the certificate association.</p>
    /// - On failure, responds with [`SdkError<AssociateCertificateError>`](crate::operation::associate_certificate::AssociateCertificateError)
    pub fn associate_certificate(&self) -> crate::operation::associate_certificate::builders::AssociateCertificateFluentBuilder {
        crate::operation::associate_certificate::builders::AssociateCertificateFluentBuilder::new(self.handle.clone())
    }
}