@aws-sdk/client-rds 3.582.0 → 3.587.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.
package/dist-cjs/index.js CHANGED
@@ -8845,7 +8845,7 @@ var se_BacktrackDBClusterMessage = /* @__PURE__ */ __name((input, context) => {
8845
8845
  entries[_DBCI] = input[_DBCI];
8846
8846
  }
8847
8847
  if (input[_BT] != null) {
8848
- entries[_BT] = input[_BT].toISOString().split(".")[0] + "Z";
8848
+ entries[_BT] = (0, import_smithy_client.serializeDateTime)(input[_BT]);
8849
8849
  }
8850
8850
  if (input[_F] != null) {
8851
8851
  entries[_F] = input[_F];
@@ -11013,10 +11013,10 @@ var se_DescribeDBRecommendationsMessage = /* @__PURE__ */ __name((input, context
11013
11013
  var _a;
11014
11014
  const entries = {};
11015
11015
  if (input[_LUA] != null) {
11016
- entries[_LUA] = input[_LUA].toISOString().split(".")[0] + "Z";
11016
+ entries[_LUA] = (0, import_smithy_client.serializeDateTime)(input[_LUA]);
11017
11017
  }
11018
11018
  if (input[_LUB] != null) {
11019
- entries[_LUB] = input[_LUB].toISOString().split(".")[0] + "Z";
11019
+ entries[_LUB] = (0, import_smithy_client.serializeDateTime)(input[_LUB]);
11020
11020
  }
11021
11021
  if (input[_L] != null) {
11022
11022
  entries[_L] = input[_L];
@@ -11266,10 +11266,10 @@ var se_DescribeEventsMessage = /* @__PURE__ */ __name((input, context) => {
11266
11266
  entries[_STo] = input[_STo];
11267
11267
  }
11268
11268
  if (input[_STta] != null) {
11269
- entries[_STta] = input[_STta].toISOString().split(".")[0] + "Z";
11269
+ entries[_STta] = (0, import_smithy_client.serializeDateTime)(input[_STta]);
11270
11270
  }
11271
11271
  if (input[_ETn] != null) {
11272
- entries[_ETn] = input[_ETn].toISOString().split(".")[0] + "Z";
11272
+ entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]);
11273
11273
  }
11274
11274
  if (input[_Du] != null) {
11275
11275
  entries[_Du] = input[_Du];
@@ -13402,7 +13402,7 @@ var se_RestoreDBClusterToPointInTimeMessage = /* @__PURE__ */ __name((input, con
13402
13402
  entries[_SDBCI] = input[_SDBCI];
13403
13403
  }
13404
13404
  if (input[_RTT] != null) {
13405
- entries[_RTT] = input[_RTT].toISOString().split(".")[0] + "Z";
13405
+ entries[_RTT] = (0, import_smithy_client.serializeDateTime)(input[_RTT]);
13406
13406
  }
13407
13407
  if (input[_ULRT] != null) {
13408
13408
  entries[_ULRT] = input[_ULRT];
@@ -13886,7 +13886,7 @@ var se_RestoreDBInstanceToPointInTimeMessage = /* @__PURE__ */ __name((input, co
13886
13886
  entries[_TDBII] = input[_TDBII];
13887
13887
  }
13888
13888
  if (input[_RTe] != null) {
13889
- entries[_RTe] = input[_RTe].toISOString().split(".")[0] + "Z";
13889
+ entries[_RTe] = (0, import_smithy_client.serializeDateTime)(input[_RTe]);
13890
13890
  }
13891
13891
  if (input[_ULRT] != null) {
13892
13892
  entries[_ULRT] = input[_ULRT];
@@ -1,6 +1,6 @@
1
1
  import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
- import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
3
+ import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
4
4
  import { AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BackupPolicyNotFoundFault, BlueGreenDeploymentAlreadyExistsFault, BlueGreenDeploymentNotFoundFault, CertificateNotFoundFault, CreateCustomDBEngineVersionFault, CustomAvailabilityZoneNotFoundFault, CustomDBEngineVersionAlreadyExistsFault, CustomDBEngineVersionNotFoundFault, CustomDBEngineVersionQuotaExceededFault, DBClusterAlreadyExistsFault, DBClusterAutomatedBackupNotFoundFault, DBClusterAutomatedBackupQuotaExceededFault, DBClusterEndpointAlreadyExistsFault, DBClusterEndpointNotFoundFault, DBClusterEndpointQuotaExceededFault, DBClusterNotFoundFault, DBClusterParameterGroupNotFoundFault, DBClusterQuotaExceededFault, DBClusterRoleAlreadyExistsFault, DBClusterRoleQuotaExceededFault, DBClusterSnapshotAlreadyExistsFault, DBClusterSnapshotNotFoundFault, DBInstanceAlreadyExistsFault, DBInstanceAutomatedBackupNotFoundFault, DBInstanceAutomatedBackupQuotaExceededFault, DBInstanceNotFoundFault, DBInstanceRoleAlreadyExistsFault, DBInstanceRoleQuotaExceededFault, DBParameterGroupAlreadyExistsFault, DBParameterGroupNotFoundFault, DBParameterGroupQuotaExceededFault, DBProxyAlreadyExistsFault, DBProxyEndpointAlreadyExistsFault, DBProxyEndpointNotFoundFault, DBProxyEndpointQuotaExceededFault, DBProxyNotFoundFault, DBProxyQuotaExceededFault, DBProxyTargetGroupNotFoundFault, DBSecurityGroupAlreadyExistsFault, DBSecurityGroupNotFoundFault, DBSecurityGroupNotSupportedFault, DBSecurityGroupQuotaExceededFault, DBShardGroupAlreadyExistsFault, DBShardGroupNotFoundFault, DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, DBSnapshotTenantDatabaseNotFoundFault, DBSubnetGroupAlreadyExistsFault, DBSubnetGroupDoesNotCoverEnoughAZs, DBSubnetGroupNotAllowedFault, DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DomainNotFoundFault, Ec2ImagePropertiesNotSupportedFault, EventSubscriptionQuotaExceededFault, ExportTaskNotFoundFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstanceQuotaExceededFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, IntegrationAlreadyExistsFault, IntegrationConflictOperationFault, IntegrationNotFoundFault, IntegrationQuotaExceededFault, InvalidBlueGreenDeploymentStateFault, InvalidCustomDBEngineVersionStateFault, InvalidDBClusterAutomatedBackupStateFault, InvalidDBClusterEndpointStateFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceAutomatedBackupStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBProxyEndpointStateFault, InvalidDBProxyStateFault, InvalidDBSecurityGroupStateFault, InvalidDBShardGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidExportTaskStateFault, InvalidGlobalClusterStateFault, InvalidIntegrationStateFault, InvalidMaxAcuFault, InvalidOptionGroupStateFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, MaxDBShardGroupLimitReached, NetworkTypeNotSupported, OptionGroupAlreadyExistsFault, OptionGroupNotFoundFault, OptionGroupQuotaExceededFault, ProvisionedIopsNotAvailableInAZFault, ResourceNotFoundFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceClusterNotSupportedFault, SourceDatabaseNotSupportedFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, TenantDatabaseAlreadyExistsFault, TenantDatabaseNotFoundFault, TenantDatabaseQuotaExceededFault, UnsupportedDBEngineVersionFault, } from "../models/models_0";
5
5
  import { DBClusterBacktrackNotFoundFault, DBClusterRoleNotFoundFault, DBInstanceRoleNotFoundFault, DBLogFileNotFoundFault, DBProxyTargetAlreadyRegisteredFault, DBProxyTargetNotFoundFault, DBUpgradeDependencyFailureFault, ExportTaskAlreadyExistsFault, IamRoleMissingPermissionsFault, IamRoleNotFoundFault, InsufficientAvailableIPsInSubnetFault, InsufficientDBClusterCapacityFault, InvalidDBClusterCapacityFault, InvalidExportOnlyFault, InvalidExportSourceStateFault, InvalidResourceStateFault, InvalidRestoreFault, InvalidS3BucketFault, PointInTimeRestoreNotEnabledFault, ReservedDBInstanceAlreadyExistsFault, ReservedDBInstanceNotFoundFault, ReservedDBInstanceQuotaExceededFault, ReservedDBInstancesOfferingNotFoundFault, SharedSnapshotQuotaExceededFault, StorageTypeNotAvailableFault, SubnetAlreadyInUse, } from "../models/models_1";
6
6
  import { RDSServiceException as __BaseException } from "../models/RDSServiceException";
@@ -5568,7 +5568,7 @@ const se_BacktrackDBClusterMessage = (input, context) => {
5568
5568
  entries[_DBCI] = input[_DBCI];
5569
5569
  }
5570
5570
  if (input[_BT] != null) {
5571
- entries[_BT] = input[_BT].toISOString().split(".")[0] + "Z";
5571
+ entries[_BT] = __serializeDateTime(input[_BT]);
5572
5572
  }
5573
5573
  if (input[_F] != null) {
5574
5574
  entries[_F] = input[_F];
@@ -7690,10 +7690,10 @@ const se_DescribeDBProxyTargetsRequest = (input, context) => {
7690
7690
  const se_DescribeDBRecommendationsMessage = (input, context) => {
7691
7691
  const entries = {};
7692
7692
  if (input[_LUA] != null) {
7693
- entries[_LUA] = input[_LUA].toISOString().split(".")[0] + "Z";
7693
+ entries[_LUA] = __serializeDateTime(input[_LUA]);
7694
7694
  }
7695
7695
  if (input[_LUB] != null) {
7696
- entries[_LUB] = input[_LUB].toISOString().split(".")[0] + "Z";
7696
+ entries[_LUB] = __serializeDateTime(input[_LUB]);
7697
7697
  }
7698
7698
  if (input[_L] != null) {
7699
7699
  entries[_L] = input[_L];
@@ -7934,10 +7934,10 @@ const se_DescribeEventsMessage = (input, context) => {
7934
7934
  entries[_STo] = input[_STo];
7935
7935
  }
7936
7936
  if (input[_STta] != null) {
7937
- entries[_STta] = input[_STta].toISOString().split(".")[0] + "Z";
7937
+ entries[_STta] = __serializeDateTime(input[_STta]);
7938
7938
  }
7939
7939
  if (input[_ETn] != null) {
7940
- entries[_ETn] = input[_ETn].toISOString().split(".")[0] + "Z";
7940
+ entries[_ETn] = __serializeDateTime(input[_ETn]);
7941
7941
  }
7942
7942
  if (input[_Du] != null) {
7943
7943
  entries[_Du] = input[_Du];
@@ -10035,7 +10035,7 @@ const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
10035
10035
  entries[_SDBCI] = input[_SDBCI];
10036
10036
  }
10037
10037
  if (input[_RTT] != null) {
10038
- entries[_RTT] = input[_RTT].toISOString().split(".")[0] + "Z";
10038
+ entries[_RTT] = __serializeDateTime(input[_RTT]);
10039
10039
  }
10040
10040
  if (input[_ULRT] != null) {
10041
10041
  entries[_ULRT] = input[_ULRT];
@@ -10516,7 +10516,7 @@ const se_RestoreDBInstanceToPointInTimeMessage = (input, context) => {
10516
10516
  entries[_TDBII] = input[_TDBII];
10517
10517
  }
10518
10518
  if (input[_RTe] != null) {
10519
- entries[_RTe] = input[_RTe].toISOString().split(".")[0] + "Z";
10519
+ entries[_RTe] = __serializeDateTime(input[_RTe]);
10520
10520
  }
10521
10521
  if (input[_ULRT] != null) {
10522
10522
  entries[_ULRT] = input[_ULRT];
@@ -27,8 +27,10 @@ declare const AddTagsToResourceCommand_base: {
27
27
  };
28
28
  /**
29
29
  * <p>Adds metadata tags to an Amazon RDS resource. These tags can also be used with cost allocation reporting to track cost associated with Amazon RDS resources, or used in a Condition statement in an IAM policy for Amazon RDS.</p>
30
- * <p>For an overview on tagging Amazon RDS resources,
31
- * see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html">Tagging Amazon RDS Resources</a>.</p>
30
+ * <p>For an overview on tagging your relational database resources,
31
+ * see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html">Tagging Amazon RDS Resources</a>
32
+ * or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html">Tagging Amazon Aurora and Amazon RDS Resources</a>.
33
+ * </p>
32
34
  * @example
33
35
  * Use a bare-bones client and the command you need to make an API call.
34
36
  * ```javascript
@@ -459,9 +459,10 @@ export declare class SubscriptionNotFoundFault extends __BaseException {
459
459
  }
460
460
  /**
461
461
  * <p>Metadata assigned to an Amazon RDS resource consisting of a key-value pair.</p>
462
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html">Tagging
463
- * Amazon RDS Resources</a> in the <i>Amazon RDS User Guide.</i>
464
- * </p>
462
+ * <p>For more information, see
463
+ * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html">Tagging Amazon RDS Resources</a> in the <i>Amazon RDS User Guide</i>
464
+ * or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html">Tagging Amazon Aurora and Amazon RDS Resources</a> in the <i>Amazon Aurora User Guide</i>.
465
+ * </p>
465
466
  * @public
466
467
  */
467
468
  export interface Tag {
@@ -3673,9 +3674,8 @@ export interface CreateDBClusterMessage {
3673
3674
  */
3674
3675
  CharacterSetName?: string;
3675
3676
  /**
3676
- * <p>The name for your database of up to 64 alphanumeric characters. If you don't
3677
- * provide a name, Amazon RDS doesn't create a database in the DB cluster you are
3678
- * creating.</p>
3677
+ * <p>The name for your database of up to 64 alphanumeric characters.
3678
+ * A database named <code>postgres</code> is always created. If this parameter is specified, an additional database with this name is created.</p>
3679
3679
  * <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters</p>
3680
3680
  * @public
3681
3681
  */
@@ -5999,8 +5999,7 @@ export interface CreateDBInstanceMessage {
5999
5999
  * <dt>Amazon Aurora PostgreSQL</dt>
6000
6000
  * <dd>
6001
6001
  * <p>The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is
6002
- * created. If this parameter isn't specified for an Aurora PostgreSQL DB cluster,
6003
- * a database named <code>postgres</code> is created in the DB cluster.</p>
6002
+ * created. A database named <code>postgres</code> is always created. If this parameter is specified, an additional database with this name is created.</p>
6004
6003
  * <p>Constraints:</p>
6005
6004
  * <ul>
6006
6005
  * <li>
@@ -6107,8 +6106,7 @@ export interface CreateDBInstanceMessage {
6107
6106
  * </dd>
6108
6107
  * <dt>RDS for PostgreSQL</dt>
6109
6108
  * <dd>
6110
- * <p>The name of the database to create when the DB instance is created. If this parameter isn't specified, a database named <code>postgres</code>
6111
- * is created in the DB instance.</p>
6109
+ * <p>The name of the database to create when the DB instance is created. A database named <code>postgres</code> is always created. If this parameter is specified, an additional database with this name is created.</p>
6112
6110
  * <p>Constraints:</p>
6113
6111
  * <ul>
6114
6112
  * <li>
@@ -12159,7 +12159,11 @@ export interface RestoreDBInstanceFromS3Message {
12159
12159
  */
12160
12160
  S3Prefix?: string;
12161
12161
  /**
12162
- * <p>An Amazon Web Services Identity and Access Management (IAM) role to allow Amazon RDS to access your Amazon S3 bucket.</p>
12162
+ * <p>An Amazon Web Services Identity and Access Management (IAM) role with a trust policy and a permissions policy that allows Amazon RDS to access your Amazon S3 bucket.
12163
+ * For information about this role,
12164
+ * see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html#MySQL.Procedural.Importing.Enabling.IAM">
12165
+ * Creating an IAM role manually</a> in the <i>Amazon RDS User Guide.</i>
12166
+ * </p>
12163
12167
  * @public
12164
12168
  */
12165
12169
  S3IngestionRoleArn: string | undefined;
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.582.0",
4
+ "version": "3.587.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,42 +20,42 @@
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-sso-oidc": "3.582.0",
24
- "@aws-sdk/client-sts": "3.582.0",
25
- "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.582.0",
23
+ "@aws-sdk/client-sso-oidc": "3.587.0",
24
+ "@aws-sdk/client-sts": "3.587.0",
25
+ "@aws-sdk/core": "3.587.0",
26
+ "@aws-sdk/credential-provider-node": "3.587.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-sdk-rds": "3.577.0",
31
- "@aws-sdk/middleware-user-agent": "3.577.0",
32
- "@aws-sdk/region-config-resolver": "3.577.0",
30
+ "@aws-sdk/middleware-sdk-rds": "3.587.0",
31
+ "@aws-sdk/middleware-user-agent": "3.587.0",
32
+ "@aws-sdk/region-config-resolver": "3.587.0",
33
33
  "@aws-sdk/types": "3.577.0",
34
- "@aws-sdk/util-endpoints": "3.577.0",
34
+ "@aws-sdk/util-endpoints": "3.587.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.577.0",
36
- "@aws-sdk/util-user-agent-node": "3.577.0",
37
- "@smithy/config-resolver": "^3.0.0",
38
- "@smithy/core": "^2.0.1",
36
+ "@aws-sdk/util-user-agent-node": "3.587.0",
37
+ "@smithy/config-resolver": "^3.0.1",
38
+ "@smithy/core": "^2.1.1",
39
39
  "@smithy/fetch-http-handler": "^3.0.1",
40
40
  "@smithy/hash-node": "^3.0.0",
41
41
  "@smithy/invalid-dependency": "^3.0.0",
42
42
  "@smithy/middleware-content-length": "^3.0.0",
43
- "@smithy/middleware-endpoint": "^3.0.0",
44
- "@smithy/middleware-retry": "^3.0.1",
43
+ "@smithy/middleware-endpoint": "^3.0.1",
44
+ "@smithy/middleware-retry": "^3.0.3",
45
45
  "@smithy/middleware-serde": "^3.0.0",
46
46
  "@smithy/middleware-stack": "^3.0.0",
47
- "@smithy/node-config-provider": "^3.0.0",
47
+ "@smithy/node-config-provider": "^3.1.0",
48
48
  "@smithy/node-http-handler": "^3.0.0",
49
49
  "@smithy/protocol-http": "^4.0.0",
50
- "@smithy/smithy-client": "^3.0.1",
50
+ "@smithy/smithy-client": "^3.1.1",
51
51
  "@smithy/types": "^3.0.0",
52
52
  "@smithy/url-parser": "^3.0.0",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.1",
57
- "@smithy/util-defaults-mode-node": "^3.0.1",
58
- "@smithy/util-endpoints": "^2.0.0",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.3",
57
+ "@smithy/util-defaults-mode-node": "^3.0.3",
58
+ "@smithy/util-endpoints": "^2.0.1",
59
59
  "@smithy/util-middleware": "^3.0.0",
60
60
  "@smithy/util-retry": "^3.0.0",
61
61
  "@smithy/util-utf8": "^3.0.0",