@aws-sdk/client-ssm-incidents 3.1076.0 → 3.1078.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 (113) hide show
  1. package/dist-cjs/index.js +42 -315
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchGetIncidentFindingsCommand.js +2 -14
  4. package/dist-es/commands/CreateReplicationSetCommand.js +2 -14
  5. package/dist-es/commands/CreateResponsePlanCommand.js +2 -14
  6. package/dist-es/commands/CreateTimelineEventCommand.js +2 -14
  7. package/dist-es/commands/DeleteIncidentRecordCommand.js +2 -14
  8. package/dist-es/commands/DeleteReplicationSetCommand.js +2 -14
  9. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  10. package/dist-es/commands/DeleteResponsePlanCommand.js +2 -14
  11. package/dist-es/commands/DeleteTimelineEventCommand.js +2 -14
  12. package/dist-es/commands/GetIncidentRecordCommand.js +2 -14
  13. package/dist-es/commands/GetReplicationSetCommand.js +2 -14
  14. package/dist-es/commands/GetResourcePoliciesCommand.js +2 -14
  15. package/dist-es/commands/GetResponsePlanCommand.js +2 -14
  16. package/dist-es/commands/GetTimelineEventCommand.js +2 -14
  17. package/dist-es/commands/ListIncidentFindingsCommand.js +2 -14
  18. package/dist-es/commands/ListIncidentRecordsCommand.js +2 -14
  19. package/dist-es/commands/ListRelatedItemsCommand.js +2 -14
  20. package/dist-es/commands/ListReplicationSetsCommand.js +2 -14
  21. package/dist-es/commands/ListResponsePlansCommand.js +2 -14
  22. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  23. package/dist-es/commands/ListTimelineEventsCommand.js +2 -14
  24. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  25. package/dist-es/commands/StartIncidentCommand.js +2 -14
  26. package/dist-es/commands/TagResourceCommand.js +2 -14
  27. package/dist-es/commands/UntagResourceCommand.js +2 -14
  28. package/dist-es/commands/UpdateDeletionProtectionCommand.js +2 -14
  29. package/dist-es/commands/UpdateIncidentRecordCommand.js +2 -14
  30. package/dist-es/commands/UpdateRelatedItemsCommand.js +2 -14
  31. package/dist-es/commands/UpdateReplicationSetCommand.js +2 -14
  32. package/dist-es/commands/UpdateResponsePlanCommand.js +2 -14
  33. package/dist-es/commands/UpdateTimelineEventCommand.js +2 -14
  34. package/dist-es/index.js +1 -0
  35. package/dist-es/runtimeConfig.browser.js +0 -2
  36. package/dist-es/runtimeConfig.js +1 -2
  37. package/dist-es/runtimeConfig.native.js +0 -2
  38. package/dist-es/runtimeConfig.shared.js +2 -0
  39. package/dist-types/commandBuilder.d.ts +18 -0
  40. package/dist-types/commands/BatchGetIncidentFindingsCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateReplicationSetCommand.d.ts +3 -8
  42. package/dist-types/commands/CreateResponsePlanCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateTimelineEventCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteIncidentRecordCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteReplicationSetCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteResponsePlanCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteTimelineEventCommand.d.ts +3 -8
  49. package/dist-types/commands/GetIncidentRecordCommand.d.ts +3 -8
  50. package/dist-types/commands/GetReplicationSetCommand.d.ts +3 -8
  51. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +3 -8
  52. package/dist-types/commands/GetResponsePlanCommand.d.ts +3 -8
  53. package/dist-types/commands/GetTimelineEventCommand.d.ts +3 -8
  54. package/dist-types/commands/ListIncidentFindingsCommand.d.ts +3 -8
  55. package/dist-types/commands/ListIncidentRecordsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListRelatedItemsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListReplicationSetsCommand.d.ts +3 -8
  58. package/dist-types/commands/ListResponsePlansCommand.d.ts +3 -8
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  60. package/dist-types/commands/ListTimelineEventsCommand.d.ts +3 -8
  61. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  62. package/dist-types/commands/StartIncidentCommand.d.ts +3 -8
  63. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateDeletionProtectionCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdateIncidentRecordCommand.d.ts +3 -8
  67. package/dist-types/commands/UpdateRelatedItemsCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateReplicationSetCommand.d.ts +3 -8
  69. package/dist-types/commands/UpdateResponsePlanCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateTimelineEventCommand.d.ts +3 -8
  71. package/dist-types/index.d.ts +1 -0
  72. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  73. package/dist-types/runtimeConfig.d.ts +1 -1
  74. package/dist-types/runtimeConfig.native.d.ts +1 -1
  75. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  76. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  77. package/dist-types/ts3.4/commands/BatchGetIncidentFindingsCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateReplicationSetCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/CreateResponsePlanCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/CreateTimelineEventCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DeleteIncidentRecordCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DeleteReplicationSetCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteResponsePlanCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteTimelineEventCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/GetIncidentRecordCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/GetReplicationSetCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetResponsePlanCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetTimelineEventCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ListIncidentFindingsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListIncidentRecordsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListRelatedItemsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListReplicationSetsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/ListResponsePlansCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListTimelineEventsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/StartIncidentCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/UpdateDeletionProtectionCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/UpdateIncidentRecordCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UpdateRelatedItemsCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/UpdateReplicationSetCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/UpdateResponsePlanCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/UpdateTimelineEventCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/index.d.ts +1 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  113. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetReplicationSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetReplicationSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "GetReplicationSet", {})
