Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateCertificateAuthorityCommand

Updates the status or configuration of a private certificate authority (CA). Your private CA must be in the ACTIVE or DISABLED state before you can update it. You can disable a private CA that is in the ACTIVE state or make a CA that is in the DISABLED state active again.

Both PCA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see Access policies for CRLs in Amazon S3.

example

Use a bare-bones client and the command you need to make an API call.

import { ACMPCAClient, UpdateCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
// const { ACMPCAClient, UpdateCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
const client = new ACMPCAClient(config);
const command = new UpdateCertificateAuthorityCommand(input);
const response = await client.send(command);
see

UpdateCertificateAuthorityCommandInput for command's input shape.

see

UpdateCertificateAuthorityCommandOutput for command's response shape.

see

config for ACMPCAClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: UpdateCertificateAuthorityCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions