@aws-sdk/client-memorydb 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 (65) hide show
  1. package/dist-cjs/index.js +869 -640
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/BatchUpdateClusterCommand.js +2 -2
  4. package/dist-es/commands/CopySnapshotCommand.js +2 -2
  5. package/dist-es/commands/CreateACLCommand.js +2 -2
  6. package/dist-es/commands/CreateClusterCommand.js +2 -2
  7. package/dist-es/commands/CreateMultiRegionClusterCommand.js +2 -2
  8. package/dist-es/commands/CreateParameterGroupCommand.js +2 -2
  9. package/dist-es/commands/CreateSnapshotCommand.js +2 -2
  10. package/dist-es/commands/CreateSubnetGroupCommand.js +2 -2
  11. package/dist-es/commands/CreateUserCommand.js +2 -2
  12. package/dist-es/commands/DeleteACLCommand.js +2 -2
  13. package/dist-es/commands/DeleteClusterCommand.js +2 -2
  14. package/dist-es/commands/DeleteMultiRegionClusterCommand.js +2 -2
  15. package/dist-es/commands/DeleteParameterGroupCommand.js +2 -2
  16. package/dist-es/commands/DeleteSnapshotCommand.js +2 -2
  17. package/dist-es/commands/DeleteSubnetGroupCommand.js +2 -2
  18. package/dist-es/commands/DeleteUserCommand.js +2 -2
  19. package/dist-es/commands/DescribeACLsCommand.js +2 -2
  20. package/dist-es/commands/DescribeClustersCommand.js +2 -2
  21. package/dist-es/commands/DescribeEngineVersionsCommand.js +2 -2
  22. package/dist-es/commands/DescribeEventsCommand.js +2 -2
  23. package/dist-es/commands/DescribeMultiRegionClustersCommand.js +2 -2
  24. package/dist-es/commands/DescribeMultiRegionParameterGroupsCommand.js +2 -2
  25. package/dist-es/commands/DescribeMultiRegionParametersCommand.js +2 -2
  26. package/dist-es/commands/DescribeParameterGroupsCommand.js +2 -2
  27. package/dist-es/commands/DescribeParametersCommand.js +2 -2
  28. package/dist-es/commands/DescribeReservedNodesCommand.js +2 -2
  29. package/dist-es/commands/DescribeReservedNodesOfferingsCommand.js +2 -2
  30. package/dist-es/commands/DescribeServiceUpdatesCommand.js +2 -2
  31. package/dist-es/commands/DescribeSnapshotsCommand.js +2 -2
  32. package/dist-es/commands/DescribeSubnetGroupsCommand.js +2 -2
  33. package/dist-es/commands/DescribeUsersCommand.js +2 -2
  34. package/dist-es/commands/FailoverShardCommand.js +2 -2
  35. package/dist-es/commands/ListAllowedMultiRegionClusterUpdatesCommand.js +2 -2
  36. package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +2 -2
  37. package/dist-es/commands/ListTagsCommand.js +2 -2
  38. package/dist-es/commands/PurchaseReservedNodesOfferingCommand.js +2 -2
  39. package/dist-es/commands/ResetParameterGroupCommand.js +2 -2
  40. package/dist-es/commands/TagResourceCommand.js +2 -2
  41. package/dist-es/commands/UntagResourceCommand.js +2 -2
  42. package/dist-es/commands/UpdateACLCommand.js +2 -2
  43. package/dist-es/commands/UpdateClusterCommand.js +2 -2
  44. package/dist-es/commands/UpdateMultiRegionClusterCommand.js +2 -2
  45. package/dist-es/commands/UpdateParameterGroupCommand.js +2 -2
  46. package/dist-es/commands/UpdateSubnetGroupCommand.js +2 -2
  47. package/dist-es/commands/UpdateUserCommand.js +2 -2
  48. package/dist-es/index.js +1 -0
  49. package/dist-es/runtimeConfig.shared.js +7 -6
  50. package/dist-es/schemas/schemas_0.js +436 -441
  51. package/dist-types/MemoryDBClient.d.ts +1 -10
  52. package/dist-types/index.d.ts +1 -0
  53. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  54. package/dist-types/runtimeConfig.d.ts +6 -2
  55. package/dist-types/runtimeConfig.native.d.ts +6 -2
  56. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  57. package/dist-types/schemas/schemas_0.d.ts +235 -277
  58. package/dist-types/ts3.4/MemoryDBClient.d.ts +0 -4
  59. package/dist-types/ts3.4/index.d.ts +1 -0
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  64. package/dist-types/ts3.4/schemas/schemas_0.d.ts +234 -277
  65. package/package.json +34 -34
