@aws-sdk/client-rds 3.321.1 → 3.326.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 (142) hide show
  1. package/dist-types/commands/AddRoleToDBClusterCommand.d.ts +4 -0
  2. package/dist-types/commands/AddRoleToDBInstanceCommand.d.ts +4 -0
  3. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +21 -0
  4. package/dist-types/commands/AddTagsToResourceCommand.d.ts +4 -0
  5. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +18 -0
  6. package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +26 -0
  7. package/dist-types/commands/BacktrackDBClusterCommand.d.ts +11 -0
  8. package/dist-types/commands/CancelExportTaskCommand.d.ts +23 -0
  9. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +11 -0
  10. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +37 -0
  11. package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +11 -0
  12. package/dist-types/commands/CopyDBSnapshotCommand.d.ts +50 -0
  13. package/dist-types/commands/CopyOptionGroupCommand.d.ts +52 -0
  14. package/dist-types/commands/CreateBlueGreenDeploymentCommand.d.ts +34 -0
  15. package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +83 -0
  16. package/dist-types/commands/CreateDBClusterCommand.d.ts +151 -127
  17. package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +19 -0
  18. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +11 -0
  19. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +37 -0
  20. package/dist-types/commands/CreateDBInstanceCommand.d.ts +216 -0
  21. package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +216 -0
  22. package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +11 -0
  23. package/dist-types/commands/CreateDBProxyCommand.d.ts +35 -0
  24. package/dist-types/commands/CreateDBProxyEndpointCommand.d.ts +22 -0
  25. package/dist-types/commands/CreateDBSecurityGroupCommand.d.ts +26 -0
  26. package/dist-types/commands/CreateDBSnapshotCommand.d.ts +50 -0
  27. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +27 -0
  28. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +21 -0
  29. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +31 -0
  30. package/dist-types/commands/CreateOptionGroupCommand.d.ts +52 -0
  31. package/dist-types/commands/DeleteBlueGreenDeploymentCommand.d.ts +34 -0
  32. package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +83 -0
  33. package/dist-types/commands/DeleteDBClusterCommand.d.ts +151 -0
  34. package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +19 -0
  35. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +4 -0
  36. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +37 -0
  37. package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +42 -0
  38. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +216 -0
  39. package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +4 -0
  40. package/dist-types/commands/DeleteDBProxyCommand.d.ts +35 -0
  41. package/dist-types/commands/DeleteDBProxyEndpointCommand.d.ts +22 -0
  42. package/dist-types/commands/DeleteDBSecurityGroupCommand.d.ts +4 -0
  43. package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +50 -0
  44. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +4 -0
  45. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +21 -0
  46. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +31 -0
  47. package/dist-types/commands/DeleteOptionGroupCommand.d.ts +4 -0
  48. package/dist-types/commands/DeregisterDBProxyTargetsCommand.d.ts +4 -0
  49. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +12 -0
  50. package/dist-types/commands/DescribeBlueGreenDeploymentsCommand.d.ts +37 -0
  51. package/dist-types/commands/DescribeCertificatesCommand.d.ts +18 -0
  52. package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +16 -0
  53. package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +24 -0
  54. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +14 -0
  55. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +23 -0
  56. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +16 -0
  57. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +40 -0
  58. package/dist-types/commands/DescribeDBClustersCommand.d.ts +154 -0
  59. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +88 -0
  60. package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +45 -0
  61. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +219 -0
  62. package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +13 -0
  63. package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +14 -0
  64. package/dist-types/commands/DescribeDBParametersCommand.d.ts +23 -0
  65. package/dist-types/commands/DescribeDBProxiesCommand.d.ts +38 -0
  66. package/dist-types/commands/DescribeDBProxyEndpointsCommand.d.ts +25 -0
  67. package/dist-types/commands/DescribeDBProxyTargetGroupsCommand.d.ts +26 -0
  68. package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +22 -0
  69. package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +29 -0
  70. package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +16 -0
  71. package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +53 -0
  72. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +30 -0
  73. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +26 -0
  74. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +26 -0
  75. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +13 -0
  76. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +24 -0
  77. package/dist-types/commands/DescribeEventsCommand.d.ts +18 -0
  78. package/dist-types/commands/DescribeExportTasksCommand.d.ts +28 -0
  79. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +34 -0
  80. package/dist-types/commands/DescribeOptionGroupOptionsCommand.d.ts +52 -0
  81. package/dist-types/commands/DescribeOptionGroupsCommand.d.ts +55 -0
  82. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +61 -0
  83. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +21 -0
  84. package/dist-types/commands/DescribeReservedDBInstancesCommand.d.ts +31 -0
  85. package/dist-types/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +25 -0
  86. package/dist-types/commands/DescribeSourceRegionsCommand.d.ts +14 -0
  87. package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +53 -0
  88. package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +8 -0
  89. package/dist-types/commands/FailoverDBClusterCommand.d.ts +151 -0
  90. package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +31 -0
  91. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  92. package/dist-types/commands/ModifyActivityStreamCommand.d.ts +11 -0
  93. package/dist-types/commands/ModifyCertificatesCommand.d.ts +15 -0
  94. package/dist-types/commands/ModifyCurrentDBClusterCapacityCommand.d.ts +10 -0
  95. package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +83 -0
  96. package/dist-types/commands/ModifyDBClusterCommand.d.ts +151 -0
  97. package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +19 -0
  98. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +6 -0
  99. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +16 -0
  100. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +216 -49
  101. package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +6 -0
  102. package/dist-types/commands/ModifyDBProxyCommand.d.ts +35 -0
  103. package/dist-types/commands/ModifyDBProxyEndpointCommand.d.ts +22 -0
  104. package/dist-types/commands/ModifyDBProxyTargetGroupCommand.d.ts +23 -0
  105. package/dist-types/commands/ModifyDBSnapshotAttributeCommand.d.ts +16 -0
  106. package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +50 -0
  107. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +27 -0
  108. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +21 -0
  109. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +31 -0
  110. package/dist-types/commands/ModifyOptionGroupCommand.d.ts +52 -0
  111. package/dist-types/commands/PromoteReadReplicaCommand.d.ts +216 -0
  112. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +151 -0
  113. package/dist-types/commands/PurchaseReservedDBInstancesOfferingCommand.d.ts +28 -0
  114. package/dist-types/commands/RebootDBClusterCommand.d.ts +151 -0
  115. package/dist-types/commands/RebootDBInstanceCommand.d.ts +216 -0
  116. package/dist-types/commands/RegisterDBProxyTargetsCommand.d.ts +21 -0
  117. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +31 -0
  118. package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +4 -0
  119. package/dist-types/commands/RemoveRoleFromDBInstanceCommand.d.ts +4 -0
  120. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +21 -0
  121. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +4 -0
  122. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +6 -0
  123. package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +6 -0
  124. package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +151 -0
  125. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +151 -0
  126. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +151 -0
  127. package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +216 -0
  128. package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +216 -0
  129. package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +216 -0
  130. package/dist-types/commands/RevokeDBSecurityGroupIngressCommand.d.ts +26 -0
  131. package/dist-types/commands/StartActivityStreamCommand.d.ts +11 -0
  132. package/dist-types/commands/StartDBClusterCommand.d.ts +151 -0
  133. package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +42 -0
  134. package/dist-types/commands/StartDBInstanceCommand.d.ts +216 -0
  135. package/dist-types/commands/StartExportTaskCommand.d.ts +23 -0
  136. package/dist-types/commands/StopActivityStreamCommand.d.ts +8 -0
  137. package/dist-types/commands/StopDBClusterCommand.d.ts +151 -0
  138. package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +42 -0
  139. package/dist-types/commands/StopDBInstanceCommand.d.ts +216 -0
  140. package/dist-types/commands/SwitchoverBlueGreenDeploymentCommand.d.ts +34 -0
  141. package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +216 -0
  142. package/package.json +17 -17
