Skip to content

Commit 3173d0c

Browse files
author
awstools
committed
Updates SDK to v2.1201.0
1 parent 646f286 commit 3173d0c

14 files changed

+173
-49
lines changed

.changes/2.1201.0.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "RDS",
5+
"description": "RDS for Oracle supports Oracle Data Guard switchover and read replica backups."
6+
}
7+
]

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.1200.0-->
2+
<!--LATEST=2.1201.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.1201.0
6+
* feature: RDS: RDS for Oracle supports Oracle Data Guard switchover and read replica backups.
7+
58
## 2.1200.0
69
* feature: EC2: R6a instances are powered by 3rd generation AMD EPYC (Milan) processors delivering all-core turbo frequency of 3.6 GHz. C6id, M6id, and R6id instances are powered by 3rd generation Intel Xeon Scalable processor (Ice Lake) delivering all-core turbo frequency of 3.5 GHz.
710
* feature: ForecastQueryService: releasing What-If Analysis APIs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
2929
To use the SDK in the browser, simply add the following script tag to your
3030
HTML pages:
3131

32-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1200.0.min.js"></script>
32+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1201.0.min.js"></script>
3333

3434
You can also build a custom browser SDK with your specified set of AWS services.
3535
This can allow you to reduce the SDK's size, specify different API versions of

apis/rds-2014-10-31.min.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4542,6 +4542,26 @@
45424542
}
45434543
}
45444544
}
4545+
},
4546+
"SwitchoverReadReplica": {
4547+
"input": {
4548+
"type": "structure",
4549+
"required": [
4550+
"DBInstanceIdentifier"
4551+
],
4552+
"members": {
4553+
"DBInstanceIdentifier": {}
4554+
}
4555+
},
4556+
"output": {
4557+
"resultWrapper": "SwitchoverReadReplicaResult",
4558+
"type": "structure",
4559+
"members": {
4560+
"DBInstance": {
4561+
"shape": "S33"
4562+
}
4563+
}
4564+
}
45454565
}
45464566
},
45474567
"shapes": {
@@ -4833,6 +4853,9 @@
48334853
"OriginalSnapshotCreateTime": {
48344854
"type": "timestamp"
48354855
},
4856+
"SnapshotDatabaseTime": {
4857+
"type": "timestamp"
4858+
},
48364859
"SnapshotTarget": {}
48374860
},
48384861
"wrapper": true

apis/rds-2014-10-31.normal.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3887,6 +3887,29 @@
38873887
}
38883888
],
38893889
"documentation": "<p>Stops automated backup replication for a DB instance.</p> <p>This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReplicateBackups.html\"> Replicating Automated Backups to Another Amazon Web Services Region</a> in the <i>Amazon RDS User Guide.</i> </p>"
3890+
},
3891+
"SwitchoverReadReplica": {
3892+
"name": "SwitchoverReadReplica",
3893+
"http": {
3894+
"method": "POST",
3895+
"requestUri": "/"
3896+
},
3897+
"input": {
3898+
"shape": "SwitchoverReadReplicaMessage"
3899+
},
3900+
"output": {
3901+
"shape": "SwitchoverReadReplicaResult",
3902+
"resultWrapper": "SwitchoverReadReplicaResult"
3903+
},
3904+
"errors": [
3905+
{
3906+
"shape": "DBInstanceNotFoundFault"
3907+
},
3908+
{
3909+
"shape": "InvalidDBInstanceStateFault"
3910+
}
3911+
],
3912+
"documentation": "<p>Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new primary database. Issue this command in the AWS Region that hosts the current standby database.</p>"
38903913
}
38913914
},
38923915
"shapes": {
@@ -7681,6 +7704,10 @@
76817704
"shape": "TStamp",
76827705
"documentation": "<p>Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.</p>"
76837706
},
7707+
"SnapshotDatabaseTime": {
7708+
"shape": "TStamp",
7709+
"documentation": "<p>The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed.</p> <p>If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours. *** REVIEWERS 7/27: Switchover</p>"
7710+
},
76847711
"SnapshotTarget": {
76857712
"shape": "String",
76867713
"documentation": "<p>Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.</p>"
@@ -13726,6 +13753,26 @@
1372613753
"locationName": "Timezone"
1372713754
}
1372813755
},
13756+
"SwitchoverReadReplicaMessage": {
13757+
"type": "structure",
13758+
"required": [
13759+
"DBInstanceIdentifier"
13760+
],
13761+
"members": {
13762+
"DBInstanceIdentifier": {
13763+
"shape": "String",
13764+
"documentation": "<p>The DB instance identifier of the current standby database. This value is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must match the identifier of an existing Oracle read replica DB instance.</p> </li> </ul>"
13765+
}
13766+
}
13767+
},
13768+
"SwitchoverReadReplicaResult": {
13769+
"type": "structure",
13770+
"members": {
13771+
"DBInstance": {
13772+
"shape": "DBInstance"
13773+
}
13774+
}
13775+
},
1372913776
"TStamp": {
1373013777
"type": "timestamp"
1373113778
},

