@aws-sdk/client-ssm-incidents 3.478.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 (129) 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-es/commands/BatchGetIncidentFindingsCommand.js +18 -41
  34. package/dist-es/commands/CreateReplicationSetCommand.js +18 -41
  35. package/dist-es/commands/CreateResponsePlanCommand.js +18 -41
  36. package/dist-es/commands/CreateTimelineEventCommand.js +18 -41
  37. package/dist-es/commands/DeleteIncidentRecordCommand.js +18 -41
  38. package/dist-es/commands/DeleteReplicationSetCommand.js +18 -41
  39. package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
  40. package/dist-es/commands/DeleteResponsePlanCommand.js +18 -41
  41. package/dist-es/commands/DeleteTimelineEventCommand.js +18 -41
  42. package/dist-es/commands/GetIncidentRecordCommand.js +18 -41
  43. package/dist-es/commands/GetReplicationSetCommand.js +18 -41
  44. package/dist-es/commands/GetResourcePoliciesCommand.js +18 -41
  45. package/dist-es/commands/GetResponsePlanCommand.js +18 -41
  46. package/dist-es/commands/GetTimelineEventCommand.js +18 -41
  47. package/dist-es/commands/ListIncidentFindingsCommand.js +18 -41
  48. package/dist-es/commands/ListIncidentRecordsCommand.js +18 -41
  49. package/dist-es/commands/ListRelatedItemsCommand.js +18 -41
  50. package/dist-es/commands/ListReplicationSetsCommand.js +18 -41
  51. package/dist-es/commands/ListResponsePlansCommand.js +18 -41
  52. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  53. package/dist-es/commands/ListTimelineEventsCommand.js +18 -41
  54. package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
  55. package/dist-es/commands/StartIncidentCommand.js +18 -41
  56. package/dist-es/commands/TagResourceCommand.js +18 -41
  57. package/dist-es/commands/UntagResourceCommand.js +18 -41
  58. package/dist-es/commands/UpdateDeletionProtectionCommand.js +18 -41
  59. package/dist-es/commands/UpdateIncidentRecordCommand.js +18 -41
  60. package/dist-es/commands/UpdateRelatedItemsCommand.js +18 -41
  61. package/dist-es/commands/UpdateReplicationSetCommand.js +18 -41
  62. package/dist-es/commands/UpdateResponsePlanCommand.js +18 -41
  63. package/dist-es/commands/UpdateTimelineEventCommand.js +18 -41
  64. package/dist-es/endpoint/EndpointParameters.js +6 -0
  65. package/dist-types/commands/BatchGetIncidentFindingsCommand.d.ts +6 -21
  66. package/dist-types/commands/CreateReplicationSetCommand.d.ts +6 -21
  67. package/dist-types/commands/CreateResponsePlanCommand.d.ts +6 -21
  68. package/dist-types/commands/CreateTimelineEventCommand.d.ts +6 -21
  69. package/dist-types/commands/DeleteIncidentRecordCommand.d.ts +6 -21
  70. package/dist-types/commands/DeleteReplicationSetCommand.d.ts +6 -21
  71. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  72. package/dist-types/commands/DeleteResponsePlanCommand.d.ts +6 -21
  73. package/dist-types/commands/DeleteTimelineEventCommand.d.ts +6 -21
  74. package/dist-types/commands/GetIncidentRecordCommand.d.ts +6 -21
  75. package/dist-types/commands/GetReplicationSetCommand.d.ts +6 -21
  76. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +6 -21
  77. package/dist-types/commands/GetResponsePlanCommand.d.ts +6 -21
  78. package/dist-types/commands/GetTimelineEventCommand.d.ts +6 -21
  79. package/dist-types/commands/ListIncidentFindingsCommand.d.ts +6 -21
  80. package/dist-types/commands/ListIncidentRecordsCommand.d.ts +6 -21
  81. package/dist-types/commands/ListRelatedItemsCommand.d.ts +6 -21
  82. package/dist-types/commands/ListReplicationSetsCommand.d.ts +6 -21
  83. package/dist-types/commands/ListResponsePlansCommand.d.ts +6 -21
  84. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  85. package/dist-types/commands/ListTimelineEventsCommand.d.ts +6 -21
  86. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  87. package/dist-types/commands/StartIncidentCommand.d.ts +6 -21
  88. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  89. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  90. package/dist-types/commands/UpdateDeletionProtectionCommand.d.ts +6 -21
  91. package/dist-types/commands/UpdateIncidentRecordCommand.d.ts +6 -21
  92. package/dist-types/commands/UpdateRelatedItemsCommand.d.ts +6 -21
  93. package/dist-types/commands/UpdateReplicationSetCommand.d.ts +6 -21
  94. package/dist-types/commands/UpdateResponsePlanCommand.d.ts +6 -21
  95. package/dist-types/commands/UpdateTimelineEventCommand.d.ts +6 -21
  96. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  97. package/dist-types/ts3.4/commands/BatchGetIncidentFindingsCommand.d.ts +12 -24
  98. package/dist-types/ts3.4/commands/CreateReplicationSetCommand.d.ts +12 -24
  99. package/dist-types/ts3.4/commands/CreateResponsePlanCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/CreateTimelineEventCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/DeleteIncidentRecordCommand.d.ts +12 -24
  102. package/dist-types/ts3.4/commands/DeleteReplicationSetCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  104. package/dist-types/ts3.4/commands/DeleteResponsePlanCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/DeleteTimelineEventCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/GetIncidentRecordCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/GetReplicationSetCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +14 -23
  109. package/dist-types/ts3.4/commands/GetResponsePlanCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/commands/GetTimelineEventCommand.d.ts +14 -23
  111. package/dist-types/ts3.4/commands/ListIncidentFindingsCommand.d.ts +12 -24
  112. package/dist-types/ts3.4/commands/ListIncidentRecordsCommand.d.ts +14 -23
  113. package/dist-types/ts3.4/commands/ListRelatedItemsCommand.d.ts +14 -23
  114. package/dist-types/ts3.4/commands/ListReplicationSetsCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/ListResponsePlansCommand.d.ts +14 -23
  116. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  117. package/dist-types/ts3.4/commands/ListTimelineEventsCommand.d.ts +14 -23
  118. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/StartIncidentCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  122. package/dist-types/ts3.4/commands/UpdateDeletionProtectionCommand.d.ts +12 -24
  123. package/dist-types/ts3.4/commands/UpdateIncidentRecordCommand.d.ts +12 -24
  124. package/dist-types/ts3.4/commands/UpdateRelatedItemsCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/UpdateReplicationSetCommand.d.ts +12 -24
  126. package/dist-types/ts3.4/commands/UpdateResponsePlanCommand.d.ts +14 -23
  127. package/dist-types/ts3.4/commands/UpdateTimelineEventCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  129. package/package.json +9 -9
