@aws-sdk/client-ssm 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/SSM.js +549 -542
  4. package/dist-es/SSMClient.js +28 -22
  5. package/dist-es/commands/AddTagsToResourceCommand.js +28 -21
  6. package/dist-es/commands/AssociateOpsItemRelatedItemCommand.js +28 -21
  7. package/dist-es/commands/CancelCommandCommand.js +28 -21
  8. package/dist-es/commands/CancelMaintenanceWindowExecutionCommand.js +28 -21
  9. package/dist-es/commands/CreateActivationCommand.js +28 -21
  10. package/dist-es/commands/CreateAssociationBatchCommand.js +28 -21
  11. package/dist-es/commands/CreateAssociationCommand.js +28 -21
  12. package/dist-es/commands/CreateDocumentCommand.js +28 -21
  13. package/dist-es/commands/CreateMaintenanceWindowCommand.js +28 -21
  14. package/dist-es/commands/CreateOpsItemCommand.js +28 -21
  15. package/dist-es/commands/CreateOpsMetadataCommand.js +28 -21
  16. package/dist-es/commands/CreatePatchBaselineCommand.js +28 -21
  17. package/dist-es/commands/CreateResourceDataSyncCommand.js +28 -21
  18. package/dist-es/commands/DeleteActivationCommand.js +28 -21
  19. package/dist-es/commands/DeleteAssociationCommand.js +28 -21
  20. package/dist-es/commands/DeleteDocumentCommand.js +28 -21
  21. package/dist-es/commands/DeleteInventoryCommand.js +28 -21
  22. package/dist-es/commands/DeleteMaintenanceWindowCommand.js +28 -21
  23. package/dist-es/commands/DeleteOpsMetadataCommand.js +28 -21
  24. package/dist-es/commands/DeleteParameterCommand.js +28 -21
  25. package/dist-es/commands/DeleteParametersCommand.js +28 -21
  26. package/dist-es/commands/DeletePatchBaselineCommand.js +28 -21
  27. package/dist-es/commands/DeleteResourceDataSyncCommand.js +28 -21
  28. package/dist-es/commands/DeregisterManagedInstanceCommand.js +28 -21
  29. package/dist-es/commands/DeregisterPatchBaselineForPatchGroupCommand.js +28 -21
  30. package/dist-es/commands/DeregisterTargetFromMaintenanceWindowCommand.js +28 -21
  31. package/dist-es/commands/DeregisterTaskFromMaintenanceWindowCommand.js +28 -21
  32. package/dist-es/commands/DescribeActivationsCommand.js +28 -21
  33. package/dist-es/commands/DescribeAssociationCommand.js +28 -21
  34. package/dist-es/commands/DescribeAssociationExecutionTargetsCommand.js +28 -21
  35. package/dist-es/commands/DescribeAssociationExecutionsCommand.js +28 -21
  36. package/dist-es/commands/DescribeAutomationExecutionsCommand.js +28 -21
  37. package/dist-es/commands/DescribeAutomationStepExecutionsCommand.js +28 -21
  38. package/dist-es/commands/DescribeAvailablePatchesCommand.js +28 -21
  39. package/dist-es/commands/DescribeDocumentCommand.js +28 -21
  40. package/dist-es/commands/DescribeDocumentPermissionCommand.js +28 -21
  41. package/dist-es/commands/DescribeEffectiveInstanceAssociationsCommand.js +28 -21
  42. package/dist-es/commands/DescribeEffectivePatchesForPatchBaselineCommand.js +28 -21
  43. package/dist-es/commands/DescribeInstanceAssociationsStatusCommand.js +28 -21
  44. package/dist-es/commands/DescribeInstanceInformationCommand.js +28 -21
  45. package/dist-es/commands/DescribeInstancePatchStatesCommand.js +28 -21
  46. package/dist-es/commands/DescribeInstancePatchStatesForPatchGroupCommand.js +28 -21
  47. package/dist-es/commands/DescribeInstancePatchesCommand.js +28 -21
  48. package/dist-es/commands/DescribeInventoryDeletionsCommand.js +28 -21
  49. package/dist-es/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.js +28 -21
  50. package/dist-es/commands/DescribeMaintenanceWindowExecutionTasksCommand.js +28 -21
  51. package/dist-es/commands/DescribeMaintenanceWindowExecutionsCommand.js +28 -21
  52. package/dist-es/commands/DescribeMaintenanceWindowScheduleCommand.js +28 -21
  53. package/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js +28 -21
  54. package/dist-es/commands/DescribeMaintenanceWindowTasksCommand.js +28 -21
  55. package/dist-es/commands/DescribeMaintenanceWindowsCommand.js +28 -21
  56. package/dist-es/commands/DescribeMaintenanceWindowsForTargetCommand.js +28 -21
  57. package/dist-es/commands/DescribeOpsItemsCommand.js +28 -21
  58. package/dist-es/commands/DescribeParametersCommand.js +28 -21
  59. package/dist-es/commands/DescribePatchBaselinesCommand.js +28 -21
  60. package/dist-es/commands/DescribePatchGroupStateCommand.js +28 -21
  61. package/dist-es/commands/DescribePatchGroupsCommand.js +28 -21
  62. package/dist-es/commands/DescribePatchPropertiesCommand.js +28 -21
  63. package/dist-es/commands/DescribeSessionsCommand.js +28 -21
  64. package/dist-es/commands/DisassociateOpsItemRelatedItemCommand.js +28 -21
  65. package/dist-es/commands/GetAutomationExecutionCommand.js +28 -21
  66. package/dist-es/commands/GetCalendarStateCommand.js +28 -21
  67. package/dist-es/commands/GetCommandInvocationCommand.js +28 -21
  68. package/dist-es/commands/GetConnectionStatusCommand.js +28 -21
  69. package/dist-es/commands/GetDefaultPatchBaselineCommand.js +28 -21
  70. package/dist-es/commands/GetDeployablePatchSnapshotForInstanceCommand.js +28 -21
  71. package/dist-es/commands/GetDocumentCommand.js +28 -21
  72. package/dist-es/commands/GetInventoryCommand.js +28 -21
  73. package/dist-es/commands/GetInventorySchemaCommand.js +28 -21
  74. package/dist-es/commands/GetMaintenanceWindowCommand.js +28 -21
  75. package/dist-es/commands/GetMaintenanceWindowExecutionCommand.js +28 -21
  76. package/dist-es/commands/GetMaintenanceWindowExecutionTaskCommand.js +28 -21
  77. package/dist-es/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.js +28 -21
  78. package/dist-es/commands/GetMaintenanceWindowTaskCommand.js +28 -21
  79. package/dist-es/commands/GetOpsItemCommand.js +28 -21
  80. package/dist-es/commands/GetOpsMetadataCommand.js +28 -21
  81. package/dist-es/commands/GetOpsSummaryCommand.js +28 -21
  82. package/dist-es/commands/GetParameterCommand.js +28 -21
  83. package/dist-es/commands/GetParameterHistoryCommand.js +28 -21
  84. package/dist-es/commands/GetParametersByPathCommand.js +28 -21
  85. package/dist-es/commands/GetParametersCommand.js +28 -21
  86. package/dist-es/commands/GetPatchBaselineCommand.js +28 -21
  87. package/dist-es/commands/GetPatchBaselineForPatchGroupCommand.js +28 -21
  88. package/dist-es/commands/GetServiceSettingCommand.js +28 -21
  89. package/dist-es/commands/LabelParameterVersionCommand.js +28 -21
  90. package/dist-es/commands/ListAssociationVersionsCommand.js +28 -21
  91. package/dist-es/commands/ListAssociationsCommand.js +28 -21
  92. package/dist-es/commands/ListCommandInvocationsCommand.js +28 -21
  93. package/dist-es/commands/ListCommandsCommand.js +28 -21
  94. package/dist-es/commands/ListComplianceItemsCommand.js +28 -21
  95. package/dist-es/commands/ListComplianceSummariesCommand.js +28 -21
  96. package/dist-es/commands/ListDocumentMetadataHistoryCommand.js +28 -21
  97. package/dist-es/commands/ListDocumentVersionsCommand.js +28 -21
  98. package/dist-es/commands/ListDocumentsCommand.js +28 -21
  99. package/dist-es/commands/ListInventoryEntriesCommand.js +28 -21
  100. package/dist-es/commands/ListOpsItemEventsCommand.js +28 -21
  101. package/dist-es/commands/ListOpsItemRelatedItemsCommand.js +28 -21
  102. package/dist-es/commands/ListOpsMetadataCommand.js +28 -21
  103. package/dist-es/commands/ListResourceComplianceSummariesCommand.js +28 -21
  104. package/dist-es/commands/ListResourceDataSyncCommand.js +28 -21
  105. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  106. package/dist-es/commands/ModifyDocumentPermissionCommand.js +28 -21
  107. package/dist-es/commands/PutComplianceItemsCommand.js +28 -21
  108. package/dist-es/commands/PutInventoryCommand.js +28 -21
  109. package/dist-es/commands/PutParameterCommand.js +28 -21
  110. package/dist-es/commands/RegisterDefaultPatchBaselineCommand.js +28 -21
  111. package/dist-es/commands/RegisterPatchBaselineForPatchGroupCommand.js +28 -21
  112. package/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js +28 -21
  113. package/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js +28 -21
  114. package/dist-es/commands/RemoveTagsFromResourceCommand.js +28 -21
  115. package/dist-es/commands/ResetServiceSettingCommand.js +28 -21
  116. package/dist-es/commands/ResumeSessionCommand.js +28 -21
  117. package/dist-es/commands/SendAutomationSignalCommand.js +28 -21
  118. package/dist-es/commands/SendCommandCommand.js +28 -21
  119. package/dist-es/commands/StartAssociationsOnceCommand.js +28 -21
  120. package/dist-es/commands/StartAutomationExecutionCommand.js +28 -21
  121. package/dist-es/commands/StartChangeRequestExecutionCommand.js +28 -21
  122. package/dist-es/commands/StartSessionCommand.js +28 -21
  123. package/dist-es/commands/StopAutomationExecutionCommand.js +28 -21
  124. package/dist-es/commands/TerminateSessionCommand.js +28 -21
  125. package/dist-es/commands/UnlabelParameterVersionCommand.js +28 -21
  126. package/dist-es/commands/UpdateAssociationCommand.js +28 -21
  127. package/dist-es/commands/UpdateAssociationStatusCommand.js +28 -21
  128. package/dist-es/commands/UpdateDocumentCommand.js +28 -21
  129. package/dist-es/commands/UpdateDocumentDefaultVersionCommand.js +28 -21
  130. package/dist-es/commands/UpdateDocumentMetadataCommand.js +28 -21
  131. package/dist-es/commands/UpdateMaintenanceWindowCommand.js +28 -21
  132. package/dist-es/commands/UpdateMaintenanceWindowTargetCommand.js +28 -21
  133. package/dist-es/commands/UpdateMaintenanceWindowTaskCommand.js +28 -21
  134. package/dist-es/commands/UpdateManagedInstanceRoleCommand.js +28 -21
  135. package/dist-es/commands/UpdateOpsItemCommand.js +28 -21
  136. package/dist-es/commands/UpdateOpsMetadataCommand.js +28 -21
  137. package/dist-es/commands/UpdatePatchBaselineCommand.js +28 -21
  138. package/dist-es/commands/UpdateResourceDataSyncCommand.js +28 -21
  139. package/dist-es/commands/UpdateServiceSettingCommand.js +28 -21
  140. package/dist-es/endpoints.js +8 -8
  141. package/dist-es/models/SSMServiceException.js +10 -5
  142. package/dist-es/models/models_0.js +1039 -1435
  143. package/dist-es/models/models_1.js +889 -1340
  144. package/dist-es/models/models_2.js +56 -125
  145. package/dist-es/pagination/DescribeActivationsPaginator.js +68 -25
  146. package/dist-es/pagination/DescribeAssociationExecutionTargetsPaginator.js +68 -25
  147. package/dist-es/pagination/DescribeAssociationExecutionsPaginator.js +68 -25
  148. package/dist-es/pagination/DescribeAutomationExecutionsPaginator.js +68 -25
  149. package/dist-es/pagination/DescribeAutomationStepExecutionsPaginator.js +68 -25
  150. package/dist-es/pagination/DescribeAvailablePatchesPaginator.js +68 -25
  151. package/dist-es/pagination/DescribeEffectiveInstanceAssociationsPaginator.js +68 -25
  152. package/dist-es/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js +68 -25
  153. package/dist-es/pagination/DescribeInstanceAssociationsStatusPaginator.js +68 -25
  154. package/dist-es/pagination/DescribeInstanceInformationPaginator.js +68 -25
  155. package/dist-es/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js +68 -25
  156. package/dist-es/pagination/DescribeInstancePatchStatesPaginator.js +68 -25
  157. package/dist-es/pagination/DescribeInstancePatchesPaginator.js +68 -25
  158. package/dist-es/pagination/DescribeInventoryDeletionsPaginator.js +68 -25
  159. package/dist-es/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js +68 -25
  160. package/dist-es/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js +68 -25
  161. package/dist-es/pagination/DescribeMaintenanceWindowExecutionsPaginator.js +68 -25
  162. package/dist-es/pagination/DescribeMaintenanceWindowSchedulePaginator.js +68 -25
  163. package/dist-es/pagination/DescribeMaintenanceWindowTargetsPaginator.js +68 -25
  164. package/dist-es/pagination/DescribeMaintenanceWindowTasksPaginator.js +68 -25
  165. package/dist-es/pagination/DescribeMaintenanceWindowsForTargetPaginator.js +68 -25
  166. package/dist-es/pagination/DescribeMaintenanceWindowsPaginator.js +68 -25
  167. package/dist-es/pagination/DescribeOpsItemsPaginator.js +68 -25
  168. package/dist-es/pagination/DescribeParametersPaginator.js +68 -25
  169. package/dist-es/pagination/DescribePatchBaselinesPaginator.js +68 -25
  170. package/dist-es/pagination/DescribePatchGroupsPaginator.js +68 -25
  171. package/dist-es/pagination/DescribePatchPropertiesPaginator.js +68 -25
  172. package/dist-es/pagination/DescribeSessionsPaginator.js +68 -25
  173. package/dist-es/pagination/GetInventoryPaginator.js +68 -25
  174. package/dist-es/pagination/GetInventorySchemaPaginator.js +68 -25
  175. package/dist-es/pagination/GetOpsSummaryPaginator.js +68 -25
  176. package/dist-es/pagination/GetParameterHistoryPaginator.js +68 -25
  177. package/dist-es/pagination/GetParametersByPathPaginator.js +68 -25
  178. package/dist-es/pagination/ListAssociationVersionsPaginator.js +68 -25
  179. package/dist-es/pagination/ListAssociationsPaginator.js +68 -25
  180. package/dist-es/pagination/ListCommandInvocationsPaginator.js +68 -25
  181. package/dist-es/pagination/ListCommandsPaginator.js +68 -25
  182. package/dist-es/pagination/ListComplianceItemsPaginator.js +68 -25
  183. package/dist-es/pagination/ListComplianceSummariesPaginator.js +68 -25
  184. package/dist-es/pagination/ListDocumentVersionsPaginator.js +68 -25
  185. package/dist-es/pagination/ListDocumentsPaginator.js +68 -25
  186. package/dist-es/pagination/ListOpsItemEventsPaginator.js +68 -25
  187. package/dist-es/pagination/ListOpsItemRelatedItemsPaginator.js +68 -25
  188. package/dist-es/pagination/ListOpsMetadataPaginator.js +68 -25
  189. package/dist-es/pagination/ListResourceComplianceSummariesPaginator.js +68 -25
  190. package/dist-es/pagination/ListResourceDataSyncPaginator.js +68 -25
  191. package/dist-es/protocols/Aws_json1_1.js +12894 -10834
  192. package/dist-es/runtimeConfig.browser.js +12 -26
  193. package/dist-es/runtimeConfig.js +12 -30
  194. package/dist-es/runtimeConfig.native.js +5 -8
  195. package/dist-es/runtimeConfig.shared.js +11 -8
  196. package/dist-es/waiters/waitForCommandExecuted.js +113 -93
  197. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class SSMClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var SSMClient = (function (_super) {
13
+ __extends(SSMClient, _super);
14
+ function SSMClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ SSMClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return SSMClient;
38
+ }(__Client));
39
+ export { SSMClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AddTagsToResourceRequestFilterSensitiveLog, AddTagsToResourceResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AddTagsToResourceCommand, serializeAws_json1_1AddTagsToResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class AddTagsToResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AddTagsToResourceCommand = (function (_super) {
7
+ __extends(AddTagsToResourceCommand, _super);
8
+ function AddTagsToResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddTagsToResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SSMClient";
15
- const commandName = "AddTagsToResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SSMClient";
18
+ var commandName = "AddTagsToResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AddTagsToResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddTagsToResourceResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AddTagsToResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AddTagsToResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddTagsToResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AddTagsToResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddTagsToResourceCommand;
38
+ }($Command));
39
+ export { AddTagsToResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociateOpsItemRelatedItemRequestFilterSensitiveLog, AssociateOpsItemRelatedItemResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AssociateOpsItemRelatedItemCommand, serializeAws_json1_1AssociateOpsItemRelatedItemCommand, } from "../protocols/Aws_json1_1";
5
- export class AssociateOpsItemRelatedItemCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociateOpsItemRelatedItemCommand = (function (_super) {
7
+ __extends(AssociateOpsItemRelatedItemCommand, _super);
8
+ function AssociateOpsItemRelatedItemCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateOpsItemRelatedItemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SSMClient";
15
- const commandName = "AssociateOpsItemRelatedItemCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SSMClient";
18
+ var commandName = "AssociateOpsItemRelatedItemCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateOpsItemRelatedItemRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateOpsItemRelatedItemResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociateOpsItemRelatedItemCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AssociateOpsItemRelatedItemCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateOpsItemRelatedItemCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AssociateOpsItemRelatedItemCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateOpsItemRelatedItemCommand;
38
+ }($Command));
39
+ export { AssociateOpsItemRelatedItemCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CancelCommandRequestFilterSensitiveLog, CancelCommandResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CancelCommandCommand, serializeAws_json1_1CancelCommandCommand, } from "../protocols/Aws_json1_1";
5
- export class CancelCommandCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CancelCommandCommand = (function (_super) {
7
+ __extends(CancelCommandCommand, _super);
8
+ function CancelCommandCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelCommandCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SSMClient";
15
- const commandName = "CancelCommandCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SSMClient";
18
+ var commandName = "CancelCommandCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelCommandRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelCommandResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CancelCommandCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CancelCommandCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelCommandCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CancelCommandCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelCommandCommand;
38
+ }($Command));
39
+ export { CancelCommandCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CancelMaintenanceWindowExecutionRequestFilterSensitiveLog, CancelMaintenanceWindowExecutionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CancelMaintenanceWindowExecutionCommand, serializeAws_json1_1CancelMaintenanceWindowExecutionCommand, } from "../protocols/Aws_json1_1";
5
- export class CancelMaintenanceWindowExecutionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CancelMaintenanceWindowExecutionCommand = (function (_super) {
7
+ __extends(CancelMaintenanceWindowExecutionCommand, _super);
8
+ function CancelMaintenanceWindowExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelMaintenanceWindowExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SSMClient";
15
- const commandName = "CancelMaintenanceWindowExecutionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SSMClient";
18
+ var commandName = "CancelMaintenanceWindowExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelMaintenanceWindowExecutionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelMaintenanceWindowExecutionResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CancelMaintenanceWindowExecutionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CancelMaintenanceWindowExecutionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelMaintenanceWindowExecutionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CancelMaintenanceWindowExecutionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelMaintenanceWindowExecutionCommand;
38
+ }($Command));
39
+ export { CancelMaintenanceWindowExecutionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateActivationRequestFilterSensitiveLog, CreateActivationResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateActivationCommand, serializeAws_json1_1CreateActivationCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateActivationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateActivationCommand = (function (_super) {
7
+ __extends(CreateActivationCommand, _super);
8
+ function CreateActivationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateActivationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SSMClient";
15
- const commandName = "CreateActivationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SSMClient";
18
+ var commandName = "CreateActivationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateActivationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateActivationResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateActivationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateActivationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateActivationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateActivationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateActivationCommand;
38
+ }($Command));
39
+ export { CreateActivationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateAssociationBatchRequestFilterSensitiveLog, CreateAssociationBatchResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateAssociationBatchCommand, serializeAws_json1_1CreateAssociationBatchCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateAssociationBatchCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateAssociationBatchCommand = (function (_super) {
7
+ __extends(CreateAssociationBatchCommand, _super);
8
+ function CreateAssociationBatchCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateAssociationBatchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SSMClient";
15
- const commandName = "CreateAssociationBatchCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SSMClient";
18
+ var commandName = "CreateAssociationBatchCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateAssociationBatchRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateAssociationBatchResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateAssociationBatchCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateAssociationBatchCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateAssociationBatchCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateAssociationBatchCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateAssociationBatchCommand;
38
+ }($Command));
39
+ export { CreateAssociationBatchCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateAssociationRequestFilterSensitiveLog, CreateAssociationResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateAssociationCommand, serializeAws_json1_1CreateAssociationCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateAssociationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateAssociationCommand = (function (_super) {
7
+ __extends(CreateAssociationCommand, _super);
8
+ function CreateAssociationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SSMClient";
15
- const commandName = "CreateAssociationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SSMClient";
18
+ var commandName = "CreateAssociationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateAssociationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateAssociationResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateAssociationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateAssociationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateAssociationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateAssociationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateAssociationCommand;
38
+ }($Command));
39
+ export { CreateAssociationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateDocumentRequestFilterSensitiveLog, CreateDocumentResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateDocumentCommand, serializeAws_json1_1CreateDocumentCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateDocumentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDocumentCommand = (function (_super) {
7
+ __extends(CreateDocumentCommand, _super);
8
+ function CreateDocumentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDocumentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SSMClient";
15
- const commandName = "CreateDocumentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SSMClient";
18
+ var commandName = "CreateDocumentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDocumentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDocumentResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDocumentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateDocumentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDocumentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateDocumentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDocumentCommand;
38
+ }($Command));
39
+ export { CreateDocumentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateMaintenanceWindowRequestFilterSensitiveLog, CreateMaintenanceWindowResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateMaintenanceWindowCommand, serializeAws_json1_1CreateMaintenanceWindowCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateMaintenanceWindowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateMaintenanceWindowCommand = (function (_super) {
7
+ __extends(CreateMaintenanceWindowCommand, _super);
8
+ function CreateMaintenanceWindowCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateMaintenanceWindowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SSMClient";
15
- const commandName = "CreateMaintenanceWindowCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SSMClient";
18
+ var commandName = "CreateMaintenanceWindowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateMaintenanceWindowRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateMaintenanceWindowResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateMaintenanceWindowCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateMaintenanceWindowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateMaintenanceWindowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateMaintenanceWindowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateMaintenanceWindowCommand;
38
+ }($Command));
39
+ export { CreateMaintenanceWindowCommand };