@aws-sdk/client-rds 3.378.0 → 3.381.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 (30) hide show
  1. package/dist-cjs/models/models_0.js +9 -2
  2. package/dist-cjs/protocols/Aws_query.js +15 -0
  3. package/dist-es/models/models_0.js +7 -0
  4. package/dist-es/protocols/Aws_query.js +15 -0
  5. package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +2 -0
  6. package/dist-types/commands/CreateDBClusterCommand.d.ts +2 -0
  7. package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +2 -0
  8. package/dist-types/commands/DeleteDBClusterCommand.d.ts +1 -0
  9. package/dist-types/commands/DescribeDBClustersCommand.d.ts +1 -0
  10. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +2 -0
  11. package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +2 -1
  12. package/dist-types/commands/FailoverDBClusterCommand.d.ts +1 -0
  13. package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +2 -0
  14. package/dist-types/commands/ModifyDBClusterCommand.d.ts +2 -0
  15. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +1 -0
  16. package/dist-types/commands/RebootDBClusterCommand.d.ts +1 -0
  17. package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +1 -0
  18. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +1 -0
  19. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +1 -0
  20. package/dist-types/commands/StartDBClusterCommand.d.ts +1 -0
  21. package/dist-types/commands/StopDBClusterCommand.d.ts +1 -0
  22. package/dist-types/endpoint/EndpointParameters.d.ts +3 -0
  23. package/dist-types/index.d.ts +1 -0
  24. package/dist-types/models/models_0.d.ts +38 -37
  25. package/dist-types/models/models_1.d.ts +43 -0
  26. package/dist-types/ts3.4/commands/DescribeDBParameterGroupsCommand.d.ts +2 -4
  27. package/dist-types/ts3.4/index.d.ts +1 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +13 -6
  29. package/dist-types/ts3.4/models/models_1.d.ts +7 -0
  30. package/package.json +6 -6
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WriteForwardingStatus = exports.Ec2ImagePropertiesNotSupportedFault = exports.CustomDBEngineVersionQuotaExceededFault = exports.CustomDBEngineVersionAlreadyExistsFault = exports.CreateCustomDBEngineVersionFault = exports.SourceDatabaseNotSupportedFault = exports.SourceClusterNotSupportedFault = exports.InstanceQuotaExceededFault = exports.DBClusterQuotaExceededFault = exports.DBClusterParameterGroupNotFoundFault = exports.BlueGreenDeploymentAlreadyExistsFault = exports.OptionGroupQuotaExceededFault = exports.OptionGroupNotFoundFault = exports.OptionGroupAlreadyExistsFault = exports.InvalidDBSnapshotStateFault = exports.DBSnapshotAlreadyExistsFault = exports.CustomAvailabilityZoneNotFoundFault = exports.SnapshotQuotaExceededFault = exports.KMSKeyNotAccessibleFault = exports.InvalidDBClusterSnapshotStateFault = exports.DBClusterSnapshotNotFoundFault = exports.DBClusterSnapshotAlreadyExistsFault = exports.DBParameterGroupQuotaExceededFault = exports.DBParameterGroupNotFoundFault = exports.DBParameterGroupAlreadyExistsFault = exports.InvalidExportTaskStateFault = exports.ExportTaskNotFoundFault = exports.ExportSourceType = exports.InvalidDBSecurityGroupStateFault = exports.DBSecurityGroupNotFoundFault = exports.AuthorizationQuotaExceededFault = exports.AuthorizationAlreadyExistsFault = exports.ResourceNotFoundFault = exports.DBSnapshotNotFoundFault = exports.DBProxyTargetGroupNotFoundFault = exports.DBProxyNotFoundFault = exports.BlueGreenDeploymentNotFoundFault = exports.SubscriptionNotFoundFault = exports.SourceNotFoundFault = exports.InvalidDBInstanceStateFault = exports.DBInstanceRoleQuotaExceededFault = exports.DBInstanceRoleAlreadyExistsFault = exports.DBInstanceNotFoundFault = exports.InvalidDBClusterStateFault = exports.DBClusterRoleQuotaExceededFault = exports.DBClusterRoleAlreadyExistsFault = exports.DBClusterNotFoundFault = exports.ActivityStreamStatus = exports.ActivityStreamPolicyStatus = exports.ActivityStreamMode = void 0;
4
- exports.FailoverStatus = exports.SubscriptionCategoryNotFoundFault = exports.SubscriptionAlreadyExistFault = exports.SNSTopicArnNotFoundFault = exports.SNSNoAuthorizationFault = exports.SNSInvalidTopicFault = exports.EventSubscriptionQuotaExceededFault = exports.DBSubnetQuotaExceededFault = exports.DBSubnetGroupQuotaExceededFault = exports.DBSubnetGroupAlreadyExistsFault = exports.DBSecurityGroupQuotaExceededFault = exports.DBSecurityGroupNotSupportedFault = exports.DBSecurityGroupAlreadyExistsFault = exports.InvalidDBProxyStateFault = exports.DBProxyEndpointQuotaExceededFault = exports.DBProxyEndpointAlreadyExistsFault = exports.DBProxyEndpointStatus = exports.DBProxyEndpointTargetRole = exports.DBProxyQuotaExceededFault = exports.DBProxyAlreadyExistsFault = exports.DBProxyStatus = exports.EngineFamily = exports.IAMAuthMode = exports.ClientPasswordAuthType = exports.AuthScheme = exports.InvalidDBSubnetGroupFault = exports.DBSubnetGroupNotAllowedFault = exports.StorageTypeNotSupportedFault = exports.ProvisionedIopsNotAvailableInAZFault = exports.NetworkTypeNotSupported = exports.InsufficientDBInstanceCapacityFault = exports.DBInstanceAlreadyExistsFault = exports.ReplicaMode = exports.AutomationMode = exports.CertificateNotFoundFault = exports.BackupPolicyNotFoundFault = exports.AuthorizationNotFoundFault = exports.DBClusterEndpointQuotaExceededFault = exports.DBClusterEndpointAlreadyExistsFault = exports.StorageQuotaExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidSubnet = exports.InvalidGlobalClusterStateFault = exports.InvalidDBSubnetGroupStateFault = exports.InsufficientStorageClusterCapacityFault = exports.GlobalClusterNotFoundFault = exports.DomainNotFoundFault = exports.DBSubnetGroupNotFoundFault = exports.DBSubnetGroupDoesNotCoverEnoughAZs = exports.DBClusterAlreadyExistsFault = void 0;
5
- exports.ApplyMethod = exports.DBClusterBacktrackNotFoundFault = exports.DBProxyTargetNotFoundFault = exports.InvalidOptionGroupStateFault = exports.InvalidEventSubscriptionStateFault = exports.InvalidDBSubnetStateFault = exports.InvalidDBProxyEndpointStateFault = exports.DBProxyEndpointNotFoundFault = exports.InvalidDBInstanceAutomatedBackupStateFault = exports.DBInstanceAutomatedBackupNotFoundFault = exports.DBInstanceAutomatedBackupQuotaExceededFault = exports.InvalidDBParameterGroupStateFault = exports.InvalidDBClusterEndpointStateFault = exports.DBClusterEndpointNotFoundFault = exports.InvalidCustomDBEngineVersionStateFault = exports.CustomDBEngineVersionNotFoundFault = exports.InvalidBlueGreenDeploymentStateFault = exports.GlobalClusterQuotaExceededFault = exports.GlobalClusterAlreadyExistsFault = void 0;
4
+ exports.SubscriptionCategoryNotFoundFault = exports.SubscriptionAlreadyExistFault = exports.SNSTopicArnNotFoundFault = exports.SNSNoAuthorizationFault = exports.SNSInvalidTopicFault = exports.EventSubscriptionQuotaExceededFault = exports.DBSubnetQuotaExceededFault = exports.DBSubnetGroupQuotaExceededFault = exports.DBSubnetGroupAlreadyExistsFault = exports.DBSecurityGroupQuotaExceededFault = exports.DBSecurityGroupNotSupportedFault = exports.DBSecurityGroupAlreadyExistsFault = exports.InvalidDBProxyStateFault = exports.DBProxyEndpointQuotaExceededFault = exports.DBProxyEndpointAlreadyExistsFault = exports.DBProxyEndpointStatus = exports.DBProxyEndpointTargetRole = exports.DBProxyQuotaExceededFault = exports.DBProxyAlreadyExistsFault = exports.DBProxyStatus = exports.EngineFamily = exports.IAMAuthMode = exports.ClientPasswordAuthType = exports.AuthScheme = exports.InvalidDBSubnetGroupFault = exports.DBSubnetGroupNotAllowedFault = exports.StorageTypeNotSupportedFault = exports.ProvisionedIopsNotAvailableInAZFault = exports.NetworkTypeNotSupported = exports.InsufficientDBInstanceCapacityFault = exports.DBInstanceAlreadyExistsFault = exports.ReplicaMode = exports.AutomationMode = exports.CertificateNotFoundFault = exports.BackupPolicyNotFoundFault = exports.AuthorizationNotFoundFault = exports.DBClusterEndpointQuotaExceededFault = exports.DBClusterEndpointAlreadyExistsFault = exports.StorageQuotaExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidSubnet = exports.InvalidGlobalClusterStateFault = exports.InvalidDBSubnetGroupStateFault = exports.InsufficientStorageClusterCapacityFault = exports.GlobalClusterNotFoundFault = exports.DomainNotFoundFault = exports.DBSubnetGroupNotFoundFault = exports.DBSubnetGroupDoesNotCoverEnoughAZs = exports.DBClusterAlreadyExistsFault = exports.LocalWriteForwardingStatus = void 0;
5
+ exports.ApplyMethod = exports.DBClusterBacktrackNotFoundFault = exports.DBProxyTargetNotFoundFault = exports.InvalidOptionGroupStateFault = exports.InvalidEventSubscriptionStateFault = exports.InvalidDBSubnetStateFault = exports.InvalidDBProxyEndpointStateFault = exports.DBProxyEndpointNotFoundFault = exports.InvalidDBInstanceAutomatedBackupStateFault = exports.DBInstanceAutomatedBackupNotFoundFault = exports.DBInstanceAutomatedBackupQuotaExceededFault = exports.InvalidDBParameterGroupStateFault = exports.InvalidDBClusterEndpointStateFault = exports.DBClusterEndpointNotFoundFault = exports.InvalidCustomDBEngineVersionStateFault = exports.CustomDBEngineVersionNotFoundFault = exports.InvalidBlueGreenDeploymentStateFault = exports.GlobalClusterQuotaExceededFault = exports.GlobalClusterAlreadyExistsFault = exports.FailoverStatus = void 0;
6
6
  const RDSServiceException_1 = require("./RDSServiceException");
