@aws-sdk/client-bedrock 3.422.1 → 3.425.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/README.md +40 -0
- package/dist-cjs/Bedrock.js +10 -0
- package/dist-cjs/commands/CreateProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/DeleteProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/GetProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/ListProvisionedModelThroughputsCommand.js +51 -0
- package/dist-cjs/commands/UpdateProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +25 -12
- package/dist-cjs/pagination/ListProvisionedModelThroughputsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +386 -1
- package/dist-es/Bedrock.js +10 -0
- package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/GetProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +47 -0
- package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +22 -9
- package/dist-es/pagination/ListProvisionedModelThroughputsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +376 -1
- package/dist-types/Bedrock.d.ts +35 -0
- package/dist-types/BedrockClient.d.ts +9 -2
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +8 -8
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +106 -0
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +89 -0
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +100 -0
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +109 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +370 -36
- package/dist-types/pagination/ListProvisionedModelThroughputsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Bedrock.d.ts +363 -115
- package/dist-types/ts3.4/BedrockClient.d.ts +238 -182
- package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +42 -149
- package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +39 -89
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +42 -78
- package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +38 -118
- package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +39 -106
- package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +42 -133
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +42 -96
- package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +38 -103
- package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +42 -108
- package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +42 -107
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -94
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +42 -99
- package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +42 -89
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -96
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -89
- package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +20 -15
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
- package/dist-types/ts3.4/index.d.ts +7 -12
- package/dist-types/ts3.4/models/BedrockServiceException.d.ts +8 -13
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +412 -1144
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -8
- package/dist-types/ts3.4/pagination/ListCustomModelsPaginator.d.ts +11 -7
- package/dist-types/ts3.4/pagination/ListModelCustomizationJobsPaginator.d.ts +11 -7
- package/dist-types/ts3.4/pagination/ListProvisionedModelThroughputsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +245 -137
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -46
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -46
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -45
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
- package/package.json +31 -31
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { PaginationConfiguration } from "@smithy/types";
|
|
2
|
-
import { BedrockClient } from "../BedrockClient";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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 {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare function paginateListCustomModels(
|
|
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 {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare function paginateListModelCustomizationJobs(
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
+
};
|