You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::ACMPCA

Defined in:
(unknown)

Overview

This module provides a client for making API requests to AWS Certificate Manager Private Certificate Authority.

Aws::ACMPCA::Client

The Client class provides one-to-one mapping for each API operation.

acmpca = Aws::ACMPCA::Client.new(region: 'us-east-1')
acmpca.operation_names
#=> [:create_certificate_authority, :create_certificate_authority_audit_report, :create_permission, :delete_certificate_authority, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = acmpca.create_certificate_authority(params)

See Client for more information.

Aws::ACMPCA::Errors

Errors returned from AWS Certificate Manager Private Certificate Authority are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::ACMPCA::Errors::ServiceError
  # rescues all errors returned by AWS Certificate Manager Private Certificate Authority
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client