@aws-sdk/client-rds 3.288.0 → 3.289.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.
Files changed (83) hide show
  1. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +17 -0
  2. package/dist-types/commands/AddTagsToResourceCommand.d.ts +17 -0
  3. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +18 -0
  4. package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +17 -0
  5. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +18 -0
  6. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +17 -0
  7. package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +18 -0
  8. package/dist-types/commands/CopyDBSnapshotCommand.d.ts +17 -0
  9. package/dist-types/commands/CopyOptionGroupCommand.d.ts +18 -0
  10. package/dist-types/commands/CreateDBClusterCommand.d.ts +28 -0
  11. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +18 -0
  12. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +17 -0
  13. package/dist-types/commands/CreateDBInstanceCommand.d.ts +21 -0
  14. package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +28 -0
  15. package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +18 -0
  16. package/dist-types/commands/CreateDBSecurityGroupCommand.d.ts +17 -0
  17. package/dist-types/commands/CreateDBSnapshotCommand.d.ts +17 -0
  18. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +21 -0
  19. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +25 -0
  20. package/dist-types/commands/CreateOptionGroupCommand.d.ts +19 -0
  21. package/dist-types/commands/DeleteDBClusterCommand.d.ts +17 -0
  22. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +11 -0
  23. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +16 -0
  24. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +17 -0
  25. package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +11 -0
  26. package/dist-types/commands/DeleteDBSecurityGroupCommand.d.ts +11 -0
  27. package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +16 -0
  28. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +11 -0
  29. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +16 -0
  30. package/dist-types/commands/DeleteOptionGroupCommand.d.ts +11 -0
  31. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +9 -0
  32. package/dist-types/commands/DescribeCertificatesCommand.d.ts +12 -0
  33. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +11 -0
  34. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +12 -0
  35. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +16 -0
  36. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +12 -0
  37. package/dist-types/commands/DescribeDBClustersCommand.d.ts +11 -0
  38. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +15 -0
  39. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +11 -0
  40. package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +14 -0
  41. package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +11 -0
  42. package/dist-types/commands/DescribeDBParametersCommand.d.ts +13 -0
  43. package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +11 -0
  44. package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +16 -0
  45. package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +14 -0
  46. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +11 -0
  47. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +16 -0
  48. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +16 -0
  49. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +11 -0
  50. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +11 -0
  51. package/dist-types/commands/DescribeEventsCommand.d.ts +16 -0
  52. package/dist-types/commands/DescribeOptionGroupOptionsCommand.d.ts +12 -0
  53. package/dist-types/commands/DescribeOptionGroupsCommand.d.ts +12 -0
  54. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +15 -0
  55. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +11 -0
  56. package/dist-types/commands/DescribeReservedDBInstancesCommand.d.ts +15 -0
  57. package/dist-types/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +15 -0
  58. package/dist-types/commands/DescribeSourceRegionsCommand.d.ts +65 -0
  59. package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +12 -0
  60. package/dist-types/commands/FailoverDBClusterCommand.d.ts +17 -0
  61. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  62. package/dist-types/commands/ModifyDBClusterCommand.d.ts +21 -0
  63. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +18 -0
  64. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +24 -0
  65. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +23 -0
  66. package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +18 -0
  67. package/dist-types/commands/ModifyDBSnapshotAttributeCommand.d.ts +20 -0
  68. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +20 -0
  69. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +22 -0
  70. package/dist-types/commands/ModifyOptionGroupCommand.d.ts +25 -0
  71. package/dist-types/commands/PromoteReadReplicaCommand.d.ts +18 -0
  72. package/dist-types/commands/PurchaseReservedDBInstancesOfferingCommand.d.ts +17 -0
  73. package/dist-types/commands/RebootDBInstanceCommand.d.ts +17 -0
  74. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +17 -0
  75. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +14 -0
  76. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +12 -0
  77. package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +12 -0
  78. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +18 -0
  79. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +18 -0
  80. package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +93 -0
  81. package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +94 -0
  82. package/dist-types/commands/RevokeDBSecurityGroupIngressCommand.d.ts +17 -0
  83. package/package.json +31 -31
@@ -42,6 +42,99 @@ export interface RestoreDBInstanceFromDBSnapshotCommandOutput extends RestoreDBI
42
42
  * @see {@link RestoreDBInstanceFromDBSnapshotCommandOutput} for command's `response` shape.
43
43
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
44
44
  *
