@aws-sdk/client-ssm-incidents 3.952.0 → 3.954.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 (51) hide show
  1. package/dist-cjs/index.js +448 -306
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/BatchGetIncidentFindingsCommand.js +2 -2
  4. package/dist-es/commands/CreateReplicationSetCommand.js +2 -2
  5. package/dist-es/commands/CreateResponsePlanCommand.js +2 -2
  6. package/dist-es/commands/CreateTimelineEventCommand.js +2 -2
  7. package/dist-es/commands/DeleteIncidentRecordCommand.js +2 -2
  8. package/dist-es/commands/DeleteReplicationSetCommand.js +2 -2
  9. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  10. package/dist-es/commands/DeleteResponsePlanCommand.js +2 -2
  11. package/dist-es/commands/DeleteTimelineEventCommand.js +2 -2
  12. package/dist-es/commands/GetIncidentRecordCommand.js +2 -2
  13. package/dist-es/commands/GetReplicationSetCommand.js +2 -2
  14. package/dist-es/commands/GetResourcePoliciesCommand.js +2 -2
  15. package/dist-es/commands/GetResponsePlanCommand.js +2 -2
  16. package/dist-es/commands/GetTimelineEventCommand.js +2 -2
  17. package/dist-es/commands/ListIncidentFindingsCommand.js +2 -2
  18. package/dist-es/commands/ListIncidentRecordsCommand.js +2 -2
  19. package/dist-es/commands/ListRelatedItemsCommand.js +2 -2
  20. package/dist-es/commands/ListReplicationSetsCommand.js +2 -2
  21. package/dist-es/commands/ListResponsePlansCommand.js +2 -2
  22. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  23. package/dist-es/commands/ListTimelineEventsCommand.js +2 -2
  24. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  25. package/dist-es/commands/StartIncidentCommand.js +2 -2
  26. package/dist-es/commands/TagResourceCommand.js +2 -2
  27. package/dist-es/commands/UntagResourceCommand.js +2 -2
  28. package/dist-es/commands/UpdateDeletionProtectionCommand.js +2 -2
  29. package/dist-es/commands/UpdateIncidentRecordCommand.js +2 -2
  30. package/dist-es/commands/UpdateRelatedItemsCommand.js +2 -2
  31. package/dist-es/commands/UpdateReplicationSetCommand.js +2 -2
  32. package/dist-es/commands/UpdateResponsePlanCommand.js +2 -2
  33. package/dist-es/commands/UpdateTimelineEventCommand.js +2 -2
  34. package/dist-es/index.js +1 -0
  35. package/dist-es/runtimeConfig.shared.js +6 -1
  36. package/dist-es/schemas/schemas_0.js +263 -262
  37. package/dist-types/SSMIncidentsClient.d.ts +1 -10
  38. package/dist-types/index.d.ts +1 -0
  39. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  40. package/dist-types/runtimeConfig.d.ts +6 -2
  41. package/dist-types/runtimeConfig.native.d.ts +6 -2
  42. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  43. package/dist-types/schemas/schemas_0.d.ts +142 -171
  44. package/dist-types/ts3.4/SSMIncidentsClient.d.ts +0 -4
  45. package/dist-types/ts3.4/index.d.ts +1 -0
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +141 -172
  51. package/package.json +35 -35
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ssmincidents" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.ssmincidents",
32
+ version: "2018-05-10",
33
+ serviceTarget: "SSMIncidents",
34
+ },
30
35
  serviceId: config?.serviceId ?? "SSM Incidents",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchGetIncidentFindings } from "../schemas/schemas_0";
4
+ import { BatchGetIncidentFindings$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchGetIncidentFindingsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchGetIncidentFindingsCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "BatchGetIncidentFindings", {})
13
13
  .n("SSMIncidentsClient", "BatchGetIncidentFindingsCommand")
14
- .sc(BatchGetIncidentFindings)
14
+ .sc(BatchGetIncidentFindings$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateReplicationSet } from "../schemas/schemas_0";
4
+ import { CreateReplicationSet$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateReplicationSetCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateReplicationSetCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "CreateReplicationSet", {})
13
13
  .n("SSMIncidentsClient", "CreateReplicationSetCommand")
14
- .sc(CreateReplicationSet)
14
+ .sc(CreateReplicationSet$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateResponsePlan } from "../schemas/schemas_0";
4
+ import { CreateResponsePlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateResponsePlanCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateResponsePlanCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "CreateResponsePlan", {})
13
13
  .n("SSMIncidentsClient", "CreateResponsePlanCommand")
