Skip to content

Commit c35b721

Browse files
author
awstools
committed
feat(client-rds): Launching Global Cluster tagging.
1 parent d16db8c commit c35b721

12 files changed

+101
-71
lines changed

clients/client-rds/src/commands/CreateGlobalClusterCommand.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ export interface CreateGlobalClusterCommandOutput extends CreateGlobalClusterRes
5656
* DeletionProtection: true || false,
5757
* DatabaseName: "STRING_VALUE",
5858
* StorageEncrypted: true || false,
59+
* Tags: [ // TagList
60+
* { // Tag
61+
* Key: "STRING_VALUE",
62+
* Value: "STRING_VALUE",
63+
* },
64+
* ],
5965
* };
6066
* const command = new CreateGlobalClusterCommand(input);
6167
* const response = await client.send(command);
@@ -88,6 +94,12 @@ export interface CreateGlobalClusterCommandOutput extends CreateGlobalClusterRes
8894
* // ToDbClusterArn: "STRING_VALUE",
8995
* // IsDataLossAllowed: true || false,
9096
* // },
97+
* // TagList: [ // TagList
98+
* // { // Tag
99+
* // Key: "STRING_VALUE",
100+
* // Value: "STRING_VALUE",
101+
* // },
102+
* // ],
91103
* // },
92104
* // };
93105
*

clients/client-rds/src/commands/DeleteGlobalClusterCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ export interface DeleteGlobalClusterCommandOutput extends DeleteGlobalClusterRes
7373
* // ToDbClusterArn: "STRING_VALUE",
7474
* // IsDataLossAllowed: true || false,
7575
* // },
76+
* // TagList: [ // TagList
77+
* // { // Tag
78+
* // Key: "STRING_VALUE",
79+
* // Value: "STRING_VALUE",
80+
* // },
81+
* // ],
7682
* // },
7783
* // };
7884
*

clients/client-rds/src/commands/DescribeGlobalClustersCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ export interface DescribeGlobalClustersCommandOutput extends GlobalClustersMessa
8686
* // ToDbClusterArn: "STRING_VALUE",
8787
* // IsDataLossAllowed: true || false,
8888
* // },
89+
* // TagList: [ // TagList
90+
* // { // Tag
91+
* // Key: "STRING_VALUE",
92+
* // Value: "STRING_VALUE",
93+
* // },
94+
* // ],
8995
* // },
9096
* // ],
9197
* // };

clients/client-rds/src/commands/FailoverGlobalClusterCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ export interface FailoverGlobalClusterCommandOutput extends FailoverGlobalCluste
107107
* // ToDbClusterArn: "STRING_VALUE",
108108
* // IsDataLossAllowed: true || false,
109109
* // },
110+
* // TagList: [ // TagList
111+
* // { // Tag
112+
* // Key: "STRING_VALUE",
113+
* // Value: "STRING_VALUE",
114+
* // },
115+
* // ],
110116
* // },
111117
* // };
112118
*

