@aws-sdk/client-bedrock 3.422.1 → 3.423.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 (82) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Bedrock.js +10 -0
  3. package/dist-cjs/commands/CreateProvisionedModelThroughputCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteProvisionedModelThroughputCommand.js +51 -0
  5. package/dist-cjs/commands/GetProvisionedModelThroughputCommand.js +51 -0
  6. package/dist-cjs/commands/ListProvisionedModelThroughputsCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateProvisionedModelThroughputCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +25 -12
  10. package/dist-cjs/pagination/ListProvisionedModelThroughputsPaginator.js +29 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +386 -1
  13. package/dist-es/Bedrock.js +10 -0
  14. package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +47 -0
  15. package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +47 -0
  16. package/dist-es/commands/GetProvisionedModelThroughputCommand.js +47 -0
  17. package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +47 -0
  18. package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +47 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/models/models_0.js +22 -9
  21. package/dist-es/pagination/ListProvisionedModelThroughputsPaginator.js +25 -0
  22. package/dist-es/pagination/index.js +1 -0
  23. package/dist-es/protocols/Aws_restJson1.js +376 -1
  24. package/dist-types/Bedrock.d.ts +35 -0
  25. package/dist-types/BedrockClient.d.ts +7 -2
  26. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +8 -8
  27. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +106 -0
  28. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +89 -0
  29. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +1 -1
  30. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +100 -0
  31. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +109 -0
  33. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +88 -0
  35. package/dist-types/commands/index.d.ts +5 -0
  36. package/dist-types/models/models_0.d.ts +370 -36
  37. package/dist-types/pagination/ListProvisionedModelThroughputsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  40. package/dist-types/ts3.4/Bedrock.d.ts +363 -115
  41. package/dist-types/ts3.4/BedrockClient.d.ts +238 -182
  42. package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +42 -149
  43. package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +42 -0
  44. package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +39 -89
  45. package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +42 -78
  46. package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +38 -118
  48. package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +39 -106
  49. package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +42 -133
  50. package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +42 -96
  51. package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +38 -103
  53. package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +42 -108
  54. package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +42 -107
  55. package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -94
  57. package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +42 -99
  58. package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +42 -89
  59. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -96
  60. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -89
  61. package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +42 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +20 -15
  63. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
  64. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
  65. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  66. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
  67. package/dist-types/ts3.4/index.d.ts +7 -12
  68. package/dist-types/ts3.4/models/BedrockServiceException.d.ts +8 -13
  69. package/dist-types/ts3.4/models/index.d.ts +1 -1
  70. package/dist-types/ts3.4/models/models_0.d.ts +412 -1144
  71. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -8
  72. package/dist-types/ts3.4/pagination/ListCustomModelsPaginator.d.ts +11 -7
  73. package/dist-types/ts3.4/pagination/ListModelCustomizationJobsPaginator.d.ts +11 -7
  74. package/dist-types/ts3.4/pagination/ListProvisionedModelThroughputsPaginator.d.ts +11 -0
  75. package/dist-types/ts3.4/pagination/index.d.ts +4 -3
  76. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +245 -137
  77. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -46
  78. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -46
  79. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -45
  80. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  81. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
  82. package/package.json +3 -3
