@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
|
@@ -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
|
+
CreateProvisionedModelThroughputRequest,
|
|
16
|
+
CreateProvisionedModelThroughputResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface CreateProvisionedModelThroughputCommandInput
|
|
20
|
+
extends CreateProvisionedModelThroughputRequest {}
|
|
21
|
+
export interface CreateProvisionedModelThroughputCommandOutput
|
|
22
|
+
extends CreateProvisionedModelThroughputResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class CreateProvisionedModelThroughputCommand extends $Command<
|
|
25
|
+
CreateProvisionedModelThroughputCommandInput,
|
|
26
|
+
CreateProvisionedModelThroughputCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: CreateProvisionedModelThroughputCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: CreateProvisionedModelThroughputCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
CreateProvisionedModelThroughputCommandInput,
|
|
38
|
+
CreateProvisionedModelThroughputCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -1,89 +1,39 @@
|
|
|
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
|
-
* @param DeleteCustomModelCommandInput - {@link DeleteCustomModelCommandInput}
|
|
43
|
-
* @returns {@link DeleteCustomModelCommandOutput}
|
|
44
|
-
* @see {@link DeleteCustomModelCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link DeleteCustomModelCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
47
|
-
*
|
|
48
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
49
|
-
* <p>The request is denied because of missing access permissions.</p>
|
|
50
|
-
*
|
|
51
|
-
* @throws {@link ConflictException} (client fault)
|
|
52
|
-
* <p>Error occurred because of a conflict while performing an operation.</p>
|
|
53
|
-
*
|
|
54
|
-
* @throws {@link InternalServerException} (server fault)
|
|
55
|
-
* <p>An internal server error occurred. Retry your request.</p>
|
|
56
|
-
*
|
|
57
|
-
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
-
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
59
|
-
*
|
|
60
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
-
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link ValidationException} (client fault)
|
|
64
|
-
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
65
|
-
*
|
|
66
|
-
* @throws {@link BedrockServiceException}
|
|
67
|
-
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
68
|
-
*
|
|
69
|
-
*/
|
|
70
|
-
export declare class DeleteCustomModelCommand extends $Command<DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput, BedrockClientResolvedConfig> {
|
|
71
|
-
readonly input: DeleteCustomModelCommandInput;
|
|
72
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
constructor(input: DeleteCustomModelCommandInput);
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput>;
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
private serialize;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
private deserialize;
|
|
89
|
-
}
|
|
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
|
+
DeleteCustomModelRequest,
|
|
16
|
+
DeleteCustomModelResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface DeleteCustomModelCommandInput
|
|
20
|
+
extends DeleteCustomModelRequest {}
|
|
21
|
+
export interface DeleteCustomModelCommandOutput
|
|
22
|
+
extends DeleteCustomModelResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class DeleteCustomModelCommand extends $Command<
|
|
25
|
+
DeleteCustomModelCommandInput,
|
|
26
|
+
DeleteCustomModelCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: DeleteCustomModelCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DeleteCustomModelCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -1,78 +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
|
-
* @see {@link DeleteModelInvocationLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
45
|
-
*
|
|
46
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
47
|
-
* <p>The request is denied because of missing access permissions.</p>
|
|
48
|
-
*
|
|
49
|
-
* @throws {@link InternalServerException} (server fault)
|
|
50
|
-
* <p>An internal server error occurred. Retry your request.</p>
|
|
51
|
-
*
|
|
52
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
53
|
-
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
54
|
-
*
|
|
55
|
-
* @throws {@link BedrockServiceException}
|
|
56
|
-
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
export declare class DeleteModelInvocationLoggingConfigurationCommand extends $Command<DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput, BedrockClientResolvedConfig> {
|
|
60
|
-
readonly input: DeleteModelInvocationLoggingConfigurationCommandInput;
|
|
61
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
-
/**
|
|
63
|
-
* @public
|
|
64
|
-
*/
|
|
65
|
-
constructor(input: DeleteModelInvocationLoggingConfigurationCommandInput);
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput>;
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
|
-
private serialize;
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
private deserialize;
|
|
78
|
-
}
|
|
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
|
+
DeleteModelInvocationLoggingConfigurationRequest,
|
|
16
|
+
DeleteModelInvocationLoggingConfigurationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface DeleteModelInvocationLoggingConfigurationCommandInput
|
|
20
|
+
extends DeleteModelInvocationLoggingConfigurationRequest {}
|
|
21
|
+
export interface DeleteModelInvocationLoggingConfigurationCommandOutput
|
|
22
|
+
extends DeleteModelInvocationLoggingConfigurationResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class DeleteModelInvocationLoggingConfigurationCommand extends $Command<
|
|
25
|
+
DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
26
|
+
DeleteModelInvocationLoggingConfigurationCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: DeleteModelInvocationLoggingConfigurationCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DeleteModelInvocationLoggingConfigurationCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
38
|
+
DeleteModelInvocationLoggingConfigurationCommandOutput
|
|
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
|
+
DeleteProvisionedModelThroughputRequest,
|
|
16
|
+
DeleteProvisionedModelThroughputResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface DeleteProvisionedModelThroughputCommandInput
|
|
20
|
+
extends DeleteProvisionedModelThroughputRequest {}
|
|
21
|
+
export interface DeleteProvisionedModelThroughputCommandOutput
|
|
22
|
+
extends DeleteProvisionedModelThroughputResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class DeleteProvisionedModelThroughputCommand extends $Command<
|
|
25
|
+
DeleteProvisionedModelThroughputCommandInput,
|
|
26
|
+
DeleteProvisionedModelThroughputCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: DeleteProvisionedModelThroughputCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DeleteProvisionedModelThroughputCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
DeleteProvisionedModelThroughputCommandInput,
|
|
38
|
+
DeleteProvisionedModelThroughputCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -1,118 +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
|
-
* // modelArn: "STRING_VALUE", // required
|
|
40
|
-
* // modelName: "STRING_VALUE", // required
|
|
41
|
-
* // jobName: "STRING_VALUE",
|
|
42
|
-
* // jobArn: "STRING_VALUE", // required
|
|
43
|
-
* // baseModelArn: "STRING_VALUE", // required
|
|
44
|
-
* // modelKmsKeyArn: "STRING_VALUE",
|
|
45
|
-
* // hyperParameters: { // ModelCustomizationHyperParameters
|
|
46
|
-
* // "<keys>": "STRING_VALUE",
|
|
47
|
-
* // },
|
|
48
|
-
* // trainingDataConfig: { // TrainingDataConfig
|
|
49
|
-
* // s3Uri: "STRING_VALUE", // required
|
|
50
|
-
* // },
|
|
51
|
-
* // validationDataConfig: { // ValidationDataConfig
|
|
52
|
-
* // validators: [ // Validators // required
|
|
53
|
-
* // { // Validator
|
|
54
|
-
* // s3Uri: "STRING_VALUE", // required
|
|
55
|
-
* // },
|
|
56
|
-
* // ],
|
|
57
|
-
* // },
|
|
58
|
-
* // outputDataConfig: { // OutputDataConfig
|
|
59
|
-
* // s3Uri: "STRING_VALUE", // required
|
|
60
|
-
* // },
|
|
61
|
-
* // trainingMetrics: { // TrainingMetrics
|
|
62
|
-
* // trainingLoss: Number("float"),
|
|
63
|
-
* // },
|
|
64
|
-
* // validationMetrics: [ // ValidationMetrics
|
|
65
|
-
* // { // ValidatorMetric
|
|
66
|
-
* // validationLoss: Number("float"),
|
|
67
|
-
* // },
|
|
68
|
-
* // ],
|
|
69
|
-
* // creationTime: new Date("TIMESTAMP"), // required
|
|
70
|
-
* // };
|
|
71
|
-
*
|
|
72
|
-
* ```
|
|
73
|
-
*
|
|
74
|
-
* @param GetCustomModelCommandInput - {@link GetCustomModelCommandInput}
|
|
75
|
-
* @returns {@link GetCustomModelCommandOutput}
|
|
76
|
-
* @see {@link GetCustomModelCommandInput} for command's `input` shape.
|
|
77
|
-
* @see {@link GetCustomModelCommandOutput} for command's `response` shape.
|
|
78
|
-
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
79
|
-
*
|
|
80
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
-
* <p>The request is denied because of missing access permissions.</p>
|
|
82
|
-
*
|
|
83
|
-
* @throws {@link InternalServerException} (server fault)
|
|
84
|
-
* <p>An internal server error occurred. Retry your request.</p>
|
|
85
|
-
*
|
|
86
|
-
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
-
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
88
|
-
*
|
|
89
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
-
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
91
|
-
*
|
|
92
|
-
* @throws {@link ValidationException} (client fault)
|
|
93
|
-
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
94
|
-
*
|
|
95
|
-
* @throws {@link BedrockServiceException}
|
|
96
|
-
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
97
|
-
*
|
|
98
|
-
*/
|
|
99
|
-
export declare class GetCustomModelCommand extends $Command<GetCustomModelCommandInput, GetCustomModelCommandOutput, BedrockClientResolvedConfig> {
|
|
100
|
-
readonly input: GetCustomModelCommandInput;
|
|
101
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
102
|
-
/**
|
|
103
|
-
* @public
|
|
104
|
-
*/
|
|
105
|
-
constructor(input: GetCustomModelCommandInput);
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCustomModelCommandInput, GetCustomModelCommandOutput>;
|
|
110
|
-
/**
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
private serialize;
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
|
-
private deserialize;
|
|
118
|
-
}
|
|
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
|
+
GetCustomModelRequest,
|
|
16
|
+
GetCustomModelResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetCustomModelCommandInput extends GetCustomModelRequest {}
|
|
20
|
+
export interface GetCustomModelCommandOutput
|
|
21
|
+
extends GetCustomModelResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetCustomModelCommand extends $Command<
|
|
24
|
+
GetCustomModelCommandInput,
|
|
25
|
+
GetCustomModelCommandOutput,
|
|
26
|
+
BedrockClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetCustomModelCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetCustomModelCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: BedrockClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<GetCustomModelCommandInput, GetCustomModelCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -1,106 +1,39 @@
|
|
|
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
|
-
* // modelArn: "STRING_VALUE", // required
|
|
41
|
-
* // modelId: "STRING_VALUE", // required
|
|
42
|
-
* // modelName: "STRING_VALUE",
|
|
43
|
-
* // providerName: "STRING_VALUE",
|
|
44
|
-
* // inputModalities: [ // ModelModalityList
|
|
45
|
-
* // "TEXT" || "IMAGE" || "EMBEDDING",
|
|
46
|
-
* // ],
|
|
47
|
-
* // outputModalities: [
|
|
48
|
-
* // "TEXT" || "IMAGE" || "EMBEDDING",
|
|
49
|
-
* // ],
|
|
50
|
-
* // responseStreamingSupported: true || false,
|
|
51
|
-
* // customizationsSupported: [ // ModelCustomizationList
|
|
52
|
-
* // "FINE_TUNING",
|
|
53
|
-
* // ],
|
|
54
|
-
* // inferenceTypesSupported: [ // InferenceTypeList
|
|
55
|
-
* // "ON_DEMAND" || "PROVISIONED",
|
|
56
|
-
* // ],
|
|
57
|
-
* // },
|
|
58
|
-
* // };
|
|
59
|
-
*
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @param GetFoundationModelCommandInput - {@link GetFoundationModelCommandInput}
|
|
63
|
-
* @returns {@link GetFoundationModelCommandOutput}
|
|
64
|
-
* @see {@link GetFoundationModelCommandInput} for command's `input` shape.
|
|
65
|
-
* @see {@link GetFoundationModelCommandOutput} 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 ResourceNotFoundException} (client fault)
|
|
75
|
-
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
76
|
-
*
|
|
77
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
-
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
79
|
-
*
|
|
80
|
-
* @throws {@link ValidationException} (client fault)
|
|
81
|
-
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
82
|
-
*
|
|
83
|
-
* @throws {@link BedrockServiceException}
|
|
84
|
-
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
export declare class GetFoundationModelCommand extends $Command<GetFoundationModelCommandInput, GetFoundationModelCommandOutput, BedrockClientResolvedConfig> {
|
|
88
|
-
readonly input: GetFoundationModelCommandInput;
|
|
89
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
-
/**
|
|
91
|
-
* @public
|
|
92
|
-
*/
|
|
93
|
-
constructor(input: GetFoundationModelCommandInput);
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetFoundationModelCommandInput, GetFoundationModelCommandOutput>;
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
private serialize;
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
private deserialize;
|
|
106
|
-
}
|
|
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
|
+
GetFoundationModelRequest,
|
|
16
|
+
GetFoundationModelResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetFoundationModelCommandInput
|
|
20
|
+
extends GetFoundationModelRequest {}
|
|
21
|
+
export interface GetFoundationModelCommandOutput
|
|
22
|
+
extends GetFoundationModelResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class GetFoundationModelCommand extends $Command<
|
|
25
|
+
GetFoundationModelCommandInput,
|
|
26
|
+
GetFoundationModelCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: GetFoundationModelCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetFoundationModelCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<GetFoundationModelCommandInput, GetFoundationModelCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|