@aws-sdk/client-docdb-elastic 3.952.0 → 3.953.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 (39) hide show
  1. package/dist-cjs/index.js +250 -176
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +2 -2
  4. package/dist-es/commands/CopyClusterSnapshotCommand.js +2 -2
  5. package/dist-es/commands/CreateClusterCommand.js +2 -2
  6. package/dist-es/commands/CreateClusterSnapshotCommand.js +2 -2
  7. package/dist-es/commands/DeleteClusterCommand.js +2 -2
  8. package/dist-es/commands/DeleteClusterSnapshotCommand.js +2 -2
  9. package/dist-es/commands/GetClusterCommand.js +2 -2
  10. package/dist-es/commands/GetClusterSnapshotCommand.js +2 -2
  11. package/dist-es/commands/GetPendingMaintenanceActionCommand.js +2 -2
  12. package/dist-es/commands/ListClusterSnapshotsCommand.js +2 -2
  13. package/dist-es/commands/ListClustersCommand.js +2 -2
  14. package/dist-es/commands/ListPendingMaintenanceActionsCommand.js +2 -2
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-es/commands/RestoreClusterFromSnapshotCommand.js +2 -2
  17. package/dist-es/commands/StartClusterCommand.js +2 -2
  18. package/dist-es/commands/StopClusterCommand.js +2 -2
  19. package/dist-es/commands/TagResourceCommand.js +2 -2
  20. package/dist-es/commands/UntagResourceCommand.js +2 -2
  21. package/dist-es/commands/UpdateClusterCommand.js +2 -2
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.shared.js +6 -1
  24. package/dist-es/schemas/schemas_0.js +142 -141
  25. package/dist-types/DocDBElasticClient.d.ts +1 -10
  26. package/dist-types/index.d.ts +1 -0
  27. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  28. package/dist-types/runtimeConfig.d.ts +6 -2
  29. package/dist-types/runtimeConfig.native.d.ts +6 -2
  30. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  31. package/dist-types/schemas/schemas_0.d.ts +74 -84
  32. package/dist-types/ts3.4/DocDBElasticClient.d.ts +0 -4
  33. package/dist-types/ts3.4/index.d.ts +1 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +73 -85
  39. package/package.json +34 -34
@@ -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.docdbelastic" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.docdbelastic",
32
+ version: "2022-11-28",
33
+ serviceTarget: "ChimeraDbLionfishServiceLambda",
34
+ },
30
35
  serviceId: config?.serviceId ?? "DocDB Elastic",
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 { ApplyPendingMaintenanceAction } from "../schemas/schemas_0";
4
+ import { ApplyPendingMaintenanceAction$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ApplyPendingMaintenanceActionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ApplyPendingMaintenanceActionCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "ApplyPendingMaintenanceAction", {})
13
13
  .n("DocDBElasticClient", "ApplyPendingMaintenanceActionCommand")
14
- .sc(ApplyPendingMaintenanceAction)
14
+ .sc(ApplyPendingMaintenanceAction$)
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 { CopyClusterSnapshot } from "../schemas/schemas_0";
4
+ import { CopyClusterSnapshot$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CopyClusterSnapshotCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CopyClusterSnapshotCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "CopyClusterSnapshot", {})
13
13
  .n("DocDBElasticClient", "CopyClusterSnapshotCommand")
14
- .sc(CopyClusterSnapshot)
14
+ .sc(CopyClusterSnapshot$)
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 { CreateCluster } from "../schemas/schemas_0";
4
+ import { CreateCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateClusterCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "CreateCluster", {})
13
13
  .n("DocDBElasticClient", "CreateClusterCommand")
14
- .sc(CreateCluster)
14
+ .sc(CreateCluster$)
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 { CreateClusterSnapshot } from "../schemas/schemas_0";
4
+ import { CreateClusterSnapshot$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateClusterSnapshotCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateClusterSnapshotCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "CreateClusterSnapshot", {})
13
13
  .n("DocDBElasticClient", "CreateClusterSnapshotCommand")
14
- .sc(CreateClusterSnapshot)
14
+ .sc(CreateClusterSnapshot$)
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 { DeleteCluster } from "../schemas/schemas_0";
4
+ import { DeleteCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteClusterCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "DeleteCluster", {})
13
13
  .n("DocDBElasticClient", "DeleteClusterCommand")
14
- .sc(DeleteCluster)
14
+ .sc(DeleteCluster$)
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 { DeleteClusterSnapshot } from "../schemas/schemas_0";
4
+ import { DeleteClusterSnapshot$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteClusterSnapshotCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteClusterSnapshotCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "DeleteClusterSnapshot", {})
13
13
  .n("DocDBElasticClient", "DeleteClusterSnapshotCommand")
