@aws-sdk/client-rds 3.651.1 → 3.653.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
@@ -10110,6 +10110,7 @@ var se_CreateEventSubscriptionMessage = /* @__PURE__ */ __name((input, context)
10110
10110
  return entries;
10111
10111
  }, "se_CreateEventSubscriptionMessage");
10112
10112
  var se_CreateGlobalClusterMessage = /* @__PURE__ */ __name((input, context) => {
10113
+ var _a;
10113
10114
  const entries = {};
10114
10115
  if (input[_GCI] != null) {
10115
10116
  entries[_GCI] = input[_GCI];
@@ -10135,6 +10136,16 @@ var se_CreateGlobalClusterMessage = /* @__PURE__ */ __name((input, context) => {
10135
10136
  if (input[_SE] != null) {
10136
10137
  entries[_SE] = input[_SE];
10137
10138
  }
10139
+ if (input[_T] != null) {
10140
+ const memberEntries = se_TagList(input[_T], context);
10141
+ if (((_a = input[_T]) == null ? void 0 : _a.length) === 0) {
10142
+ entries.Tags = [];
10143
+ }
10144
+ Object.entries(memberEntries).forEach(([key, value]) => {
10145
+ const loc = `Tags.${key}`;
10146
+ entries[loc] = value;
10147
+ });
10148
+ }
10138
10149
  return entries;
10139
10150
  }, "se_CreateGlobalClusterMessage");
10140
10151
  var se_CreateIntegrationMessage = /* @__PURE__ */ __name((input, context) => {
@@ -18026,6 +18037,11 @@ var de_GlobalCluster = /* @__PURE__ */ __name((output, context) => {
18026
18037
  if (output[_FSa] != null) {
18027
18038
  contents[_FSa] = de_FailoverState(output[_FSa], context);
18028
18039
  }
18040
+ if (output.TagList === "") {
18041
+ contents[_TL] = [];
18042
+ } else if (output[_TL] != null && output[_TL][_Tag] != null) {
18043
+ contents[_TL] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_TL][_Tag]), context);
18044
+ }
18029
18045
  return contents;
18030
18046
  }, "de_GlobalCluster");
18031
18047
  var de_GlobalClusterAlreadyExistsFault = /* @__PURE__ */ __name((output, context) => {
@@ -6843,6 +6843,16 @@ const se_CreateGlobalClusterMessage = (input, context) => {
6843
6843
  if (input[_SE] != null) {
6844
6844
  entries[_SE] = input[_SE];
6845
6845
  }
6846
+ if (input[_T] != null) {
6847
+ const memberEntries = se_TagList(input[_T], context);
6848
+ if (input[_T]?.length === 0) {
6849
+ entries.Tags = [];
6850
+ }
6851
+ Object.entries(memberEntries).forEach(([key, value]) => {
6852
+ const loc = `Tags.${key}`;
6853
+ entries[loc] = value;
6854
+ });
6855
+ }
6846
6856
  return entries;
6847
6857
  };
6848
6858
  const se_CreateIntegrationMessage = (input, context) => {
@@ -14854,6 +14864,12 @@ const de_GlobalCluster = (output, context) => {
14854
14864
  if (output[_FSa] != null) {
14855
14865
  contents[_FSa] = de_FailoverState(output[_FSa], context);
14856
14866
  }
14867
+ if (output.TagList === "") {
14868
+ contents[_TL] = [];
14869
+ }
14870
+ else if (output[_TL] != null && output[_TL][_Tag] != null) {
14871
+ contents[_TL] = de_TagList(__getArrayIfSingleItem(output[_TL][_Tag]), context);
14872
+ }
14857
14873
  return contents;
14858
14874
  };
14859
14875
  const de_GlobalClusterAlreadyExistsFault = (output, context) => {
@@ -55,6 +55,12 @@ declare const CreateGlobalClusterCommand_base: {
55
55
  * DeletionProtection: true || false,
56
56
  * DatabaseName: "STRING_VALUE",
57
57
  * StorageEncrypted: true || false,
58
+ * Tags: [ // TagList
59
+ * { // Tag
60
+ * Key: "STRING_VALUE",
61
+ * Value: "STRING_VALUE",
62
+ * },
63
+ * ],
58
64
  * };
59
65
  * const command = new CreateGlobalClusterCommand(input);
60
66
  * const response = await client.send(command);
@@ -87,6 +93,12 @@ declare const CreateGlobalClusterCommand_base: {
87
93
  * // ToDbClusterArn: "STRING_VALUE",
88
94
  * // IsDataLossAllowed: true || false,
89
95
  * // },
96
+ * // TagList: [ // TagList
97
+ * // { // Tag
98
+ * // Key: "STRING_VALUE",
99
+ * // Value: "STRING_VALUE",
100
+ * // },
101
+ * // ],
90
102
  * // },
91
103
  * // };
92
104
  *
@@ -72,6 +72,12 @@ declare const DeleteGlobalClusterCommand_base: {
72
72
  * // ToDbClusterArn: "STRING_VALUE",
73
73
  * // IsDataLossAllowed: true || false,
74
74
  * // },
75
+ * // TagList: [ // TagList
76
+ * // { // Tag
77
+ * // Key: "STRING_VALUE",
78
+ * // Value: "STRING_VALUE",
79
+ * // },
80
+ * // ],
75
81
  * // },
76
82
  * // };
77
83
  *
@@ -85,6 +85,12 @@ declare const DescribeGlobalClustersCommand_base: {
85
85
  * // ToDbClusterArn: "STRING_VALUE",
86
86
  * // IsDataLossAllowed: true || false,
87
87
  * // },
88
+ * // TagList: [ // TagList
89
+ * // { // Tag
90
+ * // Key: "STRING_VALUE",
91
+ * // Value: "STRING_VALUE",
92
+ * // },
93
+ * // ],
88
94
  * // },
89
95
  * // ],
90
96
  * // };
@@ -106,6 +106,12 @@ declare const FailoverGlobalClusterCommand_base: {
106
106
  * // ToDbClusterArn: "STRING_VALUE",
107
107
  * // IsDataLossAllowed: true || false,
108
108
  * // },
109
+ * // TagList: [ // TagList
110
+ * // { // Tag
111
+ * // Key: "STRING_VALUE",
112
+ * // Value: "STRING_VALUE",
113
+ * // },
114
+ * // ],
109
115
  * // },
110
116
  * // };
111
117
  *
@@ -29,8 +29,8 @@ declare const ListTagsForResourceCommand_base: {
29
29
  /**
30
30
  * <p>Lists all tags on an Amazon RDS resource.</p>
31
31
  * <p>For an overview on tagging an Amazon RDS resource,
32
- * see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html">Tagging Amazon RDS Resources</a>
33
- * in the <i>Amazon RDS User Guide</i>.</p>
32
+ * see <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>
33
+ * 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>.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
@@ -78,6 +78,12 @@ declare const ModifyGlobalClusterCommand_base: {
78
78
  * // ToDbClusterArn: "STRING_VALUE",
79
79
  * // IsDataLossAllowed: true || false,
80
80
  * // },
81
+ * // TagList: [ // TagList
82
+ * // { // Tag
83
+ * // Key: "STRING_VALUE",
84
+ * // Value: "STRING_VALUE",
85
+ * // },
86
+ * // ],
81
87
  * // },
82
88
  * // };
83
89
  *
@@ -74,6 +74,12 @@ declare const RemoveFromGlobalClusterCommand_base: {
74
74
  * // ToDbClusterArn: "STRING_VALUE",
75
75
  * // IsDataLossAllowed: true || false,
76
76
  * // },
77
+ * // TagList: [ // TagList
78
+ * // { // Tag
79
+ * // Key: "STRING_VALUE",
80
+ * // Value: "STRING_VALUE",
81
+ * // },
82
+ * // ],
77
83
  * // },
78
84
  * // };
79
85
  *
@@ -29,9 +29,8 @@ declare const RemoveTagsFromResourceCommand_base: {
29
29
  /**
30
30
  * <p>Removes metadata tags from an Amazon RDS resource.</p>
31
31
  * <p>For an overview on tagging an Amazon RDS resource,
32
- * see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html">Tagging Amazon RDS Resources</a>
33
- * in the <i>Amazon RDS User Guide.</i>
34
- * </p>
32
+ * see <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>
33
+ * 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>.</p>
35
34
  * @example
36
35
  * Use a bare-bones client and the command you need to make an API call.
37
36
  * ```javascript
@@ -79,6 +79,12 @@ declare const SwitchoverGlobalClusterCommand_base: {
79
79
  * // ToDbClusterArn: "STRING_VALUE",
80
80
  * // IsDataLossAllowed: true || false,
81
81
  * // },
82
+ * // TagList: [ // TagList
83
+ * // { // Tag
84
+ * // Key: "STRING_VALUE",
85
+ * // Value: "STRING_VALUE",
86
+ * // },
87
+ * // ],
82
88
  * // },
83
89
  * // };
84
90
  *
@@ -598,37 +598,9 @@ export interface ApplyPendingMaintenanceActionMessage {
598
598
  ResourceIdentifier: string | undefined;
599
599
  /**
600
600
  * <p>The pending maintenance action to apply to this resource.</p>
601
- * <p>Valid Values:</p>
602
- * <ul>
603
- * <li>
604
- * <p>
605
- * <code>ca-certificate-rotation</code>
606
- * </p>
607
- * </li>
608
- * <li>
609
- * <p>
610
- * <code>db-upgrade</code>
611
- * </p>
612
- * </li>
613
- * <li>
614
- * <p>
615
- * <code>hardware-maintenance</code>
616
- * </p>
617
- * </li>
618
- * <li>
619
- * <p>
620
- * <code>os-upgrade</code>
621
- * </p>
622
- * </li>
623
- * <li>
624
- * <p>
625
- * <code>system-update</code>
626
- * </p>
627
- * </li>
628
- * </ul>
629
- * <p>For more information about these actions, see
630
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-aurora">Maintenance actions for Amazon Aurora</a> or
631
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-rds">Maintenance actions for Amazon RDS</a>.</p>
601
+ * <p>Valid Values: <code>system-update</code>, <code>db-upgrade</code>,
602
+ * <code>hardware-maintenance</code>, <code>ca-certificate-rotation</code>
603
+ * </p>
632
604
  * @public
633
605
  */
634
606
  ApplyAction: string | undefined;
@@ -664,37 +636,8 @@ export interface PendingMaintenanceAction {
664
636
  /**
665
637
  * <p>The type of pending maintenance action that is available for the resource. </p>
666
638
  * <p>For more information about maintenance actions, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html">Maintaining a DB instance</a>.</p>
667
- * <p>Valid Values:</p>
668
- * <ul>
669
- * <li>
670
- * <p>
671
- * <code>ca-certificate-rotation</code>
672
- * </p>
673
- * </li>
674
- * <li>
675
- * <p>
676
- * <code>db-upgrade</code>
677
- * </p>
678
- * </li>
679
- * <li>
680
- * <p>
681
- * <code>hardware-maintenance</code>
682
- * </p>
683
- * </li>
684
- * <li>
685
- * <p>
686
- * <code>os-upgrade</code>
687
- * </p>
688
- * </li>
689
- * <li>
690
- * <p>
691
- * <code>system-update</code>
692
- * </p>
693
- * </li>
694
- * </ul>
695
- * <p>For more information about these actions, see
696
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-aurora">Maintenance actions for Amazon Aurora</a> or
697
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-rds">Maintenance actions for Amazon RDS</a>.</p>
639
+ * <p>Valid Values:<code> system-update | db-upgrade | hardware-maintenance | ca-certificate-rotation</code>
640
+ * </p>
698
641
  * @public
699
642
  */
700
643
  Action?: string;
@@ -6805,9 +6748,9 @@ export interface CreateDBInstanceMessage {
6805
6748
  * <p>The license model information for this DB instance.</p>
6806
6749
  * <note>
6807
6750
  * <p>License models for RDS for Db2 require additional configuration. The Bring Your
6808
- * Own License (BYOL) model requires a custom parameter group. The Db2 license through
6751
+ * Own License (BYOL) model requires a custom parameter group and an Amazon Web Services License Manager self-managed license. The Db2 license through
6809
6752
  * Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more
6810
- * information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html">RDS for Db2 licensing
6753
+ * information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html">Amazon RDS for Db2 licensing
6811
6754
  * options</a> in the <i>Amazon RDS User Guide</i>.</p>
6812
6755
  * <p>The default for RDS for Db2 is <code>bring-your-own-license</code>.</p>
6813
6756
  * </note>
@@ -10580,6 +10523,11 @@ export interface CreateGlobalClusterMessage {
10580
10523
  * @public
10581
10524
  */
10582
10525
  StorageEncrypted?: boolean;
10526
+ /**
10527
+ * <p>Tags to assign to the global cluster.</p>
10528
+ * @public
10529
+ */
10530
+ Tags?: Tag[];
10583
10531
  }
10584
10532
  /**
10585
10533
  * @public
@@ -10759,6 +10707,15 @@ export interface GlobalCluster {
10759
10707
  * @public
10760
10708
  */
10761
10709
  FailoverState?: FailoverState;
10710
+ /**
10711
+ * <p>A list of tags.</p>
10712
+ * <p>For more information, see
10713
+ * <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> or
10714
+ * <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>.
10715
+ * </p>
10716
+ * @public
10717
+ */
10718
+ TagList?: Tag[];
10762
10719
  }
10763
10720
  /**
10764
10721
  * @public
@@ -11312,9 +11312,9 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
11312
11312
  * <p>License model information for the restored DB instance.</p>
11313
11313
  * <note>
11314
11314
  * <p>License models for RDS for Db2 require additional configuration. The Bring Your
11315
- * Own License (BYOL) model requires a custom parameter group. The Db2 license through
11315
+ * Own License (BYOL) model requires a custom parameter group and an Amazon Web Services License Manager self-managed license. The Db2 license through
11316
11316
  * Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more
11317
- * information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html">RDS for Db2 licensing
11317
+ * information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html">Amazon RDS for Db2 licensing
11318
11318
  * options</a> in the <i>Amazon RDS User Guide</i>.</p>
11319
11319
  * </note>
11320
11320
  * <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
@@ -12541,9 +12541,9 @@ export interface RestoreDBInstanceToPointInTimeMessage {
12541
12541
  * <p>The license model information for the restored DB instance.</p>
12542
12542
  * <note>
12543
12543
  * <p>License models for RDS for Db2 require additional configuration. The Bring Your
12544
- * Own License (BYOL) model requires a custom parameter group. The Db2 license through
12544
+ * Own License (BYOL) model requires a custom parameter group and an Amazon Web Services License Manager self-managed license. The Db2 license through
12545
12545
  * Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more
12546
- * information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html">RDS for Db2 licensing
12546
+ * information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html">Amazon RDS for Db2 licensing
12547
12547
  * options</a> in the <i>Amazon RDS User Guide</i>.</p>
12548
12548
  * </note>
12549
12549
  * <p>This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.</p>
@@ -1991,6 +1991,7 @@ export interface CreateGlobalClusterMessage {
1991
1991
  DeletionProtection?: boolean;
1992
1992
  DatabaseName?: string;
1993
1993
  StorageEncrypted?: boolean;
1994
+ Tags?: Tag[];
1994
1995
  }
1995
1996
  export declare const FailoverStatus: {
1996
1997
  readonly CANCELLING: "cancelling";
@@ -2031,6 +2032,7 @@ export interface GlobalCluster {
2031
2032
  DeletionProtection?: boolean;
2032
2033
  GlobalClusterMembers?: GlobalClusterMember[];
2033
2034
  FailoverState?: FailoverState;
2035
+ TagList?: Tag[];
2034
2036
  }
2035
2037
  export interface CreateGlobalClusterResult {
2036
2038
  GlobalCluster?: GlobalCluster;
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.651.1",
4
+ "version": "3.653.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",