@@ -42,6 +42,27 @@ export interface ModifyDBProxyTargetGroupCommandOutput extends ModifyDBProxyTarg
42
42
  * };
43
43
  * const command = new ModifyDBProxyTargetGroupCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // ModifyDBProxyTargetGroupResponse
46
+ * // DBProxyTargetGroup: { // DBProxyTargetGroup
47
+ * // DBProxyName: "STRING_VALUE",
48
+ * // TargetGroupName: "STRING_VALUE",
49
+ * // TargetGroupArn: "STRING_VALUE",
50
+ * // IsDefault: true || false,
51
+ * // Status: "STRING_VALUE",
52
+ * // ConnectionPoolConfig: { // ConnectionPoolConfigurationInfo
53
+ * // MaxConnectionsPercent: Number("int"),
54
+ * // MaxIdleConnectionsPercent: Number("int"),
55
+ * // ConnectionBorrowTimeout: Number("int"),
56
+ * // SessionPinningFilters: [ // StringList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // InitQuery: "STRING_VALUE",
60
+ * // },
61
+ * // CreatedDate: new Date("TIMESTAMP"),
62
+ * // UpdatedDate: new Date("TIMESTAMP"),
63
+ * // },
64
+ * // };
65
+ *
45
66
  * ```
46
67
  *
47
68
  * @param ModifyDBProxyTargetGroupCommandInput - {@link ModifyDBProxyTargetGroupCommandInput}
@@ -59,6 +80,8 @@ export interface ModifyDBProxyTargetGroupCommandOutput extends ModifyDBProxyTarg
59
80
  * @throws {@link InvalidDBProxyStateFault} (client fault)
60
81
  * <p>The requested operation can't be performed while the proxy is in this state.</p>
61
82
  *
83
+ * @throws {@link RDSServiceException}
84
+ * <p>Base exception class for all service exceptions from RDS service.</p>
62
85
  *
63
86
  */
64
87
  export declare class ModifyDBProxyTargetGroupCommand extends $Command<ModifyDBProxyTargetGroupCommandInput, ModifyDBProxyTargetGroupCommandOutput, RDSClientResolvedConfig> {
@@ -54,6 +54,20 @@ export interface ModifyDBSnapshotAttributeCommandOutput extends ModifyDBSnapshot
54
54
  * };
55
55
  * const command = new ModifyDBSnapshotAttributeCommand(input);
56
56
  * const response = await client.send(command);
57
+ * // { // ModifyDBSnapshotAttributeResult
58
+ * // DBSnapshotAttributesResult: { // DBSnapshotAttributesResult
59
+ * // DBSnapshotIdentifier: "STRING_VALUE",
60
+ * // DBSnapshotAttributes: [ // DBSnapshotAttributeList
61
+ * // { // DBSnapshotAttribute
62
+ * // AttributeName: "STRING_VALUE",
63
+ * // AttributeValues: [ // AttributeValueList
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // };
70
+ *
57
71
  * ```
