import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CreateActivationRequest, CreateActivationResult } from "../models/models_0"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateActivationCommand}. */ export interface CreateActivationCommandInput extends CreateActivationRequest { } /** * @public * * The output of {@link CreateActivationCommand}. */ export interface CreateActivationCommandOutput extends CreateActivationResult, __MetadataBearer { } declare const CreateActivationCommand_base: { new (input: CreateActivationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateActivationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Generates an activation code and activation ID you can use to register your on-premises * servers, edge devices, or virtual machine (VM) with Amazon Web Services Systems Manager. Registering these machines with * Systems Manager makes it possible to manage them using Systems Manager tools. You use the activation code and ID when * installing SSM Agent on machines in your hybrid environment. For more information about * requirements for managing on-premises machines using Systems Manager, see Using Amazon Web Services Systems Manager in * hybrid and multicloud environments in the Amazon Web Services Systems Manager User Guide.

* *

Amazon Elastic Compute Cloud (Amazon EC2) instances, edge devices, and on-premises servers and VMs that are * configured for Systems Manager are all called managed nodes.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, CreateActivationCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, CreateActivationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // CreateActivationRequest * Description: "STRING_VALUE", * DefaultInstanceName: "STRING_VALUE", * IamRole: "STRING_VALUE", // required * RegistrationLimit: Number("int"), * ExpirationDate: new Date("TIMESTAMP"), * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * RegistrationMetadata: [ // RegistrationMetadataList * { // RegistrationMetadataItem * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateActivationCommand(input); * const response = await client.send(command); * // { // CreateActivationResult * // ActivationId: "STRING_VALUE", * // ActivationCode: "STRING_VALUE", * // }; * * ``` * * @param CreateActivationCommandInput - {@link CreateActivationCommandInput} * @returns {@link CreateActivationCommandOutput} * @see {@link CreateActivationCommandInput} for command's `input` shape. * @see {@link CreateActivationCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An error occurred on the server side.

* * @throws {@link InvalidParameters} (client fault) *

You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM * document). You can only supply values to parameters defined in the SSM document.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class CreateActivationCommand extends CreateActivationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateActivationRequest; output: CreateActivationResult; }; sdk: { input: CreateActivationCommandInput; output: CreateActivationCommandOutput; }; }; }