45
+ * @example To restore a DB instance from a DB snapshot.
46
+ * ```javascript
47
+ * // The following example restores a DB instance from a DB snapshot.
48
+ * const input = {
49
+ * "DBInstanceIdentifier": "mysqldb-restored",
50
+ * "DBSnapshotIdentifier": "rds:mysqldb-2014-04-22-08-15"
51
+ * };
52
+ * const command = new RestoreDBInstanceFromDBSnapshotCommand(input);
53
+ * const response = await client.send(command);
54
+ * /* response ==
55
+ * {
56
+ * "DBInstance": {
57
+ * "AllocatedStorage": 200,
58
+ * "AutoMinorVersionUpgrade": true,
59
+ * "AvailabilityZone": "us-west-2b",
60
+ * "BackupRetentionPeriod": 7,
61
+ * "CACertificateIdentifier": "rds-ca-2015",
62
+ * "CopyTagsToSnapshot": false,
63
+ * "DBInstanceArn": "arn:aws:rds:us-west-2:123456789012:db:mysqldb-restored",
64
+ * "DBInstanceClass": "db.t2.small",
65
+ * "DBInstanceIdentifier": "mysqldb-restored",
66
+ * "DBInstanceStatus": "available",
67
+ * "DBName": "sample",
68
+ * "DBParameterGroups": [
69
+ * {
70
+ * "DBParameterGroupName": "default.mysql5.6",
71
+ * "ParameterApplyStatus": "in-sync"
72
+ * }
73
+ * ],
74
+ * "DBSecurityGroups": [],
75
+ * "DBSubnetGroup": {
76
+ * "DBSubnetGroupDescription": "default",
77
+ * "DBSubnetGroupName": "default",
78
+ * "SubnetGroupStatus": "Complete",
79
+ * "Subnets": [
80
+ * {
81
+ * "SubnetAvailabilityZone": {
82
+ * "Name": "us-west-2a"
83
+ * },
84
+ * "SubnetIdentifier": "subnet-77e8db03",
85
+ * "SubnetStatus": "Active"
86
+ * },
87
+ * {
88
+ * "SubnetAvailabilityZone": {
89
+ * "Name": "us-west-2b"
90
+ * },
91
+ * "SubnetIdentifier": "subnet-c39989a1",
92
+ * "SubnetStatus": "Active"
93
+ * },
94
+ * {
95
+ * "SubnetAvailabilityZone": {
96
+ * "Name": "us-west-2c"
97
+ * },
98
+ * "SubnetIdentifier": "subnet-4b267b0d",
99
+ * "SubnetStatus": "Active"
100
+ * }
101
+ * ],
102
+ * "VpcId": "vpc-c1c5b3a3"
103
+ * },
104
+ * "DbInstancePort": 0,
105
+ * "DbiResourceId": "db-VNZUCCBTEDC4WR7THXNJO72HVQ",
106
+ * "DomainMemberships": [],
107
+ * "Engine": "mysql",
108
+ * "EngineVersion": "5.6.27",
109
+ * "LicenseModel": "general-public-license",
110
+ * "MasterUsername": "mymasteruser",
111
+ * "MonitoringInterval": 0,
112
+ * "MultiAZ": false,
113
+ * "OptionGroupMemberships": [
114
+ * {
115
+ * "OptionGroupName": "default:mysql-5-6",
116
+ * "Status": "in-sync"
117
+ * }
118
+ * ],
119
+ * "PendingModifiedValues": {},
120
+ * "PreferredBackupWindow": "12:58-13:28",
121
+ * "PreferredMaintenanceWindow": "tue:10:16-tue:10:46",
122
+ * "PubliclyAccessible": true,
123
+ * "ReadReplicaDBInstanceIdentifiers": [],
124
+ * "StorageEncrypted": false,
125
+ * "StorageType": "gp2",
126
+ * "VpcSecurityGroups": [
127
+ * {
128
+ * "Status": "active",
129
+ * "VpcSecurityGroupId": "sg-e5e5b0d2"
130
+ * }
131
+ * ]
132
+ * }
133
+ * }
134
+ * *\/
135
+ * // example id: to-restore-a-db-instance-from-a-db-snapshot-1473961657311
136
+ * ```
137
+ *
45
138
  */
