@aws-sdk/client-rds 3.47.2 → 3.48.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/CHANGELOG.md +11 -0
- package/dist-types/RDS.d.ts +13 -10
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +7 -4
- package/dist-types/commands/DescribeEventsCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +19 -9
- package/dist-types/models/models_1.d.ts +11 -10
- package/dist-types/ts3.4/models/models_1.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-rds
|
package/dist-types/RDS.d.ts
CHANGED
|
@@ -630,10 +630,10 @@ export declare class RDS extends RDSClient {
|
|
|
630
630
|
* <code>Backup</code>.</p>
|
|
631
631
|
*
|
|
632
632
|
* <p>If you specify both the <code>SourceType</code> and <code>SourceIds</code>, such as <code>SourceType</code> = <code>db-instance</code>
|
|
633
|
-
* and <code>
|
|
634
|
-
* the specified source. If you specify a <code>SourceType</code> but do not specify
|
|
633
|
+
* and <code>SourceIds</code> = <code>myDBInstance1</code>, you are notified of all the <code>db-instance</code> events for
|
|
634
|
+
* the specified source. If you specify a <code>SourceType</code> but do not specify <code>SourceIds</code>,
|
|
635
635
|
* you receive notice of the events for that source type for all your RDS sources. If you
|
|
636
|
-
* don't specify either the SourceType or the <code>
|
|
636
|
+
* don't specify either the SourceType or the <code>SourceIds</code>, you are notified of events
|
|
637
637
|
* generated from all RDS sources belonging to your customer account.</p>
|
|
638
638
|
* <note>
|
|
639
639
|
* <p>RDS event notification is only available for unencrypted SNS topics. If you specify an
|
|
@@ -1157,20 +1157,23 @@ export declare class RDS extends RDSClient {
|
|
|
1157
1157
|
describeEngineDefaultParameters(args: DescribeEngineDefaultParametersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEngineDefaultParametersCommandOutput) => void): void;
|
|
1158
1158
|
/**
|
|
1159
1159
|
* <p>Displays a list of categories for all event source types, or, if specified, for a specified source type.
|
|
1160
|
-
* You can see
|
|
1161
|
-
*
|
|
1162
|
-
*
|
|
1163
|
-
*
|
|
1160
|
+
* You can also see this list in the "Amazon RDS event categories and event messages" section of the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html">
|
|
1161
|
+
* <i>Amazon RDS User Guide</i>
|
|
1162
|
+
* </a> or the
|
|
1163
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html">
|
|
1164
|
+
* <i>Amazon Aurora User Guide</i>
|
|
1165
|
+
* </a>.
|
|
1166
|
+
* </p>
|
|
1164
1167
|
*/
|
|
1165
1168
|
describeEventCategories(args: DescribeEventCategoriesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventCategoriesCommandOutput>;
|
|
1166
1169
|
describeEventCategories(args: DescribeEventCategoriesCommandInput, cb: (err: any, data?: DescribeEventCategoriesCommandOutput) => void): void;
|
|
1167
1170
|
describeEventCategories(args: DescribeEventCategoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventCategoriesCommandOutput) => void): void;
|
|
1168
1171
|
/**
|
|
1169
|
-
* <p>Returns events related to DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots,
|
|
1170
|
-
* Events specific to a particular DB
|
|
1172
|
+
* <p>Returns events related to DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots, DB cluster snapshots, and RDS Proxies for the past 14 days.
|
|
1173
|
+
* Events specific to a particular DB instance, DB cluster, DB parameter group, DB security group, DB snapshot, DB cluster snapshot group, or RDS Proxy can be
|
|
1171
1174
|
* obtained by providing the name as a parameter.</p>
|
|
1172
1175
|
* <note>
|
|
1173
|
-
* <p>By default,
|
|
1176
|
+
* <p>By default, RDS returns events that were generated in the past hour.</p>
|
|
1174
1177
|
* </note>
|
|
1175
1178
|
*/
|
|
1176
1179
|
describeEvents(args: DescribeEventsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventsCommandOutput>;
|
|
@@ -21,10 +21,10 @@ export interface CreateEventSubscriptionCommandOutput extends CreateEventSubscri
|
|
|
21
21
|
* <code>Backup</code>.</p>
|
|
22
22
|
*
|
|
23
23
|
* <p>If you specify both the <code>SourceType</code> and <code>SourceIds</code>, such as <code>SourceType</code> = <code>db-instance</code>
|
|
24
|
-
* and <code>
|
|
25
|
-
* the specified source. If you specify a <code>SourceType</code> but do not specify
|
|
24
|
+
* and <code>SourceIds</code> = <code>myDBInstance1</code>, you are notified of all the <code>db-instance</code> events for
|
|
25
|
+
* the specified source. If you specify a <code>SourceType</code> but do not specify <code>SourceIds</code>,
|
|
26
26
|
* you receive notice of the events for that source type for all your RDS sources. If you
|
|
27
|
-
* don't specify either the SourceType or the <code>
|
|
27
|
+
* don't specify either the SourceType or the <code>SourceIds</code>, you are notified of events
|
|
28
28
|
* generated from all RDS sources belonging to your customer account.</p>
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>RDS event notification is only available for unencrypted SNS topics. If you specify an
|
|
@@ -8,10 +8,13 @@ export interface DescribeEventCategoriesCommandOutput extends EventCategoriesMes
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Displays a list of categories for all event source types, or, if specified, for a specified source type.
|
|
11
|
-
* You can see
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* You can also see this list in the "Amazon RDS event categories and event messages" section of the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html">
|
|
12
|
+
* <i>Amazon RDS User Guide</i>
|
|
13
|
+
* </a> or the
|
|
14
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html">
|
|
15
|
+
* <i>Amazon Aurora User Guide</i>
|
|
16
|
+
* </a>.
|
|
17
|
+
* </p>
|
|
15
18
|
* @example
|
|
16
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
20
|
* ```javascript
|
|
@@ -7,11 +7,11 @@ export interface DescribeEventsCommandInput extends DescribeEventsMessage {
|
|
|
7
7
|
export interface DescribeEventsCommandOutput extends EventsMessage, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns events related to DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots,
|
|
11
|
-
* Events specific to a particular DB
|
|
10
|
+
* <p>Returns events related to DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots, DB cluster snapshots, and RDS Proxies for the past 14 days.
|
|
11
|
+
* Events specific to a particular DB instance, DB cluster, DB parameter group, DB security group, DB snapshot, DB cluster snapshot group, or RDS Proxy can be
|
|
12
12
|
* obtained by providing the name as a parameter.</p>
|
|
13
13
|
* <note>
|
|
14
|
-
* <p>By default,
|
|
14
|
+
* <p>By default, RDS returns events that were generated in the past hour.</p>
|
|
15
15
|
* </note>
|
|
16
16
|
* @example
|
|
17
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -292,6 +292,9 @@ export interface AddSourceIdentifierToSubscriptionMessage {
|
|
|
292
292
|
* <li>
|
|
293
293
|
* <p>If the source type is a DB cluster snapshot, a <code>DBClusterSnapshotIdentifier</code> value must be supplied.</p>
|
|
294
294
|
* </li>
|
|
295
|
+
* <li>
|
|
296
|
+
* <p>If the source type is an RDS Proxy, a <code>DBProxyName</code> value must be supplied.</p>
|
|
297
|
+
* </li>
|
|
295
298
|
* </ul>
|
|
296
299
|
*/
|
|
297
300
|
SourceIdentifier: string | undefined;
|
|
@@ -7804,17 +7807,22 @@ export interface CreateEventSubscriptionMessage {
|
|
|
7804
7807
|
/**
|
|
7805
7808
|
* <p>The type of source that is generating the events. For example, if you want to be
|
|
7806
7809
|
* notified of events generated by a DB instance, you set this parameter to
|
|
7807
|
-
* <code>db-instance</code>. If this value isn't specified, all events are
|
|
7810
|
+
* <code>db-instance</code>. For RDS Proxy events, specify <code>db-proxy</code>. If this value isn't specified, all events are
|
|
7808
7811
|
* returned.</p>
|
|
7809
|
-
* <p>Valid values: <code>db-instance</code> | <code>db-cluster</code> | <code>db-parameter-group</code> | <code>db-security-group</code> | <code>db-snapshot</code> | <code>db-cluster-snapshot</code>
|
|
7812
|
+
* <p>Valid values: <code>db-instance</code> | <code>db-cluster</code> | <code>db-parameter-group</code> | <code>db-security-group</code> | <code>db-snapshot</code> | <code>db-cluster-snapshot</code> | <code>db-proxy</code>
|
|
7810
7813
|
* </p>
|
|
7811
7814
|
*/
|
|
7812
7815
|
SourceType?: string;
|
|
7813
7816
|
/**
|
|
7814
7817
|
* <p> A list of event categories for a particular source type (<code>SourceType</code>)
|
|
7815
|
-
* that you want to subscribe to. You can see a list of the categories for a given source
|
|
7816
|
-
*
|
|
7817
|
-
*
|
|
7818
|
+
* that you want to subscribe to. You can see a list of the categories for a given source type in the "Amazon RDS event categories and event messages" section of the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html">
|
|
7819
|
+
* <i>Amazon RDS User Guide</i>
|
|
7820
|
+
* </a> or the
|
|
7821
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html">
|
|
7822
|
+
* <i>Amazon Aurora User Guide</i>
|
|
7823
|
+
* </a>.
|
|
7824
|
+
* You can also see this list by using the <code>DescribeEventCategories</code> operation.
|
|
7825
|
+
* </p>
|
|
7818
7826
|
*/
|
|
7819
7827
|
EventCategories?: string[];
|
|
7820
7828
|
/**
|
|
@@ -7843,6 +7851,9 @@ export interface CreateEventSubscriptionMessage {
|
|
|
7843
7851
|
* <li>
|
|
7844
7852
|
* <p>If the source type is a DB cluster snapshot, a <code>DBClusterSnapshotIdentifier</code> value must be supplied.</p>
|
|
7845
7853
|
* </li>
|
|
7854
|
+
* <li>
|
|
7855
|
+
* <p>If the source type is an RDS Proxy, a <code>DBProxyName</code> value must be supplied.</p>
|
|
7856
|
+
* </li>
|
|
7846
7857
|
* </ul>
|
|
7847
7858
|
*/
|
|
7848
7859
|
SourceIds?: string[];
|
|
@@ -11012,16 +11023,15 @@ export declare namespace DescribeDBProxyTargetGroupsRequest {
|
|
|
11012
11023
|
*/
|
|
11013
11024
|
export interface ConnectionPoolConfigurationInfo {
|
|
11014
11025
|
/**
|
|
11015
|
-
* <p>The maximum size of the connection pool for each target in a target group.
|
|
11026
|
+
* <p>The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the
|
|
11016
11027
|
* <code>max_connections</code> setting for the RDS DB instance or Aurora DB cluster used by the target group.</p>
|
|
11017
11028
|
*/
|
|
11018
11029
|
MaxConnectionsPercent?: number;
|
|
11019
11030
|
/**
|
|
11020
11031
|
* <p>
|
|
11021
11032
|
* Controls how actively the proxy closes idle database connections in the connection pool.
|
|
11022
|
-
*
|
|
11023
|
-
* A low value causes the proxy to close idle
|
|
11024
|
-
* For Aurora MySQL, it is expressed as a percentage of the <code>max_connections</code> setting for the RDS DB instance or Aurora DB cluster used by the target group.
|
|
11033
|
+
* The value is expressed as a percentage of the <code>max_connections</code> setting for the RDS DB instance or Aurora DB cluster used by the target group.
|
|
11034
|
+
* With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database.
|
|
11025
11035
|
* </p>
|
|
11026
11036
|
*/
|
|
11027
11037
|
MaxIdleConnectionsPercent?: number;
|
|
@@ -657,8 +657,8 @@ export declare namespace DescribeEngineDefaultParametersResult {
|
|
|
657
657
|
*/
|
|
658
658
|
export interface DescribeEventCategoriesMessage {
|
|
659
659
|
/**
|
|
660
|
-
* <p>The type of source that is generating the events
|
|
661
|
-
* <p>Valid values: <code>db-instance</code> | <code>db-cluster</code> | <code>db-parameter-group</code> | <code>db-security-group</code> | <code>db-snapshot</code> | <code>db-cluster-snapshot</code>
|
|
660
|
+
* <p>The type of source that is generating the events. For RDS Proxy events, specify <code>db-proxy</code>.</p>
|
|
661
|
+
* <p>Valid values: <code>db-instance</code> | <code>db-cluster</code> | <code>db-parameter-group</code> | <code>db-security-group</code> | <code>db-snapshot</code> | <code>db-cluster-snapshot</code> | <code>db-proxy</code>
|
|
662
662
|
* </p>
|
|
663
663
|
*/
|
|
664
664
|
SourceType?: string;
|
|
@@ -707,7 +707,7 @@ export declare namespace EventCategoriesMessage {
|
|
|
707
707
|
*/
|
|
708
708
|
const filterSensitiveLog: (obj: EventCategoriesMessage) => any;
|
|
709
709
|
}
|
|
710
|
-
export declare type SourceType = "custom-engine-version" | "db-cluster" | "db-cluster-snapshot" | "db-instance" | "db-parameter-group" | "db-security-group" | "db-snapshot";
|
|
710
|
+
export declare type SourceType = "custom-engine-version" | "db-cluster" | "db-cluster-snapshot" | "db-instance" | "db-parameter-group" | "db-proxy" | "db-security-group" | "db-snapshot";
|
|
711
711
|
/**
|
|
712
712
|
* <p></p>
|
|
713
713
|
*/
|
|
@@ -738,6 +738,9 @@ export interface DescribeEventsMessage {
|
|
|
738
738
|
* <p>If the source type is a DB cluster snapshot, a <code>DBClusterSnapshotIdentifier</code> value must be supplied.</p>
|
|
739
739
|
* </li>
|
|
740
740
|
* <li>
|
|
741
|
+
* <p>If the source type is an RDS Proxy, a <code>DBProxyName</code> value must be supplied.</p>
|
|
742
|
+
* </li>
|
|
743
|
+
* <li>
|
|
741
744
|
* <p>Can't end with a hyphen or contain two consecutive hyphens.</p>
|
|
742
745
|
* </li>
|
|
743
746
|
* </ul>
|
|
@@ -4548,7 +4551,7 @@ export declare namespace ModifyDBProxyEndpointResponse {
|
|
|
4548
4551
|
*/
|
|
4549
4552
|
export interface ConnectionPoolConfiguration {
|
|
4550
4553
|
/**
|
|
4551
|
-
* <p>The maximum size of the connection pool for each target in a target group.
|
|
4554
|
+
* <p>The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the
|
|
4552
4555
|
* <code>max_connections</code> setting for the RDS DB instance or Aurora DB cluster used by the target group.</p>
|
|
4553
4556
|
* <p>Default: 100</p>
|
|
4554
4557
|
* <p>Constraints: between 1 and 100</p>
|
|
@@ -4557,10 +4560,8 @@ export interface ConnectionPoolConfiguration {
|
|
|
4557
4560
|
/**
|
|
4558
4561
|
* <p>
|
|
4559
4562
|
* Controls how actively the proxy closes idle database connections in the connection pool.
|
|
4560
|
-
*
|
|
4561
|
-
* A low value causes the proxy to close idle
|
|
4562
|
-
* database connections to the connection pool. For Aurora MySQL, it is expressed as a percentage of the
|
|
4563
|
-
* <code>max_connections</code> setting for the RDS DB instance or Aurora DB cluster used by the target group.
|
|
4563
|
+
* The value is expressed as a percentage of the <code>max_connections</code> setting for the RDS DB instance or Aurora DB cluster used by the target group.
|
|
4564
|
+
* With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database.
|
|
4564
4565
|
* </p>
|
|
4565
4566
|
* <p>Default: 50</p>
|
|
4566
4567
|
* <p>Constraints: between 0 and <code>MaxConnectionsPercent</code>
|
|
@@ -4846,8 +4847,8 @@ export interface ModifyEventSubscriptionMessage {
|
|
|
4846
4847
|
*/
|
|
4847
4848
|
SnsTopicArn?: string;
|
|
4848
4849
|
/**
|
|
4849
|
-
* <p>The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. If this value isn't specified, all events are returned.</p>
|
|
4850
|
-
* <p>Valid values: <code>db-instance</code> | <code>db-cluster</code> | <code>db-parameter-group</code> | <code>db-security-group</code> | <code>db-snapshot</code> | <code>db-cluster-snapshot</code>
|
|
4850
|
+
* <p>The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. For RDS Proxy events, specify <code>db-proxy</code>. If this value isn't specified, all events are returned.</p>
|
|
4851
|
+
* <p>Valid values: <code>db-instance</code> | <code>db-cluster</code> | <code>db-parameter-group</code> | <code>db-security-group</code> | <code>db-snapshot</code> | <code>db-cluster-snapshot</code> | <code>db-proxy</code>
|
|
4851
4852
|
* </p>
|
|
4852
4853
|
*/
|
|
4853
4854
|
SourceType?: string;
|
|
@@ -285,7 +285,7 @@ export declare namespace EventCategoriesMessage {
|
|
|
285
285
|
|
|
286
286
|
const filterSensitiveLog: (obj: EventCategoriesMessage) => any;
|
|
287
287
|
}
|
|
288
|
-
export declare type SourceType = "custom-engine-version" | "db-cluster" | "db-cluster-snapshot" | "db-instance" | "db-parameter-group" | "db-security-group" | "db-snapshot";
|
|
288
|
+
export declare type SourceType = "custom-engine-version" | "db-cluster" | "db-cluster-snapshot" | "db-instance" | "db-parameter-group" | "db-proxy" | "db-security-group" | "db-snapshot";
|
|
289
289
|
|
|
290
290
|
export interface DescribeEventsMessage {
|
|
291
291
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.48.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.48.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.47.2",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.48.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.47.2",
|
|
25
25
|
"@aws-sdk/hash-node": "3.47.2",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.47.2",
|