ex_aws_acm v1.0.0 ExAws.ACM

Operations for AWS Certificate Manager.

Basic Usage

ExAws.ACM.request_certificate("helloworld.example.com", validation_method: "DNS") |> ExAws.request!()

Link to this section Summary

Functions

Adds one or more tags to an ACM certificate.

Deletes a certificate and its associated private key.

Returns detailed metadata about the specified ACM certificate.

Exports a private certificate issued by a private certificate authority (CA).

Retrieves an Amazon-issued certificate and its certificate chain.

Imports a certificate into AWS Certificate Manager (ACM) to use with services that are integrated with ACM.

Retrieves a list of certificate ARNs and domain names.

Lists the tags that have been applied to the ACM certificate.

Remove one or more tags from an ACM certificate.

Renews an eligable ACM certificate. At this time, only exported private certificates can be renewed with this operation.

Requests an ACM certificate for use with other AWS services.

Resends the email that requests domain ownership validation.

Link to this section Types

Link to this type

certificate_arn()

Specs

certificate_arn() :: String.t()
Link to this type

certificate_options()

Specs

certificate_options() :: [
  {:certificate_transparency_logging_preference, String.t()}
]
Link to this type

domain_validation_option()

Specs

domain_validation_option() :: %{
  domain_name: String.t(),
  validation_domain: String.t()
}

Specs

filter() :: %{
  extended_key_usage: [String.t()],
  key_types: [String.t()],
  key_usage: [String.t()]
}
Link to this type

import_certificate_opts()

Specs

import_certificate_opts() :: [
  certificate_arn: certificate_arn(),
  certificate_chain: binary(),
  tags: [tag()]
]
Link to this type

list_certificates_opts()

Specs

list_certificates_opts() :: [
  certificate_statuses: String.t(),
  includes: filter(),
  max_items: pos_integer(),
  next_token: String.t()
]
Link to this type

request_certificate_opts()

Specs

request_certificate_opts() :: [
  certificate_authority_arn: String.t(),
  domain_validation_options: domain_validation_option(),
  idempotency_token: String.t(),
  options: certificate_options(),
  subject_alternative_names: [String.t()],
  tags: [tag()],
  validation_method: String.t()
]

Specs

tag() :: %{key: String.t(), value: String.t()}

Link to this section Functions

Link to this function

add_tags_to_certificate(certificate_arn, tags)

Specs

add_tags_to_certificate(certificate_arn(), [tag()]) :: ExAws.Operation.JSON.t()

Adds one or more tags to an ACM certificate.

Link to this function

delete_certificate(certificate_arn)

Specs

delete_certificate(certificate_arn()) :: ExAws.Operation.JSON.t()

Deletes a certificate and its associated private key.

Link to this function

describe_certificate(certificate_arn)

Specs

describe_certificate(certificate_arn()) :: ExAws.Operation.JSON.t()

Returns detailed metadata about the specified ACM certificate.

Link to this function

export_certificate(certificate_arn, passphrase)

Specs

export_certificate(certificate_arn(), binary()) :: ExAws.Operation.JSON.t()

Exports a private certificate issued by a private certificate authority (CA).

Link to this function

get_certificate(certificate_arn)

Specs

get_certificate(certificate_arn()) :: ExAws.Operation.JSON.t()

Retrieves an Amazon-issued certificate and its certificate chain.

Link to this function

import_certificate(certificate, private_key, opts \\ [])

Specs

import_certificate(binary(), binary(), import_certificate_opts()) ::
  ExAws.Operation.JSON.t()

Imports a certificate into AWS Certificate Manager (ACM) to use with services that are integrated with ACM.

Link to this function

list_certificates(opts \\ [])

Specs

Retrieves a list of certificate ARNs and domain names.

Link to this function

list_tags_for_certificate(certificate_arn)

Specs

list_tags_for_certificate(certificate_arn()) :: ExAws.Operation.JSON.t()

Lists the tags that have been applied to the ACM certificate.

Link to this function

remove_tags_from_certificate(certificate_arn, tags)

Specs

remove_tags_from_certificate(certificate_arn(), [tag()]) ::
  ExAws.Operation.JSON.t()

Remove one or more tags from an ACM certificate.

Link to this function

renew_certificate(certificate_arn)

Specs

renew_certificate(String.t()) :: ExAws.Operation.JSON.t()

Renews an eligable ACM certificate. At this time, only exported private certificates can be renewed with this operation.

Link to this function

request_certificate(domain_name, opts \\ [])

Specs

Requests an ACM certificate for use with other AWS services.

Link to this function

resend_validation_email(certificate_arn, domain, validation_domain)

Specs

resend_validation_email(certificate_arn(), String.t(), String.t()) ::
  ExAws.Operation.JSON.t()

Resends the email that requests domain ownership validation.

Link to this function

update_certificate_options(certificate_arn, options)

Specs

update_certificate_options(certificate_arn(), certificate_options()) ::
  ExAws.Operation.JSON.t()

Updates a certificate.