/clients/client-ssm/SSMClient.ts
https://github.com/aws/aws-sdk-js-v3 · TypeScript · 829 lines · 732 code · 25 blank · 72 comment · 247 complexity · 825d92f690cde407c0cf93250bcca21b MD5 · raw file
- import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
- import { CancelCommandCommandInput, CancelCommandCommandOutput } from "./commands/CancelCommandCommand";
- import {
- CancelMaintenanceWindowExecutionCommandInput,
- CancelMaintenanceWindowExecutionCommandOutput,
- } from "./commands/CancelMaintenanceWindowExecutionCommand";
- import { CreateActivationCommandInput, CreateActivationCommandOutput } from "./commands/CreateActivationCommand";
- import {
- CreateAssociationBatchCommandInput,
- CreateAssociationBatchCommandOutput,
- } from "./commands/CreateAssociationBatchCommand";
- import { CreateAssociationCommandInput, CreateAssociationCommandOutput } from "./commands/CreateAssociationCommand";
- import { CreateDocumentCommandInput, CreateDocumentCommandOutput } from "./commands/CreateDocumentCommand";
- import {
- CreateMaintenanceWindowCommandInput,
- CreateMaintenanceWindowCommandOutput,
- } from "./commands/CreateMaintenanceWindowCommand";
- import { CreateOpsItemCommandInput, CreateOpsItemCommandOutput } from "./commands/CreateOpsItemCommand";
- import {
- CreatePatchBaselineCommandInput,
- CreatePatchBaselineCommandOutput,
- } from "./commands/CreatePatchBaselineCommand";
- import {
- CreateResourceDataSyncCommandInput,
- CreateResourceDataSyncCommandOutput,
- } from "./commands/CreateResourceDataSyncCommand";
- import { DeleteActivationCommandInput, DeleteActivationCommandOutput } from "./commands/DeleteActivationCommand";
- import { DeleteAssociationCommandInput, DeleteAssociationCommandOutput } from "./commands/DeleteAssociationCommand";
- import { DeleteDocumentCommandInput, DeleteDocumentCommandOutput } from "./commands/DeleteDocumentCommand";
- import { DeleteInventoryCommandInput, DeleteInventoryCommandOutput } from "./commands/DeleteInventoryCommand";
- import {
- DeleteMaintenanceWindowCommandInput,
- DeleteMaintenanceWindowCommandOutput,
- } from "./commands/DeleteMaintenanceWindowCommand";
- import { DeleteParameterCommandInput, DeleteParameterCommandOutput } from "./commands/DeleteParameterCommand";
- import { DeleteParametersCommandInput, DeleteParametersCommandOutput } from "./commands/DeleteParametersCommand";
- import {
- DeletePatchBaselineCommandInput,
- DeletePatchBaselineCommandOutput,
- } from "./commands/DeletePatchBaselineCommand";
- import {
- DeleteResourceDataSyncCommandInput,
- DeleteResourceDataSyncCommandOutput,
- } from "./commands/DeleteResourceDataSyncCommand";
- import {
- DeregisterManagedInstanceCommandInput,
- DeregisterManagedInstanceCommandOutput,
- } from "./commands/DeregisterManagedInstanceCommand";
- import {
- DeregisterPatchBaselineForPatchGroupCommandInput,
- DeregisterPatchBaselineForPatchGroupCommandOutput,
- } from "./commands/DeregisterPatchBaselineForPatchGroupCommand";
- import {
- DeregisterTargetFromMaintenanceWindowCommandInput,
- DeregisterTargetFromMaintenanceWindowCommandOutput,
- } from "./commands/DeregisterTargetFromMaintenanceWindowCommand";
- import {
- DeregisterTaskFromMaintenanceWindowCommandInput,
- DeregisterTaskFromMaintenanceWindowCommandOutput,
- } from "./commands/DeregisterTaskFromMaintenanceWindowCommand";
- import {
- DescribeActivationsCommandInput,
- DescribeActivationsCommandOutput,
- } from "./commands/DescribeActivationsCommand";
- import {
- DescribeAssociationCommandInput,
- DescribeAssociationCommandOutput,
- } from "./commands/DescribeAssociationCommand";
- import {
- DescribeAssociationExecutionTargetsCommandInput,
- DescribeAssociationExecutionTargetsCommandOutput,
- } from "./commands/DescribeAssociationExecutionTargetsCommand";
- import {
- DescribeAssociationExecutionsCommandInput,
- DescribeAssociationExecutionsCommandOutput,
- } from "./commands/DescribeAssociationExecutionsCommand";
- import {
- DescribeAutomationExecutionsCommandInput,
- DescribeAutomationExecutionsCommandOutput,
- } from "./commands/DescribeAutomationExecutionsCommand";
- import {
- DescribeAutomationStepExecutionsCommandInput,
- DescribeAutomationStepExecutionsCommandOutput,
- } from "./commands/DescribeAutomationStepExecutionsCommand";
- import {
- DescribeAvailablePatchesCommandInput,
- DescribeAvailablePatchesCommandOutput,
- } from "./commands/DescribeAvailablePatchesCommand";
- import { DescribeDocumentCommandInput, DescribeDocumentCommandOutput } from "./commands/DescribeDocumentCommand";
- import {
- DescribeDocumentPermissionCommandInput,
- DescribeDocumentPermissionCommandOutput,
- } from "./commands/DescribeDocumentPermissionCommand";
- import {
- DescribeEffectiveInstanceAssociationsCommandInput,
- DescribeEffectiveInstanceAssociationsCommandOutput,
- } from "./commands/DescribeEffectiveInstanceAssociationsCommand";
- import {
- DescribeEffectivePatchesForPatchBaselineCommandInput,
- DescribeEffectivePatchesForPatchBaselineCommandOutput,
- } from "./commands/DescribeEffectivePatchesForPatchBaselineCommand";
- import {
- DescribeInstanceAssociationsStatusCommandInput,
- DescribeInstanceAssociationsStatusCommandOutput,
- } from "./commands/DescribeInstanceAssociationsStatusCommand";
- import {
- DescribeInstanceInformationCommandInput,
- DescribeInstanceInformationCommandOutput,
- } from "./commands/DescribeInstanceInformationCommand";
- import {
- DescribeInstancePatchStatesCommandInput,
- DescribeInstancePatchStatesCommandOutput,
- } from "./commands/DescribeInstancePatchStatesCommand";
- import {
- DescribeInstancePatchStatesForPatchGroupCommandInput,
- DescribeInstancePatchStatesForPatchGroupCommandOutput,
- } from "./commands/DescribeInstancePatchStatesForPatchGroupCommand";
- import {
- DescribeInstancePatchesCommandInput,
- DescribeInstancePatchesCommandOutput,
- } from "./commands/DescribeInstancePatchesCommand";
- import {
- DescribeInventoryDeletionsCommandInput,
- DescribeInventoryDeletionsCommandOutput,
- } from "./commands/DescribeInventoryDeletionsCommand";
- import {
- DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput,
- DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput,
- } from "./commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand";
- import {
- DescribeMaintenanceWindowExecutionTasksCommandInput,
- DescribeMaintenanceWindowExecutionTasksCommandOutput,
- } from "./commands/DescribeMaintenanceWindowExecutionTasksCommand";
- import {
- DescribeMaintenanceWindowExecutionsCommandInput,
- DescribeMaintenanceWindowExecutionsCommandOutput,
- } from "./commands/DescribeMaintenanceWindowExecutionsCommand";
- import {
- DescribeMaintenanceWindowScheduleCommandInput,
- DescribeMaintenanceWindowScheduleCommandOutput,
- } from "./commands/DescribeMaintenanceWindowScheduleCommand";
- import {
- DescribeMaintenanceWindowTargetsCommandInput,
- DescribeMaintenanceWindowTargetsCommandOutput,
- } from "./commands/DescribeMaintenanceWindowTargetsCommand";
- import {
- DescribeMaintenanceWindowTasksCommandInput,
- DescribeMaintenanceWindowTasksCommandOutput,
- } from "./commands/DescribeMaintenanceWindowTasksCommand";
- import {
- DescribeMaintenanceWindowsCommandInput,
- DescribeMaintenanceWindowsCommandOutput,
- } from "./commands/DescribeMaintenanceWindowsCommand";
- import {
- DescribeMaintenanceWindowsForTargetCommandInput,
- DescribeMaintenanceWindowsForTargetCommandOutput,
- } from "./commands/DescribeMaintenanceWindowsForTargetCommand";
- import { DescribeOpsItemsCommandInput, DescribeOpsItemsCommandOutput } from "./commands/DescribeOpsItemsCommand";
- import { DescribeParametersCommandInput, DescribeParametersCommandOutput } from "./commands/DescribeParametersCommand";
- import {
- DescribePatchBaselinesCommandInput,
- DescribePatchBaselinesCommandOutput,
- } from "./commands/DescribePatchBaselinesCommand";
- import {
- DescribePatchGroupStateCommandInput,
- DescribePatchGroupStateCommandOutput,
- } from "./commands/DescribePatchGroupStateCommand";
- import {
- DescribePatchGroupsCommandInput,
- DescribePatchGroupsCommandOutput,
- } from "./commands/DescribePatchGroupsCommand";
- import {
- DescribePatchPropertiesCommandInput,
- DescribePatchPropertiesCommandOutput,
- } from "./commands/DescribePatchPropertiesCommand";
- import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "./commands/DescribeSessionsCommand";
- import {
- GetAutomationExecutionCommandInput,
- GetAutomationExecutionCommandOutput,
- } from "./commands/GetAutomationExecutionCommand";
- import { GetCalendarStateCommandInput, GetCalendarStateCommandOutput } from "./commands/GetCalendarStateCommand";
- import {
- GetCommandInvocationCommandInput,
- GetCommandInvocationCommandOutput,
- } from "./commands/GetCommandInvocationCommand";
- import {
- GetConnectionStatusCommandInput,
- GetConnectionStatusCommandOutput,
- } from "./commands/GetConnectionStatusCommand";
- import {
- GetDefaultPatchBaselineCommandInput,
- GetDefaultPatchBaselineCommandOutput,
- } from "./commands/GetDefaultPatchBaselineCommand";
- import {
- GetDeployablePatchSnapshotForInstanceCommandInput,
- GetDeployablePatchSnapshotForInstanceCommandOutput,
- } from "./commands/GetDeployablePatchSnapshotForInstanceCommand";
- import { GetDocumentCommandInput, GetDocumentCommandOutput } from "./commands/GetDocumentCommand";
- import { GetInventoryCommandInput, GetInventoryCommandOutput } from "./commands/GetInventoryCommand";
- import { GetInventorySchemaCommandInput, GetInventorySchemaCommandOutput } from "./commands/GetInventorySchemaCommand";
- import {
- GetMaintenanceWindowCommandInput,
- GetMaintenanceWindowCommandOutput,
- } from "./commands/GetMaintenanceWindowCommand";
- import {
- GetMaintenanceWindowExecutionCommandInput,
- GetMaintenanceWindowExecutionCommandOutput,
- } from "./commands/GetMaintenanceWindowExecutionCommand";
- import {
- GetMaintenanceWindowExecutionTaskCommandInput,
- GetMaintenanceWindowExecutionTaskCommandOutput,
- } from "./commands/GetMaintenanceWindowExecutionTaskCommand";
- import {
- GetMaintenanceWindowExecutionTaskInvocationCommandInput,
- GetMaintenanceWindowExecutionTaskInvocationCommandOutput,
- } from "./commands/GetMaintenanceWindowExecutionTaskInvocationCommand";
- import {
- GetMaintenanceWindowTaskCommandInput,
- GetMaintenanceWindowTaskCommandOutput,
- } from "./commands/GetMaintenanceWindowTaskCommand";
- import { GetOpsItemCommandInput, GetOpsItemCommandOutput } from "./commands/GetOpsItemCommand";
- import { GetOpsSummaryCommandInput, GetOpsSummaryCommandOutput } from "./commands/GetOpsSummaryCommand";
- import { GetParameterCommandInput, GetParameterCommandOutput } from "./commands/GetParameterCommand";
- import {
- GetParameterHistoryCommandInput,
- GetParameterHistoryCommandOutput,
- } from "./commands/GetParameterHistoryCommand";
- import {
- GetParametersByPathCommandInput,
- GetParametersByPathCommandOutput,
- } from "./commands/GetParametersByPathCommand";
- import { GetParametersCommandInput, GetParametersCommandOutput } from "./commands/GetParametersCommand";
- import { GetPatchBaselineCommandInput, GetPatchBaselineCommandOutput } from "./commands/GetPatchBaselineCommand";
- import {
- GetPatchBaselineForPatchGroupCommandInput,
- GetPatchBaselineForPatchGroupCommandOutput,
- } from "./commands/GetPatchBaselineForPatchGroupCommand";
- import { GetServiceSettingCommandInput, GetServiceSettingCommandOutput } from "./commands/GetServiceSettingCommand";
- import {
- LabelParameterVersionCommandInput,
- LabelParameterVersionCommandOutput,
- } from "./commands/LabelParameterVersionCommand";
- import {
- ListAssociationVersionsCommandInput,
- ListAssociationVersionsCommandOutput,
- } from "./commands/ListAssociationVersionsCommand";
- import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "./commands/ListAssociationsCommand";
- import {
- ListCommandInvocationsCommandInput,
- ListCommandInvocationsCommandOutput,
- } from "./commands/ListCommandInvocationsCommand";
- import { ListCommandsCommandInput, ListCommandsCommandOutput } from "./commands/ListCommandsCommand";
- import {
- ListComplianceItemsCommandInput,
- ListComplianceItemsCommandOutput,
- } from "./commands/ListComplianceItemsCommand";
- import {
- ListComplianceSummariesCommandInput,
- ListComplianceSummariesCommandOutput,
- } from "./commands/ListComplianceSummariesCommand";
- import {
- ListDocumentVersionsCommandInput,
- ListDocumentVersionsCommandOutput,
- } from "./commands/ListDocumentVersionsCommand";
- import { ListDocumentsCommandInput, ListDocumentsCommandOutput } from "./commands/ListDocumentsCommand";
- import {
- ListInventoryEntriesCommandInput,
- ListInventoryEntriesCommandOutput,
- } from "./commands/ListInventoryEntriesCommand";
- import {
- ListResourceComplianceSummariesCommandInput,
- ListResourceComplianceSummariesCommandOutput,
- } from "./commands/ListResourceComplianceSummariesCommand";
- import {
- ListResourceDataSyncCommandInput,
- ListResourceDataSyncCommandOutput,
- } from "./commands/ListResourceDataSyncCommand";
- import {
- ListTagsForResourceCommandInput,
- ListTagsForResourceCommandOutput,
- } from "./commands/ListTagsForResourceCommand";
- import {
- ModifyDocumentPermissionCommandInput,
- ModifyDocumentPermissionCommandOutput,
- } from "./commands/ModifyDocumentPermissionCommand";
- import { PutComplianceItemsCommandInput, PutComplianceItemsCommandOutput } from "./commands/PutComplianceItemsCommand";
- import { PutInventoryCommandInput, PutInventoryCommandOutput } from "./commands/PutInventoryCommand";
- import { PutParameterCommandInput, PutParameterCommandOutput } from "./commands/PutParameterCommand";
- import {
- RegisterDefaultPatchBaselineCommandInput,
- RegisterDefaultPatchBaselineCommandOutput,
- } from "./commands/RegisterDefaultPatchBaselineCommand";
- import {
- RegisterPatchBaselineForPatchGroupCommandInput,
- RegisterPatchBaselineForPatchGroupCommandOutput,
- } from "./commands/RegisterPatchBaselineForPatchGroupCommand";
- import {
- RegisterTargetWithMaintenanceWindowCommandInput,
- RegisterTargetWithMaintenanceWindowCommandOutput,
- } from "./commands/RegisterTargetWithMaintenanceWindowCommand";
- import {
- RegisterTaskWithMaintenanceWindowCommandInput,
- RegisterTaskWithMaintenanceWindowCommandOutput,
- } from "./commands/RegisterTaskWithMaintenanceWindowCommand";
- import {
- RemoveTagsFromResourceCommandInput,
- RemoveTagsFromResourceCommandOutput,
- } from "./commands/RemoveTagsFromResourceCommand";
- import {
- ResetServiceSettingCommandInput,
- ResetServiceSettingCommandOutput,
- } from "./commands/ResetServiceSettingCommand";
- import { ResumeSessionCommandInput, ResumeSessionCommandOutput } from "./commands/ResumeSessionCommand";
- import {
- SendAutomationSignalCommandInput,
- SendAutomationSignalCommandOutput,
- } from "./commands/SendAutomationSignalCommand";
- import { SendCommandCommandInput, SendCommandCommandOutput } from "./commands/SendCommandCommand";
- import {
- StartAssociationsOnceCommandInput,
- StartAssociationsOnceCommandOutput,
- } from "./commands/StartAssociationsOnceCommand";
- import {
- StartAutomationExecutionCommandInput,
- StartAutomationExecutionCommandOutput,
- } from "./commands/StartAutomationExecutionCommand";
- import { StartSessionCommandInput, StartSessionCommandOutput } from "./commands/StartSessionCommand";
- import {
- StopAutomationExecutionCommandInput,
- StopAutomationExecutionCommandOutput,
- } from "./commands/StopAutomationExecutionCommand";
- import { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "./commands/TerminateSessionCommand";
- import { UpdateAssociationCommandInput, UpdateAssociationCommandOutput } from "./commands/UpdateAssociationCommand";
- import {
- UpdateAssociationStatusCommandInput,
- UpdateAssociationStatusCommandOutput,
- } from "./commands/UpdateAssociationStatusCommand";
- import { UpdateDocumentCommandInput, UpdateDocumentCommandOutput } from "./commands/UpdateDocumentCommand";
- import {
- UpdateDocumentDefaultVersionCommandInput,
- UpdateDocumentDefaultVersionCommandOutput,
- } from "./commands/UpdateDocumentDefaultVersionCommand";
- import {
- UpdateMaintenanceWindowCommandInput,
- UpdateMaintenanceWindowCommandOutput,
- } from "./commands/UpdateMaintenanceWindowCommand";
- import {
- UpdateMaintenanceWindowTargetCommandInput,
- UpdateMaintenanceWindowTargetCommandOutput,
- } from "./commands/UpdateMaintenanceWindowTargetCommand";
- import {
- UpdateMaintenanceWindowTaskCommandInput,
- UpdateMaintenanceWindowTaskCommandOutput,
- } from "./commands/UpdateMaintenanceWindowTaskCommand";
- import {
- UpdateManagedInstanceRoleCommandInput,
- UpdateManagedInstanceRoleCommandOutput,
- } from "./commands/UpdateManagedInstanceRoleCommand";
- import { UpdateOpsItemCommandInput, UpdateOpsItemCommandOutput } from "./commands/UpdateOpsItemCommand";
- import {
- UpdatePatchBaselineCommandInput,
- UpdatePatchBaselineCommandOutput,
- } from "./commands/UpdatePatchBaselineCommand";
- import {
- UpdateResourceDataSyncCommandInput,
- UpdateResourceDataSyncCommandOutput,
- } from "./commands/UpdateResourceDataSyncCommand";
- import {
- UpdateServiceSettingCommandInput,
- UpdateServiceSettingCommandOutput,
- } from "./commands/UpdateServiceSettingCommand";
- import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig";
- import {
- EndpointsInputConfig,
- EndpointsResolvedConfig,
- RegionInputConfig,
- RegionResolvedConfig,
- resolveEndpointsConfig,
- resolveRegionConfig,
- } from "@aws-sdk/config-resolver";
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
- import {
- HostHeaderInputConfig,
- HostHeaderResolvedConfig,
- getHostHeaderPlugin,
- resolveHostHeaderConfig,
- } from "@aws-sdk/middleware-host-header";
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
- import {
- AwsAuthInputConfig,
- AwsAuthResolvedConfig,
- getAwsAuthPlugin,
- resolveAwsAuthConfig,
- } from "@aws-sdk/middleware-signing";
- import {
- UserAgentInputConfig,
- UserAgentResolvedConfig,
- getUserAgentPlugin,
- resolveUserAgentConfig,
- } from "@aws-sdk/middleware-user-agent";
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
- import {
- Client as __Client,
- SmithyConfiguration as __SmithyConfiguration,
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
- } from "@aws-sdk/smithy-client";
- import {
- RegionInfoProvider,
- Credentials as __Credentials,
- Decoder as __Decoder,
- Encoder as __Encoder,
- HashConstructor as __HashConstructor,
- HttpHandlerOptions as __HttpHandlerOptions,
- Logger as __Logger,
- Provider as __Provider,
- StreamCollector as __StreamCollector,
- UrlParser as __UrlParser,
- } from "@aws-sdk/types";
- export type ServiceInputTypes =
- | AddTagsToResourceCommandInput
- | CancelCommandCommandInput
- | CancelMaintenanceWindowExecutionCommandInput
- | CreateActivationCommandInput
- | CreateAssociationBatchCommandInput
- | CreateAssociationCommandInput
- | CreateDocumentCommandInput
- | CreateMaintenanceWindowCommandInput
- | CreateOpsItemCommandInput
- | CreatePatchBaselineCommandInput
- | CreateResourceDataSyncCommandInput
- | DeleteActivationCommandInput
- | DeleteAssociationCommandInput
- | DeleteDocumentCommandInput
- | DeleteInventoryCommandInput
- | DeleteMaintenanceWindowCommandInput
- | DeleteParameterCommandInput
- | DeleteParametersCommandInput
- | DeletePatchBaselineCommandInput
- | DeleteResourceDataSyncCommandInput
- | DeregisterManagedInstanceCommandInput
- | DeregisterPatchBaselineForPatchGroupCommandInput
- | DeregisterTargetFromMaintenanceWindowCommandInput
- | DeregisterTaskFromMaintenanceWindowCommandInput
- | DescribeActivationsCommandInput
- | DescribeAssociationCommandInput
- | DescribeAssociationExecutionTargetsCommandInput
- | DescribeAssociationExecutionsCommandInput
- | DescribeAutomationExecutionsCommandInput
- | DescribeAutomationStepExecutionsCommandInput
- | DescribeAvailablePatchesCommandInput
- | DescribeDocumentCommandInput
- | DescribeDocumentPermissionCommandInput
- | DescribeEffectiveInstanceAssociationsCommandInput
- | DescribeEffectivePatchesForPatchBaselineCommandInput
- | DescribeInstanceAssociationsStatusCommandInput
- | DescribeInstanceInformationCommandInput
- | DescribeInstancePatchStatesCommandInput
- | DescribeInstancePatchStatesForPatchGroupCommandInput
- | DescribeInstancePatchesCommandInput
- | DescribeInventoryDeletionsCommandInput
- | DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput
- | DescribeMaintenanceWindowExecutionTasksCommandInput
- | DescribeMaintenanceWindowExecutionsCommandInput
- | DescribeMaintenanceWindowScheduleCommandInput
- | DescribeMaintenanceWindowTargetsCommandInput
- | DescribeMaintenanceWindowTasksCommandInput
- | DescribeMaintenanceWindowsCommandInput
- | DescribeMaintenanceWindowsForTargetCommandInput
- | DescribeOpsItemsCommandInput
- | DescribeParametersCommandInput
- | DescribePatchBaselinesCommandInput
- | DescribePatchGroupStateCommandInput
- | DescribePatchGroupsCommandInput
- | DescribePatchPropertiesCommandInput
- | DescribeSessionsCommandInput
- | GetAutomationExecutionCommandInput
- | GetCalendarStateCommandInput
- | GetCommandInvocationCommandInput
- | GetConnectionStatusCommandInput
- | GetDefaultPatchBaselineCommandInput
- | GetDeployablePatchSnapshotForInstanceCommandInput
- | GetDocumentCommandInput
- | GetInventoryCommandInput
- | GetInventorySchemaCommandInput
- | GetMaintenanceWindowCommandInput
- | GetMaintenanceWindowExecutionCommandInput
- | GetMaintenanceWindowExecutionTaskCommandInput
- | GetMaintenanceWindowExecutionTaskInvocationCommandInput
- | GetMaintenanceWindowTaskCommandInput
- | GetOpsItemCommandInput
- | GetOpsSummaryCommandInput
- | GetParameterCommandInput
- | GetParameterHistoryCommandInput
- | GetParametersByPathCommandInput
- | GetParametersCommandInput
- | GetPatchBaselineCommandInput
- | GetPatchBaselineForPatchGroupCommandInput
- | GetServiceSettingCommandInput
- | LabelParameterVersionCommandInput
- | ListAssociationVersionsCommandInput
- | ListAssociationsCommandInput
- | ListCommandInvocationsCommandInput
- | ListCommandsCommandInput
- | ListComplianceItemsCommandInput
- | ListComplianceSummariesCommandInput
- | ListDocumentVersionsCommandInput
- | ListDocumentsCommandInput
- | ListInventoryEntriesCommandInput
- | ListResourceComplianceSummariesCommandInput
- | ListResourceDataSyncCommandInput
- | ListTagsForResourceCommandInput
- | ModifyDocumentPermissionCommandInput
- | PutComplianceItemsCommandInput
- | PutInventoryCommandInput
- | PutParameterCommandInput
- | RegisterDefaultPatchBaselineCommandInput
- | RegisterPatchBaselineForPatchGroupCommandInput
- | RegisterTargetWithMaintenanceWindowCommandInput
- | RegisterTaskWithMaintenanceWindowCommandInput
- | RemoveTagsFromResourceCommandInput
- | ResetServiceSettingCommandInput
- | ResumeSessionCommandInput
- | SendAutomationSignalCommandInput
- | SendCommandCommandInput
- | StartAssociationsOnceCommandInput
- | StartAutomationExecutionCommandInput
- | StartSessionCommandInput
- | StopAutomationExecutionCommandInput
- | TerminateSessionCommandInput
- | UpdateAssociationCommandInput
- | UpdateAssociationStatusCommandInput
- | UpdateDocumentCommandInput
- | UpdateDocumentDefaultVersionCommandInput
- | UpdateMaintenanceWindowCommandInput
- | UpdateMaintenanceWindowTargetCommandInput
- | UpdateMaintenanceWindowTaskCommandInput
- | UpdateManagedInstanceRoleCommandInput
- | UpdateOpsItemCommandInput
- | UpdatePatchBaselineCommandInput
- | UpdateResourceDataSyncCommandInput
- | UpdateServiceSettingCommandInput;
- export type ServiceOutputTypes =
- | AddTagsToResourceCommandOutput
- | CancelCommandCommandOutput
- | CancelMaintenanceWindowExecutionCommandOutput
- | CreateActivationCommandOutput
- | CreateAssociationBatchCommandOutput
- | CreateAssociationCommandOutput
- | CreateDocumentCommandOutput
- | CreateMaintenanceWindowCommandOutput
- | CreateOpsItemCommandOutput
- | CreatePatchBaselineCommandOutput
- | CreateResourceDataSyncCommandOutput
- | DeleteActivationCommandOutput
- | DeleteAssociationCommandOutput
- | DeleteDocumentCommandOutput
- | DeleteInventoryCommandOutput
- | DeleteMaintenanceWindowCommandOutput
- | DeleteParameterCommandOutput
- | DeleteParametersCommandOutput
- | DeletePatchBaselineCommandOutput
- | DeleteResourceDataSyncCommandOutput
- | DeregisterManagedInstanceCommandOutput
- | DeregisterPatchBaselineForPatchGroupCommandOutput
- | DeregisterTargetFromMaintenanceWindowCommandOutput
- | DeregisterTaskFromMaintenanceWindowCommandOutput
- | DescribeActivationsCommandOutput
- | DescribeAssociationCommandOutput
- | DescribeAssociationExecutionTargetsCommandOutput
- | DescribeAssociationExecutionsCommandOutput
- | DescribeAutomationExecutionsCommandOutput
- | DescribeAutomationStepExecutionsCommandOutput
- | DescribeAvailablePatchesCommandOutput
- | DescribeDocumentCommandOutput
- | DescribeDocumentPermissionCommandOutput
- | DescribeEffectiveInstanceAssociationsCommandOutput
- | DescribeEffectivePatchesForPatchBaselineCommandOutput
- | DescribeInstanceAssociationsStatusCommandOutput
- | DescribeInstanceInformationCommandOutput
- | DescribeInstancePatchStatesCommandOutput
- | DescribeInstancePatchStatesForPatchGroupCommandOutput
- | DescribeInstancePatchesCommandOutput
- | DescribeInventoryDeletionsCommandOutput
- | DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput
- | DescribeMaintenanceWindowExecutionTasksCommandOutput
- | DescribeMaintenanceWindowExecutionsCommandOutput
- | DescribeMaintenanceWindowScheduleCommandOutput
- | DescribeMaintenanceWindowTargetsCommandOutput
- | DescribeMaintenanceWindowTasksCommandOutput
- | DescribeMaintenanceWindowsCommandOutput
- | DescribeMaintenanceWindowsForTargetCommandOutput
- | DescribeOpsItemsCommandOutput
- | DescribeParametersCommandOutput
- | DescribePatchBaselinesCommandOutput
- | DescribePatchGroupStateCommandOutput
- | DescribePatchGroupsCommandOutput
- | DescribePatchPropertiesCommandOutput
- | DescribeSessionsCommandOutput
- | GetAutomationExecutionCommandOutput
- | GetCalendarStateCommandOutput
- | GetCommandInvocationCommandOutput
- | GetConnectionStatusCommandOutput
- | GetDefaultPatchBaselineCommandOutput
- | GetDeployablePatchSnapshotForInstanceCommandOutput
- | GetDocumentCommandOutput
- | GetInventoryCommandOutput
- | GetInventorySchemaCommandOutput
- | GetMaintenanceWindowCommandOutput
- | GetMaintenanceWindowExecutionCommandOutput
- | GetMaintenanceWindowExecutionTaskCommandOutput
- | GetMaintenanceWindowExecutionTaskInvocationCommandOutput
- | GetMaintenanceWindowTaskCommandOutput
- | GetOpsItemCommandOutput
- | GetOpsSummaryCommandOutput
- | GetParameterCommandOutput
- | GetParameterHistoryCommandOutput
- | GetParametersByPathCommandOutput
- | GetParametersCommandOutput
- | GetPatchBaselineCommandOutput
- | GetPatchBaselineForPatchGroupCommandOutput
- | GetServiceSettingCommandOutput
- | LabelParameterVersionCommandOutput
- | ListAssociationVersionsCommandOutput
- | ListAssociationsCommandOutput
- | ListCommandInvocationsCommandOutput
- | ListCommandsCommandOutput
- | ListComplianceItemsCommandOutput
- | ListComplianceSummariesCommandOutput
- | ListDocumentVersionsCommandOutput
- | ListDocumentsCommandOutput
- | ListInventoryEntriesCommandOutput
- | ListResourceComplianceSummariesCommandOutput
- | ListResourceDataSyncCommandOutput
- | ListTagsForResourceCommandOutput
- | ModifyDocumentPermissionCommandOutput
- | PutComplianceItemsCommandOutput
- | PutInventoryCommandOutput
- | PutParameterCommandOutput
- | RegisterDefaultPatchBaselineCommandOutput
- | RegisterPatchBaselineForPatchGroupCommandOutput
- | RegisterTargetWithMaintenanceWindowCommandOutput
- | RegisterTaskWithMaintenanceWindowCommandOutput
- | RemoveTagsFromResourceCommandOutput
- | ResetServiceSettingCommandOutput
- | ResumeSessionCommandOutput
- | SendAutomationSignalCommandOutput
- | SendCommandCommandOutput
- | StartAssociationsOnceCommandOutput
- | StartAutomationExecutionCommandOutput
- | StartSessionCommandOutput
- | StopAutomationExecutionCommandOutput
- | TerminateSessionCommandOutput
- | UpdateAssociationCommandOutput
- | UpdateAssociationStatusCommandOutput
- | UpdateDocumentCommandOutput
- | UpdateDocumentDefaultVersionCommandOutput
- | UpdateMaintenanceWindowCommandOutput
- | UpdateMaintenanceWindowTargetCommandOutput
- | UpdateMaintenanceWindowTaskCommandOutput
- | UpdateManagedInstanceRoleCommandOutput
- | UpdateOpsItemCommandOutput
- | UpdatePatchBaselineCommandOutput
- | UpdateResourceDataSyncCommandOutput
- | UpdateServiceSettingCommandOutput;
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
- /**
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
- */
- requestHandler?: __HttpHandler;
- /**
- * A constructor for a class implementing the @aws-sdk/types.Hash interface
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
- */
- sha256?: __HashConstructor;
- /**
- * The function that will be used to convert strings into HTTP endpoints.
- */
- urlParser?: __UrlParser;
- /**
- * A function that can calculate the length of a request body.
- */
- bodyLengthChecker?: (body: any) => number | undefined;
- /**
- * A function that converts a stream into an array of bytes.
- */
- streamCollector?: __StreamCollector;
- /**
- * The function that will be used to convert a base64-encoded string to a byte array
- */
- base64Decoder?: __Decoder;
- /**
- * The function that will be used to convert binary data to a base64-encoded string
- */
- base64Encoder?: __Encoder;
- /**
- * The function that will be used to convert a UTF8-encoded string to a byte array
- */
- utf8Decoder?: __Decoder;
- /**
- * The function that will be used to convert binary data to a UTF-8 encoded string
- */
- utf8Encoder?: __Encoder;
- /**
- * The string that will be used to populate default value in 'User-Agent' header
- */
- defaultUserAgent?: string;
- /**
- * The runtime environment
- */
- runtime?: string;
- /**
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
- * trait of an operation.
- */
- disableHostPrefix?: boolean;
- /**
- * The service name with which to sign requests.
- */
- signingName?: string;
- /**
- * Default credentials provider; Not available in browser runtime
- */
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
- /**
- * The AWS region to which this client will send requests
- */
- region?: string | __Provider<string>;
- /**
- * Value for how many times a request will be made at most in case of retry.
- */
- maxAttempts?: number | __Provider<number>;
- /**
- * Optional logger for logging debug/info/warn/error.
- */
- logger?: __Logger;
- /**
- * Fetch related hostname, signing name or signing region with given region.
- */
- regionInfoProvider?: RegionInfoProvider;
- }
- export type SSMClientConfig = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
- ClientDefaults &
- RegionInputConfig &
- EndpointsInputConfig &
- AwsAuthInputConfig &
- RetryInputConfig &
- UserAgentInputConfig &
- HostHeaderInputConfig;
- export type SSMClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
- Required<ClientDefaults> &
- RegionResolvedConfig &
- EndpointsResolvedConfig &
- AwsAuthResolvedConfig &
- RetryResolvedConfig &
- UserAgentResolvedConfig &
- HostHeaderResolvedConfig;
- /**
- * <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 SSMClient extends __Client<
- __HttpHandlerOptions,
- ServiceInputTypes,
- ServiceOutputTypes,
- SSMClientResolvedConfig
- > {
- readonly config: SSMClientResolvedConfig;
- constructor(configuration: SSMClientConfig) {
- let _config_0 = {
- ...__ClientDefaultValues,
- ...configuration,
- };
- let _config_1 = resolveRegionConfig(_config_0);
- let _config_2 = resolveEndpointsConfig(_config_1);
- let _config_3 = resolveAwsAuthConfig(_config_2);
- let _config_4 = resolveRetryConfig(_config_3);
- let _config_5 = resolveUserAgentConfig(_config_4);
- let _config_6 = resolveHostHeaderConfig(_config_5);
- super(_config_6);
- this.config = _config_6;
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
- this.middlewareStack.use(getRetryPlugin(this.config));
- this.middlewareStack.use(getUserAgentPlugin(this.config));
- this.middlewareStack.use(getContentLengthPlugin(this.config));
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
- this.middlewareStack.use(getLoggerPlugin(this.config));
- }
- destroy(): void {
- super.destroy();
- }
- }