58
72
  *
59
73
  * @param ModifyDBSnapshotAttributeCommandInput - {@link ModifyDBSnapshotAttributeCommandInput}
@@ -72,6 +86,8 @@ export interface ModifyDBSnapshotAttributeCommandOutput extends ModifyDBSnapshot
72
86
  * @throws {@link SharedSnapshotQuotaExceededFault} (client fault)
73
87
  * <p>You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.</p>
74
88
  *
89
+ * @throws {@link RDSServiceException}
90
+ * <p>Base exception class for all service exceptions from RDS service.</p>
75
91
  *
76
92
  * @example To allow two AWS accounts to restore a DB snapshot
77
93
  * ```javascript
@@ -38,6 +38,54 @@ export interface ModifyDBSnapshotCommandOutput extends ModifyDBSnapshotResult, _
38
38
  * };
39
39
  * const command = new ModifyDBSnapshotCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ModifyDBSnapshotResult
42
+ * // DBSnapshot: { // DBSnapshot
43
+ * // DBSnapshotIdentifier: "STRING_VALUE",
44
+ * // DBInstanceIdentifier: "STRING_VALUE",
45
+ * // SnapshotCreateTime: new Date("TIMESTAMP"),
46
+ * // Engine: "STRING_VALUE",
47
+ * // AllocatedStorage: Number("int"),
48
+ * // Status: "STRING_VALUE",
49
+ * // Port: Number("int"),
50
+ * // AvailabilityZone: "STRING_VALUE",
51
+ * // VpcId: "STRING_VALUE",
52
+ * // InstanceCreateTime: new Date("TIMESTAMP"),
53
+ * // MasterUsername: "STRING_VALUE",
54
+ * // EngineVersion: "STRING_VALUE",
55
+ * // LicenseModel: "STRING_VALUE",
56
+ * // SnapshotType: "STRING_VALUE",
57
+ * // Iops: Number("int"),
58
+ * // OptionGroupName: "STRING_VALUE",
59
+ * // PercentProgress: Number("int"),
60
+ * // SourceRegion: "STRING_VALUE",
61
+ * // SourceDBSnapshotIdentifier: "STRING_VALUE",
62
+ * // StorageType: "STRING_VALUE",
63
+ * // TdeCredentialArn: "STRING_VALUE",
64
+ * // Encrypted: true || false,
65
+ * // KmsKeyId: "STRING_VALUE",
66
+ * // DBSnapshotArn: "STRING_VALUE",
67
+ * // Timezone: "STRING_VALUE",
68
+ * // IAMDatabaseAuthenticationEnabled: true || false,
69
+ * // ProcessorFeatures: [ // ProcessorFeatureList
70
+ * // { // ProcessorFeature
71
+ * // Name: "STRING_VALUE",
72
+ * // Value: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // DbiResourceId: "STRING_VALUE",
76
+ * // TagList: [ // TagList
77
+ * // { // Tag
78
+ * // Key: "STRING_VALUE",
79
+ * // Value: "STRING_VALUE",
80
+ * // },
81
+ * // ],
82
+ * // OriginalSnapshotCreateTime: new Date("TIMESTAMP"),
83
+ * // SnapshotDatabaseTime: new Date("TIMESTAMP"),
84
+ * // SnapshotTarget: "STRING_VALUE",
85
+ * // StorageThroughput: Number("int"),
86
+ * // },
87
+ * // };
88
+ *
41
89
  * ```
