Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TagCertificateAuthorityCommand

Adds one or more tags to your private CA. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a key and an optional value. You specify the private CA on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. You can apply a tag to just one private CA if you want to identify a specific characteristic of that CA, or you can apply the same tag to multiple private CAs if you want to filter for a common relationship among those CAs. To remove one or more tags, use the UntagCertificateAuthority action. Call the ListTags action to see what tags are associated with your CA.

example

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

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

TagCertificateAuthorityCommandInput for command's input shape.

see

TagCertificateAuthorityCommandOutput for command's response shape.

see

config for ACMPCAClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: TagCertificateAuthorityCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions