@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.
- 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 +7 -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 +3 -3
|
@@ -1,133 +1,42 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
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
|
-
* // outputModelArn: "STRING_VALUE",
|
|
44
|
-
* // clientRequestToken: "STRING_VALUE",
|
|
45
|
-
* // roleArn: "STRING_VALUE", // required
|
|
46
|
-
* // status: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped",
|
|
47
|
-
* // failureMessage: "STRING_VALUE",
|
|
48
|
-
* // creationTime: new Date("TIMESTAMP"), // required
|
|
49
|
-
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
50
|
-
* // endTime: new Date("TIMESTAMP"),
|
|
51
|
-
* // baseModelArn: "STRING_VALUE", // required
|
|
52
|
-
* // hyperParameters: { // ModelCustomizationHyperParameters // required
|
|
53
|
-
* // "<keys>": "STRING_VALUE",
|
|
54
|
-
* // },
|
|
55
|
-
* // trainingDataConfig: { // TrainingDataConfig
|
|
56
|
-
* // s3Uri: "STRING_VALUE", // required
|
|
57
|
-
* // },
|
|
58
|
-
* // validationDataConfig: { // ValidationDataConfig
|
|
59
|
-
* // validators: [ // Validators // required
|
|
60
|
-
* // { // Validator
|
|
61
|
-
* // s3Uri: "STRING_VALUE", // required
|
|
62
|
-
* // },
|
|
63
|
-
* // ],
|
|
64
|
-
* // },
|
|
65
|
-
* // outputDataConfig: { // OutputDataConfig
|
|
66
|
-
* // s3Uri: "STRING_VALUE", // required
|
|
67
|
-
* // },
|
|
68
|
-
* // outputModelKmsKeyArn: "STRING_VALUE",
|
|
69
|
-
* // trainingMetrics: { // TrainingMetrics
|
|
70
|
-
* // trainingLoss: Number("float"),
|
|
71
|
-
* // },
|
|
72
|
-
* // validationMetrics: [ // ValidationMetrics
|
|
73
|
-
* // { // ValidatorMetric
|
|
74
|
-
* // validationLoss: Number("float"),
|
|
75
|
-
* // },
|
|
76
|
-
* // ],
|
|
77
|
-
* // vpcConfig: { // VpcConfig
|
|
78
|
-
* // subnetIds: [ // SubnetIds // required
|
|
79
|
-
* // "STRING_VALUE",
|
|
80
|
-
* // ],
|
|
81
|
-
* // securityGroupIds: [ // SecurityGroupIds // required
|
|
82
|
-
* // "STRING_VALUE",
|
|
83
|
-
* // ],
|
|
84
|
-
* // },
|
|
85
|
-
* // };
|
|
86
|
-
*
|
|
87
|
-
* ```
|
|
88
|
-
*
|
|
89
|
-
* @param GetModelCustomizationJobCommandInput - {@link GetModelCustomizationJobCommandInput}
|
|
90
|
-
* @returns {@link GetModelCustomizationJobCommandOutput}
|
|
91
|
-
* @see {@link GetModelCustomizationJobCommandInput} for command's `input` shape.
|
|
92
|
-
* @see {@link GetModelCustomizationJobCommandOutput} for command's `response` shape.
|
|
93
|
-
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
94
|
-
*
|
|
95
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
96
|
-
* <p>The request is denied because of missing access permissions.</p>
|
|
97
|
-
*
|
|
98
|
-
* @throws {@link InternalServerException} (server fault)
|
|
99
|
-
* <p>An internal server error occurred. Retry your request.</p>
|
|
100
|
-
*
|
|
101
|
-
* @throws {@link ResourceNotFoundException} (client fault)
|
|
102
|
-
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
103
|
-
*
|
|
104
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
105
|
-
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
106
|
-
*
|
|
107
|
-
* @throws {@link ValidationException} (client fault)
|
|
108
|
-
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
109
|
-
*
|
|
110
|
-
* @throws {@link BedrockServiceException}
|
|
111
|
-
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
112
|
-
*
|
|
113
|
-
*/
|
|
114
|
-
export declare class GetModelCustomizationJobCommand extends $Command<GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput, BedrockClientResolvedConfig> {
|
|
115
|
-
readonly input: GetModelCustomizationJobCommandInput;
|
|
116
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
117
|
-
/**
|
|
118
|
-
* @public
|
|
119
|
-
*/
|
|
120
|
-
constructor(input: GetModelCustomizationJobCommandInput);
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput>;
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
private serialize;
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
private deserialize;
|
|
133
|
-
}
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
BedrockClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../BedrockClient";
|
|
14
|
+
import {
|
|
15
|
+
GetModelCustomizationJobRequest,
|
|
16
|
+
GetModelCustomizationJobResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetModelCustomizationJobCommandInput
|
|
20
|
+
extends GetModelCustomizationJobRequest {}
|
|
21
|
+
export interface GetModelCustomizationJobCommandOutput
|
|
22
|
+
extends GetModelCustomizationJobResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class GetModelCustomizationJobCommand extends $Command<
|
|
25
|
+
GetModelCustomizationJobCommandInput,
|
|
26
|
+
GetModelCustomizationJobCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: GetModelCustomizationJobCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetModelCustomizationJobCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
GetModelCustomizationJobCommandInput,
|
|
38
|
+
GetModelCustomizationJobCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -1,96 +1,42 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
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
|
-
* // keyPrefix: "STRING_VALUE",
|
|
44
|
-
* // },
|
|
45
|
-
* // },
|
|
46
|
-
* // s3Config: {
|
|
47
|
-
* // bucketName: "STRING_VALUE", // required
|
|
48
|
-
* // keyPrefix: "STRING_VALUE",
|
|
49
|
-
* // },
|
|
50
|
-
* // textDataDeliveryEnabled: true || false,
|
|
51
|
-
* // imageDataDeliveryEnabled: true || false,
|
|
52
|
-
* // embeddingDataDeliveryEnabled: true || false,
|
|
53
|
-
* // },
|
|
54
|
-
* // };
|
|
55
|
-
*
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* @param GetModelInvocationLoggingConfigurationCommandInput - {@link GetModelInvocationLoggingConfigurationCommandInput}
|
|
59
|
-
* @returns {@link GetModelInvocationLoggingConfigurationCommandOutput}
|
|
60
|
-
* @see {@link GetModelInvocationLoggingConfigurationCommandInput} for command's `input` shape.
|
|
61
|
-
* @see {@link GetModelInvocationLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
63
|
-
*
|
|
64
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
-
* <p>The request is denied because of missing access permissions.</p>
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link InternalServerException} (server fault)
|
|
68
|
-
* <p>An internal server error occurred. Retry your request.</p>
|
|
69
|
-
*
|
|
70
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
-
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link BedrockServiceException}
|
|
74
|
-
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
75
|
-
*
|
|
76
|
-
*/
|
|
77
|
-
export declare class GetModelInvocationLoggingConfigurationCommand extends $Command<GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput, BedrockClientResolvedConfig> {
|
|
78
|
-
readonly input: GetModelInvocationLoggingConfigurationCommandInput;
|
|
79
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
-
/**
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
constructor(input: GetModelInvocationLoggingConfigurationCommandInput);
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput>;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private serialize;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
private deserialize;
|
|
96
|
-
}
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
BedrockClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../BedrockClient";
|
|
14
|
+
import {
|
|
15
|
+
GetModelInvocationLoggingConfigurationRequest,
|
|
16
|
+
GetModelInvocationLoggingConfigurationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetModelInvocationLoggingConfigurationCommandInput
|
|
20
|
+
extends GetModelInvocationLoggingConfigurationRequest {}
|
|
21
|
+
export interface GetModelInvocationLoggingConfigurationCommandOutput
|
|
22
|
+
extends GetModelInvocationLoggingConfigurationResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class GetModelInvocationLoggingConfigurationCommand extends $Command<
|
|
25
|
+
GetModelInvocationLoggingConfigurationCommandInput,
|
|
26
|
+
GetModelInvocationLoggingConfigurationCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: GetModelInvocationLoggingConfigurationCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetModelInvocationLoggingConfigurationCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
GetModelInvocationLoggingConfigurationCommandInput,
|
|
38
|
+
GetModelInvocationLoggingConfigurationCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
BedrockClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../BedrockClient";
|
|
14
|
+
import {
|
|
15
|
+
GetProvisionedModelThroughputRequest,
|
|
16
|
+
GetProvisionedModelThroughputResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetProvisionedModelThroughputCommandInput
|
|
20
|
+
extends GetProvisionedModelThroughputRequest {}
|
|
21
|
+
export interface GetProvisionedModelThroughputCommandOutput
|
|
22
|
+
extends GetProvisionedModelThroughputResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class GetProvisionedModelThroughputCommand extends $Command<
|
|
25
|
+
GetProvisionedModelThroughputCommandInput,
|
|
26
|
+
GetProvisionedModelThroughputCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: GetProvisionedModelThroughputCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetProvisionedModelThroughputCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
GetProvisionedModelThroughputCommandInput,
|
|
38
|
+
GetProvisionedModelThroughputCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -1,103 +1,38 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
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
|
-
* foundationModelArnEquals: "STRING_VALUE",
|
|
40
|
-
* maxResults: Number("int"),
|
|
41
|
-
* nextToken: "STRING_VALUE",
|
|
42
|
-
* sortBy: "CreationTime",
|
|
43
|
-
* sortOrder: "Ascending" || "Descending",
|
|
44
|
-
* };
|
|
45
|
-
* const command = new ListCustomModelsCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* // { // ListCustomModelsResponse
|
|
48
|
-
* // nextToken: "STRING_VALUE",
|
|
49
|
-
* // modelSummaries: [ // CustomModelSummaryList
|
|
50
|
-
* // { // CustomModelSummary
|
|
51
|
-
* // modelArn: "STRING_VALUE", // required
|
|
52
|
-
* // modelName: "STRING_VALUE", // required
|
|
53
|
-
* // creationTime: new Date("TIMESTAMP"), // required
|
|
54
|
-
* // baseModelArn: "STRING_VALUE", // required
|
|
55
|
-
* // baseModelName: "STRING_VALUE", // required
|
|
56
|
-
* // },
|
|
57
|
-
* // ],
|
|
58
|
-
* // };
|
|
59
|
-
*
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @param ListCustomModelsCommandInput - {@link ListCustomModelsCommandInput}
|
|
63
|
-
* @returns {@link ListCustomModelsCommandOutput}
|
|
64
|
-
* @see {@link ListCustomModelsCommandInput} for command's `input` shape.
|
|
65
|
-
* @see {@link ListCustomModelsCommandOutput} for command's `response` shape.
|
|
66
|
-
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
67
|
-
*
|
|
68
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
-
* <p>The request is denied because of missing access permissions.</p>
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link InternalServerException} (server fault)
|
|
72
|
-
* <p>An internal server error occurred. Retry your request.</p>
|
|
73
|
-
*
|
|
74
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
-
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
76
|
-
*
|
|
77
|
-
* @throws {@link ValidationException} (client fault)
|
|
78
|
-
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
79
|
-
*
|
|
80
|
-
* @throws {@link BedrockServiceException}
|
|
81
|
-
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
82
|
-
*
|
|
83
|
-
*/
|
|
84
|
-
export declare class ListCustomModelsCommand extends $Command<ListCustomModelsCommandInput, ListCustomModelsCommandOutput, BedrockClientResolvedConfig> {
|
|
85
|
-
readonly input: ListCustomModelsCommandInput;
|
|
86
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
-
/**
|
|
88
|
-
* @public
|
|
89
|
-
*/
|
|
90
|
-
constructor(input: ListCustomModelsCommandInput);
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCustomModelsCommandInput, ListCustomModelsCommandOutput>;
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
private serialize;
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
private deserialize;
|
|
103
|
-
}
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
BedrockClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../BedrockClient";
|
|
14
|
+
import {
|
|
15
|
+
ListCustomModelsRequest,
|
|
16
|
+
ListCustomModelsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListCustomModelsCommandInput extends ListCustomModelsRequest {}
|
|
20
|
+
export interface ListCustomModelsCommandOutput
|
|
21
|
+
extends ListCustomModelsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListCustomModelsCommand extends $Command<
|
|
24
|
+
ListCustomModelsCommandInput,
|
|
25
|
+
ListCustomModelsCommandOutput,
|
|
26
|
+
BedrockClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListCustomModelsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListCustomModelsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: BedrockClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<ListCustomModelsCommandInput, ListCustomModelsCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -1,108 +1,42 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
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
|
-
* // { // FoundationModelSummary
|
|
44
|
-
* // modelArn: "STRING_VALUE", // required
|
|
45
|
-
* // modelId: "STRING_VALUE", // required
|
|
46
|
-
* // modelName: "STRING_VALUE",
|
|
47
|
-
* // providerName: "STRING_VALUE",
|
|
48
|
-
* // inputModalities: [ // ModelModalityList
|
|
49
|
-
* // "TEXT" || "IMAGE" || "EMBEDDING",
|
|
50
|
-
* // ],
|
|
51
|
-
* // outputModalities: [
|
|
52
|
-
* // "TEXT" || "IMAGE" || "EMBEDDING",
|
|
53
|
-
* // ],
|
|
54
|
-
* // responseStreamingSupported: true || false,
|
|
55
|
-
* // customizationsSupported: [ // ModelCustomizationList
|
|
56
|
-
* // "FINE_TUNING",
|
|
57
|
-
* // ],
|
|
58
|
-
* // inferenceTypesSupported: [ // InferenceTypeList
|
|
59
|
-
* // "ON_DEMAND" || "PROVISIONED",
|
|
60
|
-
* // ],
|
|
61
|
-
* // },
|
|
62
|
-
* // ],
|
|
63
|
-
* // };
|
|
64
|
-
*
|
|
65
|
-
* ```
|
|
66
|
-
*
|
|
67
|
-
* @param ListFoundationModelsCommandInput - {@link ListFoundationModelsCommandInput}
|
|
68
|
-
* @returns {@link ListFoundationModelsCommandOutput}
|
|
69
|
-
* @see {@link ListFoundationModelsCommandInput} for command's `input` shape.
|
|
70
|
-
* @see {@link ListFoundationModelsCommandOutput} for command's `response` shape.
|
|
71
|
-
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
-
* <p>The request is denied because of missing access permissions.</p>
|
|
75
|
-
*
|
|
76
|
-
* @throws {@link InternalServerException} (server fault)
|
|
77
|
-
* <p>An internal server error occurred. Retry your request.</p>
|
|
78
|
-
*
|
|
79
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
-
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
81
|
-
*
|
|
82
|
-
* @throws {@link ValidationException} (client fault)
|
|
83
|
-
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
84
|
-
*
|
|
85
|
-
* @throws {@link BedrockServiceException}
|
|
86
|
-
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
|
-
export declare class ListFoundationModelsCommand extends $Command<ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput, BedrockClientResolvedConfig> {
|
|
90
|
-
readonly input: ListFoundationModelsCommandInput;
|
|
91
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
92
|
-
/**
|
|
93
|
-
* @public
|
|
94
|
-
*/
|
|
95
|
-
constructor(input: ListFoundationModelsCommandInput);
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput>;
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
private serialize;
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
private deserialize;
|
|
108
|
-
}
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
BedrockClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../BedrockClient";
|
|
14
|
+
import {
|
|
15
|
+
ListFoundationModelsRequest,
|
|
16
|
+
ListFoundationModelsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListFoundationModelsCommandInput
|
|
20
|
+
extends ListFoundationModelsRequest {}
|
|
21
|
+
export interface ListFoundationModelsCommandOutput
|
|
22
|
+
extends ListFoundationModelsResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListFoundationModelsCommand extends $Command<
|
|
25
|
+
ListFoundationModelsCommandInput,
|
|
26
|
+
ListFoundationModelsCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListFoundationModelsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListFoundationModelsCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
ListFoundationModelsCommandInput,
|
|
38
|
+
ListFoundationModelsCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|