42
90
  *
43
91
  * @param ModifyDBSnapshotCommandInput - {@link ModifyDBSnapshotCommandInput}
@@ -50,6 +98,8 @@ export interface ModifyDBSnapshotCommandOutput extends ModifyDBSnapshotResult, _
50
98
  * <p>
51
99
  * <code>DBSnapshotIdentifier</code> doesn't refer to an existing DB snapshot.</p>
52
100
  *
101
+ * @throws {@link RDSServiceException}
102
+ * <p>Base exception class for all service exceptions from RDS service.</p>
53
103
  *
54
104
  * @example To modify a DB snapshot
55
105
  * ```javascript
@@ -35,6 +35,31 @@ export interface ModifyDBSubnetGroupCommandOutput extends ModifyDBSubnetGroupRes
35
35
  * };
36
36
  * const command = new ModifyDBSubnetGroupCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ModifyDBSubnetGroupResult
39
+ * // DBSubnetGroup: { // DBSubnetGroup
40
+ * // DBSubnetGroupName: "STRING_VALUE",
41
+ * // DBSubnetGroupDescription: "STRING_VALUE",
42
+ * // VpcId: "STRING_VALUE",
43
+ * // SubnetGroupStatus: "STRING_VALUE",
44
+ * // Subnets: [ // SubnetList
45
+ * // { // Subnet
46
+ * // SubnetIdentifier: "STRING_VALUE",
47
+ * // SubnetAvailabilityZone: { // AvailabilityZone
48
+ * // Name: "STRING_VALUE",
49
+ * // },
50
+ * // SubnetOutpost: { // Outpost
51
+ * // Arn: "STRING_VALUE",
52
+ * // },
53
+ * // SubnetStatus: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // DBSubnetGroupArn: "STRING_VALUE",
57
+ * // SupportedNetworkTypes: [ // StringList
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // },
61
+ * // };
62
+ *
38
63
  * ```
39
64
  *
40
65
  * @param ModifyDBSubnetGroupCommandInput - {@link ModifyDBSubnetGroupCommandInput}
@@ -60,6 +85,8 @@ export interface ModifyDBSubnetGroupCommandOutput extends ModifyDBSubnetGroupRes
60
85
  * @throws {@link SubnetAlreadyInUse} (client fault)
61
86
  * <p>The DB subnet is already in use in the Availability Zone.</p>
62
87
  *
88
+ * @throws {@link RDSServiceException}
89
+ * <p>Base exception class for all service exceptions from RDS service.</p>
63
90
  *
64
91
  * @example To modify a DB subnet group
65
92
  * ```javascript
@@ -41,6 +41,25 @@ export interface ModifyEventSubscriptionCommandOutput extends ModifyEventSubscri
41
41
  * };
42
42
  * const command = new ModifyEventSubscriptionCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ModifyEventSubscriptionResult
45
+ * // EventSubscription: { // EventSubscription
46
+ * // CustomerAwsId: "STRING_VALUE",
47
+ * // CustSubscriptionId: "STRING_VALUE",
48
+ * // SnsTopicArn: "STRING_VALUE",
49
+ * // Status: "STRING_VALUE",
50
+ * // SubscriptionCreationTime: "STRING_VALUE",
51
+ * // SourceType: "STRING_VALUE",
52
+ * // SourceIdsList: [ // SourceIdsList
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // EventCategoriesList: [ // EventCategoriesList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // Enabled: true || false,
59
+ * // EventSubscriptionArn: "STRING_VALUE",
60
+ * // },
61
+ * // };
62
+ *
44
63
  * ```
45
64
  *
46
65
  * @param ModifyEventSubscriptionCommandInput - {@link ModifyEventSubscriptionCommandInput}
@@ -67,6 +86,8 @@ export interface ModifyEventSubscriptionCommandOutput extends ModifyEventSubscri
67
86
  * @throws {@link SubscriptionNotFoundFault} (client fault)
68
87
  * <p>The subscription name does not exist.</p>
69
88
  *
