@effect-aws/client-bedrock 1.10.8 → 1.11.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/dist/cjs/BedrockClientInstance.d.ts +3 -1
- package/dist/cjs/BedrockClientInstance.d.ts.map +1 -1
- package/dist/cjs/BedrockClientInstance.js +6 -4
- package/dist/cjs/BedrockClientInstance.js.map +1 -1
- package/dist/cjs/BedrockService.d.ts +25 -4
- package/dist/cjs/BedrockService.d.ts.map +1 -1
- package/dist/cjs/BedrockService.js +30 -9
- package/dist/cjs/BedrockService.js.map +1 -1
- package/dist/cjs/BedrockServiceConfig.d.ts +2 -1
- package/dist/cjs/BedrockServiceConfig.d.ts.map +1 -1
- package/dist/cjs/BedrockServiceConfig.js +34 -9
- package/dist/cjs/BedrockServiceConfig.js.map +1 -1
- package/dist/cjs/Errors.d.ts +1 -1
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/dts/BedrockClientInstance.d.ts +3 -1
- package/dist/dts/BedrockClientInstance.d.ts.map +1 -1
- package/dist/dts/BedrockService.d.ts +25 -4
- package/dist/dts/BedrockService.d.ts.map +1 -1
- package/dist/dts/BedrockServiceConfig.d.ts +2 -1
- package/dist/dts/BedrockServiceConfig.d.ts.map +1 -1
- package/dist/dts/Errors.d.ts +1 -1
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/esm/BedrockClientInstance.js +3 -1
- package/dist/esm/BedrockClientInstance.js.map +1 -1
- package/dist/esm/BedrockService.js +25 -4
- package/dist/esm/BedrockService.js.map +1 -1
- package/dist/esm/BedrockServiceConfig.js +4 -2
- package/dist/esm/BedrockServiceConfig.js.map +1 -1
- package/package.json +2 -2
- package/src/BedrockClientInstance.ts +3 -1
- package/src/BedrockService.ts +241 -4
- package/src/BedrockServiceConfig.ts +4 -2
- package/src/Errors.ts +1 -1
package/src/BedrockService.ts
CHANGED
|
@@ -244,6 +244,24 @@ import {
|
|
|
244
244
|
ListTagsForResourceCommand,
|
|
245
245
|
type ListTagsForResourceCommandInput,
|
|
246
246
|
type ListTagsForResourceCommandOutput,
|
|
247
|
+
paginateListAutomatedReasoningPolicies,
|
|
248
|
+
paginateListAutomatedReasoningPolicyBuildWorkflows,
|
|
249
|
+
paginateListAutomatedReasoningPolicyTestCases,
|
|
250
|
+
paginateListAutomatedReasoningPolicyTestResults,
|
|
251
|
+
paginateListCustomModelDeployments,
|
|
252
|
+
paginateListCustomModels,
|
|
253
|
+
paginateListEnforcedGuardrailsConfiguration,
|
|
254
|
+
paginateListEvaluationJobs,
|
|
255
|
+
paginateListGuardrails,
|
|
256
|
+
paginateListImportedModels,
|
|
257
|
+
paginateListInferenceProfiles,
|
|
258
|
+
paginateListMarketplaceModelEndpoints,
|
|
259
|
+
paginateListModelCopyJobs,
|
|
260
|
+
paginateListModelCustomizationJobs,
|
|
261
|
+
paginateListModelImportJobs,
|
|
262
|
+
paginateListModelInvocationJobs,
|
|
263
|
+
paginateListPromptRouters,
|
|
264
|
+
paginateListProvisionedModelThroughputs,
|
|
247
265
|
PutEnforcedGuardrailConfigurationCommand,
|
|
248
266
|
type PutEnforcedGuardrailConfigurationCommandInput,
|
|
249
267
|
type PutEnforcedGuardrailConfigurationCommandOutput,
|
|
@@ -299,10 +317,13 @@ import {
|
|
|
299
317
|
type UpdateProvisionedModelThroughputCommandInput,
|
|
300
318
|
type UpdateProvisionedModelThroughputCommandOutput,
|
|
301
319
|
} from "@aws-sdk/client-bedrock";
|
|
302
|
-
import
|
|
303
|
-
import
|
|
304
|
-
import type {
|
|
305
|
-
import
|
|
320
|
+
import * as Service from "@effect-aws/commons/Service";
|
|
321
|
+
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
322
|
+
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
323
|
+
import type * as Cause from "effect/Cause";
|
|
324
|
+
import * as Effect from "effect/Effect";
|
|
325
|
+
import * as Layer from "effect/Layer";
|
|
326
|
+
import type * as Stream from "effect/Stream";
|
|
306
327
|
import * as Instance from "./BedrockClientInstance.js";
|
|
307
328
|
import * as BedrockServiceConfig from "./BedrockServiceConfig.js";
|
|
308
329
|
import type {
|
|
@@ -421,6 +442,27 @@ const commands = {
|
|
|
421
442
|
UpdateProvisionedModelThroughputCommand,
|
|
422
443
|
};
|
|
423
444
|
|
|
445
|
+
const paginators = {
|
|
446
|
+
paginateListAutomatedReasoningPolicies,
|
|
447
|
+
paginateListAutomatedReasoningPolicyBuildWorkflows,
|
|
448
|
+
paginateListAutomatedReasoningPolicyTestCases,
|
|
449
|
+
paginateListAutomatedReasoningPolicyTestResults,
|
|
450
|
+
paginateListCustomModelDeployments,
|
|
451
|
+
paginateListCustomModels,
|
|
452
|
+
paginateListEnforcedGuardrailsConfiguration,
|
|
453
|
+
paginateListEvaluationJobs,
|
|
454
|
+
paginateListGuardrails,
|
|
455
|
+
paginateListImportedModels,
|
|
456
|
+
paginateListInferenceProfiles,
|
|
457
|
+
paginateListMarketplaceModelEndpoints,
|
|
458
|
+
paginateListModelCopyJobs,
|
|
459
|
+
paginateListModelCustomizationJobs,
|
|
460
|
+
paginateListModelImportJobs,
|
|
461
|
+
paginateListModelInvocationJobs,
|
|
462
|
+
paginateListPromptRouters,
|
|
463
|
+
paginateListProvisionedModelThroughputs,
|
|
464
|
+
};
|
|
465
|
+
|
|
424
466
|
interface BedrockService$ {
|
|
425
467
|
readonly _: unique symbol;
|
|
426
468
|
|
|
@@ -927,6 +969,7 @@ interface BedrockService$ {
|
|
|
927
969
|
| AccessDeniedError
|
|
928
970
|
| ConflictError
|
|
929
971
|
| InternalServerError
|
|
972
|
+
| ResourceInUseError
|
|
930
973
|
| ResourceNotFoundError
|
|
931
974
|
| ThrottlingError
|
|
932
975
|
| ValidationError
|
|
@@ -1479,6 +1522,20 @@ interface BedrockService$ {
|
|
|
1479
1522
|
| ValidationError
|
|
1480
1523
|
>;
|
|
1481
1524
|
|
|
1525
|
+
listAutomatedReasoningPoliciesStream(
|
|
1526
|
+
args: ListAutomatedReasoningPoliciesCommandInput,
|
|
1527
|
+
options?: HttpHandlerOptions,
|
|
1528
|
+
): Stream.Stream<
|
|
1529
|
+
ListAutomatedReasoningPoliciesCommandOutput,
|
|
1530
|
+
| Cause.TimeoutException
|
|
1531
|
+
| SdkError
|
|
1532
|
+
| AccessDeniedError
|
|
1533
|
+
| InternalServerError
|
|
1534
|
+
| ResourceNotFoundError
|
|
1535
|
+
| ThrottlingError
|
|
1536
|
+
| ValidationError
|
|
1537
|
+
>;
|
|
1538
|
+
|
|
1482
1539
|
/**
|
|
1483
1540
|
* @see {@link ListAutomatedReasoningPolicyBuildWorkflowsCommand}
|
|
1484
1541
|
*/
|
|
@@ -1496,6 +1553,20 @@ interface BedrockService$ {
|
|
|
1496
1553
|
| ValidationError
|
|
1497
1554
|
>;
|
|
1498
1555
|
|
|
1556
|
+
listAutomatedReasoningPolicyBuildWorkflowsStream(
|
|
1557
|
+
args: ListAutomatedReasoningPolicyBuildWorkflowsCommandInput,
|
|
1558
|
+
options?: HttpHandlerOptions,
|
|
1559
|
+
): Stream.Stream<
|
|
1560
|
+
ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput,
|
|
1561
|
+
| Cause.TimeoutException
|
|
1562
|
+
| SdkError
|
|
1563
|
+
| AccessDeniedError
|
|
1564
|
+
| InternalServerError
|
|
1565
|
+
| ResourceNotFoundError
|
|
1566
|
+
| ThrottlingError
|
|
1567
|
+
| ValidationError
|
|
1568
|
+
>;
|
|
1569
|
+
|
|
1499
1570
|
/**
|
|
1500
1571
|
* @see {@link ListAutomatedReasoningPolicyTestCasesCommand}
|
|
1501
1572
|
*/
|
|
@@ -1513,6 +1584,20 @@ interface BedrockService$ {
|
|
|
1513
1584
|
| ValidationError
|
|
1514
1585
|
>;
|
|
1515
1586
|
|
|
1587
|
+
listAutomatedReasoningPolicyTestCasesStream(
|
|
1588
|
+
args: ListAutomatedReasoningPolicyTestCasesCommandInput,
|
|
1589
|
+
options?: HttpHandlerOptions,
|
|
1590
|
+
): Stream.Stream<
|
|
1591
|
+
ListAutomatedReasoningPolicyTestCasesCommandOutput,
|
|
1592
|
+
| Cause.TimeoutException
|
|
1593
|
+
| SdkError
|
|
1594
|
+
| AccessDeniedError
|
|
1595
|
+
| InternalServerError
|
|
1596
|
+
| ResourceNotFoundError
|
|
1597
|
+
| ThrottlingError
|
|
1598
|
+
| ValidationError
|
|
1599
|
+
>;
|
|
1600
|
+
|
|
1516
1601
|
/**
|
|
1517
1602
|
* @see {@link ListAutomatedReasoningPolicyTestResultsCommand}
|
|
1518
1603
|
*/
|
|
@@ -1531,6 +1616,21 @@ interface BedrockService$ {
|
|
|
1531
1616
|
| ValidationError
|
|
1532
1617
|
>;
|
|
1533
1618
|
|
|
1619
|
+
listAutomatedReasoningPolicyTestResultsStream(
|
|
1620
|
+
args: ListAutomatedReasoningPolicyTestResultsCommandInput,
|
|
1621
|
+
options?: HttpHandlerOptions,
|
|
1622
|
+
): Stream.Stream<
|
|
1623
|
+
ListAutomatedReasoningPolicyTestResultsCommandOutput,
|
|
1624
|
+
| Cause.TimeoutException
|
|
1625
|
+
| SdkError
|
|
1626
|
+
| AccessDeniedError
|
|
1627
|
+
| InternalServerError
|
|
1628
|
+
| ResourceNotFoundError
|
|
1629
|
+
| ServiceQuotaExceededError
|
|
1630
|
+
| ThrottlingError
|
|
1631
|
+
| ValidationError
|
|
1632
|
+
>;
|
|
1633
|
+
|
|
1534
1634
|
/**
|
|
1535
1635
|
* @see {@link ListCustomModelDeploymentsCommand}
|
|
1536
1636
|
*/
|
|
@@ -1542,6 +1642,14 @@ interface BedrockService$ {
|
|
|
1542
1642
|
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1543
1643
|
>;
|
|
1544
1644
|
|
|
1645
|
+
listCustomModelDeploymentsStream(
|
|
1646
|
+
args: ListCustomModelDeploymentsCommandInput,
|
|
1647
|
+
options?: HttpHandlerOptions,
|
|
1648
|
+
): Stream.Stream<
|
|
1649
|
+
ListCustomModelDeploymentsCommandOutput,
|
|
1650
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1651
|
+
>;
|
|
1652
|
+
|
|
1545
1653
|
/**
|
|
1546
1654
|
* @see {@link ListCustomModelsCommand}
|
|
1547
1655
|
*/
|
|
@@ -1553,6 +1661,14 @@ interface BedrockService$ {
|
|
|
1553
1661
|
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1554
1662
|
>;
|
|
1555
1663
|
|
|
1664
|
+
listCustomModelsStream(
|
|
1665
|
+
args: ListCustomModelsCommandInput,
|
|
1666
|
+
options?: HttpHandlerOptions,
|
|
1667
|
+
): Stream.Stream<
|
|
1668
|
+
ListCustomModelsCommandOutput,
|
|
1669
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1670
|
+
>;
|
|
1671
|
+
|
|
1556
1672
|
/**
|
|
1557
1673
|
* @see {@link ListEnforcedGuardrailsConfigurationCommand}
|
|
1558
1674
|
*/
|
|
@@ -1570,6 +1686,20 @@ interface BedrockService$ {
|
|
|
1570
1686
|
| ValidationError
|
|
1571
1687
|
>;
|
|
1572
1688
|
|
|
1689
|
+
listEnforcedGuardrailsConfigurationStream(
|
|
1690
|
+
args: ListEnforcedGuardrailsConfigurationCommandInput,
|
|
1691
|
+
options?: HttpHandlerOptions,
|
|
1692
|
+
): Stream.Stream<
|
|
1693
|
+
ListEnforcedGuardrailsConfigurationCommandOutput,
|
|
1694
|
+
| Cause.TimeoutException
|
|
1695
|
+
| SdkError
|
|
1696
|
+
| AccessDeniedError
|
|
1697
|
+
| InternalServerError
|
|
1698
|
+
| ResourceNotFoundError
|
|
1699
|
+
| ThrottlingError
|
|
1700
|
+
| ValidationError
|
|
1701
|
+
>;
|
|
1702
|
+
|
|
1573
1703
|
/**
|
|
1574
1704
|
* @see {@link ListEvaluationJobsCommand}
|
|
1575
1705
|
*/
|
|
@@ -1581,6 +1711,14 @@ interface BedrockService$ {
|
|
|
1581
1711
|
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1582
1712
|
>;
|
|
1583
1713
|
|
|
1714
|
+
listEvaluationJobsStream(
|
|
1715
|
+
args: ListEvaluationJobsCommandInput,
|
|
1716
|
+
options?: HttpHandlerOptions,
|
|
1717
|
+
): Stream.Stream<
|
|
1718
|
+
ListEvaluationJobsCommandOutput,
|
|
1719
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1720
|
+
>;
|
|
1721
|
+
|
|
1584
1722
|
/**
|
|
1585
1723
|
* @see {@link ListFoundationModelAgreementOffersCommand}
|
|
1586
1724
|
*/
|
|
@@ -1626,6 +1764,20 @@ interface BedrockService$ {
|
|
|
1626
1764
|
| ValidationError
|
|
1627
1765
|
>;
|
|
1628
1766
|
|
|
1767
|
+
listGuardrailsStream(
|
|
1768
|
+
args: ListGuardrailsCommandInput,
|
|
1769
|
+
options?: HttpHandlerOptions,
|
|
1770
|
+
): Stream.Stream<
|
|
1771
|
+
ListGuardrailsCommandOutput,
|
|
1772
|
+
| Cause.TimeoutException
|
|
1773
|
+
| SdkError
|
|
1774
|
+
| AccessDeniedError
|
|
1775
|
+
| InternalServerError
|
|
1776
|
+
| ResourceNotFoundError
|
|
1777
|
+
| ThrottlingError
|
|
1778
|
+
| ValidationError
|
|
1779
|
+
>;
|
|
1780
|
+
|
|
1629
1781
|
/**
|
|
1630
1782
|
* @see {@link ListImportedModelsCommand}
|
|
1631
1783
|
*/
|
|
@@ -1637,6 +1789,14 @@ interface BedrockService$ {
|
|
|
1637
1789
|
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1638
1790
|
>;
|
|
1639
1791
|
|
|
1792
|
+
listImportedModelsStream(
|
|
1793
|
+
args: ListImportedModelsCommandInput,
|
|
1794
|
+
options?: HttpHandlerOptions,
|
|
1795
|
+
): Stream.Stream<
|
|
1796
|
+
ListImportedModelsCommandOutput,
|
|
1797
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1798
|
+
>;
|
|
1799
|
+
|
|
1640
1800
|
/**
|
|
1641
1801
|
* @see {@link ListInferenceProfilesCommand}
|
|
1642
1802
|
*/
|
|
@@ -1648,6 +1808,14 @@ interface BedrockService$ {
|
|
|
1648
1808
|
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1649
1809
|
>;
|
|
1650
1810
|
|
|
1811
|
+
listInferenceProfilesStream(
|
|
1812
|
+
args: ListInferenceProfilesCommandInput,
|
|
1813
|
+
options?: HttpHandlerOptions,
|
|
1814
|
+
): Stream.Stream<
|
|
1815
|
+
ListInferenceProfilesCommandOutput,
|
|
1816
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1817
|
+
>;
|
|
1818
|
+
|
|
1651
1819
|
/**
|
|
1652
1820
|
* @see {@link ListMarketplaceModelEndpointsCommand}
|
|
1653
1821
|
*/
|
|
@@ -1665,6 +1833,20 @@ interface BedrockService$ {
|
|
|
1665
1833
|
| ValidationError
|
|
1666
1834
|
>;
|
|
1667
1835
|
|
|
1836
|
+
listMarketplaceModelEndpointsStream(
|
|
1837
|
+
args: ListMarketplaceModelEndpointsCommandInput,
|
|
1838
|
+
options?: HttpHandlerOptions,
|
|
1839
|
+
): Stream.Stream<
|
|
1840
|
+
ListMarketplaceModelEndpointsCommandOutput,
|
|
1841
|
+
| Cause.TimeoutException
|
|
1842
|
+
| SdkError
|
|
1843
|
+
| AccessDeniedError
|
|
1844
|
+
| InternalServerError
|
|
1845
|
+
| ResourceNotFoundError
|
|
1846
|
+
| ThrottlingError
|
|
1847
|
+
| ValidationError
|
|
1848
|
+
>;
|
|
1849
|
+
|
|
1668
1850
|
/**
|
|
1669
1851
|
* @see {@link ListModelCopyJobsCommand}
|
|
1670
1852
|
*/
|
|
@@ -1682,6 +1864,20 @@ interface BedrockService$ {
|
|
|
1682
1864
|
| ValidationError
|
|
1683
1865
|
>;
|
|
1684
1866
|
|
|
1867
|
+
listModelCopyJobsStream(
|
|
1868
|
+
args: ListModelCopyJobsCommandInput,
|
|
1869
|
+
options?: HttpHandlerOptions,
|
|
1870
|
+
): Stream.Stream<
|
|
1871
|
+
ListModelCopyJobsCommandOutput,
|
|
1872
|
+
| Cause.TimeoutException
|
|
1873
|
+
| SdkError
|
|
1874
|
+
| AccessDeniedError
|
|
1875
|
+
| InternalServerError
|
|
1876
|
+
| ResourceNotFoundError
|
|
1877
|
+
| ThrottlingError
|
|
1878
|
+
| ValidationError
|
|
1879
|
+
>;
|
|
1880
|
+
|
|
1685
1881
|
/**
|
|
1686
1882
|
* @see {@link ListModelCustomizationJobsCommand}
|
|
1687
1883
|
*/
|
|
@@ -1693,6 +1889,14 @@ interface BedrockService$ {
|
|
|
1693
1889
|
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1694
1890
|
>;
|
|
1695
1891
|
|
|
1892
|
+
listModelCustomizationJobsStream(
|
|
1893
|
+
args: ListModelCustomizationJobsCommandInput,
|
|
1894
|
+
options?: HttpHandlerOptions,
|
|
1895
|
+
): Stream.Stream<
|
|
1896
|
+
ListModelCustomizationJobsCommandOutput,
|
|
1897
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1898
|
+
>;
|
|
1899
|
+
|
|
1696
1900
|
/**
|
|
1697
1901
|
* @see {@link ListModelImportJobsCommand}
|
|
1698
1902
|
*/
|
|
@@ -1704,6 +1908,14 @@ interface BedrockService$ {
|
|
|
1704
1908
|
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1705
1909
|
>;
|
|
1706
1910
|
|
|
1911
|
+
listModelImportJobsStream(
|
|
1912
|
+
args: ListModelImportJobsCommandInput,
|
|
1913
|
+
options?: HttpHandlerOptions,
|
|
1914
|
+
): Stream.Stream<
|
|
1915
|
+
ListModelImportJobsCommandOutput,
|
|
1916
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1917
|
+
>;
|
|
1918
|
+
|
|
1707
1919
|
/**
|
|
1708
1920
|
* @see {@link ListModelInvocationJobsCommand}
|
|
1709
1921
|
*/
|
|
@@ -1715,6 +1927,14 @@ interface BedrockService$ {
|
|
|
1715
1927
|
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1716
1928
|
>;
|
|
1717
1929
|
|
|
1930
|
+
listModelInvocationJobsStream(
|
|
1931
|
+
args: ListModelInvocationJobsCommandInput,
|
|
1932
|
+
options?: HttpHandlerOptions,
|
|
1933
|
+
): Stream.Stream<
|
|
1934
|
+
ListModelInvocationJobsCommandOutput,
|
|
1935
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1936
|
+
>;
|
|
1937
|
+
|
|
1718
1938
|
/**
|
|
1719
1939
|
* @see {@link ListPromptRoutersCommand}
|
|
1720
1940
|
*/
|
|
@@ -1726,6 +1946,14 @@ interface BedrockService$ {
|
|
|
1726
1946
|
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1727
1947
|
>;
|
|
1728
1948
|
|
|
1949
|
+
listPromptRoutersStream(
|
|
1950
|
+
args: ListPromptRoutersCommandInput,
|
|
1951
|
+
options?: HttpHandlerOptions,
|
|
1952
|
+
): Stream.Stream<
|
|
1953
|
+
ListPromptRoutersCommandOutput,
|
|
1954
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1955
|
+
>;
|
|
1956
|
+
|
|
1729
1957
|
/**
|
|
1730
1958
|
* @see {@link ListProvisionedModelThroughputsCommand}
|
|
1731
1959
|
*/
|
|
@@ -1737,6 +1965,14 @@ interface BedrockService$ {
|
|
|
1737
1965
|
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1738
1966
|
>;
|
|
1739
1967
|
|
|
1968
|
+
listProvisionedModelThroughputsStream(
|
|
1969
|
+
args: ListProvisionedModelThroughputsCommandInput,
|
|
1970
|
+
options?: HttpHandlerOptions,
|
|
1971
|
+
): Stream.Stream<
|
|
1972
|
+
ListProvisionedModelThroughputsCommandOutput,
|
|
1973
|
+
Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1974
|
+
>;
|
|
1975
|
+
|
|
1740
1976
|
/**
|
|
1741
1977
|
* @see {@link ListTagsForResourceCommand}
|
|
1742
1978
|
*/
|
|
@@ -2082,6 +2318,7 @@ export const makeBedrockService = Effect.gen(function*() {
|
|
|
2082
2318
|
errorTags: AllServiceErrors,
|
|
2083
2319
|
resolveClientConfig: BedrockServiceConfig.toBedrockClientConfig,
|
|
2084
2320
|
},
|
|
2321
|
+
paginators,
|
|
2085
2322
|
);
|
|
2086
2323
|
});
|
|
2087
2324
|
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as FiberRef from "effect/FiberRef";
|
|
7
8
|
import { dual } from "effect/Function";
|
|
8
9
|
import { globalValue } from "effect/GlobalValue";
|
|
10
|
+
import * as Layer from "effect/Layer";
|
|
9
11
|
import type { BedrockService } from "./BedrockService.js";
|
|
10
12
|
|
|
11
13
|
/**
|
package/src/Errors.ts
CHANGED
|
@@ -10,7 +10,7 @@ import type {
|
|
|
10
10
|
TooManyTagsException,
|
|
11
11
|
ValidationException,
|
|
12
12
|
} from "@aws-sdk/client-bedrock";
|
|
13
|
-
import type { TaggedException } from "@effect-aws/commons";
|
|
13
|
+
import type { TaggedException } from "@effect-aws/commons/Errors";
|
|
14
14
|
|
|
15
15
|
export const AllServiceErrors = [
|
|
16
16
|
"AccessDeniedException",
|