apis/sso-admin-2020-07-20.normal.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"shape": "ConflictException"
124124
}
125125
],
126-
"documentation": "<p>Assigns access to a principal for a specified Amazon Web Services account using a specified permission set.</p> <note> <p>The term <i>principal</i> here refers to a user or group that is defined in Amazon Web Services SSO.</p> </note> <note> <p>As part of a successful <code>CreateAccountAssignment</code> call, the specified permission set will automatically be provisioned to the account in the form of an IAM policy. That policy is attached to the IAM role created in Amazon Web Services SSO. If the permission set is subsequently updated, the corresponding IAM policies attached to roles in your accounts will not be updated automatically. In this case, you must call <code> <a>ProvisionPermissionSet</a> </code> to make these updates.</p> </note>"
126+
"documentation": "<p>Assigns access to a principal for a specified Amazon Web Services account using a specified permission set.</p> <note> <p>The term <i>principal</i> here refers to a user or group that is defined in Amazon Web Services SSO.</p> </note> <note> <p>As part of a successful <code>CreateAccountAssignment</code> call, the specified permission set will automatically be provisioned to the account in the form of an IAM policy. That policy is attached to the IAM role created in Amazon Web Services SSO. If the permission set is subsequently updated, the corresponding IAM policies attached to roles in your accounts will not be updated automatically. In this case, you must call <code> <a>ProvisionPermissionSet</a> </code> to make these updates.</p> </note> <note> <p> After a successful response, call <code>DescribeAccountAssignmentCreationStatus</code> to describe the status of an assignment creation request. </p> </note>"
127127
},
128128
"CreateInstanceAccessControlAttributeConfiguration": {
129129
"name": "CreateInstanceAccessControlAttributeConfiguration",
@@ -157,7 +157,7 @@
157157
"shape": "ConflictException"
158158
}
159159
],
160-
"documentation": "<p>Enables the attributes-based access control (ABAC) feature for the specified Amazon Web Services SSO instance. You can also specify new attributes to add to your ABAC configuration during the enabling process. For more information about ABAC, see <a href=\"/singlesignon/latest/userguide/abac.html\">Attribute-Based Access Control</a> in the <i>Amazon Web Services SSO User Guide</i>.</p>"
160+
"documentation": "<p>Enables the attributes-based access control (ABAC) feature for the specified Amazon Web Services SSO instance. You can also specify new attributes to add to your ABAC configuration during the enabling process. For more information about ABAC, see <a href=\"/singlesignon/latest/userguide/abac.html\">Attribute-Based Access Control</a> in the <i>Amazon Web Services SSO User Guide</i>.</p> <note> <p>After a successful response, call <code>DescribeInstanceAccessControlAttributeConfiguration</code> to validate that <code>InstanceAccessControlAttributeConfiguration</code> was created.</p> </note>"
161161
},
162162
"CreatePermissionSet": {
163163
"name": "CreatePermissionSet",
@@ -228,7 +228,7 @@
228228
"shape": "ConflictException"
229229
}
230230
],
231-
"documentation": "<p>Deletes a principal's access from a specified Amazon Web Services account using a specified permission set.</p>"
231+
"documentation": "<p>Deletes a principal's access from a specified Amazon Web Services account using a specified permission set.</p> <note> <p>After a successful response, call <code>DescribeAccountAssignmentCreationStatus</code> to describe the status of an assignment deletion request.</p> </note>"
232232
},
233233
"DeleteInlinePolicyFromPermissionSet": {
234234
"name": "DeleteInlinePolicyFromPermissionSet",
@@ -2915,5 +2915,5 @@
29152915
"members": {}
29162916
}
29172917
},
2918-
"documentation": "<p/>"
2918+
"documentation": "<p>Amazon Web Services Single Sign On helps you securely create, or connect, your workforce identities and manage their access centrally across Amazon Web Services accounts and applications. Amazon Web Services SSO is the recommended approach for workforce authentication and authorization in Amazon Web Services, for organizations of any size and type.</p> <note> <p>Although Amazon Web Services Single Sign-On was renamed, the <code>sso</code> and <code>identitystore</code> API namespaces will continue to retain their original name for backward compatibility purposes. For more information, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed\">Amazon Web Services SSO rename</a>.</p> </note> <p>This reference guide provides information on single sign-on operations which could be used for access management of Amazon Web Services accounts. For information about Amazon Web Services SSO features, see the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html\">Amazon Web Services SSO User Guide</a>.</p> <p>Many operations in the Amazon Web Services SSO APIs rely on identifiers for users and groups, known as principals. For more information about how to work with principals and principal IDs in Amazon Web Services SSO, see the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/welcome.html\">Identity Store API Reference</a>.</p> <note> <p>Amazon Web Services provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs provide a convenient way to create programmatic access to Amazon Web Services SSO and other Amazon Web Services services. For more information about the Amazon Web Services SDKs, including how to download and install them, see <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>.</p> </note>"
29192919
}

