Skip to content

Commit

Permalink
Updates SDK to v2.1201.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Aug 23, 2022
1 parent 646f286 commit 3173d0c
Show file tree
Hide file tree
Showing 14 changed files with 173 additions and 49 deletions.
7 changes: 7 additions & 0 deletions .changes/2.1201.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "feature",
"category": "RDS",
"description": "RDS for Oracle supports Oracle Data Guard switchover and read replica backups."
}
]
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1200.0-->
<!--LATEST=2.1201.0-->
<!--ENTRYINSERT-->

## 2.1201.0
* feature: RDS: RDS for Oracle supports Oracle Data Guard switchover and read replica backups.

## 2.1200.0
* 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.
* feature: ForecastQueryService: releasing What-If Analysis APIs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

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

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
23 changes: 23 additions & 0 deletions apis/rds-2014-10-31.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -4542,6 +4542,26 @@
}
}
}
},
"SwitchoverReadReplica": {
"input": {
"type": "structure",
"required": [
"DBInstanceIdentifier"
],
"members": {
"DBInstanceIdentifier": {}
}
},
"output": {
"resultWrapper": "SwitchoverReadReplicaResult",
"type": "structure",
"members": {
"DBInstance": {
"shape": "S33"
}
}
}
}
},
"shapes": {
Expand Down Expand Up @@ -4833,6 +4853,9 @@
"OriginalSnapshotCreateTime": {
"type": "timestamp"
},
"SnapshotDatabaseTime": {
"type": "timestamp"
},
"SnapshotTarget": {}
},
"wrapper": true
Expand Down
47 changes: 47 additions & 0 deletions apis/rds-2014-10-31.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -3887,6 +3887,29 @@
}
],
"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>"
},
"SwitchoverReadReplica": {
"name": "SwitchoverReadReplica",
"http": {
"method": "POST",
"requestUri": "/"
},
"input": {
"shape": "SwitchoverReadReplicaMessage"
},
"output": {
"shape": "SwitchoverReadReplicaResult",
"resultWrapper": "SwitchoverReadReplicaResult"
},
"errors": [
{
"shape": "DBInstanceNotFoundFault"
},
{
"shape": "InvalidDBInstanceStateFault"
}
],
"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>"
}
},
"shapes": {
Expand Down Expand Up @@ -7681,6 +7704,10 @@
"shape": "TStamp",
"documentation": "<p>Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.</p>"
},
"SnapshotDatabaseTime": {
"shape": "TStamp",
"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>"
},
"SnapshotTarget": {
"shape": "String",
"documentation": "<p>Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.</p>"
Expand Down Expand Up @@ -13726,6 +13753,26 @@
"locationName": "Timezone"
}
},
"SwitchoverReadReplicaMessage": {
"type": "structure",
"required": [
"DBInstanceIdentifier"
],
"members": {
"DBInstanceIdentifier": {
"shape": "String",
"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>"
}
}
},
"SwitchoverReadReplicaResult": {
"type": "structure",
"members": {
"DBInstance": {
"shape": "DBInstance"
}
}
},
"TStamp": {
"type": "timestamp"
},
Expand Down
8 changes: 4 additions & 4 deletions apis/sso-admin-2020-07-20.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"shape": "ConflictException"
}
],
"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>"
"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>"
},
"CreateInstanceAccessControlAttributeConfiguration": {
"name": "CreateInstanceAccessControlAttributeConfiguration",
Expand Down Expand Up @@ -157,7 +157,7 @@
"shape": "ConflictException"
}
],
"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>"
"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>"
},
"CreatePermissionSet": {
"name": "CreatePermissionSet",
Expand Down Expand Up @@ -228,7 +228,7 @@
"shape": "ConflictException"
}
],
"documentation": "<p>Deletes a principal's access from a specified Amazon Web Services account using a specified permission set.</p>"
"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>"
},
"DeleteInlinePolicyFromPermissionSet": {
"name": "DeleteInlinePolicyFromPermissionSet",
Expand Down Expand Up @@ -2915,5 +2915,5 @@
"members": {}
}
},
"documentation": "<p/>"
"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>"
}
21 changes: 21 additions & 0 deletions clients/rds.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,14 @@ declare class RDS extends Service {
* 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.
*/
stopDBInstanceAutomatedBackupsReplication(callback?: (err: AWSError, data: RDS.Types.StopDBInstanceAutomatedBackupsReplicationResult) => void): Request<RDS.Types.StopDBInstanceAutomatedBackupsReplicationResult, AWSError>;
/**
* 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.
*/
switchoverReadReplica(params: RDS.Types.SwitchoverReadReplicaMessage, callback?: (err: AWSError, data: RDS.Types.SwitchoverReadReplicaResult) => void): Request<RDS.Types.SwitchoverReadReplicaResult, AWSError>;
/**
* 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.
*/
switchoverReadReplica(callback?: (err: AWSError, data: RDS.Types.SwitchoverReadReplicaResult) => void): Request<RDS.Types.SwitchoverReadReplicaResult, AWSError>;
/**
* Waits for the dBInstanceAvailable state by periodically calling the underlying RDS.describeDBInstancesoperation every 30 seconds (at most 60 times).
*/
Expand Down Expand Up @@ -4074,6 +4082,10 @@ declare namespace RDS {
* Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.
*/
OriginalSnapshotCreateTime?: TStamp;
/**
* 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
*/
SnapshotDatabaseTime?: TStamp;
/**
* Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
*/
Expand Down Expand Up @@ -8516,6 +8528,15 @@ declare namespace RDS {
export type SubnetList = Subnet[];
export type SupportedCharacterSetsList = CharacterSet[];
export type SupportedTimezonesList = Timezone[];
export interface SwitchoverReadReplicaMessage {
/**
* 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.
*/
DBInstanceIdentifier: String;
}
export interface SwitchoverReadReplicaResult {
DBInstance?: DBInstance;
}
export type TStamp = Date;
export interface Tag {
/**
Expand Down
Loading

0 comments on commit 3173d0c

Please sign in to comment.