Skip to content

Commit dd0670c

Browse files
Adding support for tagging RDS Instance/Cluster Automated Backups
1 parent 078b2b9 commit dd0670c

32 files changed

+1114
-7
lines changed

generator/ServiceModels/rds/rds-2014-10-31.api.json

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3745,6 +3745,7 @@
37453745
"MasterUserSecretKmsKeyId":{"shape":"String"},
37463746
"CACertificateIdentifier":{"shape":"String"},
37473747
"EngineLifecycleSupport":{"shape":"String"},
3748+
"TagSpecifications":{"shape":"TagSpecificationList"},
37483749
"MasterUserAuthenticationType":{"shape":"MasterUserAuthenticationType"}
37493750
}
37503751
},
@@ -3864,6 +3865,7 @@
38643865
"MultiTenant":{"shape":"BooleanOptional"},
38653866
"DedicatedLogVolume":{"shape":"BooleanOptional"},
38663867
"EngineLifecycleSupport":{"shape":"String"},
3868+
"TagSpecifications":{"shape":"TagSpecificationList"},
38673869
"MasterUserAuthenticationType":{"shape":"MasterUserAuthenticationType"},
38683870
"AdditionalStorageVolumes":{"shape":"AdditionalStorageVolumesList"}
38693871
}
@@ -3919,6 +3921,7 @@
39193921
"DedicatedLogVolume":{"shape":"BooleanOptional"},
39203922
"UpgradeStorageConfig":{"shape":"BooleanOptional"},
39213923
"CACertificateIdentifier":{"shape":"String"},
3924+
"TagSpecifications":{"shape":"TagSpecificationList"},
39223925
"AdditionalStorageVolumes":{"shape":"AdditionalStorageVolumesList"}
39233926
}
39243927
},
@@ -4389,7 +4392,8 @@
43894392
"StorageType":{"shape":"String"},
43904393
"Iops":{"shape":"IntegerOptional"},
43914394
"StorageThroughput":{"shape":"IntegerOptional"},
4392-
"AwsBackupRecoveryPointArn":{"shape":"String"}
4395+
"AwsBackupRecoveryPointArn":{"shape":"String"},
4396+
"TagList":{"shape":"TagList"}
43934397
},
43944398
"wrapper":true
43954399
},
@@ -4993,6 +4997,7 @@
49934997
"BackupTarget":{"shape":"String"},
49944998
"MultiTenant":{"shape":"BooleanOptional"},
49954999
"AwsBackupRecoveryPointArn":{"shape":"String"},
5000+
"TagList":{"shape":"TagList"},
49965001
"DedicatedLogVolume":{"shape":"BooleanOptional"},
49975002
"AdditionalStorageVolumes":{"shape":"AdditionalStorageVolumesList"}
49985003
},
@@ -8157,6 +8162,7 @@
81578162
"MultiTenant":{"shape":"BooleanOptional"},
81588163
"DedicatedLogVolume":{"shape":"BooleanOptional"},
81598164
"Engine":{"shape":"String"},
8165+
"TagSpecifications":{"shape":"TagSpecificationList"},
81608166
"MasterUserAuthenticationType":{"shape":"MasterUserAuthenticationType"},
81618167
"AdditionalStorageVolumes":{"shape":"ModifyAdditionalStorageVolumesList"}
81628168
}
@@ -8855,7 +8861,8 @@
88558861
"members":{
88568862
"DBInstanceIdentifier":{"shape":"String"},
88578863
"BackupRetentionPeriod":{"shape":"IntegerOptional"},
8858-
"PreferredBackupWindow":{"shape":"String"}
8864+
"PreferredBackupWindow":{"shape":"String"},
8865+
"TagSpecifications":{"shape":"TagSpecificationList"}
88598866
}
88608867
},
88618868
"PromoteReadReplicaResult":{
@@ -9320,7 +9327,8 @@
93209327
"ServerlessV2ScalingConfiguration":{"shape":"ServerlessV2ScalingConfiguration"},
93219328
"ManageMasterUserPassword":{"shape":"BooleanOptional"},
93229329
"MasterUserSecretKmsKeyId":{"shape":"String"},
9323-
"EngineLifecycleSupport":{"shape":"String"}
9330+
"EngineLifecycleSupport":{"shape":"String"},
9331+
"TagSpecifications":{"shape":"TagSpecificationList"}
93249332
}
93259333
},
93269334
"RestoreDBClusterFromS3Result":{
@@ -9371,7 +9379,8 @@
93719379
"EnablePerformanceInsights":{"shape":"BooleanOptional"},
93729380
"PerformanceInsightsKMSKeyId":{"shape":"String"},
93739381
"PerformanceInsightsRetentionPeriod":{"shape":"IntegerOptional"},
9374-
"EngineLifecycleSupport":{"shape":"String"}
9382+
"EngineLifecycleSupport":{"shape":"String"},
9383+
"TagSpecifications":{"shape":"TagSpecificationList"}
93759384
}
93769385
},
93779386
"RestoreDBClusterFromSnapshotResult":{
@@ -9418,7 +9427,8 @@
94189427
"EnablePerformanceInsights":{"shape":"BooleanOptional"},
94199428
"PerformanceInsightsKMSKeyId":{"shape":"String"},
94209429
"PerformanceInsightsRetentionPeriod":{"shape":"IntegerOptional"},
9421-
"EngineLifecycleSupport":{"shape":"String"}
9430+
"EngineLifecycleSupport":{"shape":"String"},
9431+
"TagSpecifications":{"shape":"TagSpecificationList"}
94229432
}
94239433
},
94249434
"RestoreDBClusterToPointInTimeResult":{
@@ -9473,6 +9483,7 @@
94739483
"DedicatedLogVolume":{"shape":"BooleanOptional"},
94749484
"CACertificateIdentifier":{"shape":"String"},
94759485
"EngineLifecycleSupport":{"shape":"String"},
9486+
"TagSpecifications":{"shape":"TagSpecificationList"},
94769487
"ManageMasterUserPassword":{"shape":"BooleanOptional"},
94779488
"MasterUserSecretKmsKeyId":{"shape":"String"},
94789489
"AdditionalStorageVolumes":{"shape":"AdditionalStorageVolumesList"}
@@ -9548,6 +9559,7 @@
95489559
"DedicatedLogVolume":{"shape":"BooleanOptional"},
95499560
"CACertificateIdentifier":{"shape":"String"},
95509561
"EngineLifecycleSupport":{"shape":"String"},
9562+
"TagSpecifications":{"shape":"TagSpecificationList"},
95519563
"AdditionalStorageVolumes":{"shape":"AdditionalStorageVolumesList"}
95529564
}
95539565
},
@@ -9607,6 +9619,7 @@
96079619
"DedicatedLogVolume":{"shape":"BooleanOptional"},
96089620
"CACertificateIdentifier":{"shape":"String"},
96099621
"EngineLifecycleSupport":{"shape":"String"},
9622+
"TagSpecifications":{"shape":"TagSpecificationList"},
96109623
"ManageMasterUserPassword":{"shape":"BooleanOptional"},
96119624
"MasterUserSecretKmsKeyId":{"shape":"String"},
96129625
"AdditionalStorageVolumes":{"shape":"AdditionalStorageVolumesList"}
@@ -9875,7 +9888,8 @@
98759888
"SourceDBInstanceArn":{"shape":"String"},
98769889
"BackupRetentionPeriod":{"shape":"IntegerOptional"},
98779890
"KmsKeyId":{"shape":"String"},
9878-
"PreSignedUrl":{"shape":"SensitiveString"}
9891+
"PreSignedUrl":{"shape":"SensitiveString"},
9892+
"Tags":{"shape":"TagList"}
98799893
}
98809894
},
98819895
"StartDBInstanceAutomatedBackupsReplicationResult":{
@@ -10192,6 +10206,20 @@
1019210206
"TagList":{"shape":"TagList"}
1019310207
}
1019410208
},
10209+
"TagSpecification":{
10210+
"type":"structure",
10211+
"members":{
10212+
"ResourceType":{"shape":"String"},
10213+
"Tags":{"shape":"TagList"}
10214+
}
10215+
},
10216+
"TagSpecificationList":{
10217+
"type":"list",
10218+
"member":{
10219+
"shape":"TagSpecification",
10220+
"locationName":"item"
10221+
}
10222+
},
1019510223
"TargetConnectionNetworkType":{
1019610224
"type":"string",
1019710225
"enum":[

generator/ServiceModels/rds/rds-2014-10-31.docs.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5518,6 +5518,7 @@
55185518
"SwitchoverReadReplicaMessage$DBInstanceIdentifier": "<p>The DB instance identifier of the current standby database. This value is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must match the identifier of an existing Oracle read replica DB instance.</p> </li> </ul>",
55195519
"Tag$Key": "<p>A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with <code>aws:</code> or <code>rds:</code>. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\").</p>",
55205520
"Tag$Value": "<p>A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with <code>aws:</code> or <code>rds:</code>. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\").</p>",
5521+
"TagSpecification$ResourceType": "<p>The type of resource to tag on creation.</p> <p>Valid Values: </p> <ul> <li> <p> <code>auto-backup</code> - The DB instance's automated backup.</p> </li> <li> <p> <code>cluster-auto-backup</code> - The DB cluster's automated backup.</p> </li> </ul>",
55215522
"TargetHealth$Description": "<p>A description of the health of the RDS Proxy target. If the <code>State</code> is <code>AVAILABLE</code>, a description is not included.</p>",
55225523
"TenantDatabase$DBInstanceIdentifier": "<p>The ID of the DB instance that contains the tenant database.</p>",
55235524
"TenantDatabase$TenantDBName": "<p>The database name of the tenant database.</p>",
@@ -5805,9 +5806,11 @@
58055806
"CreateOptionGroupMessage$Tags": "<p>Tags to assign to the option group.</p>",
58065807
"CreateTenantDatabaseMessage$Tags": null,
58075808
"DBCluster$TagList": null,
5809+
"DBClusterAutomatedBackup$TagList": null,
58085810
"DBClusterSnapshot$TagList": null,
58095811
"DBEngineVersion$TagList": null,
58105812
"DBInstance$TagList": null,
5813+
"DBInstanceAutomatedBackup$TagList": null,
58115814
"DBShardGroup$TagList": null,
58125815
"DBSnapshot$TagList": null,
58135816
"DBSnapshotTenantDatabase$TagList": null,
@@ -5820,14 +5823,38 @@
58205823
"RestoreDBInstanceFromDBSnapshotMessage$Tags": null,
58215824
"RestoreDBInstanceFromS3Message$Tags": "<p>A list of tags to associate with this DB instance. For more information, 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> </p>",
58225825
"RestoreDBInstanceToPointInTimeMessage$Tags": null,
5826+
"StartDBInstanceAutomatedBackupsReplicationMessage$Tags": "<p>A list of tags to associate with the replicated automated backups.</p>",
58235827
"TagListMessage$TagList": "<p>List of tags returned by the <code>ListTagsForResource</code> operation.</p>",
5828+
"TagSpecification$Tags": null,
58245829
"TenantDatabase$TagList": null
58255830
}
58265831
},
58275832
"TagListMessage": {
58285833
"base": "<p/>",
58295834
"refs": {}
58305835
},
5836+
"TagSpecification": {
5837+
"base": "<p>The tags to apply to resources when creating or modifying a DB instance or DB cluster. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.</p>",
5838+
"refs": {
5839+
"TagSpecificationList$member": null
5840+
}
5841+
},
5842+
"TagSpecificationList": {
5843+
"base": null,
5844+
"refs": {
5845+
"CreateDBClusterMessage$TagSpecifications": "<p>Tags to assign to resources associated with the DB cluster.</p> <p>Valid Values: </p> <ul> <li> <p> <code>cluster-auto-backup</code> - The DB cluster's automated backup.</p> </li> </ul>",
5846+
"CreateDBInstanceMessage$TagSpecifications": "<p>Tags to assign to resources associated with the DB instance.</p> <p>Valid Values: </p> <ul> <li> <p> <code>auto-backup</code> - The DB instance's automated backup.</p> </li> </ul>",
5847+
"CreateDBInstanceReadReplicaMessage$TagSpecifications": "<p>Tags to assign to resources associated with the DB instance.</p> <p>Valid Values: </p> <ul> <li> <p> <code>auto-backup</code> - The DB instance's automated backup.</p> </li> </ul>",
5848+
"ModifyDBInstanceMessage$TagSpecifications": "<p>Tags to assign to resources associated with the DB instance.</p> <p>Valid Values: </p> <ul> <li> <p> <code>auto-backup</code> - The DB instance's automated backup.</p> </li> </ul>",
5849+
"PromoteReadReplicaMessage$TagSpecifications": "<p>Tags to assign to resources associated with the DB instance.</p> <p>Valid Values: </p> <ul> <li> <p> <code>auto-backup</code> - The DB instance's automated backup.</p> </li> </ul>",
5850+
"RestoreDBClusterFromS3Message$TagSpecifications": "<p>Tags to assign to resources associated with the DB cluster.</p> <p>Valid Values: </p> <ul> <li> <p> <code>cluster-auto-backup</code> - The DB cluster's automated backup.</p> </li> </ul>",
5851+
"RestoreDBClusterFromSnapshotMessage$TagSpecifications": "<p>Tags to assign to resources associated with the DB cluster.</p> <p>Valid Values: </p> <ul> <li> <p> <code>cluster-auto-backup</code> - The DB cluster's automated backup.</p> </li> </ul>",
5852+
"RestoreDBClusterToPointInTimeMessage$TagSpecifications": "<p>Tags to assign to resources associated with the DB cluster.</p> <p>Valid Values: </p> <ul> <li> <p> <code>cluster-auto-backup</code> - The DB cluster's automated backup.</p> </li> </ul>",
5853+
"RestoreDBInstanceFromDBSnapshotMessage$TagSpecifications": "<p>Tags to assign to resources associated with the DB instance.</p> <p>Valid Values: </p> <ul> <li> <p> <code>auto-backup</code> - The DB instance's automated backup.</p> </li> </ul>",
5854+
"RestoreDBInstanceFromS3Message$TagSpecifications": "<p>Tags to assign to resources associated with the DB instance.</p> <p>Valid Values: </p> <ul> <li> <p> <code>auto-backup</code> - The DB instance's automated backup.</p> </li> </ul>",
5855+
"RestoreDBInstanceToPointInTimeMessage$TagSpecifications": "<p>Tags to assign to resources associated with the DB instance.</p> <p>Valid Values: </p> <ul> <li> <p> <code>auto-backup</code> - The DB instance's automated backup.</p> </li> </ul>"
5856+
}
5857+
},
58315858
"TargetConnectionNetworkType": {
58325859
"base": null,
58335860
"refs": {

0 commit comments

Comments
 (0)