89
+ * @throws {@link RDSServiceException}
90
+ * <p>Base exception class for all service exceptions from RDS service.</p>
70
91
  *
71
92
  * @example To modify an event subscription
72
93
  * ```javascript
@@ -41,6 +41,35 @@ export interface ModifyGlobalClusterCommandOutput extends ModifyGlobalClusterRes
41
41
  * };
42
42
  * const command = new ModifyGlobalClusterCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ModifyGlobalClusterResult
45
+ * // GlobalCluster: { // GlobalCluster
46
+ * // GlobalClusterIdentifier: "STRING_VALUE",
47
+ * // GlobalClusterResourceId: "STRING_VALUE",
48
+ * // GlobalClusterArn: "STRING_VALUE",
49
+ * // Status: "STRING_VALUE",
50
+ * // Engine: "STRING_VALUE",
51
+ * // EngineVersion: "STRING_VALUE",
52
+ * // DatabaseName: "STRING_VALUE",
53
+ * // StorageEncrypted: true || false,
54
+ * // DeletionProtection: true || false,
55
+ * // GlobalClusterMembers: [ // GlobalClusterMemberList
56
+ * // { // GlobalClusterMember
57
+ * // DBClusterArn: "STRING_VALUE",
58
+ * // Readers: [ // ReadersArnList
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // IsWriter: true || false,
62
+ * // GlobalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "unknown",
63
+ * // },
64
+ * // ],
65
+ * // FailoverState: { // FailoverState
66
+ * // Status: "pending" || "failing-over" || "cancelling",
67
+ * // FromDbClusterArn: "STRING_VALUE",
68
+ * // ToDbClusterArn: "STRING_VALUE",
69
+ * // },
70
+ * // },
71
+ * // };
72
+ *
44
73
  * ```
45
74
  *
46
75
  * @param ModifyGlobalClusterCommandInput - {@link ModifyGlobalClusterCommandInput}
@@ -61,6 +90,8 @@ export interface ModifyGlobalClusterCommandOutput extends ModifyGlobalClusterRes
61
90
  * @throws {@link InvalidGlobalClusterStateFault} (client fault)
62
91
  * <p>The global cluster is in an invalid state and can't perform the requested operation.</p>
63
92
  *
93
+ * @throws {@link RDSServiceException}
94
+ * <p>Base exception class for all service exceptions from RDS service.</p>
64
95
  *
65
96
  * @example To modify a global database cluster
66
97
  * ```javascript
@@ -61,6 +61,56 @@ export interface ModifyOptionGroupCommandOutput extends ModifyOptionGroupResult,
61
61
  * };
62
62
  * const command = new ModifyOptionGroupCommand(input);
63
63
  * const response = await client.send(command);
64
+ * // { // ModifyOptionGroupResult
65
+ * // OptionGroup: { // OptionGroup
66
+ * // OptionGroupName: "STRING_VALUE",
67
+ * // OptionGroupDescription: "STRING_VALUE",
68
+ * // EngineName: "STRING_VALUE",
69
+ * // MajorEngineVersion: "STRING_VALUE",
70
+ * // Options: [ // OptionsList
71
+ * // { // Option
72
+ * // OptionName: "STRING_VALUE",
73
+ * // OptionDescription: "STRING_VALUE",
74
+ * // Persistent: true || false,
75
+ * // Permanent: true || false,
76
+ * // Port: Number("int"),
77
+ * // OptionVersion: "STRING_VALUE",
78
+ * // OptionSettings: [ // OptionSettingConfigurationList
79
+ * // { // OptionSetting
80
+ * // Name: "STRING_VALUE",
81
+ * // Value: "STRING_VALUE",
82
+ * // DefaultValue: "STRING_VALUE",
83
+ * // Description: "STRING_VALUE",
84
+ * // ApplyType: "STRING_VALUE",
85
+ * // DataType: "STRING_VALUE",
86
+ * // AllowedValues: "STRING_VALUE",
87
+ * // IsModifiable: true || false,
88
+ * // IsCollection: true || false,
89
+ * // },
90
+ * // ],
91
+ * // DBSecurityGroupMemberships: [ // DBSecurityGroupMembershipList
92
+ * // { // DBSecurityGroupMembership
93
+ * // DBSecurityGroupName: "STRING_VALUE",
94
+ * // Status: "STRING_VALUE",
95
+ * // },
96
+ * // ],
97
+ * // VpcSecurityGroupMemberships: [ // VpcSecurityGroupMembershipList
98
+ * // { // VpcSecurityGroupMembership
99
+ * // VpcSecurityGroupId: "STRING_VALUE",
100
+ * // Status: "STRING_VALUE",
101
+ * // },
102
+ * // ],
103
+ * // },
104
+ * // ],
105
+ * // AllowsVpcAndNonVpcInstanceMemberships: true || false,
106
+ * // VpcId: "STRING_VALUE",
107
+ * // OptionGroupArn: "STRING_VALUE",
108
+ * // SourceOptionGroup: "STRING_VALUE",
109
+ * // SourceAccountId: "STRING_VALUE",
110
+ * // CopyTimestamp: new Date("TIMESTAMP"),
111
+ * // },
112
+ * // };
113
+ *
64
114
  * ```