46
139
  export declare class RestoreDBInstanceFromDBSnapshotCommand extends $Command<RestoreDBInstanceFromDBSnapshotCommandInput, RestoreDBInstanceFromDBSnapshotCommandOutput, RDSClientResolvedConfig> {
47
140
  readonly input: RestoreDBInstanceFromDBSnapshotCommandInput;
@@ -38,6 +38,100 @@ export interface RestoreDBInstanceToPointInTimeCommandOutput extends RestoreDBIn
38
38
  * @see {@link RestoreDBInstanceToPointInTimeCommandOutput} for command's `response` shape.
39
39
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
40
40
  *
41
+ * @example To restore a DB instance to a point in time.
42
+ * ```javascript
43
+ * // The following example restores a DB instance to a new DB instance at a point in time from the source DB instance.
44
+ * const input = {
45
+ * "RestoreTime": "2016-09-13T18:45:00Z",
46
+ * "SourceDBInstanceIdentifier": "mysql-sample",
47
+ * "TargetDBInstanceIdentifier": "mysql-sample-restored"
48
+ * };
49
+ * const command = new RestoreDBInstanceToPointInTimeCommand(input);
50
+ * const response = await client.send(command);
51
+ * /* response ==
52
+ * {
53
+ * "DBInstance": {
54
+ * "AllocatedStorage": 200,
55
+ * "AutoMinorVersionUpgrade": true,
56
+ * "AvailabilityZone": "us-west-2b",
57
+ * "BackupRetentionPeriod": 7,
58
+ * "CACertificateIdentifier": "rds-ca-2015",
59
+ * "CopyTagsToSnapshot": false,
60
+ * "DBInstanceArn": "arn:aws:rds:us-west-2:123456789012:db:mysql-sample-restored",
61
+ * "DBInstanceClass": "db.t2.small",
62
+ * "DBInstanceIdentifier": "mysql-sample-restored",
63
+ * "DBInstanceStatus": "available",
64
+ * "DBName": "sample",
65
+ * "DBParameterGroups": [
66
+ * {
67
+ * "DBParameterGroupName": "default.mysql5.6",
68
+ * "ParameterApplyStatus": "in-sync"
69
+ * }
70
+ * ],
71
+ * "DBSecurityGroups": [],
72
+ * "DBSubnetGroup": {
73
+ * "DBSubnetGroupDescription": "default",
74
+ * "DBSubnetGroupName": "default",
75
+ * "SubnetGroupStatus": "Complete",
76
+ * "Subnets": [
77
+ * {
78
+ * "SubnetAvailabilityZone": {
79
+ * "Name": "us-west-2a"
80
+ * },
81
+ * "SubnetIdentifier": "subnet-77e8db03",
82
+ * "SubnetStatus": "Active"
83
+ * },
84
+ * {
85
+ * "SubnetAvailabilityZone": {
86
+ * "Name": "us-west-2b"
87
+ * },
88
+ * "SubnetIdentifier": "subnet-c39989a1",
89
+ * "SubnetStatus": "Active"
90
+ * },
91
+ * {
92
+ * "SubnetAvailabilityZone": {
93
+ * "Name": "us-west-2c"
94
+ * },
95
+ * "SubnetIdentifier": "subnet-4b267b0d",
96
+ * "SubnetStatus": "Active"
97
+ * }
98
+ * ],
99
+ * "VpcId": "vpc-c1c5b3a3"
100
+ * },
101
+ * "DbInstancePort": 0,
102
+ * "DbiResourceId": "db-VNZUCCBTEDC4WR7THXNJO72HVQ",
103
+ * "DomainMemberships": [],
104
+ * "Engine": "mysql",
105
+ * "EngineVersion": "5.6.27",
106
+ * "LicenseModel": "general-public-license",
107
+ * "MasterUsername": "mymasteruser",
108
+ * "MonitoringInterval": 0,
109
+ * "MultiAZ": false,
110
+ * "OptionGroupMemberships": [
111
+ * {
112
+ * "OptionGroupName": "default:mysql-5-6",
113
+ * "Status": "in-sync"
114
+ * }
115
+ * ],
116
+ * "PendingModifiedValues": {},
117
+ * "PreferredBackupWindow": "12:58-13:28",
118
+ * "PreferredMaintenanceWindow": "tue:10:16-tue:10:46",
119
+ * "PubliclyAccessible": true,
120
+ * "ReadReplicaDBInstanceIdentifiers": [],
121
+ * "StorageEncrypted": false,
122
+ * "StorageType": "gp2",
123
+ * "VpcSecurityGroups": [
124
+ * {
125
+ * "Status": "active",
126
+ * "VpcSecurityGroupId": "sg-e5e5b0d2"
127
+ * }
128
+ * ]
129
+ * }
130
+ * }
131
+ * *\/
132
+ * // example id: to-restore-a-db-instance-to-a-point-in-time-1473962652154
133
+ * ```
134
+ *
41
135
  */
42
136
  export declare class RestoreDBInstanceToPointInTimeCommand extends $Command<RestoreDBInstanceToPointInTimeCommandInput, RestoreDBInstanceToPointInTimeCommandOutput, RDSClientResolvedConfig> {
43
137
  readonly input: RestoreDBInstanceToPointInTimeCommandInput;
@@ -38,6 +38,23 @@ export interface RevokeDBSecurityGroupIngressCommandOutput extends RevokeDBSecur
38
38
  * @see {@link RevokeDBSecurityGroupIngressCommandOutput} for command's `response` shape.
39
39
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
40
40
  *
41
+ * @example To revoke ingress for a DB security group
42
+ * ```javascript
43
+ * // This example revokes ingress for the specified CIDR block associated with the specified DB security group.
44
+ * const input = {
45
+ * "CIDRIP": "203.0.113.5/32",
46
+ * "DBSecurityGroupName": "mydbsecuritygroup"
47
+ * };
48
+ * const command = new RevokeDBSecurityGroupIngressCommand(input);
49
+ * const response = await client.send(command);
50
+ * /* response ==
51
+ * {
52
+ * "DBSecurityGroup": {}
53
+ * }
54
+ * *\/
55
+ * // example id: revoke-db-security-group-ingress-ce5b2c1c-bd4e-4809-b04a-6d78ec448813
56
+ * ```
57
+ *
41
58
  */
42
59
  export declare class RevokeDBSecurityGroupIngressCommand extends $Command<RevokeDBSecurityGroupIngressCommandInput, RevokeDBSecurityGroupIngressCommandOutput, RDSClientResolvedConfig> {
43
60
  readonly input: RevokeDBSecurityGroupIngressCommandInput;
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.288.0",
4
+ "version": "3.289.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",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-sdk-rds": "3.282.0",
36
- "@aws-sdk/middleware-serde": "3.272.0",
37
- "@aws-sdk/middleware-signing": "3.282.0",
38
- "@aws-sdk/middleware-stack": "3.272.0",
39
- "@aws-sdk/middleware-user-agent": "3.282.0",
40
- "@aws-sdk/node-config-provider": "3.287.0",
41
- "@aws-sdk/node-http-handler": "3.282.0",
42
- "@aws-sdk/protocol-http": "3.282.0",
43
- "@aws-sdk/smithy-client": "3.279.0",
44
- "@aws-sdk/types": "3.272.0",
45
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.289.0",
24
+ "@aws-sdk/config-resolver": "3.289.0",
25
+ "@aws-sdk/credential-provider-node": "3.289.0",
26
+ "@aws-sdk/fetch-http-handler": "3.289.0",
27
+ "@aws-sdk/hash-node": "3.289.0",
28
+ "@aws-sdk/invalid-dependency": "3.289.0",
29
+ "@aws-sdk/middleware-content-length": "3.289.0",
30
+ "@aws-sdk/middleware-endpoint": "3.289.0",
31
+ "@aws-sdk/middleware-host-header": "3.289.0",
32
+ "@aws-sdk/middleware-logger": "3.289.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
+ "@aws-sdk/middleware-retry": "3.289.0",
35
+ "@aws-sdk/middleware-sdk-rds": "3.289.0",
36
+ "@aws-sdk/middleware-serde": "3.289.0",
37
+ "@aws-sdk/middleware-signing": "3.289.0",
38
+ "@aws-sdk/middleware-stack": "3.289.0",
39
+ "@aws-sdk/middleware-user-agent": "3.289.0",
40
+ "@aws-sdk/node-config-provider": "3.289.0",
41
+ "@aws-sdk/node-http-handler": "3.289.0",
42
+ "@aws-sdk/protocol-http": "3.289.0",
43
+ "@aws-sdk/smithy-client": "3.289.0",
44
+ "@aws-sdk/types": "3.289.0",
45
+ "@aws-sdk/url-parser": "3.289.0",
46
46
  "@aws-sdk/util-base64": "3.208.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.188.0",
48
48
  "@aws-sdk/util-body-length-node": "3.208.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
51
- "@aws-sdk/util-endpoints": "3.272.0",
52
- "@aws-sdk/util-retry": "3.272.0",
53
- "@aws-sdk/util-user-agent-browser": "3.282.0",
54
- "@aws-sdk/util-user-agent-node": "3.287.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.289.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.289.0",
51
+ "@aws-sdk/util-endpoints": "3.289.0",
52
+ "@aws-sdk/util-retry": "3.289.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.289.0",
54
+ "@aws-sdk/util-user-agent-node": "3.289.0",
55
55
  "@aws-sdk/util-utf8": "3.254.0",
56
- "@aws-sdk/util-waiter": "3.272.0",
56
+ "@aws-sdk/util-waiter": "3.289.0",
57
57
  "fast-xml-parser": "4.1.2",
58
58
  "tslib": "^2.3.1"
59
59
  },