/clients/client-ssm/SSM.ts
https://github.com/aws/aws-sdk-js-v3 · TypeScript · 4971 lines · 3998 code · 122 blank · 851 comment · 1350 complexity · db6669684234cecf7bea5e99e4b49f39 MD5 · raw file
Large files are truncated click here to view the full file
- import { SSMClient } from "./SSMClient";
- import {
- AddTagsToResourceCommand,
- AddTagsToResourceCommandInput,
- AddTagsToResourceCommandOutput,
- } from "./commands/AddTagsToResourceCommand";
- import {
- CancelCommandCommand,
- CancelCommandCommandInput,
- CancelCommandCommandOutput,
- } from "./commands/CancelCommandCommand";
- import {
- CancelMaintenanceWindowExecutionCommand,
- CancelMaintenanceWindowExecutionCommandInput,
- CancelMaintenanceWindowExecutionCommandOutput,
- } from "./commands/CancelMaintenanceWindowExecutionCommand";
- import {
- CreateActivationCommand,
- CreateActivationCommandInput,
- CreateActivationCommandOutput,
- } from "./commands/CreateActivationCommand";
- import {
- CreateAssociationBatchCommand,
- CreateAssociationBatchCommandInput,
- CreateAssociationBatchCommandOutput,
- } from "./commands/CreateAssociationBatchCommand";
- import {
- CreateAssociationCommand,
- CreateAssociationCommandInput,
- CreateAssociationCommandOutput,
- } from "./commands/CreateAssociationCommand";
- import {
- CreateDocumentCommand,
- CreateDocumentCommandInput,
- CreateDocumentCommandOutput,
- } from "./commands/CreateDocumentCommand";
- import {
- CreateMaintenanceWindowCommand,
- CreateMaintenanceWindowCommandInput,
- CreateMaintenanceWindowCommandOutput,
- } from "./commands/CreateMaintenanceWindowCommand";
- import {
- CreateOpsItemCommand,
- CreateOpsItemCommandInput,
- CreateOpsItemCommandOutput,
- } from "./commands/CreateOpsItemCommand";
- import {
- CreatePatchBaselineCommand,
- CreatePatchBaselineCommandInput,
- CreatePatchBaselineCommandOutput,
- } from "./commands/CreatePatchBaselineCommand";
- import {
- CreateResourceDataSyncCommand,
- CreateResourceDataSyncCommandInput,
- CreateResourceDataSyncCommandOutput,
- } from "./commands/CreateResourceDataSyncCommand";
- import {
- DeleteActivationCommand,
- DeleteActivationCommandInput,
- DeleteActivationCommandOutput,
- } from "./commands/DeleteActivationCommand";
- import {
- DeleteAssociationCommand,
- DeleteAssociationCommandInput,
- DeleteAssociationCommandOutput,
- } from "./commands/DeleteAssociationCommand";
- import {
- DeleteDocumentCommand,
- DeleteDocumentCommandInput,
- DeleteDocumentCommandOutput,
- } from "./commands/DeleteDocumentCommand";
- import {
- DeleteInventoryCommand,
- DeleteInventoryCommandInput,
- DeleteInventoryCommandOutput,
- } from "./commands/DeleteInventoryCommand";
- import {
- DeleteMaintenanceWindowCommand,
- DeleteMaintenanceWindowCommandInput,
- DeleteMaintenanceWindowCommandOutput,
- } from "./commands/DeleteMaintenanceWindowCommand";
- import {
- DeleteParameterCommand,
- DeleteParameterCommandInput,
- DeleteParameterCommandOutput,
- } from "./commands/DeleteParameterCommand";
- import {
- DeleteParametersCommand,
- DeleteParametersCommandInput,
- DeleteParametersCommandOutput,
- } from "./commands/DeleteParametersCommand";
- import {
- DeletePatchBaselineCommand,
- DeletePatchBaselineCommandInput,
- DeletePatchBaselineCommandOutput,
- } from "./commands/DeletePatchBaselineCommand";
- import {
- DeleteResourceDataSyncCommand,
- DeleteResourceDataSyncCommandInput,
- DeleteResourceDataSyncCommandOutput,
- } from "./commands/DeleteResourceDataSyncCommand";
- import {
- DeregisterManagedInstanceCommand,
- DeregisterManagedInstanceCommandInput,
- DeregisterManagedInstanceCommandOutput,
- } from "./commands/DeregisterManagedInstanceCommand";
- import {
- DeregisterPatchBaselineForPatchGroupCommand,
- DeregisterPatchBaselineForPatchGroupCommandInput,
- DeregisterPatchBaselineForPatchGroupCommandOutput,
- } from "./commands/DeregisterPatchBaselineForPatchGroupCommand";
- import {
- DeregisterTargetFromMaintenanceWindowCommand,
- DeregisterTargetFromMaintenanceWindowCommandInput,
- DeregisterTargetFromMaintenanceWindowCommandOutput,
- } from "./commands/DeregisterTargetFromMaintenanceWindowCommand";
- import {
- DeregisterTaskFromMaintenanceWindowCommand,
- DeregisterTaskFromMaintenanceWindowCommandInput,
- DeregisterTaskFromMaintenanceWindowCommandOutput,
- } from "./commands/DeregisterTaskFromMaintenanceWindowCommand";
- import {
- DescribeActivationsCommand,
- DescribeActivationsCommandInput,
- DescribeActivationsCommandOutput,
- } from "./commands/DescribeActivationsCommand";
- import {
- DescribeAssociationCommand,
- DescribeAssociationCommandInput,
- DescribeAssociationCommandOutput,
- } from "./commands/DescribeAssociationCommand";
- import {
- DescribeAssociationExecutionTargetsCommand,
- DescribeAssociationExecutionTargetsCommandInput,
- DescribeAssociationExecutionTargetsCommandOutput,
- } from "./commands/DescribeAssociationExecutionTargetsCommand";
- import {
- DescribeAssociationExecutionsCommand,
- DescribeAssociationExecutionsCommandInput,
- DescribeAssociationExecutionsCommandOutput,
- } from "./commands/DescribeAssociationExecutionsCommand";
- import {
- DescribeAutomationExecutionsCommand,
- DescribeAutomationExecutionsCommandInput,
- DescribeAutomationExecutionsCommandOutput,
- } from "./commands/DescribeAutomationExecutionsCommand";
- import {
- DescribeAutomationStepExecutionsCommand,
- DescribeAutomationStepExecutionsCommandInput,
- DescribeAutomationStepExecutionsCommandOutput,
- } from "./commands/DescribeAutomationStepExecutionsCommand";
- import {
- DescribeAvailablePatchesCommand,
- DescribeAvailablePatchesCommandInput,
- DescribeAvailablePatchesCommandOutput,
- } from "./commands/DescribeAvailablePatchesCommand";
- import {
- DescribeDocumentCommand,
- DescribeDocumentCommandInput,
- DescribeDocumentCommandOutput,
- } from "./commands/DescribeDocumentCommand";
- import {
- DescribeDocumentPermissionCommand,
- DescribeDocumentPermissionCommandInput,
- DescribeDocumentPermissionCommandOutput,
- } from "./commands/DescribeDocumentPermissionCommand";
- import {
- DescribeEffectiveInstanceAssociationsCommand,
- DescribeEffectiveInstanceAssociationsCommandInput,
- DescribeEffectiveInstanceAssociationsCommandOutput,
- } from "./commands/DescribeEffectiveInstanceAssociationsCommand";
- import {
- DescribeEffectivePatchesForPatchBaselineCommand,
- DescribeEffectivePatchesForPatchBaselineCommandInput,
- DescribeEffectivePatchesForPatchBaselineCommandOutput,
- } from "./commands/DescribeEffectivePatchesForPatchBaselineCommand";
- import {
- DescribeInstanceAssociationsStatusCommand,
- DescribeInstanceAssociationsStatusCommandInput,
- DescribeInstanceAssociationsStatusCommandOutput,
- } from "./commands/DescribeInstanceAssociationsStatusCommand";
- import {
- DescribeInstanceInformationCommand,
- DescribeInstanceInformationCommandInput,
- DescribeInstanceInformationCommandOutput,
- } from "./commands/DescribeInstanceInformationCommand";
- import {
- DescribeInstancePatchStatesCommand,
- DescribeInstancePatchStatesCommandInput,
- DescribeInstancePatchStatesCommandOutput,
- } from "./commands/DescribeInstancePatchStatesCommand";
- import {
- DescribeInstancePatchStatesForPatchGroupCommand,
- DescribeInstancePatchStatesForPatchGroupCommandInput,
- DescribeInstancePatchStatesForPatchGroupCommandOutput,
- } from "./commands/DescribeInstancePatchStatesForPatchGroupCommand";
- import {
- DescribeInstancePatchesCommand,
- DescribeInstancePatchesCommandInput,
- DescribeInstancePatchesCommandOutput,
- } from "./commands/DescribeInstancePatchesCommand";
- import {
- DescribeInventoryDeletionsCommand,
- DescribeInventoryDeletionsCommandInput,
- DescribeInventoryDeletionsCommandOutput,
- } from "./commands/DescribeInventoryDeletionsCommand";
- import {
- DescribeMaintenanceWindowExecutionTaskInvocationsCommand,
- DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput,
- DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput,
- } from "./commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand";
- import {
- DescribeMaintenanceWindowExecutionTasksCommand,
- DescribeMaintenanceWindowExecutionTasksCommandInput,
- DescribeMaintenanceWindowExecutionTasksCommandOutput,
- } from "./commands/DescribeMaintenanceWindowExecutionTasksCommand";
- import {
- DescribeMaintenanceWindowExecutionsCommand,
- DescribeMaintenanceWindowExecutionsCommandInput,
- DescribeMaintenanceWindowExecutionsCommandOutput,
- } from "./commands/DescribeMaintenanceWindowExecutionsCommand";
- import {
- DescribeMaintenanceWindowScheduleCommand,
- DescribeMaintenanceWindowScheduleCommandInput,
- DescribeMaintenanceWindowScheduleCommandOutput,
- } from "./commands/DescribeMaintenanceWindowScheduleCommand";
- import {
- DescribeMaintenanceWindowTargetsCommand,
- DescribeMaintenanceWindowTargetsCommandInput,
- DescribeMaintenanceWindowTargetsCommandOutput,
- } from "./commands/DescribeMaintenanceWindowTargetsCommand";
- import {
- DescribeMaintenanceWindowTasksCommand,
- DescribeMaintenanceWindowTasksCommandInput,
- DescribeMaintenanceWindowTasksCommandOutput,
- } from "./commands/DescribeMaintenanceWindowTasksCommand";
- import {
- DescribeMaintenanceWindowsCommand,
- DescribeMaintenanceWindowsCommandInput,
- DescribeMaintenanceWindowsCommandOutput,
- } from "./commands/DescribeMaintenanceWindowsCommand";
- import {
- DescribeMaintenanceWindowsForTargetCommand,
- DescribeMaintenanceWindowsForTargetCommandInput,
- DescribeMaintenanceWindowsForTargetCommandOutput,
- } from "./commands/DescribeMaintenanceWindowsForTargetCommand";
- import {
- DescribeOpsItemsCommand,
- DescribeOpsItemsCommandInput,
- DescribeOpsItemsCommandOutput,
- } from "./commands/DescribeOpsItemsCommand";
- import {
- DescribeParametersCommand,
- DescribeParametersCommandInput,
- DescribeParametersCommandOutput,
- } from "./commands/DescribeParametersCommand";
- import {
- DescribePatchBaselinesCommand,
- DescribePatchBaselinesCommandInput,
- DescribePatchBaselinesCommandOutput,
- } from "./commands/DescribePatchBaselinesCommand";
- import {
- DescribePatchGroupStateCommand,
- DescribePatchGroupStateCommandInput,
- DescribePatchGroupStateCommandOutput,
- } from "./commands/DescribePatchGroupStateCommand";
- import {
- DescribePatchGroupsCommand,
- DescribePatchGroupsCommandInput,
- DescribePatchGroupsCommandOutput,
- } from "./commands/DescribePatchGroupsCommand";
- import {
- DescribePatchPropertiesCommand,
- DescribePatchPropertiesCommandInput,
- DescribePatchPropertiesCommandOutput,
- } from "./commands/DescribePatchPropertiesCommand";
- import {
- DescribeSessionsCommand,
- DescribeSessionsCommandInput,
- DescribeSessionsCommandOutput,
- } from "./commands/DescribeSessionsCommand";
- import {
- GetAutomationExecutionCommand,
- GetAutomationExecutionCommandInput,
- GetAutomationExecutionCommandOutput,
- } from "./commands/GetAutomationExecutionCommand";
- import {
- GetCalendarStateCommand,
- GetCalendarStateCommandInput,
- GetCalendarStateCommandOutput,
- } from "./commands/GetCalendarStateCommand";
- import {
- GetCommandInvocationCommand,
- GetCommandInvocationCommandInput,
- GetCommandInvocationCommandOutput,
- } from "./commands/GetCommandInvocationCommand";
- import {
- GetConnectionStatusCommand,
- GetConnectionStatusCommandInput,
- GetConnectionStatusCommandOutput,
- } from "./commands/GetConnectionStatusCommand";
- import {
- GetDefaultPatchBaselineCommand,
- GetDefaultPatchBaselineCommandInput,
- GetDefaultPatchBaselineCommandOutput,
- } from "./commands/GetDefaultPatchBaselineCommand";
- import {
- GetDeployablePatchSnapshotForInstanceCommand,
- GetDeployablePatchSnapshotForInstanceCommandInput,
- GetDeployablePatchSnapshotForInstanceCommandOutput,
- } from "./commands/GetDeployablePatchSnapshotForInstanceCommand";
- import { GetDocumentCommand, GetDocumentCommandInput, GetDocumentCommandOutput } from "./commands/GetDocumentCommand";
- import {
- GetInventoryCommand,
- GetInventoryCommandInput,
- GetInventoryCommandOutput,
- } from "./commands/GetInventoryCommand";
- import {
- GetInventorySchemaCommand,
- GetInventorySchemaCommandInput,
- GetInventorySchemaCommandOutput,
- } from "./commands/GetInventorySchemaCommand";
- import {
- GetMaintenanceWindowCommand,
- GetMaintenanceWindowCommandInput,
- GetMaintenanceWindowCommandOutput,
- } from "./commands/GetMaintenanceWindowCommand";
- import {
- GetMaintenanceWindowExecutionCommand,
- GetMaintenanceWindowExecutionCommandInput,
- GetMaintenanceWindowExecutionCommandOutput,
- } from "./commands/GetMaintenanceWindowExecutionCommand";
- import {
- GetMaintenanceWindowExecutionTaskCommand,
- GetMaintenanceWindowExecutionTaskCommandInput,
- GetMaintenanceWindowExecutionTaskCommandOutput,
- } from "./commands/GetMaintenanceWindowExecutionTaskCommand";
- import {
- GetMaintenanceWindowExecutionTaskInvocationCommand,
- GetMaintenanceWindowExecutionTaskInvocationCommandInput,
- GetMaintenanceWindowExecutionTaskInvocationCommandOutput,
- } from "./commands/GetMaintenanceWindowExecutionTaskInvocationCommand";
- import {
- GetMaintenanceWindowTaskCommand,
- GetMaintenanceWindowTaskCommandInput,
- GetMaintenanceWindowTaskCommandOutput,
- } from "./commands/GetMaintenanceWindowTaskCommand";
- import { GetOpsItemCommand, GetOpsItemCommandInput, GetOpsItemCommandOutput } from "./commands/GetOpsItemCommand";
- import {
- GetOpsSummaryCommand,
- GetOpsSummaryCommandInput,
- GetOpsSummaryCommandOutput,
- } from "./commands/GetOpsSummaryCommand";
- import {
- GetParameterCommand,
- GetParameterCommandInput,
- GetParameterCommandOutput,
- } from "./commands/GetParameterCommand";
- import {
- GetParameterHistoryCommand,
- GetParameterHistoryCommandInput,
- GetParameterHistoryCommandOutput,
- } from "./commands/GetParameterHistoryCommand";
- import {
- GetParametersByPathCommand,
- GetParametersByPathCommandInput,
- GetParametersByPathCommandOutput,
- } from "./commands/GetParametersByPathCommand";
- import {
- GetParametersCommand,
- GetParametersCommandInput,
- GetParametersCommandOutput,
- } from "./commands/GetParametersCommand";
- import {
- GetPatchBaselineCommand,
- GetPatchBaselineCommandInput,
- GetPatchBaselineCommandOutput,
- } from "./commands/GetPatchBaselineCommand";
- import {
- GetPatchBaselineForPatchGroupCommand,
- GetPatchBaselineForPatchGroupCommandInput,
- GetPatchBaselineForPatchGroupCommandOutput,
- } from "./commands/GetPatchBaselineForPatchGroupCommand";
- import {
- GetServiceSettingCommand,
- GetServiceSettingCommandInput,
- GetServiceSettingCommandOutput,
- } from "./commands/GetServiceSettingCommand";
- import {
- LabelParameterVersionCommand,
- LabelParameterVersionCommandInput,
- LabelParameterVersionCommandOutput,
- } from "./commands/LabelParameterVersionCommand";
- import {
- ListAssociationVersionsCommand,
- ListAssociationVersionsCommandInput,
- ListAssociationVersionsCommandOutput,
- } from "./commands/ListAssociationVersionsCommand";
- import {
- ListAssociationsCommand,
- ListAssociationsCommandInput,
- ListAssociationsCommandOutput,
- } from "./commands/ListAssociationsCommand";
- import {
- ListCommandInvocationsCommand,
- ListCommandInvocationsCommandInput,
- ListCommandInvocationsCommandOutput,
- } from "./commands/ListCommandInvocationsCommand";
- import {
- ListCommandsCommand,
- ListCommandsCommandInput,
- ListCommandsCommandOutput,
- } from "./commands/ListCommandsCommand";
- import {
- ListComplianceItemsCommand,
- ListComplianceItemsCommandInput,
- ListComplianceItemsCommandOutput,
- } from "./commands/ListComplianceItemsCommand";
- import {
- ListComplianceSummariesCommand,
- ListComplianceSummariesCommandInput,
- ListComplianceSummariesCommandOutput,
- } from "./commands/ListComplianceSummariesCommand";
- import {
- ListDocumentVersionsCommand,
- ListDocumentVersionsCommandInput,
- ListDocumentVersionsCommandOutput,
- } from "./commands/ListDocumentVersionsCommand";
- import {
- ListDocumentsCommand,
- ListDocumentsCommandInput,
- ListDocumentsCommandOutput,
- } from "./commands/ListDocumentsCommand";
- import {
- ListInventoryEntriesCommand,
- ListInventoryEntriesCommandInput,
- ListInventoryEntriesCommandOutput,
- } from "./commands/ListInventoryEntriesCommand";
- import {
- ListResourceComplianceSummariesCommand,
- ListResourceComplianceSummariesCommandInput,
- ListResourceComplianceSummariesCommandOutput,
- } from "./commands/ListResourceComplianceSummariesCommand";
- import {
- ListResourceDataSyncCommand,
- ListResourceDataSyncCommandInput,
- ListResourceDataSyncCommandOutput,
- } from "./commands/ListResourceDataSyncCommand";
- import {
- ListTagsForResourceCommand,
- ListTagsForResourceCommandInput,
- ListTagsForResourceCommandOutput,
- } from "./commands/ListTagsForResourceCommand";
- import {
- ModifyDocumentPermissionCommand,
- ModifyDocumentPermissionCommandInput,
- ModifyDocumentPermissionCommandOutput,
- } from "./commands/ModifyDocumentPermissionCommand";
- import {
- PutComplianceItemsCommand,
- PutComplianceItemsCommandInput,
- PutComplianceItemsCommandOutput,
- } from "./commands/PutComplianceItemsCommand";
- import {
- PutInventoryCommand,
- PutInventoryCommandInput,
- PutInventoryCommandOutput,
- } from "./commands/PutInventoryCommand";
- import {
- PutParameterCommand,
- PutParameterCommandInput,
- PutParameterCommandOutput,
- } from "./commands/PutParameterCommand";
- import {
- RegisterDefaultPatchBaselineCommand,
- RegisterDefaultPatchBaselineCommandInput,
- RegisterDefaultPatchBaselineCommandOutput,
- } from "./commands/RegisterDefaultPatchBaselineCommand";
- import {
- RegisterPatchBaselineForPatchGroupCommand,
- RegisterPatchBaselineForPatchGroupCommandInput,
- RegisterPatchBaselineForPatchGroupCommandOutput,
- } from "./commands/RegisterPatchBaselineForPatchGroupCommand";
- import {
- RegisterTargetWithMaintenanceWindowCommand,
- RegisterTargetWithMaintenanceWindowCommandInput,
- RegisterTargetWithMaintenanceWindowCommandOutput,
- } from "./commands/RegisterTargetWithMaintenanceWindowCommand";
- import {
- RegisterTaskWithMaintenanceWindowCommand,
- RegisterTaskWithMaintenanceWindowCommandInput,
- RegisterTaskWithMaintenanceWindowCommandOutput,
- } from "./commands/RegisterTaskWithMaintenanceWindowCommand";
- import {
- RemoveTagsFromResourceCommand,
- RemoveTagsFromResourceCommandInput,
- RemoveTagsFromResourceCommandOutput,
- } from "./commands/RemoveTagsFromResourceCommand";
- import {
- ResetServiceSettingCommand,
- ResetServiceSettingCommandInput,
- ResetServiceSettingCommandOutput,
- } from "./commands/ResetServiceSettingCommand";
- import {
- ResumeSessionCommand,
- ResumeSessionCommandInput,
- ResumeSessionCommandOutput,
- } from "./commands/ResumeSessionCommand";
- import {
- SendAutomationSignalCommand,
- SendAutomationSignalCommandInput,
- SendAutomationSignalCommandOutput,
- } from "./commands/SendAutomationSignalCommand";
- import { SendCommandCommand, SendCommandCommandInput, SendCommandCommandOutput } from "./commands/SendCommandCommand";
- import {
- StartAssociationsOnceCommand,
- StartAssociationsOnceCommandInput,
- StartAssociationsOnceCommandOutput,
- } from "./commands/StartAssociationsOnceCommand";
- import {
- StartAutomationExecutionCommand,
- StartAutomationExecutionCommandInput,
- StartAutomationExecutionCommandOutput,
- } from "./commands/StartAutomationExecutionCommand";
- import {
- StartSessionCommand,
- StartSessionCommandInput,
- StartSessionCommandOutput,
- } from "./commands/StartSessionCommand";
- import {
- StopAutomationExecutionCommand,
- StopAutomationExecutionCommandInput,
- StopAutomationExecutionCommandOutput,
- } from "./commands/StopAutomationExecutionCommand";
- import {
- TerminateSessionCommand,
- TerminateSessionCommandInput,
- TerminateSessionCommandOutput,
- } from "./commands/TerminateSessionCommand";
- import {
- UpdateAssociationCommand,
- UpdateAssociationCommandInput,
- UpdateAssociationCommandOutput,
- } from "./commands/UpdateAssociationCommand";
- import {
- UpdateAssociationStatusCommand,
- UpdateAssociationStatusCommandInput,
- UpdateAssociationStatusCommandOutput,
- } from "./commands/UpdateAssociationStatusCommand";
- import {
- UpdateDocumentCommand,
- UpdateDocumentCommandInput,
- UpdateDocumentCommandOutput,
- } from "./commands/UpdateDocumentCommand";
- import {
- UpdateDocumentDefaultVersionCommand,
- UpdateDocumentDefaultVersionCommandInput,
- UpdateDocumentDefaultVersionCommandOutput,
- } from "./commands/UpdateDocumentDefaultVersionCommand";
- import {
- UpdateMaintenanceWindowCommand,
- UpdateMaintenanceWindowCommandInput,
- UpdateMaintenanceWindowCommandOutput,
- } from "./commands/UpdateMaintenanceWindowCommand";
- import {
- UpdateMaintenanceWindowTargetCommand,
- UpdateMaintenanceWindowTargetCommandInput,
- UpdateMaintenanceWindowTargetCommandOutput,
- } from "./commands/UpdateMaintenanceWindowTargetCommand";
- import {
- UpdateMaintenanceWindowTaskCommand,
- UpdateMaintenanceWindowTaskCommandInput,
- UpdateMaintenanceWindowTaskCommandOutput,
- } from "./commands/UpdateMaintenanceWindowTaskCommand";
- import {
- UpdateManagedInstanceRoleCommand,
- UpdateManagedInstanceRoleCommandInput,
- UpdateManagedInstanceRoleCommandOutput,
- } from "./commands/UpdateManagedInstanceRoleCommand";
- import {
- UpdateOpsItemCommand,
- UpdateOpsItemCommandInput,
- UpdateOpsItemCommandOutput,
- } from "./commands/UpdateOpsItemCommand";
- import {
- UpdatePatchBaselineCommand,
- UpdatePatchBaselineCommandInput,
- UpdatePatchBaselineCommandOutput,
- } from "./commands/UpdatePatchBaselineCommand";
- import {
- UpdateResourceDataSyncCommand,
- UpdateResourceDataSyncCommandInput,
- UpdateResourceDataSyncCommandOutput,
- } from "./commands/UpdateResourceDataSyncCommand";
- import {
- UpdateServiceSettingCommand,
- UpdateServiceSettingCommandInput,
- UpdateServiceSettingCommandOutput,
- } from "./commands/UpdateServiceSettingCommand";
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
- /**
- * <fullname>AWS Systems Manager</fullname>
- * <p>AWS Systems Manager is a collection of capabilities that helps you automate management tasks such as
- * collecting system inventory, applying operating system (OS) patches, automating the creation of
- * Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale.
- * Systems Manager lets you remotely and securely manage the configuration of your managed instances. A
- * <i>managed instance</i> is any Amazon Elastic Compute Cloud instance (EC2 instance), or any
- * on-premises server or virtual machine (VM) in your hybrid environment that has been configured
- * for Systems Manager.</p>
- * <p>This reference is intended to be used with the <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/">AWS Systems Manager User Guide</a>.</p>
- * <p>To get started, verify prerequisites and configure managed instances. For more information,
- * see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html">Setting up
- * AWS Systems Manager</a> in the <i>AWS Systems Manager User Guide</i>.</p>
- * <p>For information about other API actions you can perform on EC2 instances, see the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/">Amazon EC2 API Reference</a>. For information
- * about how to use a Query API, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/making-api-requests.html">Making API requests</a>. </p>
- */
- export class SSM extends SSMClient {
- /**
- * <p>Adds or overwrites one or more tags for the specified resource. Tags are metadata that you
- * can assign to your documents, managed instances, maintenance windows, Parameter Store parameters,
- * and patch baselines. Tags enable you to categorize your resources in different ways, for example,
- * by purpose, owner, or environment. Each tag consists of a key and an optional value, both of
- * which you define. For example, you could define a set of tags for your account's managed
- * instances that helps you track each instance's owner and stack level. For example: Key=Owner and
- * Value=DbAdmin, SysAdmin, or Dev. Or Key=Stack and Value=Production, Pre-Production, or
- * Test.</p>
- *
- * <p>Each resource can have a maximum of 50 tags. </p>
- * <p>We recommend that you devise a set of tag keys that meets your needs for each resource type.
- * Using a consistent set of tag keys makes it easier for you to manage your resources. You can
- * search and filter the resources based on the tags you add. Tags don't have any semantic meaning
- * to and are interpreted strictly as a string of characters. </p>
- * <p>For more information about using tags with EC2 instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tagging your Amazon EC2 resources</a> in the
- * <i>Amazon EC2 User Guide</i>.</p>
- */
- public addTagsToResource(
- args: AddTagsToResourceCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<AddTagsToResourceCommandOutput>;
- public addTagsToResource(
- args: AddTagsToResourceCommandInput,
- cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
- ): void;
- public addTagsToResource(
- args: AddTagsToResourceCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
- ): void;
- public addTagsToResource(
- args: AddTagsToResourceCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddTagsToResourceCommandOutput) => void),
- cb?: (err: any, data?: AddTagsToResourceCommandOutput) => void
- ): Promise<AddTagsToResourceCommandOutput> | void {
- const command = new AddTagsToResourceCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Attempts to cancel the command specified by the Command ID. There is no guarantee that the
- * command will be terminated and the underlying process stopped.</p>
- */
- public cancelCommand(
- args: CancelCommandCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<CancelCommandCommandOutput>;
- public cancelCommand(
- args: CancelCommandCommandInput,
- cb: (err: any, data?: CancelCommandCommandOutput) => void
- ): void;
- public cancelCommand(
- args: CancelCommandCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: CancelCommandCommandOutput) => void
- ): void;
- public cancelCommand(
- args: CancelCommandCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelCommandCommandOutput) => void),
- cb?: (err: any, data?: CancelCommandCommandOutput) => void
- ): Promise<CancelCommandCommandOutput> | void {
- const command = new CancelCommandCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Stops a maintenance window execution that is already in progress and cancels any tasks in
- * the window that have not already starting running. (Tasks already in progress will continue to
- * completion.)</p>
- */
- public cancelMaintenanceWindowExecution(
- args: CancelMaintenanceWindowExecutionCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<CancelMaintenanceWindowExecutionCommandOutput>;
- public cancelMaintenanceWindowExecution(
- args: CancelMaintenanceWindowExecutionCommandInput,
- cb: (err: any, data?: CancelMaintenanceWindowExecutionCommandOutput) => void
- ): void;
- public cancelMaintenanceWindowExecution(
- args: CancelMaintenanceWindowExecutionCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: CancelMaintenanceWindowExecutionCommandOutput) => void
- ): void;
- public cancelMaintenanceWindowExecution(
- args: CancelMaintenanceWindowExecutionCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelMaintenanceWindowExecutionCommandOutput) => void),
- cb?: (err: any, data?: CancelMaintenanceWindowExecutionCommandOutput) => void
- ): Promise<CancelMaintenanceWindowExecutionCommandOutput> | void {
- const command = new CancelMaintenanceWindowExecutionCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Generates an activation code and activation ID you can use to register your on-premises
- * server or virtual machine (VM) with Systems Manager. Registering these machines with Systems Manager makes it
- * possible to manage them using Systems Manager capabilities. 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 instances and VMs using Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-managedinstances.html">Setting up
- * AWS Systems Manager for hybrid environments</a> in the <i>AWS Systems Manager User Guide</i>. </p>
- * <note>
- * <p>On-premises servers or VMs that are registered with Systems Manager and EC2 instances that you manage
- * with Systems Manager are all called <i>managed instances</i>.</p>
- * </note>
- */
- public createActivation(
- args: CreateActivationCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<CreateActivationCommandOutput>;
- public createActivation(
- args: CreateActivationCommandInput,
- cb: (err: any, data?: CreateActivationCommandOutput) => void
- ): void;
- public createActivation(
- args: CreateActivationCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: CreateActivationCommandOutput) => void
- ): void;
- public createActivation(
- args: CreateActivationCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateActivationCommandOutput) => void),
- cb?: (err: any, data?: CreateActivationCommandOutput) => void
- ): Promise<CreateActivationCommandOutput> | void {
- const command = new CreateActivationCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>A State Manager association defines the state that you want to maintain on your instances.
- * For example, an association can specify that anti-virus software must be installed and running on
- * your instances, or that certain ports must be closed. For static targets, the association
- * specifies a schedule for when the configuration is reapplied. For dynamic targets, such as an AWS
- * Resource Group or an AWS Autoscaling Group, State Manager applies the configuration when new
- * instances are added to the group. The association also specifies actions to take when applying
- * the configuration. For example, an association for anti-virus software might run once a day. If
- * the software is not installed, then State Manager installs it. If the software is installed, but
- * the service is not running, then the association might instruct State Manager to start the
- * service. </p>
- */
- public createAssociation(
- args: CreateAssociationCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<CreateAssociationCommandOutput>;
- public createAssociation(
- args: CreateAssociationCommandInput,
- cb: (err: any, data?: CreateAssociationCommandOutput) => void
- ): void;
- public createAssociation(
- args: CreateAssociationCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: CreateAssociationCommandOutput) => void
- ): void;
- public createAssociation(
- args: CreateAssociationCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAssociationCommandOutput) => void),
- cb?: (err: any, data?: CreateAssociationCommandOutput) => void
- ): Promise<CreateAssociationCommandOutput> | void {
- const command = new CreateAssociationCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Associates the specified Systems Manager document with the specified instances or targets.</p>
- * <p>When you associate a document with one or more instances using instance IDs or tags,
- * SSM Agent running on the instance processes the document and configures the instance as
- * specified.</p>
- * <p>If you associate a document with an instance that already has an associated document, the
- * system returns the AssociationAlreadyExists exception.</p>
- */
- public createAssociationBatch(
- args: CreateAssociationBatchCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<CreateAssociationBatchCommandOutput>;
- public createAssociationBatch(
- args: CreateAssociationBatchCommandInput,
- cb: (err: any, data?: CreateAssociationBatchCommandOutput) => void
- ): void;
- public createAssociationBatch(
- args: CreateAssociationBatchCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: CreateAssociationBatchCommandOutput) => void
- ): void;
- public createAssociationBatch(
- args: CreateAssociationBatchCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAssociationBatchCommandOutput) => void),
- cb?: (err: any, data?: CreateAssociationBatchCommandOutput) => void
- ): Promise<CreateAssociationBatchCommandOutput> | void {
- const command = new CreateAssociationBatchCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Creates a Systems Manager (SSM) document. An SSM document defines the actions that Systems Manager performs on
- * your managed instances. For more information about SSM documents, including information about
- * supported schemas, features, and syntax, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-ssm-docs.html">AWS Systems Manager Documents</a> in the
- * <i>AWS Systems Manager User Guide</i>.</p>
- */
- public createDocument(
- args: CreateDocumentCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<CreateDocumentCommandOutput>;
- public createDocument(
- args: CreateDocumentCommandInput,
- cb: (err: any, data?: CreateDocumentCommandOutput) => void
- ): void;
- public createDocument(
- args: CreateDocumentCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: CreateDocumentCommandOutput) => void
- ): void;
- public createDocument(
- args: CreateDocumentCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDocumentCommandOutput) => void),
- cb?: (err: any, data?: CreateDocumentCommandOutput) => void
- ): Promise<CreateDocumentCommandOutput> | void {
- const command = new CreateDocumentCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Creates a new maintenance window.</p>
- * <note>
- * <p>The value you specify for <code>Duration</code> determines the specific end time for the
- * maintenance window based on the time it begins. No maintenance window tasks are permitted to
- * start after the resulting endtime minus the number of hours you specify for <code>Cutoff</code>.
- * For example, if the maintenance window starts at 3 PM, the duration is three hours, and the
- * value you specify for <code>Cutoff</code> is one hour, no maintenance window tasks can start
- * after 5 PM.</p>
- * </note>
- */
- public createMaintenanceWindow(
- args: CreateMaintenanceWindowCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<CreateMaintenanceWindowCommandOutput>;
- public createMaintenanceWindow(
- args: CreateMaintenanceWindowCommandInput,
- cb: (err: any, data?: CreateMaintenanceWindowCommandOutput) => void
- ): void;
- public createMaintenanceWindow(
- args: CreateMaintenanceWindowCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: CreateMaintenanceWindowCommandOutput) => void
- ): void;
- public createMaintenanceWindow(
- args: CreateMaintenanceWindowCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateMaintenanceWindowCommandOutput) => void),
- cb?: (err: any, data?: CreateMaintenanceWindowCommandOutput) => void
- ): Promise<CreateMaintenanceWindowCommandOutput> | void {
- const command = new CreateMaintenanceWindowCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Creates a new OpsItem. You must have permission in AWS Identity and Access Management (IAM)
- * to create a new OpsItem. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-getting-started.html">Getting started with
- * OpsCenter</a> in the <i>AWS Systems Manager User Guide</i>.</p>
- * <p>Operations engineers and IT professionals use OpsCenter to view, investigate, and remediate
- * operational issues impacting the performance and health of their AWS resources. For more
- * information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter.html">AWS Systems Manager OpsCenter</a> in the
- * <i>AWS Systems Manager User Guide</i>. </p>
- */
- public createOpsItem(
- args: CreateOpsItemCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<CreateOpsItemCommandOutput>;
- public createOpsItem(
- args: CreateOpsItemCommandInput,
- cb: (err: any, data?: CreateOpsItemCommandOutput) => void
- ): void;
- public createOpsItem(
- args: CreateOpsItemCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: CreateOpsItemCommandOutput) => void
- ): void;
- public createOpsItem(
- args: CreateOpsItemCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateOpsItemCommandOutput) => void),
- cb?: (err: any, data?: CreateOpsItemCommandOutput) => void
- ): Promise<CreateOpsItemCommandOutput> | void {
- const command = new CreateOpsItemCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Creates a patch baseline.</p>
- * <note>
- * <p>For information about valid key and value pairs in <code>PatchFilters</code> for each
- * supported operating system type, see <a href="http://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html">PatchFilter</a>.</p>
- * </note>
- */
- public createPatchBaseline(
- args: CreatePatchBaselineCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<CreatePatchBaselineCommandOutput>;
- public createPatchBaseline(
- args: CreatePatchBaselineCommandInput,
- cb: (err: any, data?: CreatePatchBaselineCommandOutput) => void
- ): void;
- public createPatchBaseline(
- args: CreatePatchBaselineCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: CreatePatchBaselineCommandOutput) => void
- ): void;
- public createPatchBaseline(
- args: CreatePatchBaselineCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreatePatchBaselineCommandOutput) => void),
- cb?: (err: any, data?: CreatePatchBaselineCommandOutput) => void
- ): Promise<CreatePatchBaselineCommandOutput> | void {
- const command = new CreatePatchBaselineCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>A resource data sync helps you view data from multiple sources in a single location. Systems
- * Manager offers two types of resource data sync: <code>SyncToDestination</code> and
- * <code>SyncFromSource</code>.</p>
- * <p>You can configure Systems Manager Inventory to use the <code>SyncToDestination</code> type to
- * synchronize Inventory data from multiple AWS Regions to a single S3 bucket. For more information,
- * see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-datasync.html">Configuring Resource Data
- * Sync for Inventory</a> in the <i>AWS Systems Manager User Guide</i>.</p>
- *
- * <p>You can configure Systems Manager Explorer to use the <code>SyncFromSource</code> type to synchronize
- * operational work items (OpsItems) and operational data (OpsData) from multiple AWS Regions to a
- * single S3 bucket. This type can synchronize OpsItems and OpsData from multiple AWS accounts and
- * Regions or <code>EntireOrganization</code> by using AWS Organizations. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resource-data-sync.html">Setting up Systems Manager Explorer to display data from multiple accounts and Regions</a> in the
- * <i>AWS Systems Manager User Guide</i>.</p>
- *
- * <p>A resource data sync is an asynchronous operation that returns immediately. After a
- * successful initial sync is completed, the system continuously syncs data. To check the status of
- * a sync, use the <a>ListResourceDataSync</a>.</p>
- *
- * <note>
- * <p>By default, data is not encrypted in Amazon S3. We strongly recommend that you enable encryption
- * in Amazon S3 to ensure secure data storage. We also recommend that you secure access to the Amazon S3
- * bucket by creating a restrictive bucket policy. </p>
- * </note>
- */
- public createResourceDataSync(
- args: CreateResourceDataSyncCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<CreateResourceDataSyncCommandOutput>;
- public createResourceDataSync(
- args: CreateResourceDataSyncCommandInput,
- cb: (err: any, data?: CreateResourceDataSyncCommandOutput) => void
- ): void;
- public createResourceDataSync(
- args: CreateResourceDataSyncCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: CreateResourceDataSyncCommandOutput) => void
- ): void;
- public createResourceDataSync(
- args: CreateResourceDataSyncCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateResourceDataSyncCommandOutput) => void),
- cb?: (err: any, data?: CreateResourceDataSyncCommandOutput) => void
- ): Promise<CreateResourceDataSyncCommandOutput> | void {
- const command = new CreateResourceDataSyncCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Deletes an activation. You are not required to delete an activation. If you delete an
- * activation, you can no longer use it to register additional managed instances. Deleting an
- * activation does not de-register managed instances. You must manually de-register managed
- * instances.</p>
- */
- public deleteActivation(
- args: DeleteActivationCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<DeleteActivationCommandOutput>;
- public deleteActivation(
- args: DeleteActivationCommandInput,
- cb: (err: any, data?: DeleteActivationCommandOutput) => void
- ): void;
- public deleteActivation(
- args: DeleteActivationCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: DeleteActivationCommandOutput) => void
- ): void;
- public deleteActivation(
- args: DeleteActivationCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteActivationCommandOutput) => void),
- cb?: (err: any, data?: DeleteActivationCommandOutput) => void
- ): Promise<DeleteActivationCommandOutput> | void {
- const command = new DeleteActivationCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Disassociates the specified Systems Manager document from the specified instance.</p>
- * <p>When you disassociate a document from an instance, it does not change the configuration of
- * the instance. To change the configuration state of an instance after you disassociate a document,
- * you must create a new document with the desired configuration and associate it with the
- * instance.</p>
- */
- public deleteAssociation(
- args: DeleteAssociationCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<DeleteAssociationCommandOutput>;
- public deleteAssociation(
- args: DeleteAssociationCommandInput,
- cb: (err: any, data?: DeleteAssociationCommandOutput) => void
- ): void;
- public deleteAssociation(
- args: DeleteAssociationCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: DeleteAssociationCommandOutput) => void
- ): void;
- public deleteAssociation(
- args: DeleteAssociationCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAssociationCommandOutput) => void),
- cb?: (err: any, data?: DeleteAssociationCommandOutput) => void
- ): Promise<DeleteAssociationCommandOutput> | void {
- const command = new DeleteAssociationCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Deletes the Systems Manager document and all instance associations to the document.</p>
- * <p>Before you delete the document, we recommend that you use <a>DeleteAssociation</a> to disassociate all instances that are associated with the document.</p>
- */
- public deleteDocument(
- args: DeleteDocumentCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<DeleteDocumentCommandOutput>;
- public deleteDocument(
- args: DeleteDocumentCommandInput,
- cb: (err: any, data?: DeleteDocumentCommandOutput) => void
- ): void;
- public deleteDocument(
- args: DeleteDocumentCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: DeleteDocumentCommandOutput) => void
- ): void;
- public deleteDocument(
- args: DeleteDocumentCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDocumentCommandOutput) => void),
- cb?: (err: any, data?: DeleteDocumentCommandOutput) => void
- ): Promise<DeleteDocumentCommandOutput> | void {
- const command = new DeleteDocumentCommand(args);
- if (typeof optionsOrCb === "function") {
- this.send(command, optionsOrCb);
- } else if (typeof cb === "function") {
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
- this.send(command, optionsOrCb || {}, cb);
- } else {
- return this.send(command, optionsOrCb);
- }
- }
- /**
- * <p>Delete a custom inventory type, or the data associated with a custom Inventory type.
- * Deleting a custom inventory type is also referred to as deleting a custom inventory
- * schema.</p>
- */
- public deleteInventory(
- args: DeleteInventoryCommandInput,
- options?: __HttpHandlerOptions
- ): Promise<DeleteInventoryCommandOutput>;
- public deleteInventory(
- args: DeleteInventoryCommandInput,
- cb: (err: any, data?: DeleteInventoryCommandOutput) => void
- ): void;
- public deleteInventory(
- args: DeleteInventoryCommandInput,
- options: __HttpHandlerOptions,
- cb: (err: any, data?: DeleteInventoryCommandOutput) => void
- ): void;
- public deleteInventory(
- args: DeleteInventoryCommandInput,
- optionsOrCb?: __HttpHandlerOptions | ((err: any,…