@effect-aws/client-rds 2.0.0-beta.1 → 2.0.0-beta.3
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/dist/dts/Errors.d.ts +1 -1
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/RDSService.d.ts +45 -3
- package/dist/dts/RDSService.d.ts.map +1 -1
- package/dist/esm/RDSService.js +46 -3
- package/dist/esm/RDSService.js.map +1 -1
- package/dist/esm/RDSServiceConfig.js +1 -1
- package/dist/esm/RDSServiceConfig.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -1
- package/src/RDSService.ts +377 -4
- package/src/RDSServiceConfig.ts +1 -1
package/src/RDSService.ts
CHANGED
|
@@ -392,6 +392,47 @@ import {
|
|
|
392
392
|
ModifyTenantDatabaseCommand,
|
|
393
393
|
type ModifyTenantDatabaseCommandInput,
|
|
394
394
|
type ModifyTenantDatabaseCommandOutput,
|
|
395
|
+
paginateDescribeBlueGreenDeployments,
|
|
396
|
+
paginateDescribeCertificates,
|
|
397
|
+
paginateDescribeDBClusterAutomatedBackups,
|
|
398
|
+
paginateDescribeDBClusterBacktracks,
|
|
399
|
+
paginateDescribeDBClusterEndpoints,
|
|
400
|
+
paginateDescribeDBClusterParameterGroups,
|
|
401
|
+
paginateDescribeDBClusterParameters,
|
|
402
|
+
paginateDescribeDBClusters,
|
|
403
|
+
paginateDescribeDBClusterSnapshots,
|
|
404
|
+
paginateDescribeDBEngineVersions,
|
|
405
|
+
paginateDescribeDBInstanceAutomatedBackups,
|
|
406
|
+
paginateDescribeDBInstances,
|
|
407
|
+
paginateDescribeDBLogFiles,
|
|
408
|
+
paginateDescribeDBMajorEngineVersions,
|
|
409
|
+
paginateDescribeDBParameterGroups,
|
|
410
|
+
paginateDescribeDBParameters,
|
|
411
|
+
paginateDescribeDBProxies,
|
|
412
|
+
paginateDescribeDBProxyEndpoints,
|
|
413
|
+
paginateDescribeDBProxyTargetGroups,
|
|
414
|
+
paginateDescribeDBProxyTargets,
|
|
415
|
+
paginateDescribeDBRecommendations,
|
|
416
|
+
paginateDescribeDBSecurityGroups,
|
|
417
|
+
paginateDescribeDBSnapshots,
|
|
418
|
+
paginateDescribeDBSnapshotTenantDatabases,
|
|
419
|
+
paginateDescribeDBSubnetGroups,
|
|
420
|
+
paginateDescribeEngineDefaultClusterParameters,
|
|
421
|
+
paginateDescribeEngineDefaultParameters,
|
|
422
|
+
paginateDescribeEvents,
|
|
423
|
+
paginateDescribeEventSubscriptions,
|
|
424
|
+
paginateDescribeExportTasks,
|
|
425
|
+
paginateDescribeGlobalClusters,
|
|
426
|
+
paginateDescribeIntegrations,
|
|
427
|
+
paginateDescribeOptionGroupOptions,
|
|
428
|
+
paginateDescribeOptionGroups,
|
|
429
|
+
paginateDescribeOrderableDBInstanceOptions,
|
|
430
|
+
paginateDescribePendingMaintenanceActions,
|
|
431
|
+
paginateDescribeReservedDBInstances,
|
|
432
|
+
paginateDescribeReservedDBInstancesOfferings,
|
|
433
|
+
paginateDescribeSourceRegions,
|
|
434
|
+
paginateDescribeTenantDatabases,
|
|
435
|
+
paginateDownloadDBLogFilePortion,
|
|
395
436
|
PromoteReadReplicaCommand,
|
|
396
437
|
type PromoteReadReplicaCommandInput,
|
|
397
438
|
type PromoteReadReplicaCommandOutput,
|
|
@@ -494,12 +535,14 @@ import {
|
|
|
494
535
|
type SwitchoverReadReplicaCommandInput,
|
|
495
536
|
type SwitchoverReadReplicaCommandOutput,
|
|
496
537
|
} from "@aws-sdk/client-rds";
|
|
497
|
-
import
|
|
498
|
-
import
|
|
538
|
+
import * as Service from "@effect-aws/commons/Service";
|
|
539
|
+
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
540
|
+
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
499
541
|
import type * as Cause from "effect/Cause";
|
|
500
542
|
import * as Effect from "effect/Effect";
|
|
501
543
|
import * as Layer from "effect/Layer";
|
|
502
544
|
import * as ServiceMap from "effect/ServiceMap";
|
|
545
|
+
import type * as Stream from "effect/Stream";
|
|
503
546
|
import type {
|
|
504
547
|
AuthorizationAlreadyExistsFaultError,
|
|
505
548
|
AuthorizationNotFoundFaultError,
|
|
@@ -819,9 +862,51 @@ const commands = {
|
|
|
819
862
|
SwitchoverReadReplicaCommand,
|
|
820
863
|
};
|
|
821
864
|
|
|
822
|
-
|
|
823
|
-
|
|
865
|
+
const paginators = {
|
|
866
|
+
paginateDescribeBlueGreenDeployments,
|
|
867
|
+
paginateDescribeCertificates,
|
|
868
|
+
paginateDescribeDBClusterAutomatedBackups,
|
|
869
|
+
paginateDescribeDBClusterBacktracks,
|
|
870
|
+
paginateDescribeDBClusterEndpoints,
|
|
871
|
+
paginateDescribeDBClusterParameterGroups,
|
|
872
|
+
paginateDescribeDBClusterParameters,
|
|
873
|
+
paginateDescribeDBClusterSnapshots,
|
|
874
|
+
paginateDescribeDBClusters,
|
|
875
|
+
paginateDescribeDBEngineVersions,
|
|
876
|
+
paginateDescribeDBInstanceAutomatedBackups,
|
|
877
|
+
paginateDescribeDBInstances,
|
|
878
|
+
paginateDescribeDBLogFiles,
|
|
879
|
+
paginateDescribeDBMajorEngineVersions,
|
|
880
|
+
paginateDescribeDBParameterGroups,
|
|
881
|
+
paginateDescribeDBParameters,
|
|
882
|
+
paginateDescribeDBProxies,
|
|
883
|
+
paginateDescribeDBProxyEndpoints,
|
|
884
|
+
paginateDescribeDBProxyTargetGroups,
|
|
885
|
+
paginateDescribeDBProxyTargets,
|
|
886
|
+
paginateDescribeDBRecommendations,
|
|
887
|
+
paginateDescribeDBSecurityGroups,
|
|
888
|
+
paginateDescribeDBSnapshotTenantDatabases,
|
|
889
|
+
paginateDescribeDBSnapshots,
|
|
890
|
+
paginateDescribeDBSubnetGroups,
|
|
891
|
+
paginateDescribeEngineDefaultClusterParameters,
|
|
892
|
+
paginateDescribeEngineDefaultParameters,
|
|
893
|
+
paginateDescribeEventSubscriptions,
|
|
894
|
+
paginateDescribeEvents,
|
|
895
|
+
paginateDescribeExportTasks,
|
|
896
|
+
paginateDescribeGlobalClusters,
|
|
897
|
+
paginateDescribeIntegrations,
|
|
898
|
+
paginateDescribeOptionGroupOptions,
|
|
899
|
+
paginateDescribeOptionGroups,
|
|
900
|
+
paginateDescribeOrderableDBInstanceOptions,
|
|
901
|
+
paginateDescribePendingMaintenanceActions,
|
|
902
|
+
paginateDescribeReservedDBInstances,
|
|
903
|
+
paginateDescribeReservedDBInstancesOfferings,
|
|
904
|
+
paginateDescribeSourceRegions,
|
|
905
|
+
paginateDescribeTenantDatabases,
|
|
906
|
+
paginateDownloadDBLogFilePortion,
|
|
907
|
+
};
|
|
824
908
|
|
|
909
|
+
export interface RDSService$ {
|
|
825
910
|
/**
|
|
826
911
|
* @see {@link AddRoleToDBClusterCommand}
|
|
827
912
|
*/
|
|
@@ -1727,6 +1812,14 @@ interface RDSService$ {
|
|
|
1727
1812
|
Cause.TimeoutError | SdkError | BlueGreenDeploymentNotFoundFaultError
|
|
1728
1813
|
>;
|
|
1729
1814
|
|
|
1815
|
+
describeBlueGreenDeploymentsStream(
|
|
1816
|
+
args: DescribeBlueGreenDeploymentsCommandInput,
|
|
1817
|
+
options?: HttpHandlerOptions,
|
|
1818
|
+
): Stream.Stream<
|
|
1819
|
+
DescribeBlueGreenDeploymentsCommandOutput,
|
|
1820
|
+
Cause.TimeoutError | SdkError | BlueGreenDeploymentNotFoundFaultError
|
|
1821
|
+
>;
|
|
1822
|
+
|
|
1730
1823
|
/**
|
|
1731
1824
|
* @see {@link DescribeCertificatesCommand}
|
|
1732
1825
|
*/
|
|
@@ -1738,6 +1831,11 @@ interface RDSService$ {
|
|
|
1738
1831
|
Cause.TimeoutError | SdkError | CertificateNotFoundFaultError
|
|
1739
1832
|
>;
|
|
1740
1833
|
|
|
1834
|
+
describeCertificatesStream(
|
|
1835
|
+
args: DescribeCertificatesCommandInput,
|
|
1836
|
+
options?: HttpHandlerOptions,
|
|
1837
|
+
): Stream.Stream<DescribeCertificatesCommandOutput, Cause.TimeoutError | SdkError | CertificateNotFoundFaultError>;
|
|
1838
|
+
|
|
1741
1839
|
/**
|
|
1742
1840
|
* @see {@link DescribeDBClusterAutomatedBackupsCommand}
|
|
1743
1841
|
*/
|
|
@@ -1749,6 +1847,14 @@ interface RDSService$ {
|
|
|
1749
1847
|
Cause.TimeoutError | SdkError | DBClusterAutomatedBackupNotFoundFaultError
|
|
1750
1848
|
>;
|
|
1751
1849
|
|
|
1850
|
+
describeDBClusterAutomatedBackupsStream(
|
|
1851
|
+
args: DescribeDBClusterAutomatedBackupsCommandInput,
|
|
1852
|
+
options?: HttpHandlerOptions,
|
|
1853
|
+
): Stream.Stream<
|
|
1854
|
+
DescribeDBClusterAutomatedBackupsCommandOutput,
|
|
1855
|
+
Cause.TimeoutError | SdkError | DBClusterAutomatedBackupNotFoundFaultError
|
|
1856
|
+
>;
|
|
1857
|
+
|
|
1752
1858
|
/**
|
|
1753
1859
|
* @see {@link DescribeDBClusterBacktracksCommand}
|
|
1754
1860
|
*/
|
|
@@ -1760,6 +1866,14 @@ interface RDSService$ {
|
|
|
1760
1866
|
Cause.TimeoutError | SdkError | DBClusterBacktrackNotFoundFaultError | DBClusterNotFoundFaultError
|
|
1761
1867
|
>;
|
|
1762
1868
|
|
|
1869
|
+
describeDBClusterBacktracksStream(
|
|
1870
|
+
args: DescribeDBClusterBacktracksCommandInput,
|
|
1871
|
+
options?: HttpHandlerOptions,
|
|
1872
|
+
): Stream.Stream<
|
|
1873
|
+
DescribeDBClusterBacktracksCommandOutput,
|
|
1874
|
+
Cause.TimeoutError | SdkError | DBClusterBacktrackNotFoundFaultError | DBClusterNotFoundFaultError
|
|
1875
|
+
>;
|
|
1876
|
+
|
|
1763
1877
|
/**
|
|
1764
1878
|
* @see {@link DescribeDBClusterEndpointsCommand}
|
|
1765
1879
|
*/
|
|
@@ -1771,6 +1885,14 @@ interface RDSService$ {
|
|
|
1771
1885
|
Cause.TimeoutError | SdkError | DBClusterNotFoundFaultError
|
|
1772
1886
|
>;
|
|
1773
1887
|
|
|
1888
|
+
describeDBClusterEndpointsStream(
|
|
1889
|
+
args: DescribeDBClusterEndpointsCommandInput,
|
|
1890
|
+
options?: HttpHandlerOptions,
|
|
1891
|
+
): Stream.Stream<
|
|
1892
|
+
DescribeDBClusterEndpointsCommandOutput,
|
|
1893
|
+
Cause.TimeoutError | SdkError | DBClusterNotFoundFaultError
|
|
1894
|
+
>;
|
|
1895
|
+
|
|
1774
1896
|
/**
|
|
1775
1897
|
* @see {@link DescribeDBClusterParameterGroupsCommand}
|
|
1776
1898
|
*/
|
|
@@ -1782,6 +1904,14 @@ interface RDSService$ {
|
|
|
1782
1904
|
Cause.TimeoutError | SdkError | DBParameterGroupNotFoundFaultError
|
|
1783
1905
|
>;
|
|
1784
1906
|
|
|
1907
|
+
describeDBClusterParameterGroupsStream(
|
|
1908
|
+
args: DescribeDBClusterParameterGroupsCommandInput,
|
|
1909
|
+
options?: HttpHandlerOptions,
|
|
1910
|
+
): Stream.Stream<
|
|
1911
|
+
DescribeDBClusterParameterGroupsCommandOutput,
|
|
1912
|
+
Cause.TimeoutError | SdkError | DBParameterGroupNotFoundFaultError
|
|
1913
|
+
>;
|
|
1914
|
+
|
|
1785
1915
|
/**
|
|
1786
1916
|
* @see {@link DescribeDBClusterParametersCommand}
|
|
1787
1917
|
*/
|
|
@@ -1793,6 +1923,14 @@ interface RDSService$ {
|
|
|
1793
1923
|
Cause.TimeoutError | SdkError | DBParameterGroupNotFoundFaultError
|
|
1794
1924
|
>;
|
|
1795
1925
|
|
|
1926
|
+
describeDBClusterParametersStream(
|
|
1927
|
+
args: DescribeDBClusterParametersCommandInput,
|
|
1928
|
+
options?: HttpHandlerOptions,
|
|
1929
|
+
): Stream.Stream<
|
|
1930
|
+
DescribeDBClusterParametersCommandOutput,
|
|
1931
|
+
Cause.TimeoutError | SdkError | DBParameterGroupNotFoundFaultError
|
|
1932
|
+
>;
|
|
1933
|
+
|
|
1796
1934
|
/**
|
|
1797
1935
|
* @see {@link DescribeDBClusterSnapshotAttributesCommand}
|
|
1798
1936
|
*/
|
|
@@ -1815,6 +1953,14 @@ interface RDSService$ {
|
|
|
1815
1953
|
Cause.TimeoutError | SdkError | DBClusterSnapshotNotFoundFaultError
|
|
1816
1954
|
>;
|
|
1817
1955
|
|
|
1956
|
+
describeDBClusterSnapshotsStream(
|
|
1957
|
+
args: DescribeDBClusterSnapshotsCommandInput,
|
|
1958
|
+
options?: HttpHandlerOptions,
|
|
1959
|
+
): Stream.Stream<
|
|
1960
|
+
DescribeDBClusterSnapshotsCommandOutput,
|
|
1961
|
+
Cause.TimeoutError | SdkError | DBClusterSnapshotNotFoundFaultError
|
|
1962
|
+
>;
|
|
1963
|
+
|
|
1818
1964
|
/**
|
|
1819
1965
|
* @see {@link DescribeDBClustersCommand}
|
|
1820
1966
|
*/
|
|
@@ -1826,6 +1972,11 @@ interface RDSService$ {
|
|
|
1826
1972
|
Cause.TimeoutError | SdkError | DBClusterNotFoundFaultError
|
|
1827
1973
|
>;
|
|
1828
1974
|
|
|
1975
|
+
describeDBClustersStream(
|
|
1976
|
+
args: DescribeDBClustersCommandInput,
|
|
1977
|
+
options?: HttpHandlerOptions,
|
|
1978
|
+
): Stream.Stream<DescribeDBClustersCommandOutput, Cause.TimeoutError | SdkError | DBClusterNotFoundFaultError>;
|
|
1979
|
+
|
|
1829
1980
|
/**
|
|
1830
1981
|
* @see {@link DescribeDBEngineVersionsCommand}
|
|
1831
1982
|
*/
|
|
@@ -1837,6 +1988,11 @@ interface RDSService$ {
|
|
|
1837
1988
|
Cause.TimeoutError | SdkError
|
|
1838
1989
|
>;
|
|
1839
1990
|
|
|
1991
|
+
describeDBEngineVersionsStream(
|
|
1992
|
+
args: DescribeDBEngineVersionsCommandInput,
|
|
1993
|
+
options?: HttpHandlerOptions,
|
|
1994
|
+
): Stream.Stream<DescribeDBEngineVersionsCommandOutput, Cause.TimeoutError | SdkError>;
|
|
1995
|
+
|
|
1840
1996
|
/**
|
|
1841
1997
|
* @see {@link DescribeDBInstanceAutomatedBackupsCommand}
|
|
1842
1998
|
*/
|
|
@@ -1848,6 +2004,14 @@ interface RDSService$ {
|
|
|
1848
2004
|
Cause.TimeoutError | SdkError | DBInstanceAutomatedBackupNotFoundFaultError
|
|
1849
2005
|
>;
|
|
1850
2006
|
|
|
2007
|
+
describeDBInstanceAutomatedBackupsStream(
|
|
2008
|
+
args: DescribeDBInstanceAutomatedBackupsCommandInput,
|
|
2009
|
+
options?: HttpHandlerOptions,
|
|
2010
|
+
): Stream.Stream<
|
|
2011
|
+
DescribeDBInstanceAutomatedBackupsCommandOutput,
|
|
2012
|
+
Cause.TimeoutError | SdkError | DBInstanceAutomatedBackupNotFoundFaultError
|
|
2013
|
+
>;
|
|
2014
|
+
|
|
1851
2015
|
/**
|
|
1852
2016
|
* @see {@link DescribeDBInstancesCommand}
|
|
1853
2017
|
*/
|
|
@@ -1859,6 +2023,11 @@ interface RDSService$ {
|
|
|
1859
2023
|
Cause.TimeoutError | SdkError | DBInstanceNotFoundFaultError
|
|
1860
2024
|
>;
|
|
1861
2025
|
|
|
2026
|
+
describeDBInstancesStream(
|
|
2027
|
+
args: DescribeDBInstancesCommandInput,
|
|
2028
|
+
options?: HttpHandlerOptions,
|
|
2029
|
+
): Stream.Stream<DescribeDBInstancesCommandOutput, Cause.TimeoutError | SdkError | DBInstanceNotFoundFaultError>;
|
|
2030
|
+
|
|
1862
2031
|
/**
|
|
1863
2032
|
* @see {@link DescribeDBLogFilesCommand}
|
|
1864
2033
|
*/
|
|
@@ -1870,6 +2039,14 @@ interface RDSService$ {
|
|
|
1870
2039
|
Cause.TimeoutError | SdkError | DBInstanceNotFoundFaultError | DBInstanceNotReadyFaultError
|
|
1871
2040
|
>;
|
|
1872
2041
|
|
|
2042
|
+
describeDBLogFilesStream(
|
|
2043
|
+
args: DescribeDBLogFilesCommandInput,
|
|
2044
|
+
options?: HttpHandlerOptions,
|
|
2045
|
+
): Stream.Stream<
|
|
2046
|
+
DescribeDBLogFilesCommandOutput,
|
|
2047
|
+
Cause.TimeoutError | SdkError | DBInstanceNotFoundFaultError | DBInstanceNotReadyFaultError
|
|
2048
|
+
>;
|
|
2049
|
+
|
|
1873
2050
|
/**
|
|
1874
2051
|
* @see {@link DescribeDBMajorEngineVersionsCommand}
|
|
1875
2052
|
*/
|
|
@@ -1881,6 +2058,11 @@ interface RDSService$ {
|
|
|
1881
2058
|
Cause.TimeoutError | SdkError
|
|
1882
2059
|
>;
|
|
1883
2060
|
|
|
2061
|
+
describeDBMajorEngineVersionsStream(
|
|
2062
|
+
args: DescribeDBMajorEngineVersionsCommandInput,
|
|
2063
|
+
options?: HttpHandlerOptions,
|
|
2064
|
+
): Stream.Stream<DescribeDBMajorEngineVersionsCommandOutput, Cause.TimeoutError | SdkError>;
|
|
2065
|
+
|
|
1884
2066
|
/**
|
|
1885
2067
|
* @see {@link DescribeDBParameterGroupsCommand}
|
|
1886
2068
|
*/
|
|
@@ -1892,6 +2074,14 @@ interface RDSService$ {
|
|
|
1892
2074
|
Cause.TimeoutError | SdkError | DBParameterGroupNotFoundFaultError
|
|
1893
2075
|
>;
|
|
1894
2076
|
|
|
2077
|
+
describeDBParameterGroupsStream(
|
|
2078
|
+
args: DescribeDBParameterGroupsCommandInput,
|
|
2079
|
+
options?: HttpHandlerOptions,
|
|
2080
|
+
): Stream.Stream<
|
|
2081
|
+
DescribeDBParameterGroupsCommandOutput,
|
|
2082
|
+
Cause.TimeoutError | SdkError | DBParameterGroupNotFoundFaultError
|
|
2083
|
+
>;
|
|
2084
|
+
|
|
1895
2085
|
/**
|
|
1896
2086
|
* @see {@link DescribeDBParametersCommand}
|
|
1897
2087
|
*/
|
|
@@ -1903,6 +2093,14 @@ interface RDSService$ {
|
|
|
1903
2093
|
Cause.TimeoutError | SdkError | DBParameterGroupNotFoundFaultError
|
|
1904
2094
|
>;
|
|
1905
2095
|
|
|
2096
|
+
describeDBParametersStream(
|
|
2097
|
+
args: DescribeDBParametersCommandInput,
|
|
2098
|
+
options?: HttpHandlerOptions,
|
|
2099
|
+
): Stream.Stream<
|
|
2100
|
+
DescribeDBParametersCommandOutput,
|
|
2101
|
+
Cause.TimeoutError | SdkError | DBParameterGroupNotFoundFaultError
|
|
2102
|
+
>;
|
|
2103
|
+
|
|
1906
2104
|
/**
|
|
1907
2105
|
* @see {@link DescribeDBProxiesCommand}
|
|
1908
2106
|
*/
|
|
@@ -1914,6 +2112,11 @@ interface RDSService$ {
|
|
|
1914
2112
|
Cause.TimeoutError | SdkError | DBProxyNotFoundFaultError
|
|
1915
2113
|
>;
|
|
1916
2114
|
|
|
2115
|
+
describeDBProxiesStream(
|
|
2116
|
+
args: DescribeDBProxiesCommandInput,
|
|
2117
|
+
options?: HttpHandlerOptions,
|
|
2118
|
+
): Stream.Stream<DescribeDBProxiesCommandOutput, Cause.TimeoutError | SdkError | DBProxyNotFoundFaultError>;
|
|
2119
|
+
|
|
1917
2120
|
/**
|
|
1918
2121
|
* @see {@link DescribeDBProxyEndpointsCommand}
|
|
1919
2122
|
*/
|
|
@@ -1925,6 +2128,14 @@ interface RDSService$ {
|
|
|
1925
2128
|
Cause.TimeoutError | SdkError | DBProxyEndpointNotFoundFaultError | DBProxyNotFoundFaultError
|
|
1926
2129
|
>;
|
|
1927
2130
|
|
|
2131
|
+
describeDBProxyEndpointsStream(
|
|
2132
|
+
args: DescribeDBProxyEndpointsCommandInput,
|
|
2133
|
+
options?: HttpHandlerOptions,
|
|
2134
|
+
): Stream.Stream<
|
|
2135
|
+
DescribeDBProxyEndpointsCommandOutput,
|
|
2136
|
+
Cause.TimeoutError | SdkError | DBProxyEndpointNotFoundFaultError | DBProxyNotFoundFaultError
|
|
2137
|
+
>;
|
|
2138
|
+
|
|
1928
2139
|
/**
|
|
1929
2140
|
* @see {@link DescribeDBProxyTargetGroupsCommand}
|
|
1930
2141
|
*/
|
|
@@ -1940,6 +2151,18 @@ interface RDSService$ {
|
|
|
1940
2151
|
| InvalidDBProxyStateFaultError
|
|
1941
2152
|
>;
|
|
1942
2153
|
|
|
2154
|
+
describeDBProxyTargetGroupsStream(
|
|
2155
|
+
args: DescribeDBProxyTargetGroupsCommandInput,
|
|
2156
|
+
options?: HttpHandlerOptions,
|
|
2157
|
+
): Stream.Stream<
|
|
2158
|
+
DescribeDBProxyTargetGroupsCommandOutput,
|
|
2159
|
+
| Cause.TimeoutError
|
|
2160
|
+
| SdkError
|
|
2161
|
+
| DBProxyNotFoundFaultError
|
|
2162
|
+
| DBProxyTargetGroupNotFoundFaultError
|
|
2163
|
+
| InvalidDBProxyStateFaultError
|
|
2164
|
+
>;
|
|
2165
|
+
|
|
1943
2166
|
/**
|
|
1944
2167
|
* @see {@link DescribeDBProxyTargetsCommand}
|
|
1945
2168
|
*/
|
|
@@ -1956,6 +2179,19 @@ interface RDSService$ {
|
|
|
1956
2179
|
| InvalidDBProxyStateFaultError
|
|
1957
2180
|
>;
|
|
1958
2181
|
|
|
2182
|
+
describeDBProxyTargetsStream(
|
|
2183
|
+
args: DescribeDBProxyTargetsCommandInput,
|
|
2184
|
+
options?: HttpHandlerOptions,
|
|
2185
|
+
): Stream.Stream<
|
|
2186
|
+
DescribeDBProxyTargetsCommandOutput,
|
|
2187
|
+
| Cause.TimeoutError
|
|
2188
|
+
| SdkError
|
|
2189
|
+
| DBProxyNotFoundFaultError
|
|
2190
|
+
| DBProxyTargetGroupNotFoundFaultError
|
|
2191
|
+
| DBProxyTargetNotFoundFaultError
|
|
2192
|
+
| InvalidDBProxyStateFaultError
|
|
2193
|
+
>;
|
|
2194
|
+
|
|
1959
2195
|
/**
|
|
1960
2196
|
* @see {@link DescribeDBRecommendationsCommand}
|
|
1961
2197
|
*/
|
|
@@ -1967,6 +2203,11 @@ interface RDSService$ {
|
|
|
1967
2203
|
Cause.TimeoutError | SdkError
|
|
1968
2204
|
>;
|
|
1969
2205
|
|
|
2206
|
+
describeDBRecommendationsStream(
|
|
2207
|
+
args: DescribeDBRecommendationsCommandInput,
|
|
2208
|
+
options?: HttpHandlerOptions,
|
|
2209
|
+
): Stream.Stream<DescribeDBRecommendationsCommandOutput, Cause.TimeoutError | SdkError>;
|
|
2210
|
+
|
|
1970
2211
|
/**
|
|
1971
2212
|
* @see {@link DescribeDBSecurityGroupsCommand}
|
|
1972
2213
|
*/
|
|
@@ -1978,6 +2219,14 @@ interface RDSService$ {
|
|
|
1978
2219
|
Cause.TimeoutError | SdkError | DBSecurityGroupNotFoundFaultError
|
|
1979
2220
|
>;
|
|
1980
2221
|
|
|
2222
|
+
describeDBSecurityGroupsStream(
|
|
2223
|
+
args: DescribeDBSecurityGroupsCommandInput,
|
|
2224
|
+
options?: HttpHandlerOptions,
|
|
2225
|
+
): Stream.Stream<
|
|
2226
|
+
DescribeDBSecurityGroupsCommandOutput,
|
|
2227
|
+
Cause.TimeoutError | SdkError | DBSecurityGroupNotFoundFaultError
|
|
2228
|
+
>;
|
|
2229
|
+
|
|
1981
2230
|
/**
|
|
1982
2231
|
* @see {@link DescribeDBShardGroupsCommand}
|
|
1983
2232
|
*/
|
|
@@ -2011,6 +2260,14 @@ interface RDSService$ {
|
|
|
2011
2260
|
Cause.TimeoutError | SdkError | DBSnapshotNotFoundFaultError
|
|
2012
2261
|
>;
|
|
2013
2262
|
|
|
2263
|
+
describeDBSnapshotTenantDatabasesStream(
|
|
2264
|
+
args: DescribeDBSnapshotTenantDatabasesCommandInput,
|
|
2265
|
+
options?: HttpHandlerOptions,
|
|
2266
|
+
): Stream.Stream<
|
|
2267
|
+
DescribeDBSnapshotTenantDatabasesCommandOutput,
|
|
2268
|
+
Cause.TimeoutError | SdkError | DBSnapshotNotFoundFaultError
|
|
2269
|
+
>;
|
|
2270
|
+
|
|
2014
2271
|
/**
|
|
2015
2272
|
* @see {@link DescribeDBSnapshotsCommand}
|
|
2016
2273
|
*/
|
|
@@ -2022,6 +2279,11 @@ interface RDSService$ {
|
|
|
2022
2279
|
Cause.TimeoutError | SdkError | DBSnapshotNotFoundFaultError
|
|
2023
2280
|
>;
|
|
2024
2281
|
|
|
2282
|
+
describeDBSnapshotsStream(
|
|
2283
|
+
args: DescribeDBSnapshotsCommandInput,
|
|
2284
|
+
options?: HttpHandlerOptions,
|
|
2285
|
+
): Stream.Stream<DescribeDBSnapshotsCommandOutput, Cause.TimeoutError | SdkError | DBSnapshotNotFoundFaultError>;
|
|
2286
|
+
|
|
2025
2287
|
/**
|
|
2026
2288
|
* @see {@link DescribeDBSubnetGroupsCommand}
|
|
2027
2289
|
*/
|
|
@@ -2033,6 +2295,14 @@ interface RDSService$ {
|
|
|
2033
2295
|
Cause.TimeoutError | SdkError | DBSubnetGroupNotFoundFaultError
|
|
2034
2296
|
>;
|
|
2035
2297
|
|
|
2298
|
+
describeDBSubnetGroupsStream(
|
|
2299
|
+
args: DescribeDBSubnetGroupsCommandInput,
|
|
2300
|
+
options?: HttpHandlerOptions,
|
|
2301
|
+
): Stream.Stream<
|
|
2302
|
+
DescribeDBSubnetGroupsCommandOutput,
|
|
2303
|
+
Cause.TimeoutError | SdkError | DBSubnetGroupNotFoundFaultError
|
|
2304
|
+
>;
|
|
2305
|
+
|
|
2036
2306
|
/**
|
|
2037
2307
|
* @see {@link DescribeEngineDefaultClusterParametersCommand}
|
|
2038
2308
|
*/
|
|
@@ -2044,6 +2314,11 @@ interface RDSService$ {
|
|
|
2044
2314
|
Cause.TimeoutError | SdkError
|
|
2045
2315
|
>;
|
|
2046
2316
|
|
|
2317
|
+
describeEngineDefaultClusterParametersStream(
|
|
2318
|
+
args: DescribeEngineDefaultClusterParametersCommandInput,
|
|
2319
|
+
options?: HttpHandlerOptions,
|
|
2320
|
+
): Stream.Stream<DescribeEngineDefaultClusterParametersCommandOutput, Cause.TimeoutError | SdkError>;
|
|
2321
|
+
|
|
2047
2322
|
/**
|
|
2048
2323
|
* @see {@link DescribeEngineDefaultParametersCommand}
|
|
2049
2324
|
*/
|
|
@@ -2055,6 +2330,11 @@ interface RDSService$ {
|
|
|
2055
2330
|
Cause.TimeoutError | SdkError
|
|
2056
2331
|
>;
|
|
2057
2332
|
|
|
2333
|
+
describeEngineDefaultParametersStream(
|
|
2334
|
+
args: DescribeEngineDefaultParametersCommandInput,
|
|
2335
|
+
options?: HttpHandlerOptions,
|
|
2336
|
+
): Stream.Stream<DescribeEngineDefaultParametersCommandOutput, Cause.TimeoutError | SdkError>;
|
|
2337
|
+
|
|
2058
2338
|
/**
|
|
2059
2339
|
* @see {@link DescribeEventCategoriesCommand}
|
|
2060
2340
|
*/
|
|
@@ -2077,6 +2357,14 @@ interface RDSService$ {
|
|
|
2077
2357
|
Cause.TimeoutError | SdkError | SubscriptionNotFoundFaultError
|
|
2078
2358
|
>;
|
|
2079
2359
|
|
|
2360
|
+
describeEventSubscriptionsStream(
|
|
2361
|
+
args: DescribeEventSubscriptionsCommandInput,
|
|
2362
|
+
options?: HttpHandlerOptions,
|
|
2363
|
+
): Stream.Stream<
|
|
2364
|
+
DescribeEventSubscriptionsCommandOutput,
|
|
2365
|
+
Cause.TimeoutError | SdkError | SubscriptionNotFoundFaultError
|
|
2366
|
+
>;
|
|
2367
|
+
|
|
2080
2368
|
/**
|
|
2081
2369
|
* @see {@link DescribeEventsCommand}
|
|
2082
2370
|
*/
|
|
@@ -2088,6 +2376,11 @@ interface RDSService$ {
|
|
|
2088
2376
|
Cause.TimeoutError | SdkError
|
|
2089
2377
|
>;
|
|
2090
2378
|
|
|
2379
|
+
describeEventsStream(
|
|
2380
|
+
args: DescribeEventsCommandInput,
|
|
2381
|
+
options?: HttpHandlerOptions,
|
|
2382
|
+
): Stream.Stream<DescribeEventsCommandOutput, Cause.TimeoutError | SdkError>;
|
|
2383
|
+
|
|
2091
2384
|
/**
|
|
2092
2385
|
* @see {@link DescribeExportTasksCommand}
|
|
2093
2386
|
*/
|
|
@@ -2099,6 +2392,11 @@ interface RDSService$ {
|
|
|
2099
2392
|
Cause.TimeoutError | SdkError | ExportTaskNotFoundFaultError
|
|
2100
2393
|
>;
|
|
2101
2394
|
|
|
2395
|
+
describeExportTasksStream(
|
|
2396
|
+
args: DescribeExportTasksCommandInput,
|
|
2397
|
+
options?: HttpHandlerOptions,
|
|
2398
|
+
): Stream.Stream<DescribeExportTasksCommandOutput, Cause.TimeoutError | SdkError | ExportTaskNotFoundFaultError>;
|
|
2399
|
+
|
|
2102
2400
|
/**
|
|
2103
2401
|
* @see {@link DescribeGlobalClustersCommand}
|
|
2104
2402
|
*/
|
|
@@ -2110,6 +2408,14 @@ interface RDSService$ {
|
|
|
2110
2408
|
Cause.TimeoutError | SdkError | GlobalClusterNotFoundFaultError
|
|
2111
2409
|
>;
|
|
2112
2410
|
|
|
2411
|
+
describeGlobalClustersStream(
|
|
2412
|
+
args: DescribeGlobalClustersCommandInput,
|
|
2413
|
+
options?: HttpHandlerOptions,
|
|
2414
|
+
): Stream.Stream<
|
|
2415
|
+
DescribeGlobalClustersCommandOutput,
|
|
2416
|
+
Cause.TimeoutError | SdkError | GlobalClusterNotFoundFaultError
|
|
2417
|
+
>;
|
|
2418
|
+
|
|
2113
2419
|
/**
|
|
2114
2420
|
* @see {@link DescribeIntegrationsCommand}
|
|
2115
2421
|
*/
|
|
@@ -2121,6 +2427,11 @@ interface RDSService$ {
|
|
|
2121
2427
|
Cause.TimeoutError | SdkError | IntegrationNotFoundFaultError
|
|
2122
2428
|
>;
|
|
2123
2429
|
|
|
2430
|
+
describeIntegrationsStream(
|
|
2431
|
+
args: DescribeIntegrationsCommandInput,
|
|
2432
|
+
options?: HttpHandlerOptions,
|
|
2433
|
+
): Stream.Stream<DescribeIntegrationsCommandOutput, Cause.TimeoutError | SdkError | IntegrationNotFoundFaultError>;
|
|
2434
|
+
|
|
2124
2435
|
/**
|
|
2125
2436
|
* @see {@link DescribeOptionGroupOptionsCommand}
|
|
2126
2437
|
*/
|
|
@@ -2132,6 +2443,11 @@ interface RDSService$ {
|
|
|
2132
2443
|
Cause.TimeoutError | SdkError
|
|
2133
2444
|
>;
|
|
2134
2445
|
|
|
2446
|
+
describeOptionGroupOptionsStream(
|
|
2447
|
+
args: DescribeOptionGroupOptionsCommandInput,
|
|
2448
|
+
options?: HttpHandlerOptions,
|
|
2449
|
+
): Stream.Stream<DescribeOptionGroupOptionsCommandOutput, Cause.TimeoutError | SdkError>;
|
|
2450
|
+
|
|
2135
2451
|
/**
|
|
2136
2452
|
* @see {@link DescribeOptionGroupsCommand}
|
|
2137
2453
|
*/
|
|
@@ -2143,6 +2459,11 @@ interface RDSService$ {
|
|
|
2143
2459
|
Cause.TimeoutError | SdkError | OptionGroupNotFoundFaultError
|
|
2144
2460
|
>;
|
|
2145
2461
|
|
|
2462
|
+
describeOptionGroupsStream(
|
|
2463
|
+
args: DescribeOptionGroupsCommandInput,
|
|
2464
|
+
options?: HttpHandlerOptions,
|
|
2465
|
+
): Stream.Stream<DescribeOptionGroupsCommandOutput, Cause.TimeoutError | SdkError | OptionGroupNotFoundFaultError>;
|
|
2466
|
+
|
|
2146
2467
|
/**
|
|
2147
2468
|
* @see {@link DescribeOrderableDBInstanceOptionsCommand}
|
|
2148
2469
|
*/
|
|
@@ -2154,6 +2475,11 @@ interface RDSService$ {
|
|
|
2154
2475
|
Cause.TimeoutError | SdkError
|
|
2155
2476
|
>;
|
|
2156
2477
|
|
|
2478
|
+
describeOrderableDBInstanceOptionsStream(
|
|
2479
|
+
args: DescribeOrderableDBInstanceOptionsCommandInput,
|
|
2480
|
+
options?: HttpHandlerOptions,
|
|
2481
|
+
): Stream.Stream<DescribeOrderableDBInstanceOptionsCommandOutput, Cause.TimeoutError | SdkError>;
|
|
2482
|
+
|
|
2157
2483
|
/**
|
|
2158
2484
|
* @see {@link DescribePendingMaintenanceActionsCommand}
|
|
2159
2485
|
*/
|
|
@@ -2165,6 +2491,14 @@ interface RDSService$ {
|
|
|
2165
2491
|
Cause.TimeoutError | SdkError | ResourceNotFoundFaultError
|
|
2166
2492
|
>;
|
|
2167
2493
|
|
|
2494
|
+
describePendingMaintenanceActionsStream(
|
|
2495
|
+
args: DescribePendingMaintenanceActionsCommandInput,
|
|
2496
|
+
options?: HttpHandlerOptions,
|
|
2497
|
+
): Stream.Stream<
|
|
2498
|
+
DescribePendingMaintenanceActionsCommandOutput,
|
|
2499
|
+
Cause.TimeoutError | SdkError | ResourceNotFoundFaultError
|
|
2500
|
+
>;
|
|
2501
|
+
|
|
2168
2502
|
/**
|
|
2169
2503
|
* @see {@link DescribeReservedDBInstancesCommand}
|
|
2170
2504
|
*/
|
|
@@ -2176,6 +2510,14 @@ interface RDSService$ {
|
|
|
2176
2510
|
Cause.TimeoutError | SdkError | ReservedDBInstanceNotFoundFaultError
|
|
2177
2511
|
>;
|
|
2178
2512
|
|
|
2513
|
+
describeReservedDBInstancesStream(
|
|
2514
|
+
args: DescribeReservedDBInstancesCommandInput,
|
|
2515
|
+
options?: HttpHandlerOptions,
|
|
2516
|
+
): Stream.Stream<
|
|
2517
|
+
DescribeReservedDBInstancesCommandOutput,
|
|
2518
|
+
Cause.TimeoutError | SdkError | ReservedDBInstanceNotFoundFaultError
|
|
2519
|
+
>;
|
|
2520
|
+
|
|
2179
2521
|
/**
|
|
2180
2522
|
* @see {@link DescribeReservedDBInstancesOfferingsCommand}
|
|
2181
2523
|
*/
|
|
@@ -2187,6 +2529,14 @@ interface RDSService$ {
|
|
|
2187
2529
|
Cause.TimeoutError | SdkError | ReservedDBInstancesOfferingNotFoundFaultError
|
|
2188
2530
|
>;
|
|
2189
2531
|
|
|
2532
|
+
describeReservedDBInstancesOfferingsStream(
|
|
2533
|
+
args: DescribeReservedDBInstancesOfferingsCommandInput,
|
|
2534
|
+
options?: HttpHandlerOptions,
|
|
2535
|
+
): Stream.Stream<
|
|
2536
|
+
DescribeReservedDBInstancesOfferingsCommandOutput,
|
|
2537
|
+
Cause.TimeoutError | SdkError | ReservedDBInstancesOfferingNotFoundFaultError
|
|
2538
|
+
>;
|
|
2539
|
+
|
|
2190
2540
|
/**
|
|
2191
2541
|
* @see {@link DescribeSourceRegionsCommand}
|
|
2192
2542
|
*/
|
|
@@ -2198,6 +2548,11 @@ interface RDSService$ {
|
|
|
2198
2548
|
Cause.TimeoutError | SdkError
|
|
2199
2549
|
>;
|
|
2200
2550
|
|
|
2551
|
+
describeSourceRegionsStream(
|
|
2552
|
+
args: DescribeSourceRegionsCommandInput,
|
|
2553
|
+
options?: HttpHandlerOptions,
|
|
2554
|
+
): Stream.Stream<DescribeSourceRegionsCommandOutput, Cause.TimeoutError | SdkError>;
|
|
2555
|
+
|
|
2201
2556
|
/**
|
|
2202
2557
|
* @see {@link DescribeTenantDatabasesCommand}
|
|
2203
2558
|
*/
|
|
@@ -2209,6 +2564,11 @@ interface RDSService$ {
|
|
|
2209
2564
|
Cause.TimeoutError | SdkError | DBInstanceNotFoundFaultError
|
|
2210
2565
|
>;
|
|
2211
2566
|
|
|
2567
|
+
describeTenantDatabasesStream(
|
|
2568
|
+
args: DescribeTenantDatabasesCommandInput,
|
|
2569
|
+
options?: HttpHandlerOptions,
|
|
2570
|
+
): Stream.Stream<DescribeTenantDatabasesCommandOutput, Cause.TimeoutError | SdkError | DBInstanceNotFoundFaultError>;
|
|
2571
|
+
|
|
2212
2572
|
/**
|
|
2213
2573
|
* @see {@link DescribeValidDBInstanceModificationsCommand}
|
|
2214
2574
|
*/
|
|
@@ -2246,6 +2606,18 @@ interface RDSService$ {
|
|
|
2246
2606
|
| DBLogFileNotFoundFaultError
|
|
2247
2607
|
>;
|
|
2248
2608
|
|
|
2609
|
+
downloadDBLogFilePortionStream(
|
|
2610
|
+
args: DownloadDBLogFilePortionCommandInput,
|
|
2611
|
+
options?: HttpHandlerOptions,
|
|
2612
|
+
): Stream.Stream<
|
|
2613
|
+
DownloadDBLogFilePortionCommandOutput,
|
|
2614
|
+
| Cause.TimeoutError
|
|
2615
|
+
| SdkError
|
|
2616
|
+
| DBInstanceNotFoundFaultError
|
|
2617
|
+
| DBInstanceNotReadyFaultError
|
|
2618
|
+
| DBLogFileNotFoundFaultError
|
|
2619
|
+
>;
|
|
2620
|
+
|
|
2249
2621
|
/**
|
|
2250
2622
|
* @see {@link EnableHttpEndpointCommand}
|
|
2251
2623
|
*/
|
|
@@ -3323,6 +3695,7 @@ export const makeRDSService = Effect.gen(function*() {
|
|
|
3323
3695
|
errorTags: AllServiceErrors,
|
|
3324
3696
|
resolveClientConfig: RDSServiceConfig.toRDSClientConfig,
|
|
3325
3697
|
},
|
|
3698
|
+
paginators,
|
|
3326
3699
|
);
|
|
3327
3700
|
});
|
|
3328
3701
|
|
package/src/RDSServiceConfig.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import type { RDSClientConfig } from "@aws-sdk/client-rds";
|
|
5
|
-
import
|
|
5
|
+
import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
6
|
import * as Effect from "effect/Effect";
|
|
7
7
|
import { dual } from "effect/Function";
|
|
8
8
|
import * as Layer from "effect/Layer";
|