@aws-sdk/client-bedrock 3.974.0 → 3.978.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/index.js +57 -37
- package/dist-es/Bedrock.js +39 -1
- package/dist-types/Bedrock.d.ts +127 -1
- package/dist-types/ts3.4/Bedrock.d.ts +131 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -5488,6 +5488,42 @@ class UpdateProvisionedModelThroughputCommand extends smithyClient.Command
|
|
|
5488
5488
|
.build() {
|
|
5489
5489
|
}
|
|
5490
5490
|
|
|
5491
|
+
const paginateListAutomatedReasoningPolicies = core.createPaginator(BedrockClient, ListAutomatedReasoningPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
5492
|
+
|
|
5493
|
+
const paginateListAutomatedReasoningPolicyBuildWorkflows = core.createPaginator(BedrockClient, ListAutomatedReasoningPolicyBuildWorkflowsCommand, "nextToken", "nextToken", "maxResults");
|
|
5494
|
+
|
|
5495
|
+
const paginateListAutomatedReasoningPolicyTestCases = core.createPaginator(BedrockClient, ListAutomatedReasoningPolicyTestCasesCommand, "nextToken", "nextToken", "maxResults");
|
|
5496
|
+
|
|
5497
|
+
const paginateListAutomatedReasoningPolicyTestResults = core.createPaginator(BedrockClient, ListAutomatedReasoningPolicyTestResultsCommand, "nextToken", "nextToken", "maxResults");
|
|
5498
|
+
|
|
5499
|
+
const paginateListCustomModelDeployments = core.createPaginator(BedrockClient, ListCustomModelDeploymentsCommand, "nextToken", "nextToken", "maxResults");
|
|
5500
|
+
|
|
5501
|
+
const paginateListCustomModels = core.createPaginator(BedrockClient, ListCustomModelsCommand, "nextToken", "nextToken", "maxResults");
|
|
5502
|
+
|
|
5503
|
+
const paginateListEnforcedGuardrailsConfiguration = core.createPaginator(BedrockClient, ListEnforcedGuardrailsConfigurationCommand, "nextToken", "nextToken", "");
|
|
5504
|
+
|
|
5505
|
+
const paginateListEvaluationJobs = core.createPaginator(BedrockClient, ListEvaluationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5506
|
+
|
|
5507
|
+
const paginateListGuardrails = core.createPaginator(BedrockClient, ListGuardrailsCommand, "nextToken", "nextToken", "maxResults");
|
|
5508
|
+
|
|
5509
|
+
const paginateListImportedModels = core.createPaginator(BedrockClient, ListImportedModelsCommand, "nextToken", "nextToken", "maxResults");
|
|
5510
|
+
|
|
5511
|
+
const paginateListInferenceProfiles = core.createPaginator(BedrockClient, ListInferenceProfilesCommand, "nextToken", "nextToken", "maxResults");
|
|
5512
|
+
|
|
5513
|
+
const paginateListMarketplaceModelEndpoints = core.createPaginator(BedrockClient, ListMarketplaceModelEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
5514
|
+
|
|
5515
|
+
const paginateListModelCopyJobs = core.createPaginator(BedrockClient, ListModelCopyJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5516
|
+
|
|
5517
|
+
const paginateListModelCustomizationJobs = core.createPaginator(BedrockClient, ListModelCustomizationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5518
|
+
|
|
5519
|
+
const paginateListModelImportJobs = core.createPaginator(BedrockClient, ListModelImportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5520
|
+
|
|
5521
|
+
const paginateListModelInvocationJobs = core.createPaginator(BedrockClient, ListModelInvocationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5522
|
+
|
|
5523
|
+
const paginateListPromptRouters = core.createPaginator(BedrockClient, ListPromptRoutersCommand, "nextToken", "nextToken", "maxResults");
|
|
5524
|
+
|
|
5525
|
+
const paginateListProvisionedModelThroughputs = core.createPaginator(BedrockClient, ListProvisionedModelThroughputsCommand, "nextToken", "nextToken", "maxResults");
|
|
5526
|
+
|
|
5491
5527
|
const commands = {
|
|
5492
5528
|
BatchDeleteEvaluationJobCommand,
|
|
5493
5529
|
CancelAutomatedReasoningPolicyBuildWorkflowCommand,
|
|
@@ -5588,45 +5624,29 @@ const commands = {
|
|
|
5588
5624
|
UpdateMarketplaceModelEndpointCommand,
|
|
5589
5625
|
UpdateProvisionedModelThroughputCommand,
|
|
5590
5626
|
};
|
|
5627
|
+
const paginators = {
|
|
5628
|
+
paginateListAutomatedReasoningPolicies,
|
|
5629
|
+
paginateListAutomatedReasoningPolicyBuildWorkflows,
|
|
5630
|
+
paginateListAutomatedReasoningPolicyTestCases,
|
|
5631
|
+
paginateListAutomatedReasoningPolicyTestResults,
|
|
5632
|
+
paginateListCustomModelDeployments,
|
|
5633
|
+
paginateListCustomModels,
|
|
5634
|
+
paginateListEnforcedGuardrailsConfiguration,
|
|
5635
|
+
paginateListEvaluationJobs,
|
|
5636
|
+
paginateListGuardrails,
|
|
5637
|
+
paginateListImportedModels,
|
|
5638
|
+
paginateListInferenceProfiles,
|
|
5639
|
+
paginateListMarketplaceModelEndpoints,
|
|
5640
|
+
paginateListModelCopyJobs,
|
|
5641
|
+
paginateListModelCustomizationJobs,
|
|
5642
|
+
paginateListModelImportJobs,
|
|
5643
|
+
paginateListModelInvocationJobs,
|
|
5644
|
+
paginateListPromptRouters,
|
|
5645
|
+
paginateListProvisionedModelThroughputs,
|
|
5646
|
+
};
|
|
5591
5647
|
class Bedrock extends BedrockClient {
|
|
5592
5648
|
}
|
|
5593
|
-
smithyClient.createAggregatedClient(commands, Bedrock);
|
|
5594
|
-
|
|
5595
|
-
const paginateListAutomatedReasoningPolicies = core.createPaginator(BedrockClient, ListAutomatedReasoningPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
5596
|
-
|
|
5597
|
-
const paginateListAutomatedReasoningPolicyBuildWorkflows = core.createPaginator(BedrockClient, ListAutomatedReasoningPolicyBuildWorkflowsCommand, "nextToken", "nextToken", "maxResults");
|
|
5598
|
-
|
|
5599
|
-
const paginateListAutomatedReasoningPolicyTestCases = core.createPaginator(BedrockClient, ListAutomatedReasoningPolicyTestCasesCommand, "nextToken", "nextToken", "maxResults");
|
|
5600
|
-
|
|
5601
|
-
const paginateListAutomatedReasoningPolicyTestResults = core.createPaginator(BedrockClient, ListAutomatedReasoningPolicyTestResultsCommand, "nextToken", "nextToken", "maxResults");
|
|
5602
|
-
|
|
5603
|
-
const paginateListCustomModelDeployments = core.createPaginator(BedrockClient, ListCustomModelDeploymentsCommand, "nextToken", "nextToken", "maxResults");
|
|
5604
|
-
|
|
5605
|
-
const paginateListCustomModels = core.createPaginator(BedrockClient, ListCustomModelsCommand, "nextToken", "nextToken", "maxResults");
|
|
5606
|
-
|
|
5607
|
-
const paginateListEnforcedGuardrailsConfiguration = core.createPaginator(BedrockClient, ListEnforcedGuardrailsConfigurationCommand, "nextToken", "nextToken", "");
|
|
5608
|
-
|
|
5609
|
-
const paginateListEvaluationJobs = core.createPaginator(BedrockClient, ListEvaluationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5610
|
-
|
|
5611
|
-
const paginateListGuardrails = core.createPaginator(BedrockClient, ListGuardrailsCommand, "nextToken", "nextToken", "maxResults");
|
|
5612
|
-
|
|
5613
|
-
const paginateListImportedModels = core.createPaginator(BedrockClient, ListImportedModelsCommand, "nextToken", "nextToken", "maxResults");
|
|
5614
|
-
|
|
5615
|
-
const paginateListInferenceProfiles = core.createPaginator(BedrockClient, ListInferenceProfilesCommand, "nextToken", "nextToken", "maxResults");
|
|
5616
|
-
|
|
5617
|
-
const paginateListMarketplaceModelEndpoints = core.createPaginator(BedrockClient, ListMarketplaceModelEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
5618
|
-
|
|
5619
|
-
const paginateListModelCopyJobs = core.createPaginator(BedrockClient, ListModelCopyJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5620
|
-
|
|
5621
|
-
const paginateListModelCustomizationJobs = core.createPaginator(BedrockClient, ListModelCustomizationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5622
|
-
|
|
5623
|
-
const paginateListModelImportJobs = core.createPaginator(BedrockClient, ListModelImportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5624
|
-
|
|
5625
|
-
const paginateListModelInvocationJobs = core.createPaginator(BedrockClient, ListModelInvocationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5626
|
-
|
|
5627
|
-
const paginateListPromptRouters = core.createPaginator(BedrockClient, ListPromptRoutersCommand, "nextToken", "nextToken", "maxResults");
|
|
5628
|
-
|
|
5629
|
-
const paginateListProvisionedModelThroughputs = core.createPaginator(BedrockClient, ListProvisionedModelThroughputsCommand, "nextToken", "nextToken", "maxResults");
|
|
5649
|
+
smithyClient.createAggregatedClient(commands, Bedrock, { paginators });
|
|
5630
5650
|
|
|
5631
5651
|
const InputTags = {
|
|
5632
5652
|
HONOR: "HONOR",
|
package/dist-es/Bedrock.js
CHANGED
|
@@ -98,6 +98,24 @@ import { UpdateCustomModelDeploymentCommand, } from "./commands/UpdateCustomMode
|
|
|
98
98
|
import { UpdateGuardrailCommand, } from "./commands/UpdateGuardrailCommand";
|
|
99
99
|
import { UpdateMarketplaceModelEndpointCommand, } from "./commands/UpdateMarketplaceModelEndpointCommand";
|
|
100
100
|
import { UpdateProvisionedModelThroughputCommand, } from "./commands/UpdateProvisionedModelThroughputCommand";
|
|
101
|
+
import { paginateListAutomatedReasoningPolicies } from "./pagination/ListAutomatedReasoningPoliciesPaginator";
|
|
102
|
+
import { paginateListAutomatedReasoningPolicyBuildWorkflows, } from "./pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator";
|
|
103
|
+
import { paginateListAutomatedReasoningPolicyTestCases, } from "./pagination/ListAutomatedReasoningPolicyTestCasesPaginator";
|
|
104
|
+
import { paginateListAutomatedReasoningPolicyTestResults, } from "./pagination/ListAutomatedReasoningPolicyTestResultsPaginator";
|
|
105
|
+
import { paginateListCustomModelDeployments } from "./pagination/ListCustomModelDeploymentsPaginator";
|
|
106
|
+
import { paginateListCustomModels } from "./pagination/ListCustomModelsPaginator";
|
|
107
|
+
import { paginateListEnforcedGuardrailsConfiguration } from "./pagination/ListEnforcedGuardrailsConfigurationPaginator";
|
|
108
|
+
import { paginateListEvaluationJobs } from "./pagination/ListEvaluationJobsPaginator";
|
|
109
|
+
import { paginateListGuardrails } from "./pagination/ListGuardrailsPaginator";
|
|
110
|
+
import { paginateListImportedModels } from "./pagination/ListImportedModelsPaginator";
|
|
111
|
+
import { paginateListInferenceProfiles } from "./pagination/ListInferenceProfilesPaginator";
|
|
112
|
+
import { paginateListMarketplaceModelEndpoints } from "./pagination/ListMarketplaceModelEndpointsPaginator";
|
|
113
|
+
import { paginateListModelCopyJobs } from "./pagination/ListModelCopyJobsPaginator";
|
|
114
|
+
import { paginateListModelCustomizationJobs } from "./pagination/ListModelCustomizationJobsPaginator";
|
|
115
|
+
import { paginateListModelImportJobs } from "./pagination/ListModelImportJobsPaginator";
|
|
116
|
+
import { paginateListModelInvocationJobs } from "./pagination/ListModelInvocationJobsPaginator";
|
|
117
|
+
import { paginateListPromptRouters } from "./pagination/ListPromptRoutersPaginator";
|
|
118
|
+
import { paginateListProvisionedModelThroughputs } from "./pagination/ListProvisionedModelThroughputsPaginator";
|
|
101
119
|
const commands = {
|
|
102
120
|
BatchDeleteEvaluationJobCommand,
|
|
103
121
|
CancelAutomatedReasoningPolicyBuildWorkflowCommand,
|
|
@@ -198,6 +216,26 @@ const commands = {
|
|
|
198
216
|
UpdateMarketplaceModelEndpointCommand,
|
|
199
217
|
UpdateProvisionedModelThroughputCommand,
|
|
200
218
|
};
|
|
219
|
+
const paginators = {
|
|
220
|
+
paginateListAutomatedReasoningPolicies,
|
|
221
|
+
paginateListAutomatedReasoningPolicyBuildWorkflows,
|
|
222
|
+
paginateListAutomatedReasoningPolicyTestCases,
|
|
223
|
+
paginateListAutomatedReasoningPolicyTestResults,
|
|
224
|
+
paginateListCustomModelDeployments,
|
|
225
|
+
paginateListCustomModels,
|
|
226
|
+
paginateListEnforcedGuardrailsConfiguration,
|
|
227
|
+
paginateListEvaluationJobs,
|
|
228
|
+
paginateListGuardrails,
|
|
229
|
+
paginateListImportedModels,
|
|
230
|
+
paginateListInferenceProfiles,
|
|
231
|
+
paginateListMarketplaceModelEndpoints,
|
|
232
|
+
paginateListModelCopyJobs,
|
|
233
|
+
paginateListModelCustomizationJobs,
|
|
234
|
+
paginateListModelImportJobs,
|
|
235
|
+
paginateListModelInvocationJobs,
|
|
236
|
+
paginateListPromptRouters,
|
|
237
|
+
paginateListProvisionedModelThroughputs,
|
|
238
|
+
};
|
|
201
239
|
export class Bedrock extends BedrockClient {
|
|
202
240
|
}
|
|
203
|
-
createAggregatedClient(commands, Bedrock);
|
|
241
|
+
createAggregatedClient(commands, Bedrock, { paginators });
|
package/dist-types/Bedrock.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BedrockClient } from "./BedrockClient";
|
|
3
3
|
import { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput } from "./commands/BatchDeleteEvaluationJobCommand";
|
|
4
4
|
import { CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
@@ -706,6 +706,132 @@ export interface Bedrock {
|
|
|
706
706
|
updateProvisionedModelThroughput(args: UpdateProvisionedModelThroughputCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProvisionedModelThroughputCommandOutput>;
|
|
707
707
|
updateProvisionedModelThroughput(args: UpdateProvisionedModelThroughputCommandInput, cb: (err: any, data?: UpdateProvisionedModelThroughputCommandOutput) => void): void;
|
|
708
708
|
updateProvisionedModelThroughput(args: UpdateProvisionedModelThroughputCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProvisionedModelThroughputCommandOutput) => void): void;
|
|
709
|
+
/**
|
|
710
|
+
* @see {@link ListAutomatedReasoningPoliciesCommand}
|
|
711
|
+
* @param args - command input.
|
|
712
|
+
* @param paginationConfig - optional pagination config.
|
|
713
|
+
* @returns AsyncIterable of {@link ListAutomatedReasoningPoliciesCommandOutput}.
|
|
714
|
+
*/
|
|
715
|
+
paginateListAutomatedReasoningPolicies(args?: ListAutomatedReasoningPoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAutomatedReasoningPoliciesCommandOutput>;
|
|
716
|
+
/**
|
|
717
|
+
* @see {@link ListAutomatedReasoningPolicyBuildWorkflowsCommand}
|
|
718
|
+
* @param args - command input.
|
|
719
|
+
* @param paginationConfig - optional pagination config.
|
|
720
|
+
* @returns AsyncIterable of {@link ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput}.
|
|
721
|
+
*/
|
|
722
|
+
paginateListAutomatedReasoningPolicyBuildWorkflows(args: ListAutomatedReasoningPolicyBuildWorkflowsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput>;
|
|
723
|
+
/**
|
|
724
|
+
* @see {@link ListAutomatedReasoningPolicyTestCasesCommand}
|
|
725
|
+
* @param args - command input.
|
|
726
|
+
* @param paginationConfig - optional pagination config.
|
|
727
|
+
* @returns AsyncIterable of {@link ListAutomatedReasoningPolicyTestCasesCommandOutput}.
|
|
728
|
+
*/
|
|
729
|
+
paginateListAutomatedReasoningPolicyTestCases(args: ListAutomatedReasoningPolicyTestCasesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAutomatedReasoningPolicyTestCasesCommandOutput>;
|
|
730
|
+
/**
|
|
731
|
+
* @see {@link ListAutomatedReasoningPolicyTestResultsCommand}
|
|
732
|
+
* @param args - command input.
|
|
733
|
+
* @param paginationConfig - optional pagination config.
|
|
734
|
+
* @returns AsyncIterable of {@link ListAutomatedReasoningPolicyTestResultsCommandOutput}.
|
|
735
|
+
*/
|
|
736
|
+
paginateListAutomatedReasoningPolicyTestResults(args: ListAutomatedReasoningPolicyTestResultsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAutomatedReasoningPolicyTestResultsCommandOutput>;
|
|
737
|
+
/**
|
|
738
|
+
* @see {@link ListCustomModelDeploymentsCommand}
|
|
739
|
+
* @param args - command input.
|
|
740
|
+
* @param paginationConfig - optional pagination config.
|
|
741
|
+
* @returns AsyncIterable of {@link ListCustomModelDeploymentsCommandOutput}.
|
|
742
|
+
*/
|
|
743
|
+
paginateListCustomModelDeployments(args?: ListCustomModelDeploymentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCustomModelDeploymentsCommandOutput>;
|
|
744
|
+
/**
|
|
745
|
+
* @see {@link ListCustomModelsCommand}
|
|
746
|
+
* @param args - command input.
|
|
747
|
+
* @param paginationConfig - optional pagination config.
|
|
748
|
+
* @returns AsyncIterable of {@link ListCustomModelsCommandOutput}.
|
|
749
|
+
*/
|
|
750
|
+
paginateListCustomModels(args?: ListCustomModelsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCustomModelsCommandOutput>;
|
|
751
|
+
/**
|
|
752
|
+
* @see {@link ListEnforcedGuardrailsConfigurationCommand}
|
|
753
|
+
* @param args - command input.
|
|
754
|
+
* @param paginationConfig - optional pagination config.
|
|
755
|
+
* @returns AsyncIterable of {@link ListEnforcedGuardrailsConfigurationCommandOutput}.
|
|
756
|
+
*/
|
|
757
|
+
paginateListEnforcedGuardrailsConfiguration(args?: ListEnforcedGuardrailsConfigurationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnforcedGuardrailsConfigurationCommandOutput>;
|
|
758
|
+
/**
|
|
759
|
+
* @see {@link ListEvaluationJobsCommand}
|
|
760
|
+
* @param args - command input.
|
|
761
|
+
* @param paginationConfig - optional pagination config.
|
|
762
|
+
* @returns AsyncIterable of {@link ListEvaluationJobsCommandOutput}.
|
|
763
|
+
*/
|
|
764
|
+
paginateListEvaluationJobs(args?: ListEvaluationJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEvaluationJobsCommandOutput>;
|
|
765
|
+
/**
|
|
766
|
+
* @see {@link ListGuardrailsCommand}
|
|
767
|
+
* @param args - command input.
|
|
768
|
+
* @param paginationConfig - optional pagination config.
|
|
769
|
+
* @returns AsyncIterable of {@link ListGuardrailsCommandOutput}.
|
|
770
|
+
*/
|
|
771
|
+
paginateListGuardrails(args?: ListGuardrailsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGuardrailsCommandOutput>;
|
|
772
|
+
/**
|
|
773
|
+
* @see {@link ListImportedModelsCommand}
|
|
774
|
+
* @param args - command input.
|
|
775
|
+
* @param paginationConfig - optional pagination config.
|
|
776
|
+
* @returns AsyncIterable of {@link ListImportedModelsCommandOutput}.
|
|
777
|
+
*/
|
|
778
|
+
paginateListImportedModels(args?: ListImportedModelsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListImportedModelsCommandOutput>;
|
|
779
|
+
/**
|
|
780
|
+
* @see {@link ListInferenceProfilesCommand}
|
|
781
|
+
* @param args - command input.
|
|
782
|
+
* @param paginationConfig - optional pagination config.
|
|
783
|
+
* @returns AsyncIterable of {@link ListInferenceProfilesCommandOutput}.
|
|
784
|
+
*/
|
|
785
|
+
paginateListInferenceProfiles(args?: ListInferenceProfilesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInferenceProfilesCommandOutput>;
|
|
786
|
+
/**
|
|
787
|
+
* @see {@link ListMarketplaceModelEndpointsCommand}
|
|
788
|
+
* @param args - command input.
|
|
789
|
+
* @param paginationConfig - optional pagination config.
|
|
790
|
+
* @returns AsyncIterable of {@link ListMarketplaceModelEndpointsCommandOutput}.
|
|
791
|
+
*/
|
|
792
|
+
paginateListMarketplaceModelEndpoints(args?: ListMarketplaceModelEndpointsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMarketplaceModelEndpointsCommandOutput>;
|
|
793
|
+
/**
|
|
794
|
+
* @see {@link ListModelCopyJobsCommand}
|
|
795
|
+
* @param args - command input.
|
|
796
|
+
* @param paginationConfig - optional pagination config.
|
|
797
|
+
* @returns AsyncIterable of {@link ListModelCopyJobsCommandOutput}.
|
|
798
|
+
*/
|
|
799
|
+
paginateListModelCopyJobs(args?: ListModelCopyJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListModelCopyJobsCommandOutput>;
|
|
800
|
+
/**
|
|
801
|
+
* @see {@link ListModelCustomizationJobsCommand}
|
|
802
|
+
* @param args - command input.
|
|
803
|
+
* @param paginationConfig - optional pagination config.
|
|
804
|
+
* @returns AsyncIterable of {@link ListModelCustomizationJobsCommandOutput}.
|
|
805
|
+
*/
|
|
806
|
+
paginateListModelCustomizationJobs(args?: ListModelCustomizationJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListModelCustomizationJobsCommandOutput>;
|
|
807
|
+
/**
|
|
808
|
+
* @see {@link ListModelImportJobsCommand}
|
|
809
|
+
* @param args - command input.
|
|
810
|
+
* @param paginationConfig - optional pagination config.
|
|
811
|
+
* @returns AsyncIterable of {@link ListModelImportJobsCommandOutput}.
|
|
812
|
+
*/
|
|
813
|
+
paginateListModelImportJobs(args?: ListModelImportJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListModelImportJobsCommandOutput>;
|
|
814
|
+
/**
|
|
815
|
+
* @see {@link ListModelInvocationJobsCommand}
|
|
816
|
+
* @param args - command input.
|
|
817
|
+
* @param paginationConfig - optional pagination config.
|
|
818
|
+
* @returns AsyncIterable of {@link ListModelInvocationJobsCommandOutput}.
|
|
819
|
+
*/
|
|
820
|
+
paginateListModelInvocationJobs(args?: ListModelInvocationJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListModelInvocationJobsCommandOutput>;
|
|
821
|
+
/**
|
|
822
|
+
* @see {@link ListPromptRoutersCommand}
|
|
823
|
+
* @param args - command input.
|
|
824
|
+
* @param paginationConfig - optional pagination config.
|
|
825
|
+
* @returns AsyncIterable of {@link ListPromptRoutersCommandOutput}.
|
|
826
|
+
*/
|
|
827
|
+
paginateListPromptRouters(args?: ListPromptRoutersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPromptRoutersCommandOutput>;
|
|
828
|
+
/**
|
|
829
|
+
* @see {@link ListProvisionedModelThroughputsCommand}
|
|
830
|
+
* @param args - command input.
|
|
831
|
+
* @param paginationConfig - optional pagination config.
|
|
832
|
+
* @returns AsyncIterable of {@link ListProvisionedModelThroughputsCommandOutput}.
|
|
833
|
+
*/
|
|
834
|
+
paginateListProvisionedModelThroughputs(args?: ListProvisionedModelThroughputsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProvisionedModelThroughputsCommandOutput>;
|
|
709
835
|
}
|
|
710
836
|
/**
|
|
711
837
|
* <p>Describes the API operations for creating, managing, fine-turning, and evaluating Amazon Bedrock models.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { BedrockClient } from "./BedrockClient";
|
|
3
7
|
import {
|
|
4
8
|
BatchDeleteEvaluationJobCommandInput,
|
|
@@ -1848,5 +1852,131 @@ export interface Bedrock {
|
|
|
1848
1852
|
options: __HttpHandlerOptions,
|
|
1849
1853
|
cb: (err: any, data?: UpdateProvisionedModelThroughputCommandOutput) => void
|
|
1850
1854
|
): void;
|
|
1855
|
+
paginateListAutomatedReasoningPolicies(
|
|
1856
|
+
args?: ListAutomatedReasoningPoliciesCommandInput,
|
|
1857
|
+
paginationConfig?: Pick<
|
|
1858
|
+
PaginationConfiguration,
|
|
1859
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1860
|
+
>
|
|
1861
|
+
): Paginator<ListAutomatedReasoningPoliciesCommandOutput>;
|
|
1862
|
+
paginateListAutomatedReasoningPolicyBuildWorkflows(
|
|
1863
|
+
args: ListAutomatedReasoningPolicyBuildWorkflowsCommandInput,
|
|
1864
|
+
paginationConfig?: Pick<
|
|
1865
|
+
PaginationConfiguration,
|
|
1866
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1867
|
+
>
|
|
1868
|
+
): Paginator<ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput>;
|
|
1869
|
+
paginateListAutomatedReasoningPolicyTestCases(
|
|
1870
|
+
args: ListAutomatedReasoningPolicyTestCasesCommandInput,
|
|
1871
|
+
paginationConfig?: Pick<
|
|
1872
|
+
PaginationConfiguration,
|
|
1873
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1874
|
+
>
|
|
1875
|
+
): Paginator<ListAutomatedReasoningPolicyTestCasesCommandOutput>;
|
|
1876
|
+
paginateListAutomatedReasoningPolicyTestResults(
|
|
1877
|
+
args: ListAutomatedReasoningPolicyTestResultsCommandInput,
|
|
1878
|
+
paginationConfig?: Pick<
|
|
1879
|
+
PaginationConfiguration,
|
|
1880
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1881
|
+
>
|
|
1882
|
+
): Paginator<ListAutomatedReasoningPolicyTestResultsCommandOutput>;
|
|
1883
|
+
paginateListCustomModelDeployments(
|
|
1884
|
+
args?: ListCustomModelDeploymentsCommandInput,
|
|
1885
|
+
paginationConfig?: Pick<
|
|
1886
|
+
PaginationConfiguration,
|
|
1887
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1888
|
+
>
|
|
1889
|
+
): Paginator<ListCustomModelDeploymentsCommandOutput>;
|
|
1890
|
+
paginateListCustomModels(
|
|
1891
|
+
args?: ListCustomModelsCommandInput,
|
|
1892
|
+
paginationConfig?: Pick<
|
|
1893
|
+
PaginationConfiguration,
|
|
1894
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1895
|
+
>
|
|
1896
|
+
): Paginator<ListCustomModelsCommandOutput>;
|
|
1897
|
+
paginateListEnforcedGuardrailsConfiguration(
|
|
1898
|
+
args?: ListEnforcedGuardrailsConfigurationCommandInput,
|
|
1899
|
+
paginationConfig?: Pick<
|
|
1900
|
+
PaginationConfiguration,
|
|
1901
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1902
|
+
>
|
|
1903
|
+
): Paginator<ListEnforcedGuardrailsConfigurationCommandOutput>;
|
|
1904
|
+
paginateListEvaluationJobs(
|
|
1905
|
+
args?: ListEvaluationJobsCommandInput,
|
|
1906
|
+
paginationConfig?: Pick<
|
|
1907
|
+
PaginationConfiguration,
|
|
1908
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1909
|
+
>
|
|
1910
|
+
): Paginator<ListEvaluationJobsCommandOutput>;
|
|
1911
|
+
paginateListGuardrails(
|
|
1912
|
+
args?: ListGuardrailsCommandInput,
|
|
1913
|
+
paginationConfig?: Pick<
|
|
1914
|
+
PaginationConfiguration,
|
|
1915
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1916
|
+
>
|
|
1917
|
+
): Paginator<ListGuardrailsCommandOutput>;
|
|
1918
|
+
paginateListImportedModels(
|
|
1919
|
+
args?: ListImportedModelsCommandInput,
|
|
1920
|
+
paginationConfig?: Pick<
|
|
1921
|
+
PaginationConfiguration,
|
|
1922
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1923
|
+
>
|
|
1924
|
+
): Paginator<ListImportedModelsCommandOutput>;
|
|
1925
|
+
paginateListInferenceProfiles(
|
|
1926
|
+
args?: ListInferenceProfilesCommandInput,
|
|
1927
|
+
paginationConfig?: Pick<
|
|
1928
|
+
PaginationConfiguration,
|
|
1929
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1930
|
+
>
|
|
1931
|
+
): Paginator<ListInferenceProfilesCommandOutput>;
|
|
1932
|
+
paginateListMarketplaceModelEndpoints(
|
|
1933
|
+
args?: ListMarketplaceModelEndpointsCommandInput,
|
|
1934
|
+
paginationConfig?: Pick<
|
|
1935
|
+
PaginationConfiguration,
|
|
1936
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1937
|
+
>
|
|
1938
|
+
): Paginator<ListMarketplaceModelEndpointsCommandOutput>;
|
|
1939
|
+
paginateListModelCopyJobs(
|
|
1940
|
+
args?: ListModelCopyJobsCommandInput,
|
|
1941
|
+
paginationConfig?: Pick<
|
|
1942
|
+
PaginationConfiguration,
|
|
1943
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1944
|
+
>
|
|
1945
|
+
): Paginator<ListModelCopyJobsCommandOutput>;
|
|
1946
|
+
paginateListModelCustomizationJobs(
|
|
1947
|
+
args?: ListModelCustomizationJobsCommandInput,
|
|
1948
|
+
paginationConfig?: Pick<
|
|
1949
|
+
PaginationConfiguration,
|
|
1950
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1951
|
+
>
|
|
1952
|
+
): Paginator<ListModelCustomizationJobsCommandOutput>;
|
|
1953
|
+
paginateListModelImportJobs(
|
|
1954
|
+
args?: ListModelImportJobsCommandInput,
|
|
1955
|
+
paginationConfig?: Pick<
|
|
1956
|
+
PaginationConfiguration,
|
|
1957
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1958
|
+
>
|
|
1959
|
+
): Paginator<ListModelImportJobsCommandOutput>;
|
|
1960
|
+
paginateListModelInvocationJobs(
|
|
1961
|
+
args?: ListModelInvocationJobsCommandInput,
|
|
1962
|
+
paginationConfig?: Pick<
|
|
1963
|
+
PaginationConfiguration,
|
|
1964
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1965
|
+
>
|
|
1966
|
+
): Paginator<ListModelInvocationJobsCommandOutput>;
|
|
1967
|
+
paginateListPromptRouters(
|
|
1968
|
+
args?: ListPromptRoutersCommandInput,
|
|
1969
|
+
paginationConfig?: Pick<
|
|
1970
|
+
PaginationConfiguration,
|
|
1971
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1972
|
+
>
|
|
1973
|
+
): Paginator<ListPromptRoutersCommandOutput>;
|
|
1974
|
+
paginateListProvisionedModelThroughputs(
|
|
1975
|
+
args?: ListProvisionedModelThroughputsCommandInput,
|
|
1976
|
+
paginationConfig?: Pick<
|
|
1977
|
+
PaginationConfiguration,
|
|
1978
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1979
|
+
>
|
|
1980
|
+
): Paginator<ListProvisionedModelThroughputsCommandOutput>;
|
|
1851
1981
|
}
|
|
1852
1982
|
export declare class Bedrock extends BedrockClient implements Bedrock {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/token-providers": "3.
|
|
32
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/token-providers": "3.978.0",
|
|
32
|
+
"@aws-sdk/types": "^3.973.1",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
36
36
|
"@smithy/config-resolver": "^4.4.6",
|
|
37
|
-
"@smithy/core": "^3.
|
|
37
|
+
"@smithy/core": "^3.22.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
39
39
|
"@smithy/hash-node": "^4.2.8",
|
|
40
40
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
41
41
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
42
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
43
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
43
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
44
44
|
"@smithy/middleware-serde": "^4.2.9",
|
|
45
45
|
"@smithy/middleware-stack": "^4.2.8",
|
|
46
46
|
"@smithy/node-config-provider": "^4.3.8",
|
|
47
47
|
"@smithy/node-http-handler": "^4.4.8",
|
|
48
48
|
"@smithy/protocol-http": "^5.3.8",
|
|
49
|
-
"@smithy/smithy-client": "^4.
|
|
49
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
50
50
|
"@smithy/types": "^4.12.0",
|
|
51
51
|
"@smithy/url-parser": "^4.2.8",
|
|
52
52
|
"@smithy/util-base64": "^4.3.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
57
57
|
"@smithy/util-endpoints": "^3.2.8",
|
|
58
58
|
"@smithy/util-middleware": "^4.2.8",
|
|
59
59
|
"@smithy/util-retry": "^4.2.8",
|