clients/rds.d.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,6 +1101,14 @@ declare class RDS extends Service {
11011101
* Stops automated backup replication for a DB instance. This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For more information, see Replicating Automated Backups to Another Amazon Web Services Region in the Amazon RDS User Guide.
11021102
*/
11031103
stopDBInstanceAutomatedBackupsReplication(callback?: (err: AWSError, data: RDS.Types.StopDBInstanceAutomatedBackupsReplicationResult) => void): Request<RDS.Types.StopDBInstanceAutomatedBackupsReplicationResult, AWSError>;
1104+
/**
1105+
* Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new primary database. Issue this command in the AWS Region that hosts the current standby database.
1106+
*/
1107+
switchoverReadReplica(params: RDS.Types.SwitchoverReadReplicaMessage, callback?: (err: AWSError, data: RDS.Types.SwitchoverReadReplicaResult) => void): Request<RDS.Types.SwitchoverReadReplicaResult, AWSError>;
1108+
/**
1109+
* Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new primary database. Issue this command in the AWS Region that hosts the current standby database.
1110+
*/
1111+
switchoverReadReplica(callback?: (err: AWSError, data: RDS.Types.SwitchoverReadReplicaResult) => void): Request<RDS.Types.SwitchoverReadReplicaResult, AWSError>;
11041112
/**
11051113
* Waits for the dBInstanceAvailable state by periodically calling the underlying RDS.describeDBInstancesoperation every 30 seconds (at most 60 times).
11061114
*/
@@ -4074,6 +4082,10 @@ declare namespace RDS {
40744082
* Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.
40754083
*/
40764084
OriginalSnapshotCreateTime?: TStamp;
4085+
/**
4086+
* The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed. If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours. *** REVIEWERS 7/27: Switchover
4087+
*/
4088+
SnapshotDatabaseTime?: TStamp;
40774089
/**
40784090
* Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
40794091
*/
@@ -8516,6 +8528,15 @@ declare namespace RDS {
85168528
export type SubnetList = Subnet[];
85178529
export type SupportedCharacterSetsList = CharacterSet[];
85188530
export type SupportedTimezonesList = Timezone[];
8531+
export interface SwitchoverReadReplicaMessage {
8532+
/**
8533+
* The DB instance identifier of the current standby database. This value is stored as a lowercase string. Constraints: Must match the identifier of an existing Oracle read replica DB instance.
8534+
*/
8535+
DBInstanceIdentifier: String;
8536+
}
8537+
export interface SwitchoverReadReplicaResult {
8538+
DBInstance?: DBInstance;
8539+
}
85198540
export type TStamp = Date;
85208541
export interface Tag {
85218542
/**

0 commit comments

Comments
 (0)