13
- .n("SSMIncidentsClient", "GetReplicationSetCommand")
14
- .sc(GetReplicationSet$)
15
- .build() {
3
+ export class GetReplicationSetCommand extends command(_ep0, _mw0, "GetReplicationSet", GetReplicationSet$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetResourcePolicies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourcePoliciesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "GetResourcePolicies", {})
13
- .n("SSMIncidentsClient", "GetResourcePoliciesCommand")
14
- .sc(GetResourcePolicies$)
15
- .build() {
3
+ export class GetResourcePoliciesCommand extends command(_ep0, _mw0, "GetResourcePolicies", GetResourcePolicies$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetResponsePlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResponsePlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "GetResponsePlan", {})
13
- .n("SSMIncidentsClient", "GetResponsePlanCommand")
14
- .sc(GetResponsePlan$)
15
- .build() {
3
+ export class GetResponsePlanCommand extends command(_ep0, _mw0, "GetResponsePlan", GetResponsePlan$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetTimelineEvent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTimelineEventCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "GetTimelineEvent", {})
13
- .n("SSMIncidentsClient", "GetTimelineEventCommand")
14
- .sc(GetTimelineEvent$)
15
- .build() {
3
+ export class GetTimelineEventCommand extends command(_ep0, _mw0, "GetTimelineEvent", GetTimelineEvent$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListIncidentFindings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListIncidentFindingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "ListIncidentFindings", {})
13
- .n("SSMIncidentsClient", "ListIncidentFindingsCommand")
14
- .sc(ListIncidentFindings$)
15
- .build() {
3
+ export class ListIncidentFindingsCommand extends command(_ep0, _mw0, "ListIncidentFindings", ListIncidentFindings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListIncidentRecords$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListIncidentRecordsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "ListIncidentRecords", {})
13
- .n("SSMIncidentsClient", "ListIncidentRecordsCommand")
14
- .sc(ListIncidentRecords$)
15
- .build() {
3
+ export class ListIncidentRecordsCommand extends command(_ep0, _mw0, "ListIncidentRecords", ListIncidentRecords$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListRelatedItems$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRelatedItemsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "ListRelatedItems", {})
13
- .n("SSMIncidentsClient", "ListRelatedItemsCommand")
14
- .sc(ListRelatedItems$)
15
- .build() {
3
+ export class ListRelatedItemsCommand extends command(_ep0, _mw0, "ListRelatedItems", ListRelatedItems$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListReplicationSets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListReplicationSetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "ListReplicationSets", {})
13
- .n("SSMIncidentsClient", "ListReplicationSetsCommand")
14
- .sc(ListReplicationSets$)
15
- .build() {
3
+ export class ListReplicationSetsCommand extends command(_ep0, _mw0, "ListReplicationSets", ListReplicationSets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListResponsePlans$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListResponsePlansCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "ListResponsePlans", {})
13
- .n("SSMIncidentsClient", "ListResponsePlansCommand")
14
- .sc(ListResponsePlans$)
15
- .build() {
3
+ export class ListResponsePlansCommand extends command(_ep0, _mw0, "ListResponsePlans", ListResponsePlans$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "ListTagsForResource", {})
13
- .n("SSMIncidentsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTimelineEvents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTimelineEventsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "ListTimelineEvents", {})
13
- .n("SSMIncidentsClient", "ListTimelineEventsCommand")
14
- .sc(ListTimelineEvents$)
15
- .build() {
3
+ export class ListTimelineEventsCommand extends command(_ep0, _mw0, "ListTimelineEvents", ListTimelineEvents$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "PutResourcePolicy", {})
13
- .n("SSMIncidentsClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy$)
15
- .build() {
3
+ export class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartIncident$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartIncidentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "StartIncident", {})
13
- .n("SSMIncidentsClient", "StartIncidentCommand")
14
- .sc(StartIncident$)
15
- .build() {
3
+ export class StartIncidentCommand extends command(_ep0, _mw0, "StartIncident", StartIncident$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "TagResource", {})
13
- .n("SSMIncidentsClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "UntagResource", {})
13
- .n("SSMIncidentsClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDeletionProtection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDeletionProtectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "UpdateDeletionProtection", {})
13
- .n("SSMIncidentsClient", "UpdateDeletionProtectionCommand")
14
- .sc(UpdateDeletionProtection$)
15
- .build() {
3
+ export class UpdateDeletionProtectionCommand extends command(_ep0, _mw0, "UpdateDeletionProtection", UpdateDeletionProtection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateIncidentRecord$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateIncidentRecordCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "UpdateIncidentRecord", {})
13
- .n("SSMIncidentsClient", "UpdateIncidentRecordCommand")
14
- .sc(UpdateIncidentRecord$)
15
- .build() {
3
+ export class UpdateIncidentRecordCommand extends command(_ep0, _mw0, "UpdateIncidentRecord", UpdateIncidentRecord$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateRelatedItems$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateRelatedItemsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "UpdateRelatedItems", {})
13
- .n("SSMIncidentsClient", "UpdateRelatedItemsCommand")
14
- .sc(UpdateRelatedItems$)
15
- .build() {
3
+ export class UpdateRelatedItemsCommand extends command(_ep0, _mw0, "UpdateRelatedItems", UpdateRelatedItems$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateReplicationSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateReplicationSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "UpdateReplicationSet", {})
13
- .n("SSMIncidentsClient", "UpdateReplicationSetCommand")
14
- .sc(UpdateReplicationSet$)
15
- .build() {
3
+ export class UpdateReplicationSetCommand extends command(_ep0, _mw0, "UpdateReplicationSet", UpdateReplicationSet$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateResponsePlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateResponsePlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "UpdateResponsePlan", {})
13
- .n("SSMIncidentsClient", "UpdateResponsePlanCommand")
14
- .sc(UpdateResponsePlan$)
15
- .build() {
3
+ export class UpdateResponsePlanCommand extends command(_ep0, _mw0, "UpdateResponsePlan", UpdateResponsePlan$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateTimelineEvent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateTimelineEventCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SSMIncidents", "UpdateTimelineEvent", {})
13
- .n("SSMIncidentsClient", "UpdateTimelineEventCommand")
14
- .sc(UpdateTimelineEvent$)
15
- .build() {
3
+ export class UpdateTimelineEventCommand extends command(_ep0, _mw0, "UpdateTimelineEvent", UpdateTimelineEvent$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SSMIncidentsClient";
2
2
  export * from "./SSMIncidents";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./waiters";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "SSMIncidents",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "SSM Incidents",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "./SSMIncidentsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { BatchGetIncidentFindingsInput, BatchGetIncidentFindingsOutput } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface BatchGetIncidentFindingsCommandInput extends BatchGetIncidentFi
22
19
  export interface BatchGetIncidentFindingsCommandOutput extends BatchGetIncidentFindingsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const BatchGetIncidentFindingsCommand_base: {
25
- new (input: BatchGetIncidentFindingsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetIncidentFindingsCommandInput, BatchGetIncidentFindingsCommandOutput, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BatchGetIncidentFindingsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetIncidentFindingsCommandInput, BatchGetIncidentFindingsCommandOutput, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: BatchGetIncidentFindingsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetIncidentFindingsCommandInput, BatchGetIncidentFindingsCommandOutput, import("..").SSMIncidentsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchGetIncidentFindingsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetIncidentFindingsCommandInput, BatchGetIncidentFindingsCommandOutput, import("..").SSMIncidentsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves details about all specified findings for an incident, including descriptive details about each finding. A finding
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateReplicationSetInput, CreateReplicationSetOutput } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateReplicationSetCommandInput extends CreateReplicationSetIn
22
19
  export interface CreateReplicationSetCommandOutput extends CreateReplicationSetOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateReplicationSetCommand_base: {
25
- new (input: CreateReplicationSetCommandInput): import("@smithy/core/client").CommandImpl<CreateReplicationSetCommandInput, CreateReplicationSetCommandOutput, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateReplicationSetCommandInput): import("@smithy/core/client").CommandImpl<CreateReplicationSetCommandInput, CreateReplicationSetCommandOutput, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateReplicationSetCommandInput): import("@smithy/core/client").CommandImpl<CreateReplicationSetCommandInput, CreateReplicationSetCommandOutput, import("..").SSMIncidentsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateReplicationSetCommandInput): import("@smithy/core/client").CommandImpl<CreateReplicationSetCommandInput, CreateReplicationSetCommandOutput, import("..").SSMIncidentsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>A replication set replicates and encrypts your data to the provided Regions with the
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateResponsePlanInput, CreateResponsePlanOutput } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateResponsePlanCommandInput extends CreateResponsePlanInput
22
19
  export interface CreateResponsePlanCommandOutput extends CreateResponsePlanOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateResponsePlanCommand_base: {
25
- new (input: CreateResponsePlanCommandInput): import("@smithy/core/client").CommandImpl<CreateResponsePlanCommandInput, CreateResponsePlanCommandOutput, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateResponsePlanCommandInput): import("@smithy/core/client").CommandImpl<CreateResponsePlanCommandInput, CreateResponsePlanCommandOutput, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateResponsePlanCommandInput): import("@smithy/core/client").CommandImpl<CreateResponsePlanCommandInput, CreateResponsePlanCommandOutput, import("..").SSMIncidentsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateResponsePlanCommandInput): import("@smithy/core/client").CommandImpl<CreateResponsePlanCommandInput, CreateResponsePlanCommandOutput, import("..").SSMIncidentsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a response plan that automates the initial response to incidents. A response plan
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateTimelineEventInput, CreateTimelineEventOutput } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateTimelineEventCommandInput extends CreateTimelineEventInpu
22
19
  export interface CreateTimelineEventCommandOutput extends CreateTimelineEventOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateTimelineEventCommand_base: {
25
- new (input: CreateTimelineEventCommandInput): import("@smithy/core/client").CommandImpl<CreateTimelineEventCommandInput, CreateTimelineEventCommandOutput, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateTimelineEventCommandInput): import("@smithy/core/client").CommandImpl<CreateTimelineEventCommandInput, CreateTimelineEventCommandOutput, SSMIncidentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateTimelineEventCommandInput): import("@smithy/core/client").CommandImpl<CreateTimelineEventCommandInput, CreateTimelineEventCommandOutput, import("..").SSMIncidentsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateTimelineEventCommandInput): import("@smithy/core/client").CommandImpl<CreateTimelineEventCommandInput, CreateTimelineEventCommandOutput, import("..").SSMIncidentsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a custom timeline event on the incident details page of an incident record.