@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,14 +27,7 @@ declare const SwitchoverBlueGreenDeploymentCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Switches over a blue/green deployment.</p>
|
|
31
|
-
* <p>Before you switch over, production traffic is routed to the databases in the blue environment.
|
|
32
|
-
* After you switch over, production traffic is routed to the databases in the green environment.</p>
|
|
33
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html">Using Amazon RDS
|
|
34
|
-
* Blue/Green Deployments for database updates</a> in the <i>Amazon RDS User
|
|
35
|
-
* Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html">Using Amazon RDS
|
|
36
|
-
* Blue/Green Deployments for database updates</a> in the <i>Amazon Aurora
|
|
37
|
-
* User Guide</i>.</p>
|
|
30
|
+
* <p>Switches over a blue/green deployment.</p> <p>Before you switch over, production traffic is routed to the databases in the blue environment. After you switch over, production traffic is routed to the databases in the green environment.</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>
|
|
38
31
|
* @example
|
|
39
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
33
|
* ```javascript
|
|
@@ -90,17 +83,151 @@ declare const SwitchoverBlueGreenDeploymentCommand_base: {
|
|
|
90
83
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
91
84
|
*
|
|
92
85
|
* @throws {@link BlueGreenDeploymentNotFoundFault} (client fault)
|
|
93
|
-
* <p>
|
|
94
|
-
* <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>
|
|
95
87
|
*
|
|
96
88
|
* @throws {@link InvalidBlueGreenDeploymentStateFault} (client fault)
|
|
97
|
-
* <p>The blue/green deployment can't be switched over or deleted because there is an invalid configuration in
|
|
98
|
-
* 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>
|
|
99
90
|
*
|
|
100
91
|
* @throws {@link RDSServiceException}
|
|
101
92
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
102
93
|
*
|
|
103
94
|
*
|
|
95
|
+
* @example To switch a blue/green deployment for an RDS DB instance
|
|
96
|
+
* ```javascript
|
|
97
|
+
* // The following example promotes the specified green environment as the new production environment.
|
|
98
|
+
* const input = {
|
|
99
|
+
* BlueGreenDeploymentIdentifier: "bgd-wi89nwzglccsfake",
|
|
100
|
+
* SwitchoverTimeout: 300
|
|
101
|
+
* };
|
|
102
|
+
* const command = new SwitchoverBlueGreenDeploymentCommand(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-25T22:33:22.225Z",
|
|
110
|
+
* Source: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance",
|
|
111
|
+
* Status: "SWITCHOVER_IN_PROGRESS",
|
|
112
|
+
* SwitchoverDetails: [
|
|
113
|
+
* {
|
|
114
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance",
|
|
115
|
+
* Status: "AVAILABLE",
|
|
116
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-green-blhi1e"
|
|
117
|
+
* },
|
|
118
|
+
* {
|
|
119
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-1",
|
|
120
|
+
* Status: "AVAILABLE",
|
|
121
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-1-green-k5fv7u"
|
|
122
|
+
* },
|
|
123
|
+
* {
|
|
124
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-2",
|
|
125
|
+
* Status: "AVAILABLE",
|
|
126
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-2-green-ggsh8m"
|
|
127
|
+
* },
|
|
128
|
+
* {
|
|
129
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-3",
|
|
130
|
+
* Status: "AVAILABLE",
|
|
131
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-3-green-o2vwm0"
|
|
132
|
+
* }
|
|
133
|
+
* ],
|
|
134
|
+
* Target: "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-green-blhi1e",
|
|
135
|
+
* Tasks: [
|
|
136
|
+
* {
|
|
137
|
+
* Name: "CREATING_READ_REPLICA_OF_SOURCE",
|
|
138
|
+
* Status: "COMPLETED"
|
|
139
|
+
* },
|
|
140
|
+
* {
|
|
141
|
+
* Name: "DB_ENGINE_VERSION_UPGRADE",
|
|
142
|
+
* Status: "COMPLETED"
|
|
143
|
+
* },
|
|
144
|
+
* {
|
|
145
|
+
* Name: "CONFIGURE_BACKUPS",
|
|
146
|
+
* Status: "COMPLETED"
|
|
147
|
+
* },
|
|
148
|
+
* {
|
|
149
|
+
* Name: "CREATING_TOPOLOGY_OF_SOURCE",
|
|
150
|
+
* Status: "COMPLETED"
|
|
151
|
+
* }
|
|
152
|
+
* ]
|
|
153
|
+
* }
|
|
154
|
+
* }
|
|
155
|
+
* *\/
|
|
156
|
+
* ```
|
|
157
|
+
*
|
|
158
|
+
* @example To promote a blue/green deployment for an Aurora MySQL DB cluster
|
|
159
|
+
* ```javascript
|
|
160
|
+
* // The following example promotes the specified green environment as the new production environment.
|
|
161
|
+
* const input = {
|
|
162
|
+
* BlueGreenDeploymentIdentifier: "bgd-wi89nwzglccsfake",
|
|
163
|
+
* SwitchoverTimeout: 300
|
|
164
|
+
* };
|
|
165
|
+
* const command = new SwitchoverBlueGreenDeploymentCommand(input);
|
|
166
|
+
* const response = await client.send(command);
|
|
167
|
+
* /* response is
|
|
168
|
+
* {
|
|
169
|
+
* BlueGreenDeployment: {
|
|
170
|
+
* BlueGreenDeploymentIdentifier: "bgd-wi89nwzglccsfake",
|
|
171
|
+
* BlueGreenDeploymentName: "my-blue-green-deployment",
|
|
172
|
+
* CreateTime: "2022-02-25T22:38:49.522Z",
|
|
173
|
+
* Source: "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster",
|
|
174
|
+
* Status: "SWITCHOVER_IN_PROGRESS",
|
|
175
|
+
* SwitchoverDetails: [
|
|
176
|
+
* {
|
|
177
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster",
|
|
178
|
+
* Status: "AVAILABLE",
|
|
179
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster-green-3ud8z6"
|
|
180
|
+
* },
|
|
181
|
+
* {
|
|
182
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-1",
|
|
183
|
+
* Status: "AVAILABLE",
|
|
184
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-1-green-bvxc73"
|
|
185
|
+
* },
|
|
186
|
+
* {
|
|
187
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-2",
|
|
188
|
+
* Status: "AVAILABLE",
|
|
189
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-2-green-7wc4ie"
|
|
190
|
+
* },
|
|
191
|
+
* {
|
|
192
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-3",
|
|
193
|
+
* Status: "AVAILABLE",
|
|
194
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-3-green-p4xxkz"
|
|
195
|
+
* },
|
|
196
|
+
* {
|
|
197
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-excluded-member-endpoint",
|
|
198
|
+
* Status: "AVAILABLE",
|
|
199
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-excluded-member-endpoint-green-np1ikl"
|
|
200
|
+
* },
|
|
201
|
+
* {
|
|
202
|
+
* SourceMember: "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-reader-endpoint",
|
|
203
|
+
* Status: "AVAILABLE",
|
|
204
|
+
* TargetMember: "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-reader-endpoint-green-miszlf"
|
|
205
|
+
* }
|
|
206
|
+
* ],
|
|
207
|
+
* Target: "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster-green-3ud8z6",
|
|
208
|
+
* Tasks: [
|
|
209
|
+
* {
|
|
210
|
+
* Name: "CREATING_READ_REPLICA_OF_SOURCE",
|
|
211
|
+
* Status: "COMPLETED"
|
|
212
|
+
* },
|
|
213
|
+
* {
|
|
214
|
+
* Name: "DB_ENGINE_VERSION_UPGRADE",
|
|
215
|
+
* Status: "COMPLETED"
|
|
216
|
+
* },
|
|
217
|
+
* {
|
|
218
|
+
* Name: "CREATE_DB_INSTANCES_FOR_CLUSTER",
|
|
219
|
+
* Status: "COMPLETED"
|
|
220
|
+
* },
|
|
221
|
+
* {
|
|
222
|
+
* Name: "CREATE_CUSTOM_ENDPOINTS",
|
|
223
|
+
* Status: "COMPLETED"
|
|
224
|
+
* }
|
|
225
|
+
* ]
|
|
226
|
+
* }
|
|
227
|
+
* }
|
|
228
|
+
* *\/
|
|
229
|
+
* ```
|
|
230
|
+
*
|
|
104
231
|
* @public
|
|
105
232
|
*/
|
|
106
233
|
export declare class SwitchoverBlueGreenDeploymentCommand extends SwitchoverBlueGreenDeploymentCommand_base {
|
|
@@ -27,17 +27,7 @@ declare const SwitchoverGlobalClusterCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Switches over the specified secondary DB cluster to be the new primary DB cluster in the global database cluster.
|
|
31
|
-
* Switchover operations were previously called "managed planned failovers."</p>
|
|
32
|
-
* <p>Aurora promotes the specified secondary cluster to assume full read/write capabilities and demotes the current primary cluster
|
|
33
|
-
* to a secondary (read-only) cluster, maintaining the orginal replication topology. All secondary clusters are synchronized with the primary
|
|
34
|
-
* at the beginning of the process so the new primary continues operations for the Aurora global database without losing any data. Your database
|
|
35
|
-
* is unavailable for a short time while the primary and selected secondary clusters are assuming their new roles. For more information about
|
|
36
|
-
* switching over an Aurora global database, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-disaster-recovery.html#aurora-global-database-disaster-recovery.managed-failover">Performing switchovers for Amazon Aurora global databases</a> in the <i>Amazon Aurora User Guide</i>.</p>
|
|
37
|
-
* <note>
|
|
38
|
-
* <p>This operation is intended for controlled environments, for operations such as "regional rotation" or to fall back to the original
|
|
39
|
-
* primary after a global database failover.</p>
|
|
40
|
-
* </note>
|
|
30
|
+
* <p>Switches over the specified secondary DB cluster to be the new primary DB cluster in the global database cluster. Switchover operations were previously called "managed planned failovers."</p> <p>Aurora promotes the specified secondary cluster to assume full read/write capabilities and demotes the current primary cluster to a secondary (read-only) cluster, maintaining the orginal replication topology. All secondary clusters are synchronized with the primary at the beginning of the process so the new primary continues operations for the Aurora global database without losing any data. Your database is unavailable for a short time while the primary and selected secondary clusters are assuming their new roles. For more information about switching over an Aurora global database, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-disaster-recovery.html#aurora-global-database-disaster-recovery.managed-failover">Performing switchovers for Amazon Aurora global databases</a> in the <i>Amazon Aurora User Guide</i>.</p> <note> <p>This operation is intended for controlled environments, for operations such as "regional rotation" or to fall back to the original primary after a global database failover.</p> </note>
|
|
41
31
|
* @example
|
|
42
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
33
|
* ```javascript
|
|
@@ -100,8 +90,7 @@ declare const SwitchoverGlobalClusterCommand_base: {
|
|
|
100
90
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
101
91
|
*
|
|
102
92
|
* @throws {@link DBClusterNotFoundFault} (client fault)
|
|
103
|
-
* <p>
|
|
104
|
-
* <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
|
|
93
|
+
* <p> <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
|
|
105
94
|
*
|
|
106
95
|
* @throws {@link GlobalClusterNotFoundFault} (client fault)
|
|
107
96
|
* <p>The <code>GlobalClusterIdentifier</code> doesn't refer to an existing global database cluster.</p>
|
|
@@ -27,8 +27,7 @@ declare const SwitchoverReadReplicaCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new
|
|
31
|
-
* primary database. Issue this command in the Region that hosts the current standby database.</p>
|
|
30
|
+
* <p>Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new primary database. Issue this command in the Region that hosts the current standby database.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -302,8 +301,7 @@ declare const SwitchoverReadReplicaCommand_base: {
|
|
|
302
301
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
303
302
|
*
|
|
304
303
|
* @throws {@link DBInstanceNotFoundFault} (client fault)
|
|
305
|
-
* <p>
|
|
306
|
-
* <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
|
|
304
|
+
* <p> <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
|
|
307
305
|
*
|
|
308
306
|
* @throws {@link InvalidDBInstanceStateFault} (client fault)
|
|
309
307
|
* <p>The DB instance isn't in a valid state.</p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,57 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <fullname>Amazon Relational Database Service</fullname>
|
|
3
|
-
* <p></p>
|
|
4
|
-
* <p>Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and
|
|
5
|
-
* scale a relational database in the cloud. It provides cost-efficient, resizeable capacity for an industry-standard relational
|
|
6
|
-
* database and manages common database administration tasks, freeing up developers to focus on what makes their applications
|
|
7
|
-
* and businesses unique.</p>
|
|
8
|
-
* <p>Amazon RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Microsoft SQL Server,
|
|
9
|
-
* Oracle, Db2, or Amazon Aurora database server. These capabilities mean that the code, applications, and tools
|
|
10
|
-
* you already use today with your existing databases work with Amazon RDS without modification. Amazon RDS
|
|
11
|
-
* automatically backs up your database and maintains the database software that powers your DB instance. Amazon RDS
|
|
12
|
-
* is flexible: you can scale your DB instance's compute resources and storage capacity to meet your
|
|
13
|
-
* application's demand. As with all Amazon Web Services, there are no up-front investments, and you pay only for
|
|
14
|
-
* the resources you use.</p>
|
|
15
|
-
* <p>This interface reference for Amazon RDS contains documentation for a programming or command line interface
|
|
16
|
-
* you can use to manage Amazon RDS. Amazon RDS is asynchronous, which means that some interfaces might
|
|
17
|
-
* require techniques such as polling or callback functions to determine when a command has been applied. In this
|
|
18
|
-
* reference, the parameter descriptions indicate whether a command is applied immediately, on the next instance reboot,
|
|
19
|
-
* or during the maintenance window. The reference structure is as follows, and we list following some related topics
|
|
20
|
-
* from the user guide.</p>
|
|
21
|
-
* <p>
|
|
22
|
-
* <b>Amazon RDS API Reference</b>
|
|
23
|
-
* </p>
|
|
24
|
-
* <ul>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>For the alphabetical list of API actions, see
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Operations.html">API Actions</a>.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>For the alphabetical list of data types, see
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Types.html">Data Types</a>.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>For a list of common query parameters, see
|
|
35
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonParameters.html">Common Parameters</a>.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>For descriptions of the error codes, see
|
|
39
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonErrors.html">Common Errors</a>.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* </ul>
|
|
42
|
-
* <p>
|
|
43
|
-
* <b>Amazon RDS User Guide</b>
|
|
44
|
-
* </p>
|
|
45
|
-
* <ul>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>For a summary of the Amazon RDS interfaces, see
|
|
48
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html#Welcome.Interfaces">Available RDS Interfaces</a>.</p>
|
|
49
|
-
* </li>
|
|
50
|
-
* <li>
|
|
51
|
-
* <p>For more information about how to use the Query API, see
|
|
52
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Using_the_Query_API.html">Using the Query API</a>.</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* </ul>
|
|
2
|
+
* <fullname>Amazon Relational Database Service</fullname> <p/> <p>Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the cloud. It provides cost-efficient, resizeable capacity for an industry-standard relational database and manages common database administration tasks, freeing up developers to focus on what makes their applications and businesses unique.</p> <p>Amazon RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, Oracle, Db2, or Amazon Aurora database server. These capabilities mean that the code, applications, and tools you already use today with your existing databases work with Amazon RDS without modification. Amazon RDS automatically backs up your database and maintains the database software that powers your DB instance. Amazon RDS is flexible: you can scale your DB instance's compute resources and storage capacity to meet your application's demand. As with all Amazon Web Services, there are no up-front investments, and you pay only for the resources you use.</p> <p>This interface reference for Amazon RDS contains documentation for a programming or command line interface you can use to manage Amazon RDS. Amazon RDS is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. In this reference, the parameter descriptions indicate whether a command is applied immediately, on the next instance reboot, or during the maintenance window. The reference structure is as follows, and we list following some related topics from the user guide.</p> <p> <b>Amazon RDS API Reference</b> </p> <ul> <li> <p>For the alphabetical list of API actions, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Operations.html">API Actions</a>.</p> </li> <li> <p>For the alphabetical list of data types, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Types.html">Data Types</a>.</p> </li> <li> <p>For a list of common query parameters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonParameters.html">Common Parameters</a>.</p> </li> <li> <p>For descriptions of the error codes, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonErrors.html">Common Errors</a>.</p> </li> </ul> <p> <b>Amazon RDS User Guide</b> </p> <ul> <li> <p>For a summary of the Amazon RDS interfaces, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html#Welcome.Interfaces">Available RDS Interfaces</a>.</p> </li> <li> <p>For more information about how to use the Query API, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Using_the_Query_API.html">Using the Query API</a>.</p> </li> </ul>
|
|
55
3
|
*
|
|
56
4
|
* @packageDocumentation
|
|
57
5
|
*/
|