@aws-sdk/client-ssm-incidents 3.477.0 → 3.481.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 (157) hide show
  1. package/dist-cjs/commands/BatchGetIncidentFindingsCommand.js +18 -41
  2. package/dist-cjs/commands/CreateReplicationSetCommand.js +18 -41
  3. package/dist-cjs/commands/CreateResponsePlanCommand.js +18 -41
  4. package/dist-cjs/commands/CreateTimelineEventCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteIncidentRecordCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteReplicationSetCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteResponsePlanCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteTimelineEventCommand.js +18 -41
  10. package/dist-cjs/commands/GetIncidentRecordCommand.js +18 -41
  11. package/dist-cjs/commands/GetReplicationSetCommand.js +18 -41
  12. package/dist-cjs/commands/GetResourcePoliciesCommand.js +18 -41
  13. package/dist-cjs/commands/GetResponsePlanCommand.js +18 -41
  14. package/dist-cjs/commands/GetTimelineEventCommand.js +18 -41
  15. package/dist-cjs/commands/ListIncidentFindingsCommand.js +18 -41
  16. package/dist-cjs/commands/ListIncidentRecordsCommand.js +18 -41
  17. package/dist-cjs/commands/ListRelatedItemsCommand.js +18 -41
  18. package/dist-cjs/commands/ListReplicationSetsCommand.js +18 -41
  19. package/dist-cjs/commands/ListResponsePlansCommand.js +18 -41
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  21. package/dist-cjs/commands/ListTimelineEventsCommand.js +18 -41
  22. package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
  23. package/dist-cjs/commands/StartIncidentCommand.js +18 -41
  24. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  25. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  26. package/dist-cjs/commands/UpdateDeletionProtectionCommand.js +18 -41
  27. package/dist-cjs/commands/UpdateIncidentRecordCommand.js +18 -41
  28. package/dist-cjs/commands/UpdateRelatedItemsCommand.js +18 -41
  29. package/dist-cjs/commands/UpdateReplicationSetCommand.js +18 -41
  30. package/dist-cjs/commands/UpdateResponsePlanCommand.js +18 -41
  31. package/dist-cjs/commands/UpdateTimelineEventCommand.js +18 -41
  32. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  33. package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +2 -24
  34. package/dist-cjs/pagination/ListIncidentFindingsPaginator.js +2 -24
  35. package/dist-cjs/pagination/ListIncidentRecordsPaginator.js +2 -24
  36. package/dist-cjs/pagination/ListRelatedItemsPaginator.js +2 -24
  37. package/dist-cjs/pagination/ListReplicationSetsPaginator.js +2 -24
  38. package/dist-cjs/pagination/ListResponsePlansPaginator.js +2 -24
  39. package/dist-cjs/pagination/ListTimelineEventsPaginator.js +2 -24
  40. package/dist-es/commands/BatchGetIncidentFindingsCommand.js +18 -41
  41. package/dist-es/commands/CreateReplicationSetCommand.js +18 -41
  42. package/dist-es/commands/CreateResponsePlanCommand.js +18 -41
  43. package/dist-es/commands/CreateTimelineEventCommand.js +18 -41
  44. package/dist-es/commands/DeleteIncidentRecordCommand.js +18 -41
  45. package/dist-es/commands/DeleteReplicationSetCommand.js +18 -41
  46. package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
  47. package/dist-es/commands/DeleteResponsePlanCommand.js +18 -41
  48. package/dist-es/commands/DeleteTimelineEventCommand.js +18 -41
  49. package/dist-es/commands/GetIncidentRecordCommand.js +18 -41
  50. package/dist-es/commands/GetReplicationSetCommand.js +18 -41
  51. package/dist-es/commands/GetResourcePoliciesCommand.js +18 -41
  52. package/dist-es/commands/GetResponsePlanCommand.js +18 -41
  53. package/dist-es/commands/GetTimelineEventCommand.js +18 -41
  54. package/dist-es/commands/ListIncidentFindingsCommand.js +18 -41
  55. package/dist-es/commands/ListIncidentRecordsCommand.js +18 -41
  56. package/dist-es/commands/ListRelatedItemsCommand.js +18 -41
  57. package/dist-es/commands/ListReplicationSetsCommand.js +18 -41
  58. package/dist-es/commands/ListResponsePlansCommand.js +18 -41
  59. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  60. package/dist-es/commands/ListTimelineEventsCommand.js +18 -41
  61. package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
  62. package/dist-es/commands/StartIncidentCommand.js +18 -41
  63. package/dist-es/commands/TagResourceCommand.js +18 -41
  64. package/dist-es/commands/UntagResourceCommand.js +18 -41
  65. package/dist-es/commands/UpdateDeletionProtectionCommand.js +18 -41
  66. package/dist-es/commands/UpdateIncidentRecordCommand.js +18 -41
  67. package/dist-es/commands/UpdateRelatedItemsCommand.js +18 -41
  68. package/dist-es/commands/UpdateReplicationSetCommand.js +18 -41
  69. package/dist-es/commands/UpdateResponsePlanCommand.js +18 -41
  70. package/dist-es/commands/UpdateTimelineEventCommand.js +18 -41
  71. package/dist-es/endpoint/EndpointParameters.js +6 -0
  72. package/dist-es/pagination/GetResourcePoliciesPaginator.js +2 -23
  73. package/dist-es/pagination/ListIncidentFindingsPaginator.js +2 -23
  74. package/dist-es/pagination/ListIncidentRecordsPaginator.js +2 -23
  75. package/dist-es/pagination/ListRelatedItemsPaginator.js +2 -23
  76. package/dist-es/pagination/ListReplicationSetsPaginator.js +2 -23
  77. package/dist-es/pagination/ListResponsePlansPaginator.js +2 -23
  78. package/dist-es/pagination/ListTimelineEventsPaginator.js +2 -23
  79. package/dist-types/commands/BatchGetIncidentFindingsCommand.d.ts +6 -21
  80. package/dist-types/commands/CreateReplicationSetCommand.d.ts +6 -21
  81. package/dist-types/commands/CreateResponsePlanCommand.d.ts +6 -21
  82. package/dist-types/commands/CreateTimelineEventCommand.d.ts +6 -21
  83. package/dist-types/commands/DeleteIncidentRecordCommand.d.ts +6 -21
  84. package/dist-types/commands/DeleteReplicationSetCommand.d.ts +6 -21
  85. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  86. package/dist-types/commands/DeleteResponsePlanCommand.d.ts +6 -21
  87. package/dist-types/commands/DeleteTimelineEventCommand.d.ts +6 -21
  88. package/dist-types/commands/GetIncidentRecordCommand.d.ts +6 -21
  89. package/dist-types/commands/GetReplicationSetCommand.d.ts +6 -21
  90. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +6 -21
  91. package/dist-types/commands/GetResponsePlanCommand.d.ts +6 -21
  92. package/dist-types/commands/GetTimelineEventCommand.d.ts +6 -21
  93. package/dist-types/commands/ListIncidentFindingsCommand.d.ts +6 -21
  94. package/dist-types/commands/ListIncidentRecordsCommand.d.ts +6 -21
  95. package/dist-types/commands/ListRelatedItemsCommand.d.ts +6 -21
  96. package/dist-types/commands/ListReplicationSetsCommand.d.ts +6 -21
  97. package/dist-types/commands/ListResponsePlansCommand.d.ts +6 -21
  98. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  99. package/dist-types/commands/ListTimelineEventsCommand.d.ts +6 -21
  100. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  101. package/dist-types/commands/StartIncidentCommand.d.ts +6 -21
  102. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  103. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  104. package/dist-types/commands/UpdateDeletionProtectionCommand.d.ts +6 -21
  105. package/dist-types/commands/UpdateIncidentRecordCommand.d.ts +6 -21
  106. package/dist-types/commands/UpdateRelatedItemsCommand.d.ts +6 -21
  107. package/dist-types/commands/UpdateReplicationSetCommand.d.ts +6 -21
  108. package/dist-types/commands/UpdateResponsePlanCommand.d.ts +6 -21
  109. package/dist-types/commands/UpdateTimelineEventCommand.d.ts +6 -21
  110. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  111. package/dist-types/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
  112. package/dist-types/pagination/ListIncidentFindingsPaginator.d.ts +1 -1
  113. package/dist-types/pagination/ListIncidentRecordsPaginator.d.ts +1 -1
  114. package/dist-types/pagination/ListRelatedItemsPaginator.d.ts +1 -1
  115. package/dist-types/pagination/ListReplicationSetsPaginator.d.ts +1 -1
  116. package/dist-types/pagination/ListResponsePlansPaginator.d.ts +1 -1
  117. package/dist-types/pagination/ListTimelineEventsPaginator.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/BatchGetIncidentFindingsCommand.d.ts +12 -24
  119. package/dist-types/ts3.4/commands/CreateReplicationSetCommand.d.ts +12 -24
  120. package/dist-types/ts3.4/commands/CreateResponsePlanCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/CreateTimelineEventCommand.d.ts +14 -23
  122. package/dist-types/ts3.4/commands/DeleteIncidentRecordCommand.d.ts +12 -24
  123. package/dist-types/ts3.4/commands/DeleteReplicationSetCommand.d.ts +12 -24
  124. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  125. package/dist-types/ts3.4/commands/DeleteResponsePlanCommand.d.ts +14 -23
  126. package/dist-types/ts3.4/commands/DeleteTimelineEventCommand.d.ts +14 -23
  127. package/dist-types/ts3.4/commands/GetIncidentRecordCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/commands/GetReplicationSetCommand.d.ts +14 -23
  129. package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +14 -23
  130. package/dist-types/ts3.4/commands/GetResponsePlanCommand.d.ts +14 -23
  131. package/dist-types/ts3.4/commands/GetTimelineEventCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/commands/ListIncidentFindingsCommand.d.ts +12 -24
  133. package/dist-types/ts3.4/commands/ListIncidentRecordsCommand.d.ts +14 -23
  134. package/dist-types/ts3.4/commands/ListRelatedItemsCommand.d.ts +14 -23
  135. package/dist-types/ts3.4/commands/ListReplicationSetsCommand.d.ts +14 -23
  136. package/dist-types/ts3.4/commands/ListResponsePlansCommand.d.ts +14 -23
  137. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  138. package/dist-types/ts3.4/commands/ListTimelineEventsCommand.d.ts +14 -23
  139. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/StartIncidentCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  143. package/dist-types/ts3.4/commands/UpdateDeletionProtectionCommand.d.ts +12 -24
  144. package/dist-types/ts3.4/commands/UpdateIncidentRecordCommand.d.ts +12 -24
  145. package/dist-types/ts3.4/commands/UpdateRelatedItemsCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/UpdateReplicationSetCommand.d.ts +12 -24
  147. package/dist-types/ts3.4/commands/UpdateResponsePlanCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/UpdateTimelineEventCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  150. package/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +3 -3
  151. package/dist-types/ts3.4/pagination/ListIncidentFindingsPaginator.d.ts +3 -3
  152. package/dist-types/ts3.4/pagination/ListIncidentRecordsPaginator.d.ts +3 -3
  153. package/dist-types/ts3.4/pagination/ListRelatedItemsPaginator.d.ts +3 -3
  154. package/dist-types/ts3.4/pagination/ListReplicationSetsPaginator.d.ts +3 -3
  155. package/dist-types/ts3.4/pagination/ListResponsePlansPaginator.d.ts +3 -3
  156. package/dist-types/ts3.4/pagination/ListTimelineEventsPaginator.d.ts +3 -3
  157. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetReplicationSetCommand, se_GetReplicationSetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetReplicationSetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetReplicationSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "GetReplicationSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "GetReplicationSet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetReplicationSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetReplicationSetCommand(output, context);