clients/client-rds/src/commands/ListTagsForResourceCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export interface ListTagsForResourceCommandOutput extends TagListMessage, __Meta
3030
/**
3131
* <p>Lists all tags on an Amazon RDS resource.</p>
3232
* <p>For an overview on tagging an Amazon RDS resource,
33-
* see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html">Tagging Amazon RDS Resources</a>
34-
* in the <i>Amazon RDS User Guide</i>.</p>
33+
* 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>
34+
* 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>
3535
* @example
3636
* Use a bare-bones client and the command you need to make an API call.
3737
* ```javascript

clients/client-rds/src/commands/ModifyGlobalClusterCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ export interface ModifyGlobalClusterCommandOutput extends ModifyGlobalClusterRes
7979
* // ToDbClusterArn: "STRING_VALUE",
8080
* // IsDataLossAllowed: true || false,
8181
* // },
82+
* // TagList: [ // TagList
83+
* // { // Tag
84+
* // Key: "STRING_VALUE",
85+
* // Value: "STRING_VALUE",
86+
* // },
87+
* // ],
8288
* // },
8389
* // };
8490
*

clients/client-rds/src/commands/RemoveFromGlobalClusterCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ export interface RemoveFromGlobalClusterCommandOutput extends RemoveFromGlobalCl
7575
* // ToDbClusterArn: "STRING_VALUE",
7676
* // IsDataLossAllowed: true || false,
7777
* // },
78+
* // TagList: [ // TagList
79+
* // { // Tag
80+
* // Key: "STRING_VALUE",
81+
* // Value: "STRING_VALUE",
82+
* // },
83+
* // ],
7884
* // },
7985
* // };
8086
*

clients/client-rds/src/commands/RemoveTagsFromResourceCommand.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ export interface RemoveTagsFromResourceCommandOutput extends __MetadataBearer {}
3030
/**
3131
* <p>Removes metadata tags from an Amazon RDS resource.</p>
3232
* <p>For an overview on tagging an Amazon RDS resource,
33-
* see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html">Tagging Amazon RDS Resources</a>
34-
* in the <i>Amazon RDS User Guide.</i>
35-
* </p>
33+
* 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>
34+
* 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>
3635
* @example
3736
* Use a bare-bones client and the command you need to make an API call.
3837
* ```javascript

clients/client-rds/src/commands/SwitchoverGlobalClusterCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ export interface SwitchoverGlobalClusterCommandOutput extends SwitchoverGlobalCl
8080
* // ToDbClusterArn: "STRING_VALUE",
8181
* // IsDataLossAllowed: true || false,
8282
* // },
83+
* // TagList: [ // TagList
84+
* // { // Tag
85+
* // Key: "STRING_VALUE",
86+
* // Value: "STRING_VALUE",
87+
* // },
88+
* // ],
8389
* // },
8490
* // };
8591
*

clients/client-rds/src/models/models_0.ts

Lines changed: 21 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -771,37 +771,9 @@ export interface ApplyPendingMaintenanceActionMessage {
771771

772772
/**
773773
* <p>The pending maintenance action to apply to this resource.</p>
774-
* <p>Valid Values:</p>
775-
* <ul>
776-
* <li>
777-
* <p>
778-
* <code>ca-certificate-rotation</code>
779-
* </p>
780-
* </li>
781-
* <li>
782-
* <p>
783-
* <code>db-upgrade</code>
784-
* </p>
785-
* </li>
786-
* <li>
787-
* <p>
788-
* <code>hardware-maintenance</code>
789-
* </p>
790-
* </li>
791-
* <li>
792-
* <p>
793-
* <code>os-upgrade</code>
794-
* </p>
795-
* </li>
796-
* <li>
797-
* <p>
798-
* <code>system-update</code>
799-
* </p>
800-
* </li>
801-
* </ul>
802-
* <p>For more information about these actions, see
803-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-aurora">Maintenance actions for Amazon Aurora</a> or
804-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-rds">Maintenance actions for Amazon RDS</a>.</p>
774+
* <p>Valid Values: <code>system-update</code>, <code>db-upgrade</code>,
775+
* <code>hardware-maintenance</code>, <code>ca-certificate-rotation</code>
776+
* </p>
805777
* @public
806778
*/
807779
ApplyAction: string | undefined;
@@ -839,37 +811,8 @@ export interface PendingMaintenanceAction {
839811
/**
840812
* <p>The type of pending maintenance action that is available for the resource. </p>
841813
* <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>
842-
* <p>Valid Values:</p>
843-
* <ul>
844-
* <li>
845-
* <p>
846-
* <code>ca-certificate-rotation</code>
847-
* </p>
848-
* </li>
849-
* <li>
850-
* <p>
851-
* <code>db-upgrade</code>
852-
* </p>
853-
* </li>
854-
* <li>
855-
* <p>
856-
* <code>hardware-maintenance</code>
857-
* </p>
858-
* </li>
859-
* <li>
860-
* <p>
861-
* <code>os-upgrade</code>
862-
* </p>
863-
* </li>
864-
* <li>
865-
* <p>
866-
* <code>system-update</code>
867-
* </p>
868-
* </li>
869-
* </ul>
870-
* <p>For more information about these actions, see
871-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-aurora">Maintenance actions for Amazon Aurora</a> or
872-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-rds">Maintenance actions for Amazon RDS</a>.</p>
814+
* <p>Valid Values:<code> system-update | db-upgrade | hardware-maintenance | ca-certificate-rotation</code>
815+
* </p>
873816
* @public
874817
*/
875818
Action?: string;
@@ -12237,6 +12180,12 @@ export interface CreateGlobalClusterMessage {
1223712180
* @public
1223812181
*/
1223912182
StorageEncrypted?: boolean;
12183+
12184+
/**
12185+
* <p>Tags to assign to the global cluster.</p>
12186+
* @public
12187+
*/
12188+
Tags?: Tag[];
1224012189
}
1224112190

1224212191
/**
@@ -12442,6 +12391,16 @@ export interface GlobalCluster {
1244212391
* @public
1244312392
*/
1244412393
FailoverState?: FailoverState;
12394+
12395+
/**
12396+
* <p>A list of tags.</p>
12397+
* <p>For more information, see
12398+
* <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
12399+
* <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>.
12400+
* </p>
12401+
* @public
12402+
*/
12403+
TagList?: Tag[];
1244512404
}
1244612405

1244712406
/**

0 commit comments

Comments
 (0)