@aws-sdk/client-rds 3.391.0 → 3.396.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 (54) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/RDS.js +2 -0
  3. package/dist-cjs/RDSClient.js +4 -2
  4. package/dist-cjs/clientConfiguration.js +2 -0
  5. package/dist-cjs/commands/SwitchoverGlobalClusterCommand.js +46 -0
  6. package/dist-cjs/commands/index.js +1 -0
  7. package/dist-cjs/models/models_0.js +5 -1
  8. package/dist-cjs/protocols/Aws_query.js +86 -4
  9. package/dist-cjs/runtimeConfig.shared.js +1 -0
  10. package/dist-cjs/runtimeExtensions.js +16 -0
  11. package/dist-es/RDS.js +2 -0
  12. package/dist-es/RDSClient.js +4 -2
  13. package/dist-es/clientConfiguration.js +1 -0
  14. package/dist-es/commands/SwitchoverGlobalClusterCommand.js +42 -0
  15. package/dist-es/commands/index.js +1 -0
  16. package/dist-es/models/models_0.js +4 -0
  17. package/dist-es/protocols/Aws_query.js +80 -0
  18. package/dist-es/runtimeConfig.shared.js +1 -0
  19. package/dist-es/runtimeExtensions.js +12 -0
  20. package/dist-types/RDS.d.ts +7 -0
  21. package/dist-types/RDSClient.d.ts +9 -3
  22. package/dist-types/clientConfiguration.d.ts +6 -0
  23. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +2 -0
  24. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +2 -0
  25. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +2 -1
  26. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +2 -0
  27. package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +38 -11
  28. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +3 -1
  29. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +2 -0
  30. package/dist-types/commands/SwitchoverGlobalClusterCommand.d.ts +124 -0
  31. package/dist-types/commands/index.d.ts +1 -0
  32. package/dist-types/models/models_0.d.ts +46 -245
  33. package/dist-types/models/models_1.d.ts +286 -8
  34. package/dist-types/protocols/Aws_query.d.ts +9 -0
  35. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  36. package/dist-types/runtimeConfig.d.ts +1 -0
  37. package/dist-types/runtimeConfig.native.d.ts +1 -0
  38. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  39. package/dist-types/runtimeExtensions.d.ts +17 -0
  40. package/dist-types/ts3.4/RDS.d.ts +17 -0
  41. package/dist-types/ts3.4/RDSClient.d.ts +9 -0
  42. package/dist-types/ts3.4/clientConfiguration.d.ts +2 -0
  43. package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +2 -4
  44. package/dist-types/ts3.4/commands/SwitchoverGlobalClusterCommand.d.ts +42 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +8 -12
  47. package/dist-types/ts3.4/models/models_1.d.ts +21 -0
  48. package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
  49. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  50. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  51. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  52. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  53. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  54. package/package.json +3 -3
@@ -571,6 +571,10 @@ import {
571
571
  SwitchoverBlueGreenDeploymentCommandInput,
572
572
  SwitchoverBlueGreenDeploymentCommandOutput,
573
573
  } from "../commands/SwitchoverBlueGreenDeploymentCommand";
574
+ import {
575
+ SwitchoverGlobalClusterCommandInput,
576
+ SwitchoverGlobalClusterCommandOutput,
577
+ } from "../commands/SwitchoverGlobalClusterCommand";
574
578
  import {
575
579
  SwitchoverReadReplicaCommandInput,
576
580
  SwitchoverReadReplicaCommandOutput,
@@ -1143,6 +1147,10 @@ export declare const se_SwitchoverBlueGreenDeploymentCommand: (
1143
1147
  input: SwitchoverBlueGreenDeploymentCommandInput,
1144
1148
  context: __SerdeContext
1145
1149
  ) => Promise<__HttpRequest>;
1150
+ export declare const se_SwitchoverGlobalClusterCommand: (
1151
+ input: SwitchoverGlobalClusterCommandInput,
1152
+ context: __SerdeContext
1153
+ ) => Promise<__HttpRequest>;
1146
1154
  export declare const se_SwitchoverReadReplicaCommand: (
1147
1155
  input: SwitchoverReadReplicaCommandInput,
1148
1156
  context: __SerdeContext
@@ -1715,6 +1723,10 @@ export declare const de_SwitchoverBlueGreenDeploymentCommand: (
1715
1723
  output: __HttpResponse,
1716
1724
  context: __SerdeContext
1717
1725
  ) => Promise<SwitchoverBlueGreenDeploymentCommandOutput>;
1726
+ export declare const de_SwitchoverGlobalClusterCommand: (
1727
+ output: __HttpResponse,
1728
+ context: __SerdeContext
1729
+ ) => Promise<SwitchoverGlobalClusterCommandOutput>;
1718
1730
  export declare const de_SwitchoverReadReplicaCommand: (
1719
1731
  output: __HttpResponse,
1720
1732
  context: __SerdeContext
@@ -36,6 +36,7 @@ export declare const getRuntimeConfig: (config: RDSClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  serviceId: string;
38
38
  logger: import("@smithy/types").Logger;
39
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
39
40
  endpoint?:
40
41
  | ((
41
42
  | string
@@ -36,6 +36,7 @@ export declare const getRuntimeConfig: (config: RDSClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  serviceId: string;
38
38
  logger: import("@smithy/types").Logger;
39
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
39
40
  endpoint?:
40
41
  | ((
41
42
  | string
@@ -32,6 +32,7 @@ export declare const getRuntimeConfig: (config: RDSClientConfig) => {
32
32
  maxAttempts: number | import("@smithy/types").Provider<number>;
33
33
  retryMode: string | import("@smithy/types").Provider<string>;
34
34
  logger: import("@smithy/types").Logger;
35
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
35
36
  defaultsMode:
36
37
  | import("@smithy/smithy-client").DefaultsMode
37
38
  | import("@smithy/types").Provider<
@@ -10,6 +10,7 @@ export declare const getRuntimeConfig: (config: RDSClientConfig) => {
10
10
  logger?: import("@smithy/types").Logger | undefined;
11
11
  }
12
12
  ) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
13
14
  logger: import("@smithy/types").Logger;
14
15
  serviceId: string;
15
16
  urlParser: import("@smithy/types").UrlParser;
@@ -0,0 +1,11 @@
1
+ import { RDSClientConfiguration } from "./clientConfiguration";
2
+ export interface RuntimeExtension {
3
+ configureClient(clientConfiguration: RDSClientConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[]
11
+ ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rds",
3
3
  "description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
4
- "version": "3.391.0",
4
+ "version": "3.396.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.391.0",
25
- "@aws-sdk/credential-provider-node": "3.391.0",
24
+ "@aws-sdk/client-sts": "3.395.0",
25
+ "@aws-sdk/credential-provider-node": "3.395.0",
26
26
  "@aws-sdk/middleware-host-header": "3.391.0",
27
27
  "@aws-sdk/middleware-logger": "3.391.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.391.0",