Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class AssociateWebsiteCertificateAuthorityCommandProtected

Deprecated

Imports the root certificate of a certificate authority (CA) used to obtain TLS certificates used by associated websites within the company network.

Example

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

import { WorkLinkClient, AssociateWebsiteCertificateAuthorityCommand } from "@aws-sdk/client-worklink"; // ES Modules import
// const { WorkLinkClient, AssociateWebsiteCertificateAuthorityCommand } = require("@aws-sdk/client-worklink"); // CommonJS import
const client = new WorkLinkClient(config);
const input = { // AssociateWebsiteCertificateAuthorityRequest
FleetArn: "STRING_VALUE", // required
Certificate: "STRING_VALUE", // required
DisplayName: "STRING_VALUE",
};
const command = new AssociateWebsiteCertificateAuthorityCommand(input);
const response = await client.send(command);
// { // AssociateWebsiteCertificateAuthorityResponse
// WebsiteCaId: "STRING_VALUE",
// };

Param

AssociateWebsiteCertificateAuthorityCommandInput

Returns

AssociateWebsiteCertificateAuthorityCommandOutput

See

Throws

InternalServerErrorException (server fault)

The service is temporarily unavailable.

Throws

InvalidRequestException (client fault)

The request is not valid.

Throws

ResourceAlreadyExistsException (client fault)

The resource already exists.

Throws

ResourceNotFoundException (client fault)

The requested resource was not found.

Throws

TooManyRequestsException (client fault)

The number of requests exceeds the limit.

Throws

UnauthorizedException (client fault)

You are not authorized to perform this action.

Throws

WorkLinkServiceException

Base exception class for all service exceptions from WorkLink service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods