pub struct Client { /* private fields */ }
Expand description

Client for AWS Certificate Manager

Client for invoking operations on AWS Certificate Manager. Each operation on AWS Certificate Manager is a method on this this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.

Examples

Constructing a client and invoking an operation

    // create a shared configuration. This can be used & shared between multiple service clients.
    let shared_config = aws_config::load_from_env().await;
    let client = aws_sdk_acm::Client::new(&shared_config);
    // invoke an operation
    /* let rsp = client
        .<operation_name>().
        .<param>("some value")
        .send().await; */

Constructing a client with custom configuration

use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_acm::config::Builder::from(&shared_config)
  .retry_config(RetryConfig::disabled())
  .build();
let client = aws_sdk_acm::Client::from_conf(config);

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the AddTagsToCertificate operation.

Constructs a fluent builder for the DeleteCertificate operation.

Constructs a fluent builder for the DescribeCertificate operation.

Constructs a fluent builder for the ExportCertificate operation.

Constructs a fluent builder for the GetAccountConfiguration operation.

Constructs a fluent builder for the GetCertificate operation.

Constructs a fluent builder for the ImportCertificate operation.

Constructs a fluent builder for the ListCertificates operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the ListTagsForCertificate operation.

Constructs a fluent builder for the PutAccountConfiguration operation.

Constructs a fluent builder for the RemoveTagsFromCertificate operation.

Constructs a fluent builder for the RenewCertificate operation.

Constructs a fluent builder for the RequestCertificate operation.

Constructs a fluent builder for the ResendValidationEmail operation.

  • The fluent builder is configurable:
    • certificate_arn(impl Into<String>) / set_certificate_arn(Option<String>):

      String that contains the ARN of the requested certificate. The certificate ARN is generated and returned by the RequestCertificate action as soon as the request is made. By default, using this parameter causes email to be sent to all top-level domains you specified in the certificate request. The ARN must be of the form:

      arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012

    • domain(impl Into<String>) / set_domain(Option<String>):

      The fully qualified domain name (FQDN) of the certificate that needs to be validated.

    • validation_domain(impl Into<String>) / set_validation_domain(Option<String>):

      The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as the Domain value or a superdomain of the Domain value. For example, if you requested a certificate for site.subdomain.example.com and specify a ValidationDomain of subdomain.example.com, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses:

      • admin@subdomain.example.com

      • administrator@subdomain.example.com

      • hostmaster@subdomain.example.com

      • postmaster@subdomain.example.com

      • webmaster@subdomain.example.com

  • On success, responds with ResendValidationEmailOutput
  • On failure, responds with SdkError<ResendValidationEmailError>

Constructs a fluent builder for the UpdateCertificateOptions operation.

Creates a client with the given service config and connector override.

Creates a new client from a shared config.

Creates a new client from the service Config.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more