14
- .sc(CreateResponsePlan)
14
+ .sc(CreateResponsePlan$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateTimelineEvent } from "../schemas/schemas_0";
4
+ import { CreateTimelineEvent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateTimelineEventCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateTimelineEventCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "CreateTimelineEvent", {})
13
13
  .n("SSMIncidentsClient", "CreateTimelineEventCommand")
14
- .sc(CreateTimelineEvent)
14
+ .sc(CreateTimelineEvent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteIncidentRecord } from "../schemas/schemas_0";
4
+ import { DeleteIncidentRecord$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteIncidentRecordCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteIncidentRecordCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "DeleteIncidentRecord", {})
13
13
  .n("SSMIncidentsClient", "DeleteIncidentRecordCommand")
14
- .sc(DeleteIncidentRecord)
14
+ .sc(DeleteIncidentRecord$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteReplicationSet } from "../schemas/schemas_0";
4
+ import { DeleteReplicationSet$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteReplicationSetCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteReplicationSetCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "DeleteReplicationSet", {})
13
13
  .n("SSMIncidentsClient", "DeleteReplicationSetCommand")
14
- .sc(DeleteReplicationSet)
14
+ .sc(DeleteReplicationSet$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteResourcePolicy } from "../schemas/schemas_0";
4
+ import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "DeleteResourcePolicy", {})
13
13
  .n("SSMIncidentsClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy)
14
+ .sc(DeleteResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteResponsePlan } from "../schemas/schemas_0";
4
+ import { DeleteResponsePlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteResponsePlanCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteResponsePlanCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "DeleteResponsePlan", {})
13
13
  .n("SSMIncidentsClient", "DeleteResponsePlanCommand")
14
- .sc(DeleteResponsePlan)
14
+ .sc(DeleteResponsePlan$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteTimelineEvent } from "../schemas/schemas_0";
4
+ import { DeleteTimelineEvent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteTimelineEventCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteTimelineEventCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "DeleteTimelineEvent", {})
13
13
  .n("SSMIncidentsClient", "DeleteTimelineEventCommand")
14
- .sc(DeleteTimelineEvent)
14
+ .sc(DeleteTimelineEvent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetIncidentRecord } from "../schemas/schemas_0";
4
+ import { GetIncidentRecord$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetIncidentRecordCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetIncidentRecordCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "GetIncidentRecord", {})
13
13
  .n("SSMIncidentsClient", "GetIncidentRecordCommand")
14
- .sc(GetIncidentRecord)
14
+ .sc(GetIncidentRecord$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetReplicationSet } from "../schemas/schemas_0";
4
+ import { GetReplicationSet$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetReplicationSetCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetReplicationSetCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "GetReplicationSet", {})
13
13
  .n("SSMIncidentsClient", "GetReplicationSetCommand")
14
- .sc(GetReplicationSet)
14
+ .sc(GetReplicationSet$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetResourcePolicies } from "../schemas/schemas_0";
4
+ import { GetResourcePolicies$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetResourcePoliciesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetResourcePoliciesCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "GetResourcePolicies", {})
13
13
  .n("SSMIncidentsClient", "GetResourcePoliciesCommand")
14
- .sc(GetResourcePolicies)
14
+ .sc(GetResourcePolicies$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetResponsePlan } from "../schemas/schemas_0";
4
+ import { GetResponsePlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetResponsePlanCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetResponsePlanCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "GetResponsePlan", {})
13
13
  .n("SSMIncidentsClient", "GetResponsePlanCommand")
14
- .sc(GetResponsePlan)
14
+ .sc(GetResponsePlan$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetTimelineEvent } from "../schemas/schemas_0";
4
+ import { GetTimelineEvent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTimelineEventCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTimelineEventCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "GetTimelineEvent", {})
13
13
  .n("SSMIncidentsClient", "GetTimelineEventCommand")
14
- .sc(GetTimelineEvent)
14
+ .sc(GetTimelineEvent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListIncidentFindings } from "../schemas/schemas_0";
4
+ import { ListIncidentFindings$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListIncidentFindingsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListIncidentFindingsCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "ListIncidentFindings", {})
13
13
  .n("SSMIncidentsClient", "ListIncidentFindingsCommand")
14
- .sc(ListIncidentFindings)
14
+ .sc(ListIncidentFindings$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListIncidentRecords } from "../schemas/schemas_0";
4
+ import { ListIncidentRecords$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListIncidentRecordsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListIncidentRecordsCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "ListIncidentRecords", {})
13
13
  .n("SSMIncidentsClient", "ListIncidentRecordsCommand")
14
- .sc(ListIncidentRecords)
14
+ .sc(ListIncidentRecords$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListRelatedItems } from "../schemas/schemas_0";
4
+ import { ListRelatedItems$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRelatedItemsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListRelatedItemsCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "ListRelatedItems", {})
13
13
  .n("SSMIncidentsClient", "ListRelatedItemsCommand")
14
- .sc(ListRelatedItems)
14
+ .sc(ListRelatedItems$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListReplicationSets } from "../schemas/schemas_0";
4
+ import { ListReplicationSets$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListReplicationSetsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListReplicationSetsCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "ListReplicationSets", {})
13
13
  .n("SSMIncidentsClient", "ListReplicationSetsCommand")
14
- .sc(ListReplicationSets)
14
+ .sc(ListReplicationSets$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListResponsePlans } from "../schemas/schemas_0";
4
+ import { ListResponsePlans$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListResponsePlansCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListResponsePlansCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "ListResponsePlans", {})
13
13
  .n("SSMIncidentsClient", "ListResponsePlansCommand")
14
- .sc(ListResponsePlans)
14
+ .sc(ListResponsePlans$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "ListTagsForResource", {})
13
13
  .n("SSMIncidentsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTimelineEvents } from "../schemas/schemas_0";
4
+ import { ListTimelineEvents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTimelineEventsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTimelineEventsCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "ListTimelineEvents", {})
13
13
  .n("SSMIncidentsClient", "ListTimelineEventsCommand")
14
- .sc(ListTimelineEvents)
14
+ .sc(ListTimelineEvents$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutResourcePolicy } from "../schemas/schemas_0";
4
+ import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "PutResourcePolicy", {})
13
13
  .n("SSMIncidentsClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy)
14
+ .sc(PutResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartIncident } from "../schemas/schemas_0";
4
+ import { StartIncident$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartIncidentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartIncidentCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "StartIncident", {})
13
13
  .n("SSMIncidentsClient", "StartIncidentCommand")
14
- .sc(StartIncident)
14
+ .sc(StartIncident$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "TagResource", {})
13
13
  .n("SSMIncidentsClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "UntagResource", {})
13
13
  .n("SSMIncidentsClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateDeletionProtection } from "../schemas/schemas_0";
4
+ import { UpdateDeletionProtection$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateDeletionProtectionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateDeletionProtectionCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "UpdateDeletionProtection", {})
13
13
  .n("SSMIncidentsClient", "UpdateDeletionProtectionCommand")
14
- .sc(UpdateDeletionProtection)
14
+ .sc(UpdateDeletionProtection$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateIncidentRecord } from "../schemas/schemas_0";
4
+ import { UpdateIncidentRecord$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateIncidentRecordCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateIncidentRecordCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "UpdateIncidentRecord", {})
13
13
  .n("SSMIncidentsClient", "UpdateIncidentRecordCommand")
14
- .sc(UpdateIncidentRecord)
14
+ .sc(UpdateIncidentRecord$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateRelatedItems } from "../schemas/schemas_0";
4
+ import { UpdateRelatedItems$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateRelatedItemsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateRelatedItemsCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "UpdateRelatedItems", {})
13
13
  .n("SSMIncidentsClient", "UpdateRelatedItemsCommand")
14
- .sc(UpdateRelatedItems)
14
+ .sc(UpdateRelatedItems$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateReplicationSet } from "../schemas/schemas_0";
4
+ import { UpdateReplicationSet$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateReplicationSetCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateReplicationSetCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "UpdateReplicationSet", {})
13
13
  .n("SSMIncidentsClient", "UpdateReplicationSetCommand")
14
- .sc(UpdateReplicationSet)
14
+ .sc(UpdateReplicationSet$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateResponsePlan } from "../schemas/schemas_0";
4
+ import { UpdateResponsePlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateResponsePlanCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateResponsePlanCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "UpdateResponsePlan", {})
13
13
  .n("SSMIncidentsClient", "UpdateResponsePlanCommand")
14
- .sc(UpdateResponsePlan)
14
+ .sc(UpdateResponsePlan$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateTimelineEvent } from "../schemas/schemas_0";
4
+ import { UpdateTimelineEvent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateTimelineEventCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateTimelineEventCommand extends $Command
11
11
  })
12
12
  .s("SSMIncidents", "UpdateTimelineEvent", {})
13
13
  .n("SSMIncidentsClient", "UpdateTimelineEventCommand")
14
- .sc(UpdateTimelineEvent)
14
+ .sc(UpdateTimelineEvent$)
15
15
  .build() {
16
16
  }
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 * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
6
7
  export * from "./models/enums";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ssmincidents" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.ssmincidents",
29
+ version: "2018-05-10",
30
+ serviceTarget: "SSMIncidents",
31
+ },
27
32
  serviceId: config?.serviceId ?? "SSM Incidents",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,