@aws-sdk/client-rds 3.968.0 → 3.970.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/README.md +1 -53
- package/dist-cjs/index.js +184 -178
- package/dist-es/pagination/DescribeEngineDefaultClusterParametersPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +161 -158
- package/dist-es/waiters/waitForDBClusterAvailable.js +2 -2
- package/dist-es/waiters/waitForDBClusterDeleted.js +2 -2
- package/dist-es/waiters/waitForDBClusterSnapshotAvailable.js +2 -2
- package/dist-es/waiters/waitForDBClusterSnapshotDeleted.js +2 -2
- package/dist-es/waiters/waitForDBInstanceAvailable.js +2 -2
- package/dist-es/waiters/waitForDBInstanceDeleted.js +2 -2
- package/dist-es/waiters/waitForDBSnapshotAvailable.js +2 -2
- package/dist-es/waiters/waitForDBSnapshotDeleted.js +2 -2
- package/dist-es/waiters/waitForTenantDatabaseAvailable.js +2 -2
- package/dist-es/waiters/waitForTenantDatabaseDeleted.js +2 -2
- package/dist-types/RDS.d.ts +1 -53
- package/dist-types/RDSClient.d.ts +1 -53
- package/dist-types/commands/AddRoleToDBClusterCommand.d.ts +1 -2
- package/dist-types/commands/AddRoleToDBInstanceCommand.d.ts +2 -7
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +5 -13
- package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +3 -20
- package/dist-types/commands/BacktrackDBClusterCommand.d.ts +2 -10
- package/dist-types/commands/CancelExportTaskCommand.d.ts +1 -2
- package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +3 -10
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +3 -41
- package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +3 -10
- package/dist-types/commands/CopyDBSnapshotCommand.d.ts +6 -17
- package/dist-types/commands/CreateBlueGreenDeploymentCommand.d.ts +133 -31
- package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +7 -7
- package/dist-types/commands/CreateDBClusterCommand.d.ts +13 -41
- package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +3 -8
- package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +2 -32
- package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +3 -10
- package/dist-types/commands/CreateDBInstanceCommand.d.ts +25 -50
- package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +26 -57
- package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +2 -11
- package/dist-types/commands/CreateDBProxyEndpointCommand.d.ts +1 -3
- package/dist-types/commands/CreateDBSecurityGroupCommand.d.ts +3 -13
- package/dist-types/commands/CreateDBShardGroupCommand.d.ts +3 -6
- package/dist-types/commands/CreateDBSnapshotCommand.d.ts +5 -9
- package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +3 -6
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +1 -24
- package/dist-types/commands/CreateGlobalClusterCommand.d.ts +3 -17
- package/dist-types/commands/CreateIntegrationCommand.d.ts +3 -7
- package/dist-types/commands/CreateOptionGroupCommand.d.ts +1 -2
- package/dist-types/commands/CreateTenantDatabaseCommand.d.ts +4 -8
- package/dist-types/commands/DeleteBlueGreenDeploymentCommand.d.ts +141 -10
- package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +5 -25
- package/dist-types/commands/DeleteDBClusterAutomatedBackupCommand.d.ts +2 -4
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +4 -17
- package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +1 -4
- package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +3 -13
- package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +2 -13
- package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +1 -2
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +5 -32
- package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +2 -6
- package/dist-types/commands/DeleteDBProxyEndpointCommand.d.ts +1 -3
- package/dist-types/commands/DeleteDBSecurityGroupCommand.d.ts +2 -11
- package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +3 -8
- package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +2 -6
- package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +1 -5
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +1 -3
- package/dist-types/commands/DeleteTenantDatabaseCommand.d.ts +3 -8
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeBlueGreenDeploymentsCommand.d.ts +214 -8
- package/dist-types/commands/DescribeCertificatesCommand.d.ts +53 -9
- package/dist-types/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +1 -4
- package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +3 -11
- package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +2 -6
- package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +2 -12
- package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +2 -10
- package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +2 -10
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -9
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +2 -10
- package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -7
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +2 -6
- package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +2 -4
- package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +2 -5
- package/dist-types/commands/DescribeDBParametersCommand.d.ts +1 -3
- package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +2 -11
- package/dist-types/commands/DescribeDBShardGroupsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +2 -10
- package/dist-types/commands/DescribeDBSnapshotTenantDatabasesCommand.d.ts +2 -8
- package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +2 -3
- package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +2 -5
- package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +1 -4
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -7
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +1 -3
- package/dist-types/commands/DescribeEventsCommand.d.ts +1 -8
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +1 -6
- package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +1 -6
- package/dist-types/commands/DescribeSourceRegionsCommand.d.ts +1 -8
- package/dist-types/commands/DescribeTenantDatabasesCommand.d.ts +2 -4
- package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +2 -5
- package/dist-types/commands/DisableHttpEndpointCommand.d.ts +1 -7
- package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +3 -11
- package/dist-types/commands/EnableHttpEndpointCommand.d.ts +1 -11
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +2 -21
- package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +2 -38
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -12
- package/dist-types/commands/ModifyActivityStreamCommand.d.ts +2 -7
- package/dist-types/commands/ModifyCertificatesCommand.d.ts +2 -28
- package/dist-types/commands/ModifyCurrentDBClusterCapacityCommand.d.ts +3 -24
- package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +5 -15
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +10 -30
- package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +2 -6
- package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +3 -24
- package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +2 -21
- package/dist-types/commands/ModifyDBInstanceCommand.d.ts +25 -45
- package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +3 -20
- package/dist-types/commands/ModifyDBShardGroupCommand.d.ts +1 -2
- package/dist-types/commands/ModifyDBSnapshotAttributeCommand.d.ts +2 -19
- package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +3 -9
- package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +2 -4
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +1 -5
- package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +2 -9
- package/dist-types/commands/ModifyIntegrationCommand.d.ts +1 -3
- package/dist-types/commands/ModifyTenantDatabaseCommand.d.ts +3 -7
- package/dist-types/commands/PromoteReadReplicaCommand.d.ts +2 -20
- package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +1 -2
- package/dist-types/commands/RebootDBClusterCommand.d.ts +2 -13
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +2 -12
- package/dist-types/commands/RebootDBShardGroupCommand.d.ts +1 -3
- package/dist-types/commands/RegisterDBProxyTargetsCommand.d.ts +3 -7
- package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +2 -8
- package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +2 -11
- package/dist-types/commands/RemoveRoleFromDBInstanceCommand.d.ts +2 -4
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +5 -12
- package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +3 -22
- package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +3 -14
- package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +10 -38
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +12 -44
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +12 -48
- package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +26 -60
- package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +23 -46
- package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +26 -55
- package/dist-types/commands/RevokeDBSecurityGroupIngressCommand.d.ts +3 -16
- package/dist-types/commands/StartActivityStreamCommand.d.ts +3 -12
- package/dist-types/commands/StartDBClusterCommand.d.ts +3 -13
- package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +4 -12
- package/dist-types/commands/StartDBInstanceCommand.d.ts +8 -27
- package/dist-types/commands/StartExportTaskCommand.d.ts +5 -21
- package/dist-types/commands/StopActivityStreamCommand.d.ts +3 -13
- package/dist-types/commands/StopDBClusterCommand.d.ts +2 -11
- package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +2 -7
- package/dist-types/commands/StopDBInstanceCommand.d.ts +4 -19
- package/dist-types/commands/SwitchoverBlueGreenDeploymentCommand.d.ts +139 -12
- package/dist-types/commands/SwitchoverGlobalClusterCommand.d.ts +2 -13
- package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +2 -4
- package/dist-types/index.d.ts +1 -53
- package/dist-types/models/errors.d.ts +53 -116
- package/dist-types/models/models_0.d.ts +982 -8429
- package/dist-types/models/models_1.d.ts +557 -4868
- package/dist-types/pagination/DescribeEngineDefaultClusterParametersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -7
- package/dist-types/ts3.4/models/models_1.d.ts +4 -4
- package/dist-types/ts3.4/pagination/DescribeEngineDefaultClusterParametersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/package.json +35 -35
|
@@ -27,8 +27,7 @@ declare const CreateTenantDatabaseCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a tenant database in a DB instance that uses the multi-tenant configuration.
|
|
31
|
-
* Only RDS for Oracle container database (CDB) instances are supported.</p>
|
|
30
|
+
* <p>Creates a tenant database in a DB instance that uses the multi-tenant configuration. Only RDS for Oracle container database (CDB) instances are supported.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -95,8 +94,7 @@ declare const CreateTenantDatabaseCommand_base: {
|
|
|
95
94
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
96
95
|
*
|
|
97
96
|
* @throws {@link DBInstanceNotFoundFault} (client fault)
|
|
98
|
-
* <p>
|
|
99
|
-
* <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
|
|
97
|
+
* <p> <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
|
|
100
98
|
*
|
|
101
99
|
* @throws {@link InvalidDBInstanceStateFault} (client fault)
|
|
102
100
|
* <p>The DB instance isn't in a valid state.</p>
|
|
@@ -105,12 +103,10 @@ declare const CreateTenantDatabaseCommand_base: {
|
|
|
105
103
|
* <p>An error occurred accessing an Amazon Web Services KMS key.</p>
|
|
106
104
|
*
|
|
107
105
|
* @throws {@link TenantDatabaseAlreadyExistsFault} (client fault)
|
|
108
|
-
* <p>You attempted to either create a tenant database that already exists or
|
|
109
|
-
* modify a tenant database to use the name of an existing tenant database.</p>
|
|
106
|
+
* <p>You attempted to either create a tenant database that already exists or modify a tenant database to use the name of an existing tenant database.</p>
|
|
110
107
|
*
|
|
111
108
|
* @throws {@link TenantDatabaseQuotaExceededFault} (client fault)
|
|
112
|
-
* <p>You attempted to create more tenant databases than are permitted in your Amazon Web Services
|
|
113
|
-
* account.</p>
|
|
109
|
+
* <p>You attempted to create more tenant databases than are permitted in your Amazon Web Services account.</p>
|
|
114
110
|
*
|
|
115
111
|
* @throws {@link RDSServiceException}
|
|
116
112
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
@@ -27,12 +27,7 @@ declare const DeleteBlueGreenDeploymentCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a blue/green deployment.</p>
|
|
31
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html">Using Amazon RDS
|
|
32
|
-
* Blue/Green Deployments for database updates</a> in the <i>Amazon RDS User
|
|
33
|
-
* Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html">Using Amazon RDS
|
|
34
|
-
* Blue/Green Deployments for database updates</a> in the <i>Amazon Aurora
|
|
35
|
-
* User Guide</i>.</p>
|
|
30
|
+
* <p>Deletes a blue/green deployment.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html">Using Amazon RDS Blue/Green Deployments for database updates</a> in the <i>Amazon RDS User Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html">Using Amazon RDS Blue/Green Deployments for database updates</a> in the <i>Amazon Aurora User Guide</i>.</p>
|
|
36
31
|
* @example
|
|
37
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
33
|
* ```javascript
|
|
@@ -88,17 +83,153 @@ declare const DeleteBlueGreenDeploymentCommand_base: {
|
|
|
88
83
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
89
84
|
*
|
|
90
85
|
* @throws {@link BlueGreenDeploymentNotFoundFault} (client fault)
|
|
91
|
-
* <p>
|
|
92
|
-
* <code>BlueGreenDeploymentIdentifier</code> doesn't refer to an existing blue/green deployment.</p>
|
|
86
|
+
* <p> <code>BlueGreenDeploymentIdentifier</code> doesn't refer to an existing blue/green deployment.</p>
|
|
93
87
|
*
|
|
94
88
|
* @throws {@link InvalidBlueGreenDeploymentStateFault} (client fault)
|
|
95
|
-
* <p>The blue/green deployment can't be switched over or deleted because there is an invalid configuration in
|
|
96
|
-
* the green environment.</p>
|
|
89
|
+
* <p>The blue/green deployment can't be switched over or deleted because there is an invalid configuration in the green environment.</p>
|
|
97
90
|
*
|
|
98
91
|
* @throws {@link RDSServiceException}
|
|
99
92
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
100
93
|
*
|
|
101
94
|
*
|
|
95
|
+
* @example To delete resources in green environment for an RDS for MySQL DB instance
|
|
96
|
+
* ```javascript
|
|
97
|
+
* // The following example deletes the resources in a green environment for an RDS for MySQL DB instance.
|
|
98
|
+
* const input = {
|
|
99
|
+
* BlueGreenDeploymentIdentifier: "bgd-v53303651eexfake",
|
|
100
|
+
* DeleteTarget: true
|
|
101
|
+
* };
|
|
102
|
+
* const command = new DeleteBlueGreenDeploymentCommand(input);
|
|
103
|
+
* const response = await client.send(command);
|
|
104
|
+
* /* response is
|
|
105
|
+
* {
|
|
106
|
+
* BlueGreenDeployment: {
|
|
107
|
+
* BlueGreenDeploymentIdentifier: "bgd-v53303651eexfake",
|
|
108
|
+
* BlueGreenDeploymentName: "bgd-cli-test-instance",
|
|
109
|
+
* CreateTime: "2022-02-25T21:18:51.183Z",
|
|
110
|
+
* DeleteTime: "2022-02-25T22:25:31.331Z",
|
|
111
|
+
* Source: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance",
|
|
112
|
+
* Status: "DELETING",
|
|
113
|
+
* SwitchoverDetails: [
|
|
114
|
+
* {
|
|
115
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance",
|
|
116
|
+
* Status: "AVAILABLE",
|
|
117
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-green-rkfbpe"
|
|
118
|
+
* },
|
|
119
|
+
* {
|
|
120
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-1",
|
|
121
|
+
* Status: "AVAILABLE",
|
|
122
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-1-green-j382ha"
|
|
123
|
+
* },
|
|
124
|
+
* {
|
|
125
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-2",
|
|
126
|
+
* Status: "AVAILABLE",
|
|
127
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-2-green-ejv4ao"
|
|
128
|
+
* },
|
|
129
|
+
* {
|
|
130
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-3",
|
|
131
|
+
* Status: "AVAILABLE",
|
|
132
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-3-green-vlpz3t"
|
|
133
|
+
* }
|
|
134
|
+
* ],
|
|
135
|
+
* Target: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-green-rkfbpe",
|
|
136
|
+
* Tasks: [
|
|
137
|
+
* {
|
|
138
|
+
* Name: "CREATING_READ_REPLICA_OF_SOURCE",
|
|
139
|
+
* Status: "COMPLETED"
|
|
140
|
+
* },
|
|
141
|
+
* {
|
|
142
|
+
* Name: "DB_ENGINE_VERSION_UPGRADE",
|
|
143
|
+
* Status: "COMPLETED"
|
|
144
|
+
* },
|
|
145
|
+
* {
|
|
146
|
+
* Name: "CONFIGURE_BACKUPS",
|
|
147
|
+
* Status: "COMPLETED"
|
|
148
|
+
* },
|
|
149
|
+
* {
|
|
150
|
+
* Name: "CREATING_TOPOLOGY_OF_SOURCE",
|
|
151
|
+
* Status: "COMPLETED"
|
|
152
|
+
* }
|
|
153
|
+
* ]
|
|
154
|
+
* }
|
|
155
|
+
* }
|
|
156
|
+
* *\/
|
|
157
|
+
* ```
|
|
158
|
+
*
|
|
159
|
+
* @example To delete resources in green environment for an Aurora MySQL DB cluster
|
|
160
|
+
* ```javascript
|
|
161
|
+
* // The following example deletes the resources in a green environment for an Aurora MySQL DB cluster.
|
|
162
|
+
* const input = {
|
|
163
|
+
* BlueGreenDeploymentIdentifier: "bgd-wi89nwzglccsfake",
|
|
164
|
+
* DeleteTarget: true
|
|
165
|
+
* };
|
|
166
|
+
* const command = new DeleteBlueGreenDeploymentCommand(input);
|
|
167
|
+
* const response = await client.send(command);
|
|
168
|
+
* /* response is
|
|
169
|
+
* {
|
|
170
|
+
* BlueGreenDeployment: {
|
|
171
|
+
* BlueGreenDeploymentIdentifier: "bgd-wi89nwzglccsfake",
|
|
172
|
+
* BlueGreenDeploymentName: "my-blue-green-deployment",
|
|
173
|
+
* CreateTime: "2022-02-25T21:12:00.288Z",
|
|
174
|
+
* DeleteTime: "2022-02-25T22:29:11.336Z",
|
|
175
|
+
* Source: "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster",
|
|
176
|
+
* Status: "DELETING",
|
|
177
|
+
* SwitchoverDetails: [
|
|
178
|
+
* {
|
|
179
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster",
|
|
180
|
+
* Status: "AVAILABLE",
|
|
181
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster-green-3rnukl"
|
|
182
|
+
* },
|
|
183
|
+
* {
|
|
184
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-1",
|
|
185
|
+
* Status: "AVAILABLE",
|
|
186
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-1-green-gpmaxf"
|
|
187
|
+
* },
|
|
188
|
+
* {
|
|
189
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-2",
|
|
190
|
+
* Status: "AVAILABLE",
|
|
191
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-2-green-j2oajq"
|
|
192
|
+
* },
|
|
193
|
+
* {
|
|
194
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-3",
|
|
195
|
+
* Status: "AVAILABLE",
|
|
196
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-3-green-mkxies"
|
|
197
|
+
* },
|
|
198
|
+
* {
|
|
199
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-excluded-member-endpoint",
|
|
200
|
+
* Status: "AVAILABLE",
|
|
201
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-excluded-member-endpoint-green-4sqjrq"
|
|
202
|
+
* },
|
|
203
|
+
* {
|
|
204
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-reader-endpoint",
|
|
205
|
+
* Status: "AVAILABLE",
|
|
206
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-reader-endpoint-green-gwwzlg"
|
|
207
|
+
* }
|
|
208
|
+
* ],
|
|
209
|
+
* Target: "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster-green-3rnukl",
|
|
210
|
+
* Tasks: [
|
|
211
|
+
* {
|
|
212
|
+
* Name: "CREATING_READ_REPLICA_OF_SOURCE",
|
|
213
|
+
* Status: "COMPLETED"
|
|
214
|
+
* },
|
|
215
|
+
* {
|
|
216
|
+
* Name: "DB_ENGINE_VERSION_UPGRADE",
|
|
217
|
+
* Status: "COMPLETED"
|
|
218
|
+
* },
|
|
219
|
+
* {
|
|
220
|
+
* Name: "CREATE_DB_INSTANCES_FOR_CLUSTER",
|
|
221
|
+
* Status: "COMPLETED"
|
|
222
|
+
* },
|
|
223
|
+
* {
|
|
224
|
+
* Name: "CREATE_CUSTOM_ENDPOINTS",
|
|
225
|
+
* Status: "COMPLETED"
|
|
226
|
+
* }
|
|
227
|
+
* ]
|
|
228
|
+
* }
|
|
229
|
+
* }
|
|
230
|
+
* *\/
|
|
231
|
+
* ```
|
|
232
|
+
*
|
|
102
233
|
* @public
|
|
103
234
|
*/
|
|
104
235
|
export declare class DeleteBlueGreenDeploymentCommand extends DeleteBlueGreenDeploymentCommand_base {
|
|
@@ -27,27 +27,7 @@ declare const DeleteCustomDBEngineVersionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a custom engine version. To run this command, make sure you meet the following prerequisites:</p>
|
|
31
|
-
* <ul>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>The CEV must not be the default for RDS Custom. If it is, change the default
|
|
34
|
-
* before running this command.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>The CEV must not be associated with an RDS Custom DB instance, RDS Custom instance snapshot,
|
|
38
|
-
* or automated backup of your RDS Custom instance.</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
* <p>Typically, deletion takes a few minutes.</p>
|
|
42
|
-
* <note>
|
|
43
|
-
* <p>The MediaImport service that imports files from Amazon S3 to create CEVs isn't integrated with
|
|
44
|
-
* Amazon Web Services CloudTrail. If you turn on data logging for Amazon RDS in CloudTrail, calls to the
|
|
45
|
-
* <code>DeleteCustomDbEngineVersion</code> event aren't logged. However, you might see calls from the
|
|
46
|
-
* API gateway that accesses your Amazon S3 bucket. These calls originate from the MediaImport service for
|
|
47
|
-
* the <code>DeleteCustomDbEngineVersion</code> event.</p>
|
|
48
|
-
* </note>
|
|
49
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.html#custom-cev.delete">Deleting a
|
|
50
|
-
* CEV</a> in the <i>Amazon RDS User Guide</i>.</p>
|
|
30
|
+
* <p>Deletes a custom engine version. To run this command, make sure you meet the following prerequisites:</p> <ul> <li> <p>The CEV must not be the default for RDS Custom. If it is, change the default before running this command.</p> </li> <li> <p>The CEV must not be associated with an RDS Custom DB instance, RDS Custom instance snapshot, or automated backup of your RDS Custom instance.</p> </li> </ul> <p>Typically, deletion takes a few minutes.</p> <note> <p>The MediaImport service that imports files from Amazon S3 to create CEVs isn't integrated with Amazon Web Services CloudTrail. If you turn on data logging for Amazon RDS in CloudTrail, calls to the <code>DeleteCustomDbEngineVersion</code> event aren't logged. However, you might see calls from the API gateway that accesses your Amazon S3 bucket. These calls originate from the MediaImport service for the <code>DeleteCustomDbEngineVersion</code> event.</p> </note> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.html#custom-cev.delete">Deleting a CEV</a> in the <i>Amazon RDS User Guide</i>.</p>
|
|
51
31
|
* @example
|
|
52
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
53
33
|
* ```javascript
|
|
@@ -68,6 +48,9 @@ declare const DeleteCustomDBEngineVersionCommand_base: {
|
|
|
68
48
|
* // EngineVersion: "STRING_VALUE",
|
|
69
49
|
* // DatabaseInstallationFilesS3BucketName: "STRING_VALUE",
|
|
70
50
|
* // DatabaseInstallationFilesS3Prefix: "STRING_VALUE",
|
|
51
|
+
* // DatabaseInstallationFiles: [ // StringList
|
|
52
|
+
* // "STRING_VALUE",
|
|
53
|
+
* // ],
|
|
71
54
|
* // CustomDBEngineVersionManifest: "STRING_VALUE",
|
|
72
55
|
* // DBParameterGroupFamily: "STRING_VALUE",
|
|
73
56
|
* // DBEngineDescription: "STRING_VALUE",
|
|
@@ -77,6 +60,7 @@ declare const DeleteCustomDBEngineVersionCommand_base: {
|
|
|
77
60
|
* // CharacterSetName: "STRING_VALUE",
|
|
78
61
|
* // CharacterSetDescription: "STRING_VALUE",
|
|
79
62
|
* // },
|
|
63
|
+
* // FailureReason: "STRING_VALUE",
|
|
80
64
|
* // Image: { // CustomDBEngineVersionAMI
|
|
81
65
|
* // ImageId: "STRING_VALUE",
|
|
82
66
|
* // Status: "STRING_VALUE",
|
|
@@ -151,10 +135,6 @@ declare const DeleteCustomDBEngineVersionCommand_base: {
|
|
|
151
135
|
* // MinCapacity: Number("double"),
|
|
152
136
|
* // MaxCapacity: Number("double"),
|
|
153
137
|
* // },
|
|
154
|
-
* // DatabaseInstallationFiles: [ // StringList
|
|
155
|
-
* // "STRING_VALUE",
|
|
156
|
-
* // ],
|
|
157
|
-
* // FailureReason: "STRING_VALUE",
|
|
158
138
|
* // };
|
|
159
139
|
*
|
|
160
140
|
* ```
|
|
@@ -27,8 +27,7 @@ declare const DeleteDBClusterAutomatedBackupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes automated backups using the <code>DbClusterResourceId</code> value of the source DB cluster or the Amazon
|
|
31
|
-
* Resource Name (ARN) of the automated backups.</p>
|
|
30
|
+
* <p>Deletes automated backups using the <code>DbClusterResourceId</code> value of the source DB cluster or the Amazon Resource Name (ARN) of the automated backups.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -95,8 +94,7 @@ declare const DeleteDBClusterAutomatedBackupCommand_base: {
|
|
|
95
94
|
* <p>No automated backup for this DB cluster was found.</p>
|
|
96
95
|
*
|
|
97
96
|
* @throws {@link InvalidDBClusterAutomatedBackupStateFault} (client fault)
|
|
98
|
-
* <p>The automated backup is in an invalid state.
|
|
99
|
-
* For example, this automated backup is associated with an active cluster.</p>
|
|
97
|
+
* <p>The automated backup is in an invalid state. For example, this automated backup is associated with an active cluster.</p>
|
|
100
98
|
*
|
|
101
99
|
* @throws {@link RDSServiceException}
|
|
102
100
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
@@ -27,17 +27,7 @@ declare const DeleteDBClusterCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>The DeleteDBCluster action deletes a previously provisioned DB cluster.
|
|
31
|
-
* When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered.
|
|
32
|
-
* Manual DB cluster snapshots of the specified DB cluster are not deleted.</p>
|
|
33
|
-
* <p>If you're deleting a Multi-AZ DB cluster with read replicas, all cluster members are
|
|
34
|
-
* terminated and read replicas are promoted to standalone instances.</p>
|
|
35
|
-
* <p>For more information on Amazon Aurora, see
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html">
|
|
37
|
-
* What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide</i>.</p>
|
|
38
|
-
* <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ DB
|
|
39
|
-
* cluster deployments</a> in the <i>Amazon RDS User
|
|
40
|
-
* Guide</i>.</p>
|
|
30
|
+
* <p>The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.</p> <p>If you're deleting a Multi-AZ DB cluster with read replicas, all cluster members are terminated and read replicas are promoted to standalone instances.</p> <p>For more information on Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html"> What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide</i>.</p> <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ DB cluster deployments</a> in the <i>Amazon RDS User Guide</i>.</p>
|
|
41
31
|
* @example
|
|
42
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
33
|
* ```javascript
|
|
@@ -259,12 +249,10 @@ declare const DeleteDBClusterCommand_base: {
|
|
|
259
249
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
260
250
|
*
|
|
261
251
|
* @throws {@link DBClusterAutomatedBackupQuotaExceededFault} (client fault)
|
|
262
|
-
* <p>The quota for retained automated backups was exceeded. This prevents you from retaining any additional automated
|
|
263
|
-
* backups. The retained automated backups quota is the same as your DB cluster quota.</p>
|
|
252
|
+
* <p>The quota for retained automated backups was exceeded. This prevents you from retaining any additional automated backups. The retained automated backups quota is the same as your DB cluster quota.</p>
|
|
264
253
|
*
|
|
265
254
|
* @throws {@link DBClusterNotFoundFault} (client fault)
|
|
266
|
-
* <p>
|
|
267
|
-
* <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
|
|
255
|
+
* <p> <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
|
|
268
256
|
*
|
|
269
257
|
* @throws {@link DBClusterSnapshotAlreadyExistsFault} (client fault)
|
|
270
258
|
* <p>The user already has a DB cluster snapshot with the given identifier.</p>
|
|
@@ -282,8 +270,7 @@ declare const DeleteDBClusterCommand_base: {
|
|
|
282
270
|
* <p>An error occurred accessing an Amazon Web Services KMS key.</p>
|
|
283
271
|
*
|
|
284
272
|
* @throws {@link SnapshotQuotaExceededFault} (client fault)
|
|
285
|
-
* <p>The request would result in the user exceeding the allowed number of DB
|
|
286
|
-
* snapshots.</p>
|
|
273
|
+
* <p>The request would result in the user exceeding the allowed number of DB snapshots.</p>
|
|
287
274
|
*
|
|
288
275
|
* @throws {@link RDSServiceException}
|
|
289
276
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
@@ -27,10 +27,7 @@ declare const DeleteDBClusterEndpointCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a custom endpoint and removes it from an Amazon Aurora DB cluster.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>This action only applies to Aurora DB clusters.</p>
|
|
33
|
-
* </note>
|
|
30
|
+
* <p>Deletes a custom endpoint and removes it from an Amazon Aurora DB cluster.</p> <note> <p>This action only applies to Aurora DB clusters.</p> </note>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -27,13 +27,7 @@ declare const DeleteDBClusterParameterGroupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated with any DB clusters.</p>
|
|
31
|
-
* <p>For more information on Amazon Aurora, see
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html">
|
|
33
|
-
* What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide</i>.</p>
|
|
34
|
-
* <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ DB
|
|
35
|
-
* cluster deployments</a> in the <i>Amazon RDS User
|
|
36
|
-
* Guide</i>.</p>
|
|
30
|
+
* <p>Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated with any DB clusters.</p> <p>For more information on Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html"> What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide</i>.</p> <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ DB cluster deployments</a> in the <i>Amazon RDS User Guide</i>.</p>
|
|
37
31
|
* @example
|
|
38
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
33
|
* ```javascript
|
|
@@ -58,14 +52,10 @@ declare const DeleteDBClusterParameterGroupCommand_base: {
|
|
|
58
52
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
59
53
|
*
|
|
60
54
|
* @throws {@link DBParameterGroupNotFoundFault} (client fault)
|
|
61
|
-
* <p>
|
|
62
|
-
* <code>DBParameterGroupName</code> doesn't refer to an
|
|
63
|
-
* existing DB parameter group.</p>
|
|
55
|
+
* <p> <code>DBParameterGroupName</code> doesn't refer to an existing DB parameter group.</p>
|
|
64
56
|
*
|
|
65
57
|
* @throws {@link InvalidDBParameterGroupStateFault} (client fault)
|
|
66
|
-
* <p>The DB parameter group is in use or is in an invalid state. If you are attempting
|
|
67
|
-
* to delete the parameter group, you can't delete it when the parameter group is in
|
|
68
|
-
* this state.</p>
|
|
58
|
+
* <p>The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you can't delete it when the parameter group is in this state.</p>
|
|
69
59
|
*
|
|
70
60
|
* @throws {@link RDSServiceException}
|
|
71
61
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
@@ -27,17 +27,7 @@ declare const DeleteDBClusterSnapshotCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>The DB cluster snapshot must be in the <code>available</code> state to be
|
|
33
|
-
* deleted.</p>
|
|
34
|
-
* </note>
|
|
35
|
-
* <p>For more information on Amazon Aurora, see
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html">
|
|
37
|
-
* What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide</i>.</p>
|
|
38
|
-
* <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ DB
|
|
39
|
-
* cluster deployments</a> in the <i>Amazon RDS User
|
|
40
|
-
* Guide</i>.</p>
|
|
30
|
+
* <p>Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated.</p> <note> <p>The DB cluster snapshot must be in the <code>available</code> state to be deleted.</p> </note> <p>For more information on Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html"> What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide</i>.</p> <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ DB cluster deployments</a> in the <i>Amazon RDS User Guide</i>.</p>
|
|
41
31
|
* @example
|
|
42
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
33
|
* ```javascript
|
|
@@ -98,8 +88,7 @@ declare const DeleteDBClusterSnapshotCommand_base: {
|
|
|
98
88
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
99
89
|
*
|
|
100
90
|
* @throws {@link DBClusterSnapshotNotFoundFault} (client fault)
|
|
101
|
-
* <p>
|
|
102
|
-
* <code>DBClusterSnapshotIdentifier</code> doesn't refer to an existing DB cluster snapshot.</p>
|
|
91
|
+
* <p> <code>DBClusterSnapshotIdentifier</code> doesn't refer to an existing DB cluster snapshot.</p>
|
|
103
92
|
*
|
|
104
93
|
* @throws {@link InvalidDBClusterSnapshotStateFault} (client fault)
|
|
105
94
|
* <p>The supplied value isn't a valid DB cluster snapshot state.</p>
|
|
@@ -113,8 +113,7 @@ declare const DeleteDBInstanceAutomatedBackupCommand_base: {
|
|
|
113
113
|
* <p>No automated backup for this DB instance was found.</p>
|
|
114
114
|
*
|
|
115
115
|
* @throws {@link InvalidDBInstanceAutomatedBackupStateFault} (client fault)
|
|
116
|
-
* <p>The automated backup is in an invalid state.
|
|
117
|
-
* For example, this automated backup is associated with an active instance.</p>
|
|
116
|
+
* <p>The automated backup is in an invalid state. For example, this automated backup is associated with an active instance.</p>
|
|
118
117
|
*
|
|
119
118
|
* @throws {@link RDSServiceException}
|
|
120
119
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
@@ -27,29 +27,7 @@ declare const DeleteDBInstanceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a previously provisioned DB instance.
|
|
31
|
-
* When you delete a DB instance, all automated backups for that instance are deleted and can't be recovered.
|
|
32
|
-
* However, manual DB snapshots of the DB instance aren't deleted.</p>
|
|
33
|
-
* <p>If you request a final DB snapshot, the status of the Amazon RDS DB instance is <code>deleting</code> until the DB snapshot is created.
|
|
34
|
-
* This operation can't be canceled or reverted after it begins. To monitor the status of this operation, use <code>DescribeDBInstance</code>.</p>
|
|
35
|
-
* <p>When a DB instance is in a failure state and has a status of <code>failed</code>, <code>incompatible-restore</code>,
|
|
36
|
-
* or <code>incompatible-network</code>, you can only delete it when you skip creation of the final snapshot with the <code>SkipFinalSnapshot</code> parameter.</p>
|
|
37
|
-
* <p>If the specified DB instance is part of an Amazon Aurora DB cluster, you can't delete the DB instance if both of the following
|
|
38
|
-
* conditions are true:</p>
|
|
39
|
-
* <ul>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>The DB cluster is a read replica of another Amazon Aurora DB cluster.</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>The DB instance is the only instance in the DB cluster.</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* </ul>
|
|
47
|
-
* <p>To delete a DB instance in this case, first use the <code>PromoteReadReplicaDBCluster</code> operation to promote the DB cluster so that it's no longer a read replica.
|
|
48
|
-
* After the promotion completes, use the <code>DeleteDBInstance</code> operation to delete the final instance in the DB cluster.</p>
|
|
49
|
-
* <important>
|
|
50
|
-
* <p>For RDS Custom DB instances, deleting the DB instance permanently deletes the EC2 instance and the associated EBS volumes. Make sure that you don't terminate or delete
|
|
51
|
-
* these resources before you delete the DB instance. Otherwise, deleting the DB instance and creation of the final snapshot might fail.</p>
|
|
52
|
-
* </important>
|
|
30
|
+
* <p>Deletes a previously provisioned DB instance. When you delete a DB instance, all automated backups for that instance are deleted and can't be recovered. However, manual DB snapshots of the DB instance aren't deleted.</p> <p>If you request a final DB snapshot, the status of the Amazon RDS DB instance is <code>deleting</code> until the DB snapshot is created. This operation can't be canceled or reverted after it begins. To monitor the status of this operation, use <code>DescribeDBInstance</code>.</p> <p>When a DB instance is in a failure state and has a status of <code>failed</code>, <code>incompatible-restore</code>, or <code>incompatible-network</code>, you can only delete it when you skip creation of the final snapshot with the <code>SkipFinalSnapshot</code> parameter.</p> <p>If the specified DB instance is part of an Amazon Aurora DB cluster, you can't delete the DB instance if both of the following conditions are true:</p> <ul> <li> <p>The DB cluster is a read replica of another Amazon Aurora DB cluster.</p> </li> <li> <p>The DB instance is the only instance in the DB cluster.</p> </li> </ul> <p>To delete a DB instance in this case, first use the <code>PromoteReadReplicaDBCluster</code> operation to promote the DB cluster so that it's no longer a read replica. After the promotion completes, use the <code>DeleteDBInstance</code> operation to delete the final instance in the DB cluster.</p> <important> <p>For RDS Custom DB instances, deleting the DB instance permanently deletes the EC2 instance and the associated EBS volumes. Make sure that you don't terminate or delete these resources before you delete the DB instance. Otherwise, deleting the DB instance and creation of the final snapshot might fail.</p> </important>
|
|
53
31
|
* @example
|
|
54
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
55
33
|
* ```javascript
|
|
@@ -326,17 +304,13 @@ declare const DeleteDBInstanceCommand_base: {
|
|
|
326
304
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
327
305
|
*
|
|
328
306
|
* @throws {@link DBInstanceAutomatedBackupQuotaExceededFault} (client fault)
|
|
329
|
-
* <p>The quota for retained automated backups was exceeded. This prevents you
|
|
330
|
-
* from retaining any additional automated backups. The retained automated backups
|
|
331
|
-
* quota is the same as your DB instance quota.</p>
|
|
307
|
+
* <p>The quota for retained automated backups was exceeded. This prevents you from retaining any additional automated backups. The retained automated backups quota is the same as your DB instance quota.</p>
|
|
332
308
|
*
|
|
333
309
|
* @throws {@link DBInstanceNotFoundFault} (client fault)
|
|
334
|
-
* <p>
|
|
335
|
-
* <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
|
|
310
|
+
* <p> <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
|
|
336
311
|
*
|
|
337
312
|
* @throws {@link DBSnapshotAlreadyExistsFault} (client fault)
|
|
338
|
-
* <p>
|
|
339
|
-
* <code>DBSnapshotIdentifier</code> is already used by an existing snapshot.</p>
|
|
313
|
+
* <p> <code>DBSnapshotIdentifier</code> is already used by an existing snapshot.</p>
|
|
340
314
|
*
|
|
341
315
|
* @throws {@link InvalidDBClusterStateFault} (client fault)
|
|
342
316
|
* <p>The requested operation can't be performed while the cluster is in this state.</p>
|
|
@@ -348,8 +322,7 @@ declare const DeleteDBInstanceCommand_base: {
|
|
|
348
322
|
* <p>An error occurred accessing an Amazon Web Services KMS key.</p>
|
|
349
323
|
*
|
|
350
324
|
* @throws {@link SnapshotQuotaExceededFault} (client fault)
|
|
351
|
-
* <p>The request would result in the user exceeding the allowed number of DB
|
|
352
|
-
* snapshots.</p>
|
|
325
|
+
* <p>The request would result in the user exceeding the allowed number of DB snapshots.</p>
|
|
353
326
|
*
|
|
354
327
|
* @throws {@link RDSServiceException}
|
|
355
328
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
@@ -52,14 +52,10 @@ declare const DeleteDBParameterGroupCommand_base: {
|
|
|
52
52
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link DBParameterGroupNotFoundFault} (client fault)
|
|
55
|
-
* <p>
|
|
56
|
-
* <code>DBParameterGroupName</code> doesn't refer to an
|
|
57
|
-
* existing DB parameter group.</p>
|
|
55
|
+
* <p> <code>DBParameterGroupName</code> doesn't refer to an existing DB parameter group.</p>
|
|
58
56
|
*
|
|
59
57
|
* @throws {@link InvalidDBParameterGroupStateFault} (client fault)
|
|
60
|
-
* <p>The DB parameter group is in use or is in an invalid state. If you are attempting
|
|
61
|
-
* to delete the parameter group, you can't delete it when the parameter group is in
|
|
62
|
-
* this state.</p>
|
|
58
|
+
* <p>The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you can't delete it when the parameter group is in this state.</p>
|
|
63
59
|
*
|
|
64
60
|
* @throws {@link RDSServiceException}
|
|
65
61
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
@@ -27,9 +27,7 @@ declare const DeleteDBProxyEndpointCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a <code>DBProxyEndpoint</code>. Doing so removes the ability to access the DB proxy using the
|
|
31
|
-
* endpoint that you defined. The endpoint that you delete might have provided capabilities such as read/write
|
|
32
|
-
* or read-only operations, or using a different VPC than the DB proxy's default VPC.</p>
|
|
30
|
+
* <p>Deletes a <code>DBProxyEndpoint</code>. Doing so removes the ability to access the DB proxy using the endpoint that you defined. The endpoint that you delete might have provided capabilities such as read/write or read-only operations, or using a different VPC than the DB proxy's default VPC.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -27,15 +27,7 @@ declare const DeleteDBSecurityGroupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a DB security group.</p>
|
|
31
|
-
* <p>The specified DB security group must not be associated with any DB instances.</p>
|
|
32
|
-
* <note>
|
|
33
|
-
* <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that
|
|
34
|
-
* you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the
|
|
35
|
-
* <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring –
|
|
36
|
-
* Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC
|
|
37
|
-
* into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
|
|
38
|
-
* </note>
|
|
30
|
+
* <p>Deletes a DB security group.</p> <p>The specified DB security group must not be associated with any DB instances.</p> <note> <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring – Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p> </note>
|
|
39
31
|
* @example
|
|
40
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
33
|
* ```javascript
|
|
@@ -60,8 +52,7 @@ declare const DeleteDBSecurityGroupCommand_base: {
|
|
|
60
52
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
61
53
|
*
|
|
62
54
|
* @throws {@link DBSecurityGroupNotFoundFault} (client fault)
|
|
63
|
-
* <p>
|
|
64
|
-
* <code>DBSecurityGroupName</code> doesn't refer to an existing DB security group.</p>
|
|
55
|
+
* <p> <code>DBSecurityGroupName</code> doesn't refer to an existing DB security group.</p>
|
|
65
56
|
*
|
|
66
57
|
* @throws {@link InvalidDBSecurityGroupStateFault} (client fault)
|
|
67
58
|
* <p>The state of the DB security group doesn't allow deletion.</p>
|
|
@@ -27,11 +27,7 @@ declare const DeleteDBSnapshotCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a DB snapshot. If the snapshot is being copied, the copy operation is
|
|
31
|
-
* terminated.</p>
|
|
32
|
-
* <note>
|
|
33
|
-
* <p>The DB snapshot must be in the <code>available</code> state to be deleted.</p>
|
|
34
|
-
* </note>
|
|
30
|
+
* <p>Deletes a DB snapshot. If the snapshot is being copied, the copy operation is terminated.</p> <note> <p>The DB snapshot must be in the <code>available</code> state to be deleted.</p> </note>
|
|
35
31
|
* @example
|
|
36
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
33
|
* ```javascript
|
|
@@ -93,7 +89,6 @@ declare const DeleteDBSnapshotCommand_base: {
|
|
|
93
89
|
* // DBSystemId: "STRING_VALUE",
|
|
94
90
|
* // MultiTenant: true || false,
|
|
95
91
|
* // DedicatedLogVolume: true || false,
|
|
96
|
-
* // SnapshotAvailabilityZone: "STRING_VALUE",
|
|
97
92
|
* // AdditionalStorageVolumes: [ // AdditionalStorageVolumesList
|
|
98
93
|
* // { // AdditionalStorageVolume
|
|
99
94
|
* // VolumeName: "STRING_VALUE", // required
|
|
@@ -104,6 +99,7 @@ declare const DeleteDBSnapshotCommand_base: {
|
|
|
104
99
|
* // StorageType: "STRING_VALUE",
|
|
105
100
|
* // },
|
|
106
101
|
* // ],
|
|
102
|
+
* // SnapshotAvailabilityZone: "STRING_VALUE",
|
|
107
103
|
* // },
|
|
108
104
|
* // };
|
|
109
105
|
*
|
|
@@ -116,8 +112,7 @@ declare const DeleteDBSnapshotCommand_base: {
|
|
|
116
112
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
117
113
|
*
|
|
118
114
|
* @throws {@link DBSnapshotNotFoundFault} (client fault)
|
|
119
|
-
* <p>
|
|
120
|
-
* <code>DBSnapshotIdentifier</code> doesn't refer to an existing DB snapshot.</p>
|
|
115
|
+
* <p> <code>DBSnapshotIdentifier</code> doesn't refer to an existing DB snapshot.</p>
|
|
121
116
|
*
|
|
122
117
|
* @throws {@link InvalidDBSnapshotStateFault} (client fault)
|
|
123
118
|
* <p>The state of the DB snapshot doesn't allow deletion.</p>
|
|
@@ -27,10 +27,7 @@ declare const DeleteDBSubnetGroupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a DB subnet group.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>The specified database subnet group must not be associated with any DB instances.</p>
|
|
33
|
-
* </note>
|
|
30
|
+
* <p>Deletes a DB subnet group.</p> <note> <p>The specified database subnet group must not be associated with any DB instances.</p> </note>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -55,8 +52,7 @@ declare const DeleteDBSubnetGroupCommand_base: {
|
|
|
55
52
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
56
53
|
*
|
|
57
54
|
* @throws {@link DBSubnetGroupNotFoundFault} (client fault)
|
|
58
|
-
* <p>
|
|
59
|
-
* <code>DBSubnetGroupName</code> doesn't refer to an existing DB subnet group.</p>
|
|
55
|
+
* <p> <code>DBSubnetGroupName</code> doesn't refer to an existing DB subnet group.</p>
|
|
60
56
|
*
|
|
61
57
|
* @throws {@link InvalidDBSubnetGroupStateFault} (client fault)
|
|
62
58
|
* <p>The DB subnet group cannot be deleted because it's in use.</p>
|
|
@@ -27,11 +27,7 @@ declare const DeleteGlobalClusterCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a global database cluster. The primary and secondary clusters must already be detached or
|
|
31
|
-
* destroyed first.</p>
|
|
32
|
-
* <note>
|
|
33
|
-
* <p>This action only applies to Aurora DB clusters.</p>
|
|
34
|
-
* </note>
|
|
30
|
+
* <p>Deletes a global database cluster. The primary and secondary clusters must already be detached or destroyed first.</p> <note> <p>This action only applies to Aurora DB clusters.</p> </note>
|
|
35
31
|
* @example
|
|
36
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
33
|
* ```javascript
|