@@ -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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand 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, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "TagResource",
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_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand 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", "TagResource", {})
19
+ .n("SSMIncidentsClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand 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, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "UntagResource",
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_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand 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", "UntagResource", {})
19
+ .n("SSMIncidentsClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
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_UpdateDeletionProtectionCommand, se_UpdateDeletionProtectionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateDeletionProtectionCommand 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, UpdateDeletionProtectionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "UpdateDeletionProtectionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "UpdateDeletionProtection",
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_UpdateDeletionProtectionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateDeletionProtectionCommand(output, context);
46
- }
7
+ export class UpdateDeletionProtectionCommand 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", "UpdateDeletionProtection", {})
19
+ .n("SSMIncidentsClient", "UpdateDeletionProtectionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateDeletionProtectionCommand)
22
+ .de(de_UpdateDeletionProtectionCommand)
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_UpdateIncidentRecordCommand, se_UpdateIncidentRecordCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateIncidentRecordCommand 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, UpdateIncidentRecordCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "UpdateIncidentRecordCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "UpdateIncidentRecord",
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_UpdateIncidentRecordCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateIncidentRecordCommand(output, context);
46
- }
7
+ export class UpdateIncidentRecordCommand 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", "UpdateIncidentRecord", {})
19
+ .n("SSMIncidentsClient", "UpdateIncidentRecordCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateIncidentRecordCommand)
22
+ .de(de_UpdateIncidentRecordCommand)
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_UpdateRelatedItemsCommand, se_UpdateRelatedItemsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateRelatedItemsCommand 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, UpdateRelatedItemsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "UpdateRelatedItemsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "UpdateRelatedItems",
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_UpdateRelatedItemsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateRelatedItemsCommand(output, context);
46
- }
7
+ export class UpdateRelatedItemsCommand 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", "UpdateRelatedItems", {})
19
+ .n("SSMIncidentsClient", "UpdateRelatedItemsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateRelatedItemsCommand)
22
+ .de(de_UpdateRelatedItemsCommand)
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_UpdateReplicationSetCommand, se_UpdateReplicationSetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateReplicationSetCommand 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, UpdateReplicationSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "UpdateReplicationSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "UpdateReplicationSet",
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_UpdateReplicationSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateReplicationSetCommand(output, context);
46
- }
7
+ export class UpdateReplicationSetCommand 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", "UpdateReplicationSet", {})
19
+ .n("SSMIncidentsClient", "UpdateReplicationSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateReplicationSetCommand)
22
+ .de(de_UpdateReplicationSetCommand)
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_UpdateResponsePlanCommand, se_UpdateResponsePlanCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateResponsePlanCommand 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, UpdateResponsePlanCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "UpdateResponsePlanCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "UpdateResponsePlan",
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_UpdateResponsePlanCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateResponsePlanCommand(output, context);
46
- }
7
+ export class UpdateResponsePlanCommand 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", "UpdateResponsePlan", {})
19
+ .n("SSMIncidentsClient", "UpdateResponsePlanCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateResponsePlanCommand)
22
+ .de(de_UpdateResponsePlanCommand)
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_UpdateTimelineEventCommand, se_UpdateTimelineEventCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateTimelineEventCommand 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, UpdateTimelineEventCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SSMIncidentsClient";
26
- const commandName = "UpdateTimelineEventCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SSMIncidents",
35
- operation: "UpdateTimelineEvent",
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_UpdateTimelineEventCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateTimelineEventCommand(output, context);
46
- }
7
+ export class UpdateTimelineEventCommand 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", "UpdateTimelineEvent", {})
19
+ .n("SSMIncidentsClient", "UpdateTimelineEventCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateTimelineEventCommand)
22
+ .de(de_UpdateTimelineEventCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "ssm-incidents",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchGetIncidentFindingsInput, BatchGetIncidentFindingsOutput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchGetIncidentFindingsCommandInput extends BatchGetIncidentFi
21
20
  */
22
21
  export interface BatchGetIncidentFindingsCommandOutput extends BatchGetIncidentFindingsOutput, __MetadataBearer {
23
22
  }
23
+ declare const BatchGetIncidentFindingsCommand_base: {
24
+ new (input: BatchGetIncidentFindingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetIncidentFindingsCommandInput, BatchGetIncidentFindingsCommandOutput, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves details about all specified findings for an incident, including descriptive details about each finding. A finding
@@ -100,23 +103,5 @@ export interface BatchGetIncidentFindingsCommandOutput extends BatchGetIncidentF
100
103
  * <p>Base exception class for all service exceptions from SSMIncidents service.</p>
101
104
  *
102
105
  */
103
- export declare class BatchGetIncidentFindingsCommand extends $Command<BatchGetIncidentFindingsCommandInput, BatchGetIncidentFindingsCommandOutput, SSMIncidentsClientResolvedConfig> {
104
- readonly input: BatchGetIncidentFindingsCommandInput;
105
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
106
- /**
107
- * @public
108
- */
109
- constructor(input: BatchGetIncidentFindingsCommandInput);
110
- /**
111
- * @internal
112
- */
113
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMIncidentsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetIncidentFindingsCommandInput, BatchGetIncidentFindingsCommandOutput>;
114
- /**
115
- * @internal
116
- */
117
- private serialize;
118
- /**
119
- * @internal
120
- */
121
- private deserialize;
106
+ export declare class BatchGetIncidentFindingsCommand extends BatchGetIncidentFindingsCommand_base {
122
107
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateReplicationSetInput, CreateReplicationSetOutput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateReplicationSetCommandInput extends CreateReplicationSetIn
21
20
  */
22
21
  export interface CreateReplicationSetCommandOutput extends CreateReplicationSetOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateReplicationSetCommand_base: {
24
+ new (input: CreateReplicationSetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateReplicationSetCommandInput, CreateReplicationSetCommandOutput, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>A replication set replicates and encrypts your data to the provided Regions with the
@@ -80,23 +83,5 @@ export interface CreateReplicationSetCommandOutput extends CreateReplicationSetO
80
83
  * <p>Base exception class for all service exceptions from SSMIncidents service.</p>
81
84
  *
82
85
  */
83
- export declare class CreateReplicationSetCommand extends $Command<CreateReplicationSetCommandInput, CreateReplicationSetCommandOutput, SSMIncidentsClientResolvedConfig> {
84
- readonly input: CreateReplicationSetCommandInput;
85
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
- /**
87
- * @public
88
- */
89
- constructor(input: CreateReplicationSetCommandInput);
90
- /**
91
- * @internal
92
- */
93
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMIncidentsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateReplicationSetCommandInput, CreateReplicationSetCommandOutput>;
94
- /**
95
- * @internal
96
- */
97
- private serialize;
98
- /**
99
- * @internal
100
- */
101
- private deserialize;
86
+ export declare class CreateReplicationSetCommand extends CreateReplicationSetCommand_base {
102
87
  }