@aws-sdk/client-rds 3.536.0 → 3.540.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.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -25394,9 +25394,6 @@ var waitUntilTenantDatabaseDeleted = /* @__PURE__ */ __name(async (params, input
25394
25394
  const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState10);
25395
25395
  return (0, import_util_waiter.checkExceptions)(result);
25396
25396
  }, "waitUntilTenantDatabaseDeleted");
25397
-
25398
- // src/index.ts
25399
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
25400
25397
  // Annotate the CommonJS export names for ESM import in node:
25401
25398
 
25402
25399
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -4,5 +4,4 @@ export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
6
  export * from "./models";
7
- import "@aws-sdk/util-endpoints";
8
7
  export { RDSServiceException } from "./models/RDSServiceException";
@@ -95,6 +95,31 @@ declare const ModifyIntegrationCommand_base: {
95
95
  * <p>Base exception class for all service exceptions from RDS service.</p>
96
96
  *
97
97
  * @public
98
+ * @example To modify a zero-ETL integration
99
+ * ```javascript
100
+ * // The following example modifies the name of an existing zero-ETL integration.
101
+ * const input = {
102
+ * "IntegrationIdentifier": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
103
+ * "IntegrationName": "my-renamed-integration"
104
+ * };
105
+ * const command = new ModifyIntegrationCommand(input);
106
+ * const response = await client.send(command);
107
+ * /* response ==
108
+ * {
109
+ * "CreateTime": "2023-12-28T17:20:20.629Z",
110
+ * "DataFilter": "include: *.*",
111
+ * "IntegrationArn": "arn:aws:rds:us-east-1:123456789012:integration:5b9f3d79-7392-4a3e-896c-58eaa1b53231",
112
+ * "IntegrationName": "my-renamed-integration",
113
+ * "KMSKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
114
+ * "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",
115
+ * "Status": "active",
116
+ * "Tags": [],
117
+ * "TargetArn": "arn:aws:redshift-serverless:us-east-1:123456789012:namespace/62c70612-0302-4db7-8414-b5e3e049f0d8"
118
+ * }
119
+ * *\/
120
+ * // example id: to-modify-a-zero-etl-integration-1680407173998
121
+ * ```
122
+ *
98
123
  */
99
124
  export declare class ModifyIntegrationCommand extends ModifyIntegrationCommand_base {
100
125
  }
@@ -64,5 +64,4 @@ export * from "./commands";
64
64
  export * from "./pagination";
65
65
  export * from "./waiters";
66
66
  export * from "./models";
67
- import "@aws-sdk/util-endpoints";
68
67
  export { RDSServiceException } from "./models/RDSServiceException";
@@ -7,5 +7,4 @@ export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
9
  export * from "./models";
10
- import "@aws-sdk/util-endpoints";
11
10
  export { RDSServiceException } from "./models/RDSServiceException";
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.536.0",
4
+ "version": "3.540.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rds",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.535.0",
23
+ "@aws-sdk/client-sts": "3.540.0",
24
24
  "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
29
  "@aws-sdk/middleware-sdk-rds": "3.535.0",
30
- "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/middleware-user-agent": "3.540.0",
31
31
  "@aws-sdk/region-config-resolver": "3.535.0",
32
32
  "@aws-sdk/types": "3.535.0",
33
- "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-endpoints": "3.540.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.535.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.535.0",
36
36
  "@smithy/config-resolver": "^2.2.0",