65
115
  *
66
116
  * @param ModifyOptionGroupCommandInput - {@link ModifyOptionGroupCommandInput}
@@ -75,6 +125,8 @@ export interface ModifyOptionGroupCommandOutput extends ModifyOptionGroupResult,
75
125
  * @throws {@link OptionGroupNotFoundFault} (client fault)
76
126
  * <p>The specified option group could not be found.</p>
77
127
  *
128
+ * @throws {@link RDSServiceException}
129
+ * <p>Base exception class for all service exceptions from RDS service.</p>
78
130
  *
79
131
  * @example To modify an option group
80
132
  * ```javascript
@@ -50,6 +50,220 @@ export interface PromoteReadReplicaCommandOutput extends PromoteReadReplicaResul
50
50
  * };
51
51
  * const command = new PromoteReadReplicaCommand(input);
52
52
  * const response = await client.send(command);
53
+ * // { // PromoteReadReplicaResult
54
+ * // DBInstance: { // DBInstance
55
+ * // DBInstanceIdentifier: "STRING_VALUE",
56
+ * // DBInstanceClass: "STRING_VALUE",
57
+ * // Engine: "STRING_VALUE",
58
+ * // DBInstanceStatus: "STRING_VALUE",
59
+ * // AutomaticRestartTime: new Date("TIMESTAMP"),
60
+ * // MasterUsername: "STRING_VALUE",
61
+ * // DBName: "STRING_VALUE",
62
+ * // Endpoint: { // Endpoint
63
+ * // Address: "STRING_VALUE",
64
+ * // Port: Number("int"),
65
+ * // HostedZoneId: "STRING_VALUE",
66
+ * // },
67
+ * // AllocatedStorage: Number("int"),
68
+ * // InstanceCreateTime: new Date("TIMESTAMP"),
69
+ * // PreferredBackupWindow: "STRING_VALUE",
70
+ * // BackupRetentionPeriod: Number("int"),
71
+ * // DBSecurityGroups: [ // DBSecurityGroupMembershipList
72
+ * // { // DBSecurityGroupMembership
73
+ * // DBSecurityGroupName: "STRING_VALUE",
74
+ * // Status: "STRING_VALUE",
75
+ * // },
76
+ * // ],
77
+ * // VpcSecurityGroups: [ // VpcSecurityGroupMembershipList
78
+ * // { // VpcSecurityGroupMembership
79
+ * // VpcSecurityGroupId: "STRING_VALUE",
80
+ * // Status: "STRING_VALUE",
81
+ * // },
82
+ * // ],
83
+ * // DBParameterGroups: [ // DBParameterGroupStatusList
84
+ * // { // DBParameterGroupStatus
85
+ * // DBParameterGroupName: "STRING_VALUE",
86
+ * // ParameterApplyStatus: "STRING_VALUE",
87
+ * // },
88
+ * // ],
89
+ * // AvailabilityZone: "STRING_VALUE",
90
+ * // DBSubnetGroup: { // DBSubnetGroup
91
+ * // DBSubnetGroupName: "STRING_VALUE",
92
+ * // DBSubnetGroupDescription: "STRING_VALUE",
93
+ * // VpcId: "STRING_VALUE",
94
+ * // SubnetGroupStatus: "STRING_VALUE",
95
+ * // Subnets: [ // SubnetList
96
+ * // { // Subnet
97
+ * // SubnetIdentifier: "STRING_VALUE",
98
+ * // SubnetAvailabilityZone: { // AvailabilityZone
99
+ * // Name: "STRING_VALUE",
100
+ * // },
101
+ * // SubnetOutpost: { // Outpost
102
+ * // Arn: "STRING_VALUE",
103
+ * // },
104
+ * // SubnetStatus: "STRING_VALUE",
105
+ * // },
106
+ * // ],
107
+ * // DBSubnetGroupArn: "STRING_VALUE",
108
+ * // SupportedNetworkTypes: [ // StringList
109
+ * // "STRING_VALUE",
110
+ * // ],
111
+ * // },
112
+ * // PreferredMaintenanceWindow: "STRING_VALUE",
113
+ * // PendingModifiedValues: { // PendingModifiedValues
114
+ * // DBInstanceClass: "STRING_VALUE",
115
+ * // AllocatedStorage: Number("int"),
116
+ * // MasterUserPassword: "STRING_VALUE",
117
+ * // Port: Number("int"),
118
+ * // BackupRetentionPeriod: Number("int"),
119
+ * // MultiAZ: true || false,
120
+ * // EngineVersion: "STRING_VALUE",
121
+ * // LicenseModel: "STRING_VALUE",
122
+ * // Iops: Number("int"),
123
+ * // DBInstanceIdentifier: "STRING_VALUE",
124
+ * // StorageType: "STRING_VALUE",
125
+ * // CACertificateIdentifier: "STRING_VALUE",
126
+ * // DBSubnetGroupName: "STRING_VALUE",
127
+ * // PendingCloudwatchLogsExports: { // PendingCloudwatchLogsExports
128
+ * // LogTypesToEnable: [ // LogTypeList
129
+ * // "STRING_VALUE",
130
+ * // ],
131
+ * // LogTypesToDisable: [
132
+ * // "STRING_VALUE",
133
+ * // ],
134
+ * // },
135
+ * // ProcessorFeatures: [ // ProcessorFeatureList
136
+ * // { // ProcessorFeature
137
+ * // Name: "STRING_VALUE",
138
+ * // Value: "STRING_VALUE",
139
+ * // },
140
+ * // ],
141
+ * // IAMDatabaseAuthenticationEnabled: true || false,
142
+ * // AutomationMode: "full" || "all-paused",
143
+ * // ResumeFullAutomationModeTime: new Date("TIMESTAMP"),
144
+ * // StorageThroughput: Number("int"),
145
+ * // },
146
+ * // LatestRestorableTime: new Date("TIMESTAMP"),
147
+ * // MultiAZ: true || false,
148
+ * // EngineVersion: "STRING_VALUE",
149
+ * // AutoMinorVersionUpgrade: true || false,
150
+ * // ReadReplicaSourceDBInstanceIdentifier: "STRING_VALUE",
151
+ * // ReadReplicaDBInstanceIdentifiers: [ // ReadReplicaDBInstanceIdentifierList
152
+ * // "STRING_VALUE",
153
+ * // ],
154
+ * // ReadReplicaDBClusterIdentifiers: [ // ReadReplicaDBClusterIdentifierList
155
+ * // "STRING_VALUE",
156
+ * // ],
157
+ * // ReplicaMode: "open-read-only" || "mounted",
158
+ * // LicenseModel: "STRING_VALUE",
159
+ * // Iops: Number("int"),
160
+ * // OptionGroupMemberships: [ // OptionGroupMembershipList
161
+ * // { // OptionGroupMembership
162
+ * // OptionGroupName: "STRING_VALUE",
163
+ * // Status: "STRING_VALUE",
164
+ * // },
165
+ * // ],
166
+ * // CharacterSetName: "STRING_VALUE",
167
+ * // NcharCharacterSetName: "STRING_VALUE",
168
+ * // SecondaryAvailabilityZone: "STRING_VALUE",
169
+ * // PubliclyAccessible: true || false,
170
+ * // StatusInfos: [ // DBInstanceStatusInfoList
171
+ * // { // DBInstanceStatusInfo
172
+ * // StatusType: "STRING_VALUE",
173
+ * // Normal: true || false,
174
+ * // Status: "STRING_VALUE",
175
+ * // Message: "STRING_VALUE",
176
+ * // },
177
+ * // ],
178
+ * // StorageType: "STRING_VALUE",
179
+ * // TdeCredentialArn: "STRING_VALUE",
180
+ * // DbInstancePort: Number("int"),
181
+ * // DBClusterIdentifier: "STRING_VALUE",
182
+ * // StorageEncrypted: true || false,
183
+ * // KmsKeyId: "STRING_VALUE",
184
+ * // DbiResourceId: "STRING_VALUE",
185
+ * // CACertificateIdentifier: "STRING_VALUE",
186
+ * // DomainMemberships: [ // DomainMembershipList
187
+ * // { // DomainMembership
188
+ * // Domain: "STRING_VALUE",
189
+ * // Status: "STRING_VALUE",
190
+ * // FQDN: "STRING_VALUE",
191
+ * // IAMRoleName: "STRING_VALUE",
192
+ * // },
193
+ * // ],
194
+ * // CopyTagsToSnapshot: true || false,
195
+ * // MonitoringInterval: Number("int"),
196
+ * // EnhancedMonitoringResourceArn: "STRING_VALUE",
197
+ * // MonitoringRoleArn: "STRING_VALUE",
198
+ * // PromotionTier: Number("int"),
199
+ * // DBInstanceArn: "STRING_VALUE",
200
+ * // Timezone: "STRING_VALUE",
201
+ * // IAMDatabaseAuthenticationEnabled: true || false,
202
+ * // PerformanceInsightsEnabled: true || false,
203
+ * // PerformanceInsightsKMSKeyId: "STRING_VALUE",
204
+ * // PerformanceInsightsRetentionPeriod: Number("int"),
205
+ * // EnabledCloudwatchLogsExports: [
206
+ * // "STRING_VALUE",
207
+ * // ],
208
+ * // ProcessorFeatures: [
209
+ * // {
210
+ * // Name: "STRING_VALUE",
211
+ * // Value: "STRING_VALUE",
212
+ * // },
213
+ * // ],
214
+ * // DeletionProtection: true || false,
215
+ * // AssociatedRoles: [ // DBInstanceRoles
216
+ * // { // DBInstanceRole
217
+ * // RoleArn: "STRING_VALUE",
218
+ * // FeatureName: "STRING_VALUE",
219
+ * // Status: "STRING_VALUE",
220
+ * // },
221
+ * // ],
222
+ * // ListenerEndpoint: {
223
+ * // Address: "STRING_VALUE",
224
+ * // Port: Number("int"),
225
+ * // HostedZoneId: "STRING_VALUE",
226
+ * // },
227
+ * // MaxAllocatedStorage: Number("int"),
228
+ * // TagList: [ // TagList
229
+ * // { // Tag
230
+ * // Key: "STRING_VALUE",
231
+ * // Value: "STRING_VALUE",
232
+ * // },
233
+ * // ],
234
+ * // DBInstanceAutomatedBackupsReplications: [ // DBInstanceAutomatedBackupsReplicationList
235
+ * // { // DBInstanceAutomatedBackupsReplication
236
+ * // DBInstanceAutomatedBackupsArn: "STRING_VALUE",
237
+ * // },
238
+ * // ],
239
+ * // CustomerOwnedIpEnabled: true || false,
240
+ * // AwsBackupRecoveryPointArn: "STRING_VALUE",
241
+ * // ActivityStreamStatus: "stopped" || "starting" || "started" || "stopping",
242
+ * // ActivityStreamKmsKeyId: "STRING_VALUE",
243
+ * // ActivityStreamKinesisStreamName: "STRING_VALUE",
244
+ * // ActivityStreamMode: "sync" || "async",
245
+ * // ActivityStreamEngineNativeAuditFieldsIncluded: true || false,
246
+ * // AutomationMode: "full" || "all-paused",
247
+ * // ResumeFullAutomationModeTime: new Date("TIMESTAMP"),
248
+ * // CustomIamInstanceProfile: "STRING_VALUE",
249
+ * // BackupTarget: "STRING_VALUE",
250
+ * // NetworkType: "STRING_VALUE",
251
+ * // ActivityStreamPolicyStatus: "locked" || "unlocked" || "locking-policy" || "unlocking-policy",
252
+ * // StorageThroughput: Number("int"),
253
+ * // DBSystemId: "STRING_VALUE",
254
+ * // MasterUserSecret: { // MasterUserSecret
255
+ * // SecretArn: "STRING_VALUE",
256
+ * // SecretStatus: "STRING_VALUE",
257
+ * // KmsKeyId: "STRING_VALUE",
258
+ * // },
259
+ * // CertificateDetails: { // CertificateDetails
260
+ * // CAIdentifier: "STRING_VALUE",
261
+ * // ValidTill: new Date("TIMESTAMP"),
262
+ * // },
263
+ * // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
264
+ * // },
265
+ * // };
266
+ *
53
267
  * ```
54
268
  *
55
269
  * @param PromoteReadReplicaCommandInput - {@link PromoteReadReplicaCommandInput}
@@ -65,6 +279,8 @@ export interface PromoteReadReplicaCommandOutput extends PromoteReadReplicaResul
65
279
  * @throws {@link InvalidDBInstanceStateFault} (client fault)
66
280
  * <p>The DB instance isn't in a valid state.</p>
67
281
  *
282
+ * @throws {@link RDSServiceException}
283
+ * <p>Base exception class for all service exceptions from RDS service.</p>
68
284
  *
69
285
  * @example To promote a read replica
70
286
  * ```javascript