Skip to content

Commit 41b9a13

Browse files
author
awstools
committed
feat(client-rds): Adding support for tagging RDS Instance/Cluster Automated Backups
1 parent 867598e commit 41b9a13

23 files changed

+536
-26
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,17 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
133133
* MasterUserSecretKmsKeyId: "STRING_VALUE",
134134
* CACertificateIdentifier: "STRING_VALUE",
135135
* EngineLifecycleSupport: "STRING_VALUE",
136+
* TagSpecifications: [ // TagSpecificationList
137+
* { // TagSpecification
138+
* ResourceType: "STRING_VALUE",
139+
* Tags: [
140+
* {
141+
* Key: "STRING_VALUE",
142+
* Value: "STRING_VALUE",
143+
* },
144+
* ],
145+
* },
146+
* ],
136147
* MasterUserAuthenticationType: "password" || "iam-db-auth",
137148
* };
138149
* const command = new CreateDBClusterCommand(input);

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,17 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
127127
* MultiTenant: true || false,
128128
* DedicatedLogVolume: true || false,
129129
* EngineLifecycleSupport: "STRING_VALUE",
130+
* TagSpecifications: [ // TagSpecificationList
131+
* { // TagSpecification
132+
* ResourceType: "STRING_VALUE",
133+
* Tags: [
134+
* {
135+
* Key: "STRING_VALUE",
136+
* Value: "STRING_VALUE",
137+
* },
138+
* ],
139+
* },
140+
* ],
130141
* MasterUserAuthenticationType: "password" || "iam-db-auth",
131142
* AdditionalStorageVolumes: [ // AdditionalStorageVolumesList
132143
* { // AdditionalStorageVolume

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,17 @@ export interface CreateDBInstanceReadReplicaCommandOutput extends CreateDBInstan
114114
* DedicatedLogVolume: true || false,
115115
* UpgradeStorageConfig: true || false,
116116
* CACertificateIdentifier: "STRING_VALUE",
117+
* TagSpecifications: [ // TagSpecificationList
118+
* { // TagSpecification
119+
* ResourceType: "STRING_VALUE",
120+
* Tags: [
121+
* {
122+
* Key: "STRING_VALUE",
123+
* Value: "STRING_VALUE",
124+
* },
125+
* ],
126+
* },
127+
* ],
117128
* AdditionalStorageVolumes: [ // AdditionalStorageVolumesList
118129
* { // AdditionalStorageVolume
119130
* VolumeName: "STRING_VALUE", // required

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ export interface DeleteDBClusterAutomatedBackupCommandOutput
7676
* // Iops: Number("int"),
7777
* // StorageThroughput: Number("int"),
7878
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
79+
* // TagList: [ // TagList
80+
* // { // Tag
81+
* // Key: "STRING_VALUE",
82+
* // Value: "STRING_VALUE",
83+
* // },
84+
* // ],
7985
* // },
8086
* // };
8187
*

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ export interface DeleteDBInstanceAutomatedBackupCommandOutput
8383
* // BackupTarget: "STRING_VALUE",
8484
* // MultiTenant: true || false,
8585
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
86+
* // TagList: [ // TagList
87+
* // { // Tag
88+
* // Key: "STRING_VALUE",
89+
* // Value: "STRING_VALUE",
90+
* // },
91+
* // ],
8692
* // DedicatedLogVolume: true || false,
8793
* // AdditionalStorageVolumes: [ // AdditionalStorageVolumesList
8894
* // { // AdditionalStorageVolume

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ export interface DescribeDBClusterAutomatedBackupsCommandOutput
9191
* // Iops: Number("int"),
9292
* // StorageThroughput: Number("int"),
9393
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
94+
* // TagList: [ // TagList
95+
* // { // Tag
96+
* // Key: "STRING_VALUE",
97+
* // Value: "STRING_VALUE",
98+
* // },
99+
* // ],
94100
* // },
95101
* // ],
96102
* // };

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ export interface DescribeDBInstanceAutomatedBackupsCommandOutput
102102
* // BackupTarget: "STRING_VALUE",
103103
* // MultiTenant: true || false,
104104
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
105+
* // TagList: [ // TagList
106+
* // { // Tag
107+
* // Key: "STRING_VALUE",
108+
* // Value: "STRING_VALUE",
109+
* // },
110+
* // ],
105111
* // DedicatedLogVolume: true || false,
106112
* // AdditionalStorageVolumes: [ // AdditionalStorageVolumesList
107113
* // { // AdditionalStorageVolume

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import { Command as $Command } from "@smithy/smithy-client";
44
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
55

66
import { commonParams } from "../endpoint/EndpointParameters";
7-
import type { DescribeTenantDatabasesMessage, TenantDatabasesMessage } from "../models/models_0";
7+
import type { DescribeTenantDatabasesMessage } from "../models/models_0";
8+
import type { TenantDatabasesMessage } from "../models/models_1";
89
import type { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
910
import { DescribeTenantDatabases } from "../schemas/schemas_0";
1011

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,17 @@ export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, _
120120
* MultiTenant: true || false,
121121
* DedicatedLogVolume: true || false,
122122
* Engine: "STRING_VALUE",
123+
* TagSpecifications: [ // TagSpecificationList
124+
* { // TagSpecification
125+
* ResourceType: "STRING_VALUE",
126+
* Tags: [ // TagList
127+
* { // Tag
128+
* Key: "STRING_VALUE",
129+
* Value: "STRING_VALUE",
130+
* },
131+
* ],
132+
* },
133+
* ],
123134
* MasterUserAuthenticationType: "password" || "iam-db-auth",
124135
* AdditionalStorageVolumes: [ // ModifyAdditionalStorageVolumesList
125136
* { // ModifyAdditionalStorageVolume

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@ export interface PromoteReadReplicaCommandOutput extends PromoteReadReplicaResul
5757
* DBInstanceIdentifier: "STRING_VALUE", // required
5858
* BackupRetentionPeriod: Number("int"),
5959
* PreferredBackupWindow: "STRING_VALUE",
60+
* TagSpecifications: [ // TagSpecificationList
61+
* { // TagSpecification
62+
* ResourceType: "STRING_VALUE",
63+
* Tags: [ // TagList
64+
* { // Tag
65+
* Key: "STRING_VALUE",
66+
* Value: "STRING_VALUE",
67+
* },
68+
* ],
69+
* },
70+
* ],
6071
* };
6172
* const command = new PromoteReadReplicaCommand(input);
6273
* const response = await client.send(command);

0 commit comments

Comments
 (0)