@@ -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 { PurchaseReservedNodesOffering } from "../schemas/schemas_0";
4
+ import { PurchaseReservedNodesOffering$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PurchaseReservedNodesOfferingCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PurchaseReservedNodesOfferingCommand extends $Command
11
11
  })
12
12
  .s("AmazonMemoryDB", "PurchaseReservedNodesOffering", {})
13
13
  .n("MemoryDBClient", "PurchaseReservedNodesOfferingCommand")
14
- .sc(PurchaseReservedNodesOffering)
14
+ .sc(PurchaseReservedNodesOffering$)
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 { ResetParameterGroup } from "../schemas/schemas_0";
4
+ import { ResetParameterGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ResetParameterGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ResetParameterGroupCommand extends $Command
11
11
  })
12
12
  .s("AmazonMemoryDB", "ResetParameterGroup", {})
13
13
  .n("MemoryDBClient", "ResetParameterGroupCommand")
14
- .sc(ResetParameterGroup)
14
+ .sc(ResetParameterGroup$)
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("AmazonMemoryDB", "TagResource", {})
13
13
  .n("MemoryDBClient", "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("AmazonMemoryDB", "UntagResource", {})
13
13
  .n("MemoryDBClient", "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 { UpdateACL } from "../schemas/schemas_0";
4
+ import { UpdateACL$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateACLCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateACLCommand extends $Command
11
11
  })
12
12
  .s("AmazonMemoryDB", "UpdateACL", {})
13
13
  .n("MemoryDBClient", "UpdateACLCommand")
14
- .sc(UpdateACL)
14
+ .sc(UpdateACL$)
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("AmazonMemoryDB", "UpdateCluster", {})
13
13
  .n("MemoryDBClient", "UpdateClusterCommand")
14
- .sc(UpdateCluster)
14
+ .sc(UpdateCluster$)
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 { UpdateMultiRegionCluster } from "../schemas/schemas_0";
4
+ import { UpdateMultiRegionCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateMultiRegionClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateMultiRegionClusterCommand extends $Command
11
11
  })
12
12
  .s("AmazonMemoryDB", "UpdateMultiRegionCluster", {})
13
13
  .n("MemoryDBClient", "UpdateMultiRegionClusterCommand")
14
- .sc(UpdateMultiRegionCluster)
14
+ .sc(UpdateMultiRegionCluster$)
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 { UpdateParameterGroup } from "../schemas/schemas_0";
4
+ import { UpdateParameterGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateParameterGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateParameterGroupCommand extends $Command
11
11
  })
12
12
  .s("AmazonMemoryDB", "UpdateParameterGroup", {})
13
13
  .n("MemoryDBClient", "UpdateParameterGroupCommand")
14
- .sc(UpdateParameterGroup)
14
+ .sc(UpdateParameterGroup$)
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 { UpdateSubnetGroup } from "../schemas/schemas_0";
4
+ import { UpdateSubnetGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateSubnetGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateSubnetGroupCommand extends $Command
11
11
  })
12
12
  .s("AmazonMemoryDB", "UpdateSubnetGroup", {})
13
13
  .n("MemoryDBClient", "UpdateSubnetGroupCommand")
14
- .sc(UpdateSubnetGroup)
14
+ .sc(UpdateSubnetGroup$)
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 { UpdateUser } from "../schemas/schemas_0";
4
+ import { UpdateUser$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateUserCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateUserCommand extends $Command
11
11
  })
12
12
  .s("AmazonMemoryDB", "UpdateUser", {})
13
13
  .n("MemoryDBClient", "UpdateUserCommand")
14
- .sc(UpdateUser)
14
+ .sc(UpdateUser$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./MemoryDBClient";
2
2
  export * from "./MemoryDB";
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,12 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.memorydb",
29
- serviceTarget: "AmazonMemoryDB",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.memorydb",
29
+ xmlNamespace: "http://memorydb.amazonaws.com/doc/2021-01-01/",
30
+ version: "2021-01-01",
31
+ serviceTarget: "AmazonMemoryDB",
32
+ },
32
33
  serviceId: config?.serviceId ?? "MemoryDB",
33
34
  urlParser: config?.urlParser ?? parseUrl,
34
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,