46
- }
7
+ export class GetReplicationSetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SSMIncidents", "GetReplicationSet", {})
19
+ .n("SSMIncidentsClient", "GetReplicationSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetReplicationSetCommand)
22
+ .de(de_GetReplicationSetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetResourcePoliciesCommand, se_GetResourcePoliciesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetResourcePoliciesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetResourcePoliciesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "GetResourcePoliciesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "GetResourcePolicies",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetResourcePoliciesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetResourcePoliciesCommand(output, context);
46
- }
7
+ export class GetResourcePoliciesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SSMIncidents", "GetResourcePolicies", {})
19
+ .n("SSMIncidentsClient", "GetResourcePoliciesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetResourcePoliciesCommand)
22
+ .de(de_GetResourcePoliciesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetResponsePlanCommand, se_GetResponsePlanCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetResponsePlanCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetResponsePlanCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "GetResponsePlanCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "GetResponsePlan",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetResponsePlanCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetResponsePlanCommand(output, context);
46
- }
7
+ export class GetResponsePlanCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SSMIncidents", "GetResponsePlan", {})
19
+ .n("SSMIncidentsClient", "GetResponsePlanCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetResponsePlanCommand)
22
+ .de(de_GetResponsePlanCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetTimelineEventCommand, se_GetTimelineEventCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetTimelineEventCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetTimelineEventCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "GetTimelineEventCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "GetTimelineEvent",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetTimelineEventCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetTimelineEventCommand(output, context);
46
- }
7
+ export class GetTimelineEventCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SSMIncidents", "GetTimelineEvent", {})
19
+ .n("SSMIncidentsClient", "GetTimelineEventCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetTimelineEventCommand)
22
+ .de(de_GetTimelineEventCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListIncidentFindingsCommand, se_ListIncidentFindingsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListIncidentFindingsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListIncidentFindingsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "ListIncidentFindingsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "ListIncidentFindings",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListIncidentFindingsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListIncidentFindingsCommand(output, context);
46
- }
7
+ export class ListIncidentFindingsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SSMIncidents", "ListIncidentFindings", {})
19
+ .n("SSMIncidentsClient", "ListIncidentFindingsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListIncidentFindingsCommand)
22
+ .de(de_ListIncidentFindingsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListIncidentRecordsCommand, se_ListIncidentRecordsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListIncidentRecordsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListIncidentRecordsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "ListIncidentRecordsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "ListIncidentRecords",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListIncidentRecordsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListIncidentRecordsCommand(output, context);
46
- }
7
+ export class ListIncidentRecordsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SSMIncidents", "ListIncidentRecords", {})
19
+ .n("SSMIncidentsClient", "ListIncidentRecordsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListIncidentRecordsCommand)
22
+ .de(de_ListIncidentRecordsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListRelatedItemsCommand, se_ListRelatedItemsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListRelatedItemsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListRelatedItemsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "ListRelatedItemsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "ListRelatedItems",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListRelatedItemsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListRelatedItemsCommand(output, context);
46
- }
7
+ export class ListRelatedItemsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SSMIncidents", "ListRelatedItems", {})
19
+ .n("SSMIncidentsClient", "ListRelatedItemsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListRelatedItemsCommand)
22
+ .de(de_ListRelatedItemsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListReplicationSetsCommand, se_ListReplicationSetsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListReplicationSetsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListReplicationSetsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "ListReplicationSetsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "ListReplicationSets",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListReplicationSetsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListReplicationSetsCommand(output, context);
46
- }
7
+ export class ListReplicationSetsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SSMIncidents", "ListReplicationSets", {})
19
+ .n("SSMIncidentsClient", "ListReplicationSetsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListReplicationSetsCommand)
22
+ .de(de_ListReplicationSetsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListResponsePlansCommand, se_ListResponsePlansCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListResponsePlansCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListResponsePlansCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "ListResponsePlansCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "ListResponsePlans",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListResponsePlansCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListResponsePlansCommand(output, context);
46
- }
7
+ export class ListResponsePlansCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SSMIncidents", "ListResponsePlans", {})
19
+ .n("SSMIncidentsClient", "ListResponsePlansCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListResponsePlansCommand)
22
+ .de(de_ListResponsePlansCommand)
23
+ .build() {
47
24
  }