7
7
  exports.ActivityStreamMode = {
8
8
  async: "async",
@@ -616,6 +616,13 @@ exports.WriteForwardingStatus = {
616
616
  ENABLING: "enabling",
617
617
  UNKNOWN: "unknown",
618
618
  };
619
+ exports.LocalWriteForwardingStatus = {
620
+ DISABLED: "disabled",
621
+ DISABLING: "disabling",
622
+ ENABLED: "enabled",
623
+ ENABLING: "enabling",
624
+ REQUESTED: "requested",
625
+ };
619
626
  class DBClusterAlreadyExistsFault extends RDSServiceException_1.RDSServiceException {
620
627
  constructor(opts) {
621
628
  super({
@@ -9196,6 +9196,9 @@ const se_CreateDBClusterMessage = (input, context) => {
9196
9196
  if (input.MasterUserSecretKmsKeyId != null) {
9197
9197
  entries["MasterUserSecretKmsKeyId"] = input.MasterUserSecretKmsKeyId;
9198
9198
  }
9199
+ if (input.EnableLocalWriteForwarding != null) {
9200
+ entries["EnableLocalWriteForwarding"] = input.EnableLocalWriteForwarding;
9201
+ }
9199
9202
  return entries;
9200
9203
  };
9201
9204
  const se_CreateDBClusterParameterGroupMessage = (input, context) => {
@@ -11479,6 +11482,9 @@ const se_ModifyDBClusterMessage = (input, context) => {
11479
11482
  if (input.AllowEngineModeChange != null) {
11480
11483
  entries["AllowEngineModeChange"] = input.AllowEngineModeChange;
11481
11484
  }
11485
+ if (input.EnableLocalWriteForwarding != null) {
11486
+ entries["EnableLocalWriteForwarding"] = input.EnableLocalWriteForwarding;
11487
+ }
11482
11488
  return entries;
11483
11489
  };
11484
11490
  const se_ModifyDBClusterParameterGroupMessage = (input, context) => {
@@ -14342,6 +14348,9 @@ const de_DBCluster = (output, context) => {
14342
14348
  if (output["IOOptimizedNextAllowedModificationTime"] !== undefined) {
14343
14349
  contents.IOOptimizedNextAllowedModificationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["IOOptimizedNextAllowedModificationTime"]));
14344
14350
  }
14351
+ if (output["LocalWriteForwardingStatus"] !== undefined) {
14352
+ contents.LocalWriteForwardingStatus = (0, smithy_client_1.expectString)(output["LocalWriteForwardingStatus"]);
14353
+ }
14345
14354
  return contents;
14346
14355
  };
14347
14356
  const de_DBClusterAlreadyExistsFault = (output, context) => {
@@ -14959,6 +14968,9 @@ const de_DBEngineVersion = (output, context) => {
14959
14968
  output["SupportedCACertificateIdentifiers"]["member"] !== undefined) {
14960
14969
  contents.SupportedCACertificateIdentifiers = de_CACertificateIdentifiersList((0, smithy_client_1.getArrayIfSingleItem)(output["SupportedCACertificateIdentifiers"]["member"]), context);
14961
14970
  }
14971
+ if (output["SupportsLocalWriteForwarding"] !== undefined) {
14972
+ contents.SupportsLocalWriteForwarding = (0, smithy_client_1.parseBoolean)(output["SupportsLocalWriteForwarding"]);
14973
+ }
14962
14974
  return contents;
14963
14975
  };
14964
14976
  const de_DBEngineVersionList = (output, context) => {
@@ -18880,6 +18892,9 @@ const de_UpgradeTarget = (output, context) => {
18880
18892
  if (output["SupportsBabelfish"] !== undefined) {
18881
18893
  contents.SupportsBabelfish = (0, smithy_client_1.parseBoolean)(output["SupportsBabelfish"]);
18882
18894
  }
18895
+ if (output["SupportsLocalWriteForwarding"] !== undefined) {
18896
+ contents.SupportsLocalWriteForwarding = (0, smithy_client_1.parseBoolean)(output["SupportsLocalWriteForwarding"]);
18897
+ }
18883
18898
  return contents;
18884
18899
  };
18885
18900
  const de_UserAuthConfigInfo = (output, context) => {
@@ -566,6 +566,13 @@ export const WriteForwardingStatus = {
566
566
  ENABLING: "enabling",
567
567
  UNKNOWN: "unknown",
568
568
  };
569
+ export const LocalWriteForwardingStatus = {
570
+ DISABLED: "disabled",
571
+ DISABLING: "disabling",
572
+ ENABLED: "enabled",
573
+ ENABLING: "enabling",
574
+ REQUESTED: "requested",
575
+ };
569
576
  export class DBClusterAlreadyExistsFault extends __BaseException {
570
577
  constructor(opts) {
571
578
  super({
@@ -8906,6 +8906,9 @@ const se_CreateDBClusterMessage = (input, context) => {
8906
8906
  if (input.MasterUserSecretKmsKeyId != null) {
8907
8907
  entries["MasterUserSecretKmsKeyId"] = input.MasterUserSecretKmsKeyId;
8908
8908
  }
8909
+ if (input.EnableLocalWriteForwarding != null) {
8910
+ entries["EnableLocalWriteForwarding"] = input.EnableLocalWriteForwarding;
8911
+ }
8909
8912
  return entries;
8910
8913
  };
8911
8914
  const se_CreateDBClusterParameterGroupMessage = (input, context) => {
@@ -11189,6 +11192,9 @@ const se_ModifyDBClusterMessage = (input, context) => {
11189
11192
  if (input.AllowEngineModeChange != null) {
11190
11193
  entries["AllowEngineModeChange"] = input.AllowEngineModeChange;
11191
11194
  }
11195
+ if (input.EnableLocalWriteForwarding != null) {
11196
+ entries["EnableLocalWriteForwarding"] = input.EnableLocalWriteForwarding;
11197
+ }
11192
11198
  return entries;
11193
11199
  };
11194
11200
  const se_ModifyDBClusterParameterGroupMessage = (input, context) => {
@@ -14052,6 +14058,9 @@ const de_DBCluster = (output, context) => {
14052
14058
  if (output["IOOptimizedNextAllowedModificationTime"] !== undefined) {
14053
14059
  contents.IOOptimizedNextAllowedModificationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["IOOptimizedNextAllowedModificationTime"]));
14054
14060
  }
14061
+ if (output["LocalWriteForwardingStatus"] !== undefined) {
14062
+ contents.LocalWriteForwardingStatus = __expectString(output["LocalWriteForwardingStatus"]);
14063
+ }
14055
14064
  return contents;
14056
14065
  };
14057
14066
  const de_DBClusterAlreadyExistsFault = (output, context) => {
@@ -14669,6 +14678,9 @@ const de_DBEngineVersion = (output, context) => {
14669
14678
  output["SupportedCACertificateIdentifiers"]["member"] !== undefined) {
14670
14679
  contents.SupportedCACertificateIdentifiers = de_CACertificateIdentifiersList(__getArrayIfSingleItem(output["SupportedCACertificateIdentifiers"]["member"]), context);
14671
14680
  }
14681
+ if (output["SupportsLocalWriteForwarding"] !== undefined) {
14682
+ contents.SupportsLocalWriteForwarding = __parseBoolean(output["SupportsLocalWriteForwarding"]);
14683
+ }
14672
14684
  return contents;
14673
14685
  };
14674
14686
  const de_DBEngineVersionList = (output, context) => {
@@ -18590,6 +18602,9 @@ const de_UpgradeTarget = (output, context) => {
18590
18602
  if (output["SupportsBabelfish"] !== undefined) {
18591
18603
  contents.SupportsBabelfish = __parseBoolean(output["SupportsBabelfish"]);
18592
18604
  }
18605
+ if (output["SupportsLocalWriteForwarding"] !== undefined) {
18606
+ contents.SupportsLocalWriteForwarding = __parseBoolean(output["SupportsLocalWriteForwarding"]);
18607
+ }
18593
18608
  return contents;
18594
18609
  };
18595
18610
  const de_UserAuthConfigInfo = (output, context) => {
@@ -88,6 +88,7 @@ export interface CreateCustomDBEngineVersionCommandOutput extends DBEngineVersio
88
88
  * // SupportsParallelQuery: true || false,
89
89
  * // SupportsGlobalDatabases: true || false,
90
90
  * // SupportsBabelfish: true || false,
91
+ * // SupportsLocalWriteForwarding: true || false,
91
92
  * // },
92
93
  * // ],
93
94
  * // SupportedTimezones: [ // SupportedTimezonesList
@@ -127,6 +128,7 @@ export interface CreateCustomDBEngineVersionCommandOutput extends DBEngineVersio
127
128
  * // SupportedCACertificateIdentifiers: [ // CACertificateIdentifiersList
128
129
  * // "STRING_VALUE",
129
130
  * // ],
131
+ * // SupportsLocalWriteForwarding: true || false,
130
132
  * // };
131
133
  *
132
134
  * ```
@@ -114,6 +114,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
114
114
  * DBSystemId: "STRING_VALUE",
115
115
  * ManageMasterUserPassword: true || false,
116
116
  * MasterUserSecretKmsKeyId: "STRING_VALUE",
117
+ * EnableLocalWriteForwarding: true || false,
117
118
  * };
118
119
  * const command = new CreateDBClusterCommand(input);
119
120
  * const response = await client.send(command);
@@ -270,6 +271,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
270
271
  * // KmsKeyId: "STRING_VALUE",
271
272
  * // },
272
273
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
274
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
273
275
  * // },
274
276
  * // };
275
277
  *
@@ -96,6 +96,7 @@ export interface DeleteCustomDBEngineVersionCommandOutput extends DBEngineVersio
96
96
  * // SupportsParallelQuery: true || false,
97
97
  * // SupportsGlobalDatabases: true || false,
98
98
  * // SupportsBabelfish: true || false,
99
+ * // SupportsLocalWriteForwarding: true || false,
99
100
  * // },
100
101
  * // ],
101
102
  * // SupportedTimezones: [ // SupportedTimezonesList
@@ -135,6 +136,7 @@ export interface DeleteCustomDBEngineVersionCommandOutput extends DBEngineVersio
135
136
  * // SupportedCACertificateIdentifiers: [ // CACertificateIdentifiersList
136
137
  * // "STRING_VALUE",
137
138
  * // ],
139
+ * // SupportsLocalWriteForwarding: true || false,
138
140
  * // };
139
141
  *
140
142
  * ```
@@ -200,6 +200,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
200
200
  * // KmsKeyId: "STRING_VALUE",
201
201
  * // },
202
202
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
203
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
203
204
  * // },
204
205
  * // };
205
206
  *
@@ -208,6 +208,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
208
208
  * // KmsKeyId: "STRING_VALUE",
209
209
  * // },
210
210
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
211
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
211
212
  * // },
212
213
  * // ],
213
214
  * // };
@@ -94,6 +94,7 @@ export interface DescribeDBEngineVersionsCommandOutput extends DBEngineVersionMe
94
94
  * // SupportsParallelQuery: true || false,
95
95
  * // SupportsGlobalDatabases: true || false,
96
96
  * // SupportsBabelfish: true || false,
97
+ * // SupportsLocalWriteForwarding: true || false,
97
98
  * // },
98
99
  * // ],
99
100
  * // SupportedTimezones: [ // SupportedTimezonesList
@@ -133,6 +134,7 @@ export interface DescribeDBEngineVersionsCommandOutput extends DBEngineVersionMe
133
134
  * // SupportedCACertificateIdentifiers: [ // CACertificateIdentifiersList
134
135
  * // "STRING_VALUE",
135
136
  * // ],
137
+ * // SupportsLocalWriteForwarding: true || false,
136
138
  * // },
137
139
  * // ],
138
140
  * // };
@@ -1,7 +1,8 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { DBParameterGroupsMessage, DescribeDBParameterGroupsMessage } from "../models/models_0";
4
+ import { DBParameterGroupsMessage } from "../models/models_0";
5
+ import { DescribeDBParameterGroupsMessage } from "../models/models_1";
5
6
  import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
6
7
  /**
7
8
  * @public
@@ -205,6 +205,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
205
205
  * // KmsKeyId: "STRING_VALUE",
206
206
  * // },
207
207
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
208
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
208
209
  * // },
209
210
  * // };
210
211
  *
@@ -89,6 +89,7 @@ export interface ModifyCustomDBEngineVersionCommandOutput extends DBEngineVersio
89
89
  * // SupportsParallelQuery: true || false,
90
90
  * // SupportsGlobalDatabases: true || false,
91
91
  * // SupportsBabelfish: true || false,
92
+ * // SupportsLocalWriteForwarding: true || false,
92
93
  * // },
93
94
  * // ],
94
95
  * // SupportedTimezones: [ // SupportedTimezonesList
@@ -128,6 +129,7 @@ export interface ModifyCustomDBEngineVersionCommandOutput extends DBEngineVersio
128
129
  * // SupportedCACertificateIdentifiers: [ // CACertificateIdentifiersList
129
130
  * // "STRING_VALUE",
130
131
  * // ],
132
+ * // SupportsLocalWriteForwarding: true || false,
131
133
  * // };
132
134
  *
133
135
  * ```
@@ -99,6 +99,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
99
99
  * MasterUserSecretKmsKeyId: "STRING_VALUE",
100
100
  * EngineMode: "STRING_VALUE",
101
101
  * AllowEngineModeChange: true || false,
102
+ * EnableLocalWriteForwarding: true || false,
102
103
  * };
103
104
  * const command = new ModifyDBClusterCommand(input);
104
105
  * const response = await client.send(command);
@@ -255,6 +256,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
255
256
  * // KmsKeyId: "STRING_VALUE",
256
257
  * // },
257
258
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
259
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
258
260
  * // },
259
261
  * // };
260
262
  *
@@ -188,6 +188,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
188
188
  * // KmsKeyId: "STRING_VALUE",
189
189
  * // },
190
190
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
191
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
191
192
  * // },
192
193
  * // };
193
194
  *
@@ -198,6 +198,7 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
198
198
  * // KmsKeyId: "STRING_VALUE",
199
199
  * // },
200
200
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
201
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
201
202
  * // },
202
203
  * // };
203
204
  *
@@ -254,6 +254,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
254
254
  * // KmsKeyId: "STRING_VALUE",
255
255
  * // },
256
256
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
257
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
257
258
  * // },
258
259
  * // };
259
260
  *
@@ -254,6 +254,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
254
254
  * // KmsKeyId: "STRING_VALUE",
255
255
  * // },
256
256
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
257
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
257
258
  * // },
258
259
  * // };
259
260
  *
@@ -252,6 +252,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
252
252
  * // KmsKeyId: "STRING_VALUE",
253
253
  * // },
254
254
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
255
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
255
256
  * // },
256
257
  * // };
257
258
  *
@@ -195,6 +195,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
195
195
  * // KmsKeyId: "STRING_VALUE",
196
196
  * // },
197
197
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
198
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
198
199
  * // },
199
200
  * // };
200
201
  *
@@ -196,6 +196,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
196
196
  * // KmsKeyId: "STRING_VALUE",
197
197
  * // },
198
198
  * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
199
+ * // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
199
200
  * // },
200
201
  * // };
201
202
  *
@@ -1,4 +1,7 @@
1
1
  import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface ClientInputEndpointParameters {
3
6
  region?: string | Provider<string>;
4
7
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -57,6 +57,7 @@
57
57
  */
58
58
  export * from "./RDSClient";
59
59
  export * from "./RDS";
60
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
60
61
  export * from "./commands";
61
62
  export * from "./pagination";
62
63
  export * from "./waiters";
@@ -2899,6 +2899,12 @@ export interface UpgradeTarget {
2899
2899
  * <p>A value that indicates whether you can use Babelfish for Aurora PostgreSQL with the target engine version.</p>
2900
2900
  */
2901
2901
  SupportsBabelfish?: boolean;
2902
+ /**
2903
+ * <p>A value that indicates whether the target engine version supports forwarding write operations from reader DB instances
2904
+ * to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances.</p>
2905
+ * <p>Valid for: Aurora DB clusters only</p>
2906
+ */
2907
+ SupportsLocalWriteForwarding?: boolean;
2902
2908
  }
2903
2909
  /**
2904
2910
  * @public
@@ -3058,6 +3064,12 @@ export interface DBEngineVersion {
3058
3064
  * User Guide</i>.</p>
3059
3065
  */
3060
3066
  SupportedCACertificateIdentifiers?: string[];
3067
+ /**
3068
+ * <p>A value that indicates whether the DB engine version supports forwarding write operations from reader DB instances
3069
+ * to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances.</p>
3070
+ * <p>Valid for: Aurora DB clusters only</p>
3071
+ */
3072
+ SupportsLocalWriteForwarding?: boolean;
3061
3073
  }
3062
3074
  /**
3063
3075
  * @public
@@ -3830,6 +3842,12 @@ export interface CreateDBClusterMessage {
3830
3842
  * <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters</p>
3831
3843
  */
3832
3844
  MasterUserSecretKmsKeyId?: string;
3845
+ /**
3846
+ * <p>Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. By
3847
+ * default, write operations aren't allowed on reader DB instances.</p>
3848
+ * <p>Valid for: Aurora DB clusters only</p>
3849
+ */
3850
+ EnableLocalWriteForwarding?: boolean;
3833
3851
  }
3834
3852
  /**
3835
3853
  * @public
@@ -3955,6 +3973,21 @@ export declare const WriteForwardingStatus: {
3955
3973
  * @public
3956
3974
  */
3957
3975
  export type WriteForwardingStatus = (typeof WriteForwardingStatus)[keyof typeof WriteForwardingStatus];
3976
+ /**
3977
+ * @public
3978
+ * @enum
3979
+ */
3980
+ export declare const LocalWriteForwardingStatus: {
3981
+ readonly DISABLED: "disabled";
3982
+ readonly DISABLING: "disabling";
3983
+ readonly ENABLED: "enabled";
3984
+ readonly ENABLING: "enabling";
3985
+ readonly REQUESTED: "requested";
3986
+ };
3987
+ /**
3988
+ * @public
3989
+ */
3990
+ export type LocalWriteForwardingStatus = (typeof LocalWriteForwardingStatus)[keyof typeof LocalWriteForwardingStatus];
3958
3991
  /**
3959
3992
  * @public
3960
3993
  * <p>Contains the secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.</p>
@@ -4532,6 +4565,11 @@ export interface DBCluster {
4532
4565
  * <p>This setting is only for Aurora DB clusters.</p>
4533
4566
  */
4534
4567
  IOOptimizedNextAllowedModificationTime?: Date;
4568
+ /**
4569
+ * <p>Specifies whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in the process
4570
+ * of enabling it.</p>
4571
+ */
4572
+ LocalWriteForwardingStatus?: LocalWriteForwardingStatus | string;
4535
4573
  }
4536
4574
  /**
4537
4575
  * @public
@@ -11336,40 +11374,3 @@ export interface DBParameterGroupsMessage {
11336
11374
  */
11337
11375
  DBParameterGroups?: DBParameterGroup[];
11338
11376
  }
11339
- /**
11340
- * @public
11341
- * <p></p>
11342
- */
11343
- export interface DescribeDBParameterGroupsMessage {
11344
- /**
11345
- * <p>The name of a specific DB parameter group to return details for.</p>
11346
- * <p>Constraints:</p>
11347
- * <ul>
11348
- * <li>
11349
- * <p>If supplied, must match the name of an existing DBClusterParameterGroup.</p>
11350
- * </li>
11351
- * </ul>
11352
- */
11353
- DBParameterGroupName?: string;
11354
- /**
11355
- * <p>This parameter isn't currently supported.</p>
11356
- */
11357
- Filters?: Filter[];
11358
- /**
11359
- * <p>The maximum number of records to include in the response.
11360
- * If more records exist than the specified <code>MaxRecords</code> value,
11361
- * a pagination token called a marker is included in the response so that
11362
- * you can retrieve the remaining results.</p>
11363
- * <p>Default: 100</p>
11364
- * <p>Constraints: Minimum 20, maximum 100.</p>
11365
- */
11366
- MaxRecords?: number;
11367
- /**
11368
- * <p>An optional pagination token provided by a previous
11369
- * <code>DescribeDBParameterGroups</code> request.
11370
- * If this parameter is specified, the response includes
11371
- * only records beyond the marker,
11372
- * up to the value specified by <code>MaxRecords</code>.</p>
11373
- */
11374
- Marker?: string;
11375
- }
@@ -1,6 +1,43 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ActivityStreamMode, ActivityStreamPolicyStatus, ActivityStreamStatus, AutomationMode, AvailabilityZone, BlueGreenDeployment, Certificate, DBCluster, DBClusterSnapshotAttributesResult, DBInstance, DBInstanceAutomatedBackup, DBProxy, DBProxyEndpoint, DBSecurityGroup, DBSnapshot, DBSubnetGroup, EventSubscription, ExportSourceType, ExportTask, Filter, GlobalCluster, OptionGroup, OptionSetting, Parameter, ProcessorFeature, ReplicaMode, ResourcePendingMaintenanceActions, ScalingConfiguration, ServerlessV2ScalingConfiguration, Tag, UserAuthConfig } from "./models_0";
3
3
  import { RDSServiceException as __BaseException } from "./RDSServiceException";
4
+ /**
5
+ * @public
6
+ * <p></p>
7
+ */
8
+ export interface DescribeDBParameterGroupsMessage {
9
+ /**
10
+ * <p>The name of a specific DB parameter group to return details for.</p>
11
+ * <p>Constraints:</p>
12
+ * <ul>
13
+ * <li>
14
+ * <p>If supplied, must match the name of an existing DBClusterParameterGroup.</p>
15
+ * </li>
16
+ * </ul>
17
+ */
18
+ DBParameterGroupName?: string;
19
+ /**
20
+ * <p>This parameter isn't currently supported.</p>
21
+ */
22
+ Filters?: Filter[];
23
+ /**
24
+ * <p>The maximum number of records to include in the response.
25
+ * If more records exist than the specified <code>MaxRecords</code> value,
26
+ * a pagination token called a marker is included in the response so that
27
+ * you can retrieve the remaining results.</p>
28
+ * <p>Default: 100</p>
29
+ * <p>Constraints: Minimum 20, maximum 100.</p>
30
+ */
31
+ MaxRecords?: number;
32
+ /**
33
+ * <p>An optional pagination token provided by a previous
34
+ * <code>DescribeDBParameterGroups</code> request.
35
+ * If this parameter is specified, the response includes
36
+ * only records beyond the marker,
37
+ * up to the value specified by <code>MaxRecords</code>.</p>
38
+ */
39
+ Marker?: string;
40
+ }
4
41
  /**
5
42
  * @public
6
43
  * <p>Contains the result of a successful invocation of the <code>DescribeDBParameters</code> action.</p>
@@ -3759,6 +3796,12 @@ export interface ModifyDBClusterMessage {
3759
3796
  * </ul>
3760
3797
  */
3761
3798
  AllowEngineModeChange?: boolean;
3799
+ /**
3800
+ * <p>Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. By
3801
+ * default, write operations aren't allowed on reader DB instances.</p>
3802
+ * <p>Valid for: Aurora DB clusters only</p>
3803
+ */
3804
+ EnableLocalWriteForwarding?: boolean;
3762
3805
  }
3763
3806
  /**
3764
3807
  * @public
@@ -6,10 +6,8 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@smithy/types";
9
- import {
10
- DBParameterGroupsMessage,
11
- DescribeDBParameterGroupsMessage,
12
- } from "../models/models_0";
9
+ import { DBParameterGroupsMessage } from "../models/models_0";
10
+ import { DescribeDBParameterGroupsMessage } from "../models/models_1";
13
11
  import {
14
12
  RDSClientResolvedConfig,
15
13
  ServiceInputTypes,
@@ -1,5 +1,6 @@
1
1
  export * from "./RDSClient";
2
2
  export * from "./RDS";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
3
4
  export * from "./commands";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
@@ -763,6 +763,7 @@ export interface UpgradeTarget {
763
763
  SupportsParallelQuery?: boolean;
764
764
  SupportsGlobalDatabases?: boolean;
765
765
  SupportsBabelfish?: boolean;
766
+ SupportsLocalWriteForwarding?: boolean;
766
767
  }
767
768
  export interface DBEngineVersion {
768
769
  Engine?: string;
@@ -796,6 +797,7 @@ export interface DBEngineVersion {
796
797
  CustomDBEngineVersionManifest?: string;
797
798
  SupportsCertificateRotationWithoutRestart?: boolean;
798
799
  SupportedCACertificateIdentifiers?: string[];
800
+ SupportsLocalWriteForwarding?: boolean;
799
801
  }
800
802
  export declare class Ec2ImagePropertiesNotSupportedFault extends __BaseException {
801
803
  readonly name: "Ec2ImagePropertiesNotSupportedFault";
@@ -869,6 +871,7 @@ export interface CreateDBClusterMessage {
869
871
  DBSystemId?: string;
870
872
  ManageMasterUserPassword?: boolean;
871
873
  MasterUserSecretKmsKeyId?: string;
874
+ EnableLocalWriteForwarding?: boolean;
872
875
  }
873
876
  export interface DBClusterRole {
874
877
  RoleArn?: string;
@@ -903,6 +906,15 @@ export declare const WriteForwardingStatus: {
903
906
  };
904
907
  export type WriteForwardingStatus =
905
908
  (typeof WriteForwardingStatus)[keyof typeof WriteForwardingStatus];
909
+ export declare const LocalWriteForwardingStatus: {
910
+ readonly DISABLED: "disabled";
911
+ readonly DISABLING: "disabling";
912
+ readonly ENABLED: "enabled";
913
+ readonly ENABLING: "enabling";
914
+ readonly REQUESTED: "requested";
915
+ };
916
+ export type LocalWriteForwardingStatus =
917
+ (typeof LocalWriteForwardingStatus)[keyof typeof LocalWriteForwardingStatus];
906
918
  export interface MasterUserSecret {
907
919
  SecretArn?: string;
908
920
  SecretStatus?: string;
@@ -1008,6 +1020,7 @@ export interface DBCluster {
1008
1020
  DBSystemId?: string;
1009
1021
  MasterUserSecret?: MasterUserSecret;
1010
1022
  IOOptimizedNextAllowedModificationTime?: Date;
1023
+ LocalWriteForwardingStatus?: LocalWriteForwardingStatus | string;
1011
1024
  }
1012
1025
  export interface CreateDBClusterResult {
1013
1026
  DBCluster?: DBCluster;
@@ -2366,9 +2379,3 @@ export interface DBParameterGroupsMessage {
2366
2379
  Marker?: string;
2367
2380
  DBParameterGroups?: DBParameterGroup[];
2368
2381
  }
2369
- export interface DescribeDBParameterGroupsMessage {
2370
- DBParameterGroupName?: string;
2371
- Filters?: Filter[];
2372
- MaxRecords?: number;
2373
- Marker?: string;
2374
- }
@@ -33,6 +33,12 @@ import {
33
33
  UserAuthConfig,
34
34
  } from "./models_0";
35
35
  import { RDSServiceException as __BaseException } from "./RDSServiceException";
36
+ export interface DescribeDBParameterGroupsMessage {
37
+ DBParameterGroupName?: string;
38
+ Filters?: Filter[];
39
+ MaxRecords?: number;
40
+ Marker?: string;
41
+ }
36
42
  export interface DBParameterGroupDetails {
37
43
  Parameters?: Parameter[];
38
44
  Marker?: string;
@@ -696,6 +702,7 @@ export interface ModifyDBClusterMessage {
696
702
  MasterUserSecretKmsKeyId?: string;
697
703
  EngineMode?: string;
698
704
  AllowEngineModeChange?: boolean;
705
+ EnableLocalWriteForwarding?: boolean;
699
706
  }
700
707
  export interface ModifyDBClusterResult {
701
708
  DBCluster?: DBCluster;
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.378.0",
4
+ "version": "3.381.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,14 +21,14 @@
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.378.0",
25
- "@aws-sdk/credential-provider-node": "3.378.0",
26
- "@aws-sdk/middleware-host-header": "3.378.0",
24
+ "@aws-sdk/client-sts": "3.379.1",
25
+ "@aws-sdk/credential-provider-node": "3.379.1",
26
+ "@aws-sdk/middleware-host-header": "3.379.1",
27
27
  "@aws-sdk/middleware-logger": "3.378.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
29
  "@aws-sdk/middleware-sdk-rds": "3.378.0",
30
- "@aws-sdk/middleware-signing": "3.378.0",
31
- "@aws-sdk/middleware-user-agent": "3.378.0",
30
+ "@aws-sdk/middleware-signing": "3.379.1",
31
+ "@aws-sdk/middleware-user-agent": "3.379.1",
32
32
  "@aws-sdk/types": "3.378.0",
33
33
  "@aws-sdk/util-endpoints": "3.378.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.378.0",