@@ -1,8 +1,6 @@
1
- import { PaginationConfiguration } from "@smithy/types";
2
- import { BedrockClient } from "../BedrockClient";
3
- /**
4
- * @public
5
- */
6
- export interface BedrockPaginationConfiguration extends PaginationConfiguration {
7
- client: BedrockClient;
8
- }
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { BedrockClient } from "../BedrockClient";
3
+ export interface BedrockPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: BedrockClient;
6
+ }
@@ -1,7 +1,11 @@
1
- import { Paginator } from "@smithy/types";
2
- import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "../commands/ListCustomModelsCommand";
3
- import { BedrockPaginationConfiguration } from "./Interfaces";
4
- /**
5
- * @public
6
- */
7
- export declare function paginateListCustomModels(config: BedrockPaginationConfiguration, input: ListCustomModelsCommandInput, ...additionalArguments: any): Paginator<ListCustomModelsCommandOutput>;
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCustomModelsCommandInput,
4
+ ListCustomModelsCommandOutput,
5
+ } from "../commands/ListCustomModelsCommand";
6
+ import { BedrockPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListCustomModels(
8
+ config: BedrockPaginationConfiguration,
9
+ input: ListCustomModelsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListCustomModelsCommandOutput>;
@@ -1,7 +1,11 @@
1
- import { Paginator } from "@smithy/types";
2
- import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "../commands/ListModelCustomizationJobsCommand";
3
- import { BedrockPaginationConfiguration } from "./Interfaces";
4
- /**
5
- * @public
6
- */
7
- export declare function paginateListModelCustomizationJobs(config: BedrockPaginationConfiguration, input: ListModelCustomizationJobsCommandInput, ...additionalArguments: any): Paginator<ListModelCustomizationJobsCommandOutput>;
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListModelCustomizationJobsCommandInput,
4
+ ListModelCustomizationJobsCommandOutput,
5
+ } from "../commands/ListModelCustomizationJobsCommand";
6
+ import { BedrockPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListModelCustomizationJobs(
8
+ config: BedrockPaginationConfiguration,
9
+ input: ListModelCustomizationJobsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListModelCustomizationJobsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListProvisionedModelThroughputsCommandInput,
4
+ ListProvisionedModelThroughputsCommandOutput,
5
+ } from "../commands/ListProvisionedModelThroughputsCommand";
6
+ import { BedrockPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListProvisionedModelThroughputs(
8
+ config: BedrockPaginationConfiguration,
9
+ input: ListProvisionedModelThroughputsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListProvisionedModelThroughputsCommandOutput>;
@@ -1,3 +1,4 @@
1
- export * from "./Interfaces";
2
- export * from "./ListCustomModelsPaginator";
3
- export * from "./ListModelCustomizationJobsPaginator";
1
+ export * from "./Interfaces";
2
+ export * from "./ListCustomModelsPaginator";
3
+ export * from "./ListModelCustomizationJobsPaginator";
4
+ export * from "./ListProvisionedModelThroughputsPaginator";
@@ -1,137 +1,245 @@
1
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
- import { SerdeContext as __SerdeContext } from "@smithy/types";
3
- import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "../commands/CreateModelCustomizationJobCommand";
4
- import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "../commands/DeleteCustomModelCommand";
5
- import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "../commands/DeleteModelInvocationLoggingConfigurationCommand";
6
- import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "../commands/GetCustomModelCommand";
7
- import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "../commands/GetFoundationModelCommand";
8
- import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "../commands/GetModelCustomizationJobCommand";
9
- import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "../commands/GetModelInvocationLoggingConfigurationCommand";
10
- import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "../commands/ListCustomModelsCommand";
11
- import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } from "../commands/ListFoundationModelsCommand";
12
- import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "../commands/ListModelCustomizationJobsCommand";
13
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
14
- import { PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput } from "../commands/PutModelInvocationLoggingConfigurationCommand";
15
- import { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "../commands/StopModelCustomizationJobCommand";
16
- import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
17
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
18
- /**
19
- * serializeAws_restJson1CreateModelCustomizationJobCommand
20
- */
21
- export declare const se_CreateModelCustomizationJobCommand: (input: CreateModelCustomizationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
- /**
23
- * serializeAws_restJson1DeleteCustomModelCommand
24
- */
25
- export declare const se_DeleteCustomModelCommand: (input: DeleteCustomModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
- /**
27
- * serializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
28
- */
29
- export declare const se_DeleteModelInvocationLoggingConfigurationCommand: (input: DeleteModelInvocationLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
- /**
31
- * serializeAws_restJson1GetCustomModelCommand
32
- */
33
- export declare const se_GetCustomModelCommand: (input: GetCustomModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
- /**
35
- * serializeAws_restJson1GetFoundationModelCommand
36
- */
37
- export declare const se_GetFoundationModelCommand: (input: GetFoundationModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
- /**
39
- * serializeAws_restJson1GetModelCustomizationJobCommand
40
- */
41
- export declare const se_GetModelCustomizationJobCommand: (input: GetModelCustomizationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
- /**
43
- * serializeAws_restJson1GetModelInvocationLoggingConfigurationCommand
44
- */
45
- export declare const se_GetModelInvocationLoggingConfigurationCommand: (input: GetModelInvocationLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
- /**
47
- * serializeAws_restJson1ListCustomModelsCommand
48
- */
49
- export declare const se_ListCustomModelsCommand: (input: ListCustomModelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
- /**
51
- * serializeAws_restJson1ListFoundationModelsCommand
52
- */
53
- export declare const se_ListFoundationModelsCommand: (input: ListFoundationModelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
- /**
55
- * serializeAws_restJson1ListModelCustomizationJobsCommand
56
- */
57
- export declare const se_ListModelCustomizationJobsCommand: (input: ListModelCustomizationJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
- /**
59
- * serializeAws_restJson1ListTagsForResourceCommand
60
- */
61
- export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
- /**
63
- * serializeAws_restJson1PutModelInvocationLoggingConfigurationCommand
64
- */
65
- export declare const se_PutModelInvocationLoggingConfigurationCommand: (input: PutModelInvocationLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
- /**
67
- * serializeAws_restJson1StopModelCustomizationJobCommand
68
- */
69
- export declare const se_StopModelCustomizationJobCommand: (input: StopModelCustomizationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
- /**
71
- * serializeAws_restJson1TagResourceCommand
72
- */
73
- export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
74
- /**
75
- * serializeAws_restJson1UntagResourceCommand
76
- */
77
- export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
- /**
79
- * deserializeAws_restJson1CreateModelCustomizationJobCommand
80
- */
81
- export declare const de_CreateModelCustomizationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateModelCustomizationJobCommandOutput>;
82
- /**
83
- * deserializeAws_restJson1DeleteCustomModelCommand
84
- */
85
- export declare const de_DeleteCustomModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteCustomModelCommandOutput>;
86
- /**
87
- * deserializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
88
- */
89
- export declare const de_DeleteModelInvocationLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteModelInvocationLoggingConfigurationCommandOutput>;
90
- /**
91
- * deserializeAws_restJson1GetCustomModelCommand
92
- */
93
- export declare const de_GetCustomModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCustomModelCommandOutput>;
94
- /**
95
- * deserializeAws_restJson1GetFoundationModelCommand
96
- */
97
- export declare const de_GetFoundationModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFoundationModelCommandOutput>;
98
- /**
99
- * deserializeAws_restJson1GetModelCustomizationJobCommand
100
- */
101
- export declare const de_GetModelCustomizationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetModelCustomizationJobCommandOutput>;
102
- /**
103
- * deserializeAws_restJson1GetModelInvocationLoggingConfigurationCommand
104
- */
105
- export declare const de_GetModelInvocationLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetModelInvocationLoggingConfigurationCommandOutput>;
106
- /**
107
- * deserializeAws_restJson1ListCustomModelsCommand
108
- */
109
- export declare const de_ListCustomModelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCustomModelsCommandOutput>;
110
- /**
111
- * deserializeAws_restJson1ListFoundationModelsCommand
112
- */
113
- export declare const de_ListFoundationModelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFoundationModelsCommandOutput>;
114
- /**
115
- * deserializeAws_restJson1ListModelCustomizationJobsCommand
116
- */
117
- export declare const de_ListModelCustomizationJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListModelCustomizationJobsCommandOutput>;
118
- /**
119
- * deserializeAws_restJson1ListTagsForResourceCommand
120
- */
121
- export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
122
- /**
123
- * deserializeAws_restJson1PutModelInvocationLoggingConfigurationCommand
124
- */
125
- export declare const de_PutModelInvocationLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutModelInvocationLoggingConfigurationCommandOutput>;
126
- /**
127
- * deserializeAws_restJson1StopModelCustomizationJobCommand
128
- */
129
- export declare const de_StopModelCustomizationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopModelCustomizationJobCommandOutput>;
130
- /**
131
- * deserializeAws_restJson1TagResourceCommand
132
- */
133
- export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
134
- /**
135
- * deserializeAws_restJson1UntagResourceCommand
136
- */
137
- export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ CreateModelCustomizationJobCommandInput,
8
+ CreateModelCustomizationJobCommandOutput,
9
+ } from "../commands/CreateModelCustomizationJobCommand";
10
+ import {
11
+ CreateProvisionedModelThroughputCommandInput,
12
+ CreateProvisionedModelThroughputCommandOutput,
13
+ } from "../commands/CreateProvisionedModelThroughputCommand";
14
+ import {
15
+ DeleteCustomModelCommandInput,
16
+ DeleteCustomModelCommandOutput,
17
+ } from "../commands/DeleteCustomModelCommand";
18
+ import {
19
+ DeleteModelInvocationLoggingConfigurationCommandInput,
20
+ DeleteModelInvocationLoggingConfigurationCommandOutput,
21
+ } from "../commands/DeleteModelInvocationLoggingConfigurationCommand";
22
+ import {
23
+ DeleteProvisionedModelThroughputCommandInput,
24
+ DeleteProvisionedModelThroughputCommandOutput,
25
+ } from "../commands/DeleteProvisionedModelThroughputCommand";
26
+ import {
27
+ GetCustomModelCommandInput,
28
+ GetCustomModelCommandOutput,
29
+ } from "../commands/GetCustomModelCommand";
30
+ import {
31
+ GetFoundationModelCommandInput,
32
+ GetFoundationModelCommandOutput,
33
+ } from "../commands/GetFoundationModelCommand";
34
+ import {
35
+ GetModelCustomizationJobCommandInput,
36
+ GetModelCustomizationJobCommandOutput,
37
+ } from "../commands/GetModelCustomizationJobCommand";
38
+ import {
39
+ GetModelInvocationLoggingConfigurationCommandInput,
40
+ GetModelInvocationLoggingConfigurationCommandOutput,
41
+ } from "../commands/GetModelInvocationLoggingConfigurationCommand";
42
+ import {
43
+ GetProvisionedModelThroughputCommandInput,
44
+ GetProvisionedModelThroughputCommandOutput,
45
+ } from "../commands/GetProvisionedModelThroughputCommand";
46
+ import {
47
+ ListCustomModelsCommandInput,
48
+ ListCustomModelsCommandOutput,
49
+ } from "../commands/ListCustomModelsCommand";
50
+ import {
51
+ ListFoundationModelsCommandInput,
52
+ ListFoundationModelsCommandOutput,
53
+ } from "../commands/ListFoundationModelsCommand";
54
+ import {
55
+ ListModelCustomizationJobsCommandInput,
56
+ ListModelCustomizationJobsCommandOutput,
57
+ } from "../commands/ListModelCustomizationJobsCommand";
58
+ import {
59
+ ListProvisionedModelThroughputsCommandInput,
60
+ ListProvisionedModelThroughputsCommandOutput,
61
+ } from "../commands/ListProvisionedModelThroughputsCommand";
62
+ import {
63
+ ListTagsForResourceCommandInput,
64
+ ListTagsForResourceCommandOutput,
65
+ } from "../commands/ListTagsForResourceCommand";
66
+ import {
67
+ PutModelInvocationLoggingConfigurationCommandInput,
68
+ PutModelInvocationLoggingConfigurationCommandOutput,
69
+ } from "../commands/PutModelInvocationLoggingConfigurationCommand";
70
+ import {
71
+ StopModelCustomizationJobCommandInput,
72
+ StopModelCustomizationJobCommandOutput,
73
+ } from "../commands/StopModelCustomizationJobCommand";
74
+ import {
75
+ TagResourceCommandInput,
76
+ TagResourceCommandOutput,
77
+ } from "../commands/TagResourceCommand";
78
+ import {
79
+ UntagResourceCommandInput,
80
+ UntagResourceCommandOutput,
81
+ } from "../commands/UntagResourceCommand";
82
+ import {
83
+ UpdateProvisionedModelThroughputCommandInput,
84
+ UpdateProvisionedModelThroughputCommandOutput,
85
+ } from "../commands/UpdateProvisionedModelThroughputCommand";
86
+ export declare const se_CreateModelCustomizationJobCommand: (
87
+ input: CreateModelCustomizationJobCommandInput,
88
+ context: __SerdeContext
89
+ ) => Promise<__HttpRequest>;
90
+ export declare const se_CreateProvisionedModelThroughputCommand: (
91
+ input: CreateProvisionedModelThroughputCommandInput,
92
+ context: __SerdeContext
93
+ ) => Promise<__HttpRequest>;
94
+ export declare const se_DeleteCustomModelCommand: (
95
+ input: DeleteCustomModelCommandInput,
96
+ context: __SerdeContext
97
+ ) => Promise<__HttpRequest>;
98
+ export declare const se_DeleteModelInvocationLoggingConfigurationCommand: (
99
+ input: DeleteModelInvocationLoggingConfigurationCommandInput,
100
+ context: __SerdeContext
101
+ ) => Promise<__HttpRequest>;
102
+ export declare const se_DeleteProvisionedModelThroughputCommand: (
103
+ input: DeleteProvisionedModelThroughputCommandInput,
104
+ context: __SerdeContext
105
+ ) => Promise<__HttpRequest>;
106
+ export declare const se_GetCustomModelCommand: (
107
+ input: GetCustomModelCommandInput,
108
+ context: __SerdeContext
109
+ ) => Promise<__HttpRequest>;
110
+ export declare const se_GetFoundationModelCommand: (
111
+ input: GetFoundationModelCommandInput,
112
+ context: __SerdeContext
113
+ ) => Promise<__HttpRequest>;
114
+ export declare const se_GetModelCustomizationJobCommand: (
115
+ input: GetModelCustomizationJobCommandInput,
116
+ context: __SerdeContext
117
+ ) => Promise<__HttpRequest>;
118
+ export declare const se_GetModelInvocationLoggingConfigurationCommand: (
119
+ input: GetModelInvocationLoggingConfigurationCommandInput,
120
+ context: __SerdeContext
121
+ ) => Promise<__HttpRequest>;
122
+ export declare const se_GetProvisionedModelThroughputCommand: (
123
+ input: GetProvisionedModelThroughputCommandInput,
124
+ context: __SerdeContext
125
+ ) => Promise<__HttpRequest>;
126
+ export declare const se_ListCustomModelsCommand: (
127
+ input: ListCustomModelsCommandInput,
128
+ context: __SerdeContext
129
+ ) => Promise<__HttpRequest>;
130
+ export declare const se_ListFoundationModelsCommand: (
131
+ input: ListFoundationModelsCommandInput,
132
+ context: __SerdeContext
133
+ ) => Promise<__HttpRequest>;
134
+ export declare const se_ListModelCustomizationJobsCommand: (
135
+ input: ListModelCustomizationJobsCommandInput,
136
+ context: __SerdeContext
137
+ ) => Promise<__HttpRequest>;
138
+ export declare const se_ListProvisionedModelThroughputsCommand: (
139
+ input: ListProvisionedModelThroughputsCommandInput,
140
+ context: __SerdeContext
141
+ ) => Promise<__HttpRequest>;
142
+ export declare const se_ListTagsForResourceCommand: (
143
+ input: ListTagsForResourceCommandInput,
144
+ context: __SerdeContext
145
+ ) => Promise<__HttpRequest>;
146
+ export declare const se_PutModelInvocationLoggingConfigurationCommand: (
147
+ input: PutModelInvocationLoggingConfigurationCommandInput,
148
+ context: __SerdeContext
149
+ ) => Promise<__HttpRequest>;
150
+ export declare const se_StopModelCustomizationJobCommand: (
151
+ input: StopModelCustomizationJobCommandInput,
152
+ context: __SerdeContext
153
+ ) => Promise<__HttpRequest>;
154
+ export declare const se_TagResourceCommand: (
155
+ input: TagResourceCommandInput,
156
+ context: __SerdeContext
157
+ ) => Promise<__HttpRequest>;
158
+ export declare const se_UntagResourceCommand: (
159
+ input: UntagResourceCommandInput,
160
+ context: __SerdeContext
161
+ ) => Promise<__HttpRequest>;
162
+ export declare const se_UpdateProvisionedModelThroughputCommand: (
163
+ input: UpdateProvisionedModelThroughputCommandInput,
164
+ context: __SerdeContext
165
+ ) => Promise<__HttpRequest>;
166
+ export declare const de_CreateModelCustomizationJobCommand: (
167
+ output: __HttpResponse,
168
+ context: __SerdeContext
169
+ ) => Promise<CreateModelCustomizationJobCommandOutput>;
170
+ export declare const de_CreateProvisionedModelThroughputCommand: (
171
+ output: __HttpResponse,
172
+ context: __SerdeContext
173
+ ) => Promise<CreateProvisionedModelThroughputCommandOutput>;
174
+ export declare const de_DeleteCustomModelCommand: (
175
+ output: __HttpResponse,
176
+ context: __SerdeContext
177
+ ) => Promise<DeleteCustomModelCommandOutput>;
178
+ export declare const de_DeleteModelInvocationLoggingConfigurationCommand: (
179
+ output: __HttpResponse,
180
+ context: __SerdeContext
181
+ ) => Promise<DeleteModelInvocationLoggingConfigurationCommandOutput>;
182
+ export declare const de_DeleteProvisionedModelThroughputCommand: (
183
+ output: __HttpResponse,
184
+ context: __SerdeContext
185
+ ) => Promise<DeleteProvisionedModelThroughputCommandOutput>;
186
+ export declare const de_GetCustomModelCommand: (
187
+ output: __HttpResponse,
188
+ context: __SerdeContext
189
+ ) => Promise<GetCustomModelCommandOutput>;
190
+ export declare const de_GetFoundationModelCommand: (
191
+ output: __HttpResponse,
192
+ context: __SerdeContext
193
+ ) => Promise<GetFoundationModelCommandOutput>;
194
+ export declare const de_GetModelCustomizationJobCommand: (
195
+ output: __HttpResponse,
196
+ context: __SerdeContext
197
+ ) => Promise<GetModelCustomizationJobCommandOutput>;
198
+ export declare const de_GetModelInvocationLoggingConfigurationCommand: (
199
+ output: __HttpResponse,
200
+ context: __SerdeContext
201
+ ) => Promise<GetModelInvocationLoggingConfigurationCommandOutput>;
202
+ export declare const de_GetProvisionedModelThroughputCommand: (
203
+ output: __HttpResponse,
204
+ context: __SerdeContext
205
+ ) => Promise<GetProvisionedModelThroughputCommandOutput>;
206
+ export declare const de_ListCustomModelsCommand: (
207
+ output: __HttpResponse,
208
+ context: __SerdeContext
209
+ ) => Promise<ListCustomModelsCommandOutput>;
210
+ export declare const de_ListFoundationModelsCommand: (
211
+ output: __HttpResponse,
212
+ context: __SerdeContext
213
+ ) => Promise<ListFoundationModelsCommandOutput>;
214
+ export declare const de_ListModelCustomizationJobsCommand: (
215
+ output: __HttpResponse,
216
+ context: __SerdeContext
217
+ ) => Promise<ListModelCustomizationJobsCommandOutput>;
218
+ export declare const de_ListProvisionedModelThroughputsCommand: (
219
+ output: __HttpResponse,
220
+ context: __SerdeContext
221
+ ) => Promise<ListProvisionedModelThroughputsCommandOutput>;
222
+ export declare const de_ListTagsForResourceCommand: (
223
+ output: __HttpResponse,
224
+ context: __SerdeContext
225
+ ) => Promise<ListTagsForResourceCommandOutput>;
226
+ export declare const de_PutModelInvocationLoggingConfigurationCommand: (
227
+ output: __HttpResponse,
228
+ context: __SerdeContext
229
+ ) => Promise<PutModelInvocationLoggingConfigurationCommandOutput>;
230
+ export declare const de_StopModelCustomizationJobCommand: (
231
+ output: __HttpResponse,
232
+ context: __SerdeContext
233
+ ) => Promise<StopModelCustomizationJobCommandOutput>;
234
+ export declare const de_TagResourceCommand: (
235
+ output: __HttpResponse,
236
+ context: __SerdeContext
237
+ ) => Promise<TagResourceCommandOutput>;
238
+ export declare const de_UntagResourceCommand: (
239
+ output: __HttpResponse,
240
+ context: __SerdeContext
241
+ ) => Promise<UntagResourceCommandOutput>;
242
+ export declare const de_UpdateProvisionedModelThroughputCommand: (
243
+ output: __HttpResponse,
244
+ context: __SerdeContext
245
+ ) => Promise<UpdateProvisionedModelThroughputCommandOutput>;
@@ -1,46 +1,97 @@
1
- import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { BedrockClientConfig } from "./BedrockClient";
3
- /**
4
- * @internal
5
- */
6
- export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
7
- runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
- maxAttempts: number | import("@smithy/types").Provider<number>;
13
- region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
- updateHttpClientConfig(key: never, value: never): void;
16
- httpHandlerConfigs(): {};
17
- }) | RequestHandler;
18
- retryMode: string | import("@smithy/types").Provider<string>;
19
- sha256: import("@smithy/types").HashConstructor;
20
- streamCollector: import("@smithy/types").StreamCollector;
21
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
- apiVersion: string;
24
- urlParser: import("@smithy/types").UrlParser;
25
- base64Decoder: import("@smithy/types").Decoder;
26
- base64Encoder: import("@smithy/types").Encoder;
27
- utf8Decoder: import("@smithy/types").Decoder;
28
- utf8Encoder: import("@smithy/types").Encoder;
29
- disableHostPrefix: boolean;
30
- serviceId: string;
31
- logger: import("@smithy/types").Logger;
32
- extensions: import("./runtimeExtensions").RuntimeExtension[];
33
- endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
34
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
- logger?: import("@smithy/types").Logger | undefined;
36
- }) => import("@smithy/types").EndpointV2;
37
- tls?: boolean | undefined;
38
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
39
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
40
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
41
- signingEscapePath?: boolean | undefined;
42
- systemClockOffset?: number | undefined;
43
- signingRegion?: string | undefined;
44
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
45
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
46
- };
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { BedrockClientConfig } from "./BedrockClient";
3
+ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
+ >;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<any>;
17
+ requestHandler:
18
+ | (import("@smithy/types").RequestHandler<
19
+ any,
20
+ any,
21
+ import("@smithy/types").HttpHandlerOptions
22
+ > &
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
31
+ | RequestHandler;
32
+ retryMode: string | import("@smithy/types").Provider<string>;
33
+ sha256: import("@smithy/types").HashConstructor;
34
+ streamCollector: import("@smithy/types").StreamCollector;
35
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
36
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
+ apiVersion: string;
38
+ urlParser: import("@smithy/types").UrlParser;
39
+ base64Decoder: import("@smithy/types").Decoder;
40
+ base64Encoder: import("@smithy/types").Encoder;
41
+ utf8Decoder: import("@smithy/types").Decoder;
42
+ utf8Encoder: import("@smithy/types").Encoder;
43
+ disableHostPrefix: boolean;
44
+ serviceId: string;
45
+ logger: import("@smithy/types").Logger;
46
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
47
+ endpoint?:
48
+ | ((
49
+ | string
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
54
+ ) &
55
+ (
56
+ | string
57
+ | import("@smithy/types").Provider<string>
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ))
63
+ | undefined;
64
+ endpointProvider: (
65
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
66
+ context?: {
67
+ logger?: import("@smithy/types").Logger | undefined;
68
+ }
69
+ ) => import("@smithy/types").EndpointV2;
70
+ tls?: boolean | undefined;
71
+ retryStrategy?:
72
+ | import("@smithy/types").RetryStrategy
73
+ | import("@smithy/types").RetryStrategyV2
74
+ | undefined;
75
+ credentials?:
76
+ | import("@smithy/types").AwsCredentialIdentity
77
+ | import("@smithy/types").Provider<
78
+ import("@smithy/types").AwsCredentialIdentity
79
+ >
80
+ | undefined;
81
+ signer?:
82
+ | import("@smithy/types").RequestSigner
83
+ | ((
84
+ authScheme?: import("@smithy/types").AuthScheme | undefined
85
+ ) => Promise<import("@smithy/types").RequestSigner>)
86
+ | undefined;
87
+ signingEscapePath?: boolean | undefined;
88
+ systemClockOffset?: number | undefined;
89
+ signingRegion?: string | undefined;
90
+ signerConstructor?:
91
+ | (new (
92
+ options: import("@smithy/signature-v4").SignatureV4Init &
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ ) => import("@smithy/types").RequestSigner)
95
+ | undefined;
96
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
97
+ };