14
- .sc(DeleteClusterSnapshot)
14
+ .sc(DeleteClusterSnapshot$)
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 { GetCluster } from "../schemas/schemas_0";
4
+ import { GetCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetClusterCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "GetCluster", {})
13
13
  .n("DocDBElasticClient", "GetClusterCommand")
14
- .sc(GetCluster)
14
+ .sc(GetCluster$)
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 { GetClusterSnapshot } from "../schemas/schemas_0";
4
+ import { GetClusterSnapshot$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetClusterSnapshotCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetClusterSnapshotCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "GetClusterSnapshot", {})
13
13
  .n("DocDBElasticClient", "GetClusterSnapshotCommand")
14
- .sc(GetClusterSnapshot)
14
+ .sc(GetClusterSnapshot$)
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 { GetPendingMaintenanceAction } from "../schemas/schemas_0";
4
+ import { GetPendingMaintenanceAction$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPendingMaintenanceActionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetPendingMaintenanceActionCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "GetPendingMaintenanceAction", {})
13
13
  .n("DocDBElasticClient", "GetPendingMaintenanceActionCommand")
14
- .sc(GetPendingMaintenanceAction)
14
+ .sc(GetPendingMaintenanceAction$)
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 { ListClusterSnapshots } from "../schemas/schemas_0";
4
+ import { ListClusterSnapshots$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListClusterSnapshotsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListClusterSnapshotsCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "ListClusterSnapshots", {})
13
13
  .n("DocDBElasticClient", "ListClusterSnapshotsCommand")
14
- .sc(ListClusterSnapshots)
14
+ .sc(ListClusterSnapshots$)
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 { ListClusters } from "../schemas/schemas_0";
4
+ import { ListClusters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListClustersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListClustersCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "ListClusters", {})
13
13
  .n("DocDBElasticClient", "ListClustersCommand")
14
- .sc(ListClusters)
14
+ .sc(ListClusters$)
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 { ListPendingMaintenanceActions } from "../schemas/schemas_0";
4
+ import { ListPendingMaintenanceActions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPendingMaintenanceActionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPendingMaintenanceActionsCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "ListPendingMaintenanceActions", {})
13
13
  .n("DocDBElasticClient", "ListPendingMaintenanceActionsCommand")
14
- .sc(ListPendingMaintenanceActions)
14
+ .sc(ListPendingMaintenanceActions$)
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("ChimeraDbLionfishServiceLambda", "ListTagsForResource", {})
13
13
  .n("DocDBElasticClient", "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 { RestoreClusterFromSnapshot } from "../schemas/schemas_0";
4
+ import { RestoreClusterFromSnapshot$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RestoreClusterFromSnapshotCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RestoreClusterFromSnapshotCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "RestoreClusterFromSnapshot", {})
13
13
  .n("DocDBElasticClient", "RestoreClusterFromSnapshotCommand")
14
- .sc(RestoreClusterFromSnapshot)
14
+ .sc(RestoreClusterFromSnapshot$)
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 { StartCluster } from "../schemas/schemas_0";
4
+ import { StartCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartClusterCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "StartCluster", {})
13
13
  .n("DocDBElasticClient", "StartClusterCommand")
14
- .sc(StartCluster)
14
+ .sc(StartCluster$)
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 { StopCluster } from "../schemas/schemas_0";
4
+ import { StopCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopClusterCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "StopCluster", {})
13
13
  .n("DocDBElasticClient", "StopClusterCommand")
14
- .sc(StopCluster)
14
+ .sc(StopCluster$)
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("ChimeraDbLionfishServiceLambda", "TagResource", {})
13
13
  .n("DocDBElasticClient", "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("ChimeraDbLionfishServiceLambda", "UntagResource", {})
13
13
  .n("DocDBElasticClient", "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 { UpdateCluster } from "../schemas/schemas_0";
4
+ import { UpdateCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateClusterCommand extends $Command
11
11
  })
12
12
  .s("ChimeraDbLionfishServiceLambda", "UpdateCluster", {})
13
13
  .n("DocDBElasticClient", "UpdateClusterCommand")
14
- .sc(UpdateCluster)
14
+ .sc(UpdateCluster$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./DocDBElasticClient";
2
2
  export * from "./DocDBElastic";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -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.docdbelastic" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.docdbelastic",
29
+ version: "2022-11-28",
30
+ serviceTarget: "ChimeraDbLionfishServiceLambda",
31
+ },
27
32
  serviceId: config?.serviceId ?? "DocDB Elastic",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,