@aws-sdk/client-cleanroomsml 3.840.0 → 3.841.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 +9 -6
- package/dist-cjs/index.js +239 -18
- package/dist-es/CleanRoomsML.js +2 -0
- package/dist-es/commands/ListTrainedModelVersionsCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +40 -0
- package/dist-es/pagination/ListTrainedModelVersionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +134 -7
- package/dist-types/CleanRoomsML.d.ts +8 -6
- package/dist-types/CleanRoomsMLClient.d.ts +4 -8
- package/dist-types/commands/CancelTrainedModelCommand.d.ts +4 -0
- package/dist-types/commands/CancelTrainedModelInferenceJobCommand.d.ts +3 -0
- package/dist-types/commands/CreateConfiguredModelAlgorithmAssociationCommand.d.ts +7 -0
- package/dist-types/commands/CreateMLInputChannelCommand.d.ts +3 -0
- package/dist-types/commands/CreateTrainedModelCommand.d.ts +16 -0
- package/dist-types/commands/DeleteConfiguredModelAlgorithmAssociationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMLConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMLInputChannelDataCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTrainedModelOutputCommand.d.ts +5 -1
- package/dist-types/commands/GetCollaborationConfiguredModelAlgorithmAssociationCommand.d.ts +7 -0
- package/dist-types/commands/GetCollaborationMLInputChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetCollaborationTrainedModelCommand.d.ts +13 -0
- package/dist-types/commands/GetConfiguredModelAlgorithmAssociationCommand.d.ts +7 -0
- package/dist-types/commands/GetMLConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetMLInputChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetTrainedModelCommand.d.ts +14 -0
- package/dist-types/commands/GetTrainedModelInferenceJobCommand.d.ts +4 -0
- package/dist-types/commands/ListCollaborationConfiguredModelAlgorithmAssociationsCommand.d.ts +3 -0
- package/dist-types/commands/ListCollaborationMLInputChannelsCommand.d.ts +3 -0
- package/dist-types/commands/ListCollaborationTrainedModelExportJobsCommand.d.ts +5 -0
- package/dist-types/commands/ListCollaborationTrainedModelInferenceJobsCommand.d.ts +5 -0
- package/dist-types/commands/ListCollaborationTrainedModelsCommand.d.ts +11 -0
- package/dist-types/commands/ListConfiguredModelAlgorithmAssociationsCommand.d.ts +3 -0
- package/dist-types/commands/ListMLInputChannelsCommand.d.ts +3 -0
- package/dist-types/commands/ListTrainedModelInferenceJobsCommand.d.ts +5 -0
- package/dist-types/commands/ListTrainedModelVersionsCommand.d.ts +109 -0
- package/dist-types/commands/ListTrainedModelsCommand.d.ts +11 -0
- package/dist-types/commands/PutMLConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/StartAudienceGenerationJobCommand.d.ts +3 -0
- package/dist-types/commands/StartTrainedModelExportJobCommand.d.ts +4 -0
- package/dist-types/commands/StartTrainedModelInferenceJobCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -6
- package/dist-types/models/models_0.d.ts +341 -411
- package/dist-types/pagination/ListTrainedModelVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/CleanRoomsML.d.ts +17 -0
- package/dist-types/ts3.4/CleanRoomsMLClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListTrainedModelVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +97 -0
- package/dist-types/ts3.4/pagination/ListTrainedModelVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListTrainedModelVersionsCommandInput, ListTrainedModelVersionsCommandOutput } from "../commands/ListTrainedModelVersionsCommand";
|
|
3
|
+
import { CleanRoomsMLPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListTrainedModelVersions: (config: CleanRoomsMLPaginationConfiguration, input: ListTrainedModelVersionsCommandInput, ...rest: any[]) => Paginator<ListTrainedModelVersionsCommandOutput>;
|
|
@@ -12,5 +12,6 @@ export * from "./ListConfiguredModelAlgorithmAssociationsPaginator";
|
|
|
12
12
|
export * from "./ListConfiguredModelAlgorithmsPaginator";
|
|
13
13
|
export * from "./ListMLInputChannelsPaginator";
|
|
14
14
|
export * from "./ListTrainedModelInferenceJobsPaginator";
|
|
15
|
+
export * from "./ListTrainedModelVersionsPaginator";
|
|
15
16
|
export * from "./ListTrainedModelsPaginator";
|
|
16
17
|
export * from "./ListTrainingDatasetsPaginator";
|
|
@@ -48,6 +48,7 @@ import { ListMLInputChannelsCommandInput, ListMLInputChannelsCommandOutput } fro
|
|
|
48
48
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
49
49
|
import { ListTrainedModelInferenceJobsCommandInput, ListTrainedModelInferenceJobsCommandOutput } from "../commands/ListTrainedModelInferenceJobsCommand";
|
|
50
50
|
import { ListTrainedModelsCommandInput, ListTrainedModelsCommandOutput } from "../commands/ListTrainedModelsCommand";
|
|
51
|
+
import { ListTrainedModelVersionsCommandInput, ListTrainedModelVersionsCommandOutput } from "../commands/ListTrainedModelVersionsCommand";
|
|
51
52
|
import { ListTrainingDatasetsCommandInput, ListTrainingDatasetsCommandOutput } from "../commands/ListTrainingDatasetsCommand";
|
|
52
53
|
import { PutConfiguredAudienceModelPolicyCommandInput, PutConfiguredAudienceModelPolicyCommandOutput } from "../commands/PutConfiguredAudienceModelPolicyCommand";
|
|
53
54
|
import { PutMLConfigurationCommandInput, PutMLConfigurationCommandOutput } from "../commands/PutMLConfigurationCommand";
|
|
@@ -250,6 +251,10 @@ export declare const se_ListTrainedModelInferenceJobsCommand: (input: ListTraine
|
|
|
250
251
|
* serializeAws_restJson1ListTrainedModelsCommand
|
|
251
252
|
*/
|
|
252
253
|
export declare const se_ListTrainedModelsCommand: (input: ListTrainedModelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
254
|
+
/**
|
|
255
|
+
* serializeAws_restJson1ListTrainedModelVersionsCommand
|
|
256
|
+
*/
|
|
257
|
+
export declare const se_ListTrainedModelVersionsCommand: (input: ListTrainedModelVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
253
258
|
/**
|
|
254
259
|
* serializeAws_restJson1ListTrainingDatasetsCommand
|
|
255
260
|
*/
|
|
@@ -482,6 +487,10 @@ export declare const de_ListTrainedModelInferenceJobsCommand: (output: __HttpRes
|
|
|
482
487
|
* deserializeAws_restJson1ListTrainedModelsCommand
|
|
483
488
|
*/
|
|
484
489
|
export declare const de_ListTrainedModelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTrainedModelsCommandOutput>;
|
|
490
|
+
/**
|
|
491
|
+
* deserializeAws_restJson1ListTrainedModelVersionsCommand
|
|
492
|
+
*/
|
|
493
|
+
export declare const de_ListTrainedModelVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTrainedModelVersionsCommandOutput>;
|
|
485
494
|
/**
|
|
486
495
|
* deserializeAws_restJson1ListTrainingDatasetsCommand
|
|
487
496
|
*/
|
|
@@ -192,6 +192,10 @@ import {
|
|
|
192
192
|
ListTrainedModelsCommandInput,
|
|
193
193
|
ListTrainedModelsCommandOutput,
|
|
194
194
|
} from "./commands/ListTrainedModelsCommand";
|
|
195
|
+
import {
|
|
196
|
+
ListTrainedModelVersionsCommandInput,
|
|
197
|
+
ListTrainedModelVersionsCommandOutput,
|
|
198
|
+
} from "./commands/ListTrainedModelVersionsCommand";
|
|
195
199
|
import {
|
|
196
200
|
ListTrainingDatasetsCommandInput,
|
|
197
201
|
ListTrainingDatasetsCommandOutput,
|
|
@@ -916,6 +920,19 @@ export interface CleanRoomsML {
|
|
|
916
920
|
options: __HttpHandlerOptions,
|
|
917
921
|
cb: (err: any, data?: ListTrainedModelsCommandOutput) => void
|
|
918
922
|
): void;
|
|
923
|
+
listTrainedModelVersions(
|
|
924
|
+
args: ListTrainedModelVersionsCommandInput,
|
|
925
|
+
options?: __HttpHandlerOptions
|
|
926
|
+
): Promise<ListTrainedModelVersionsCommandOutput>;
|
|
927
|
+
listTrainedModelVersions(
|
|
928
|
+
args: ListTrainedModelVersionsCommandInput,
|
|
929
|
+
cb: (err: any, data?: ListTrainedModelVersionsCommandOutput) => void
|
|
930
|
+
): void;
|
|
931
|
+
listTrainedModelVersions(
|
|
932
|
+
args: ListTrainedModelVersionsCommandInput,
|
|
933
|
+
options: __HttpHandlerOptions,
|
|
934
|
+
cb: (err: any, data?: ListTrainedModelVersionsCommandOutput) => void
|
|
935
|
+
): void;
|
|
919
936
|
listTrainingDatasets(): Promise<ListTrainingDatasetsCommandOutput>;
|
|
920
937
|
listTrainingDatasets(
|
|
921
938
|
args: ListTrainingDatasetsCommandInput,
|
|
@@ -237,6 +237,10 @@ import {
|
|
|
237
237
|
ListTrainedModelsCommandInput,
|
|
238
238
|
ListTrainedModelsCommandOutput,
|
|
239
239
|
} from "./commands/ListTrainedModelsCommand";
|
|
240
|
+
import {
|
|
241
|
+
ListTrainedModelVersionsCommandInput,
|
|
242
|
+
ListTrainedModelVersionsCommandOutput,
|
|
243
|
+
} from "./commands/ListTrainedModelVersionsCommand";
|
|
240
244
|
import {
|
|
241
245
|
ListTrainingDatasetsCommandInput,
|
|
242
246
|
ListTrainingDatasetsCommandOutput,
|
|
@@ -332,6 +336,7 @@ export type ServiceInputTypes =
|
|
|
332
336
|
| ListMLInputChannelsCommandInput
|
|
333
337
|
| ListTagsForResourceCommandInput
|
|
334
338
|
| ListTrainedModelInferenceJobsCommandInput
|
|
339
|
+
| ListTrainedModelVersionsCommandInput
|
|
335
340
|
| ListTrainedModelsCommandInput
|
|
336
341
|
| ListTrainingDatasetsCommandInput
|
|
337
342
|
| PutConfiguredAudienceModelPolicyCommandInput
|
|
@@ -391,6 +396,7 @@ export type ServiceOutputTypes =
|
|
|
391
396
|
| ListMLInputChannelsCommandOutput
|
|
392
397
|
| ListTagsForResourceCommandOutput
|
|
393
398
|
| ListTrainedModelInferenceJobsCommandOutput
|
|
399
|
+
| ListTrainedModelVersionsCommandOutput
|
|
394
400
|
| ListTrainedModelsCommandOutput
|
|
395
401
|
| ListTrainingDatasetsCommandOutput
|
|
396
402
|
| PutConfiguredAudienceModelPolicyCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CleanRoomsMLClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CleanRoomsMLClient";
|
|
8
|
+
import {
|
|
9
|
+
ListTrainedModelVersionsRequest,
|
|
10
|
+
ListTrainedModelVersionsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListTrainedModelVersionsCommandInput
|
|
15
|
+
extends ListTrainedModelVersionsRequest {}
|
|
16
|
+
export interface ListTrainedModelVersionsCommandOutput
|
|
17
|
+
extends ListTrainedModelVersionsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListTrainedModelVersionsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListTrainedModelVersionsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListTrainedModelVersionsCommandInput,
|
|
24
|
+
ListTrainedModelVersionsCommandOutput,
|
|
25
|
+
CleanRoomsMLClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListTrainedModelVersionsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListTrainedModelVersionsCommandInput,
|
|
33
|
+
ListTrainedModelVersionsCommandOutput,
|
|
34
|
+
CleanRoomsMLClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListTrainedModelVersionsCommand extends ListTrainedModelVersionsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListTrainedModelVersionsRequest;
|
|
44
|
+
output: ListTrainedModelVersionsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListTrainedModelVersionsCommandInput;
|
|
48
|
+
output: ListTrainedModelVersionsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -45,6 +45,7 @@ export * from "./ListConfiguredModelAlgorithmsCommand";
|
|
|
45
45
|
export * from "./ListMLInputChannelsCommand";
|
|
46
46
|
export * from "./ListTagsForResourceCommand";
|
|
47
47
|
export * from "./ListTrainedModelInferenceJobsCommand";
|
|
48
|
+
export * from "./ListTrainedModelVersionsCommand";
|
|
48
49
|
export * from "./ListTrainedModelsCommand";
|
|
49
50
|
export * from "./ListTrainingDatasetsCommand";
|
|
50
51
|
export * from "./PutConfiguredAudienceModelPolicyCommand";
|
|
@@ -77,6 +77,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
77
77
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
78
78
|
readonly name: "ServiceQuotaExceededException";
|
|
79
79
|
readonly $fault: "client";
|
|
80
|
+
quotaName?: string | undefined;
|
|
81
|
+
quotaValue?: number | undefined;
|
|
80
82
|
constructor(
|
|
81
83
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
82
84
|
);
|
|
@@ -201,6 +203,13 @@ export interface StartAudienceGenerationJobRequest {
|
|
|
201
203
|
export interface StartAudienceGenerationJobResponse {
|
|
202
204
|
audienceGenerationJobArn: string | undefined;
|
|
203
205
|
}
|
|
206
|
+
export declare class ThrottlingException extends __BaseException {
|
|
207
|
+
readonly name: "ThrottlingException";
|
|
208
|
+
readonly $fault: "client";
|
|
209
|
+
constructor(
|
|
210
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
211
|
+
);
|
|
212
|
+
}
|
|
204
213
|
export interface CreateAudienceModelRequest {
|
|
205
214
|
trainingDataStartTime?: Date | undefined;
|
|
206
215
|
trainingDataEndTime?: Date | undefined;
|
|
@@ -483,9 +492,19 @@ export type NoiseLevelType =
|
|
|
483
492
|
export interface MetricsConfigurationPolicy {
|
|
484
493
|
noiseLevel: NoiseLevelType | undefined;
|
|
485
494
|
}
|
|
495
|
+
export declare const TrainedModelArtifactMaxSizeUnitType: {
|
|
496
|
+
readonly GB: "GB";
|
|
497
|
+
};
|
|
498
|
+
export type TrainedModelArtifactMaxSizeUnitType =
|
|
499
|
+
(typeof TrainedModelArtifactMaxSizeUnitType)[keyof typeof TrainedModelArtifactMaxSizeUnitType];
|
|
500
|
+
export interface TrainedModelArtifactMaxSize {
|
|
501
|
+
unit: TrainedModelArtifactMaxSizeUnitType | undefined;
|
|
502
|
+
value: number | undefined;
|
|
503
|
+
}
|
|
486
504
|
export interface TrainedModelsConfigurationPolicy {
|
|
487
505
|
containerLogs?: LogsConfigurationPolicy[] | undefined;
|
|
488
506
|
containerMetrics?: MetricsConfigurationPolicy | undefined;
|
|
507
|
+
maxArtifactSize?: TrainedModelArtifactMaxSize | undefined;
|
|
489
508
|
}
|
|
490
509
|
export interface PrivacyConfigurationPolicies {
|
|
491
510
|
trainedModels?: TrainedModelsConfigurationPolicy | undefined;
|
|
@@ -627,6 +646,7 @@ export interface ListCollaborationTrainedModelExportJobsRequest {
|
|
|
627
646
|
maxResults?: number | undefined;
|
|
628
647
|
collaborationIdentifier: string | undefined;
|
|
629
648
|
trainedModelArn: string | undefined;
|
|
649
|
+
trainedModelVersionIdentifier?: string | undefined;
|
|
630
650
|
}
|
|
631
651
|
export interface TrainedModelExportReceiverMember {
|
|
632
652
|
accountId: string | undefined;
|
|
@@ -652,6 +672,7 @@ export interface CollaborationTrainedModelExportJobSummary {
|
|
|
652
672
|
description?: string | undefined;
|
|
653
673
|
creatorAccountId: string | undefined;
|
|
654
674
|
trainedModelArn: string | undefined;
|
|
675
|
+
trainedModelVersionIdentifier?: string | undefined;
|
|
655
676
|
membershipIdentifier: string | undefined;
|
|
656
677
|
collaborationIdentifier: string | undefined;
|
|
657
678
|
}
|
|
@@ -666,6 +687,7 @@ export interface ListCollaborationTrainedModelInferenceJobsRequest {
|
|
|
666
687
|
maxResults?: number | undefined;
|
|
667
688
|
collaborationIdentifier: string | undefined;
|
|
668
689
|
trainedModelArn?: string | undefined;
|
|
690
|
+
trainedModelVersionIdentifier?: string | undefined;
|
|
669
691
|
}
|
|
670
692
|
export declare const LogsStatus: {
|
|
671
693
|
readonly PUBLISH_FAILED: "PUBLISH_FAILED";
|
|
@@ -701,6 +723,7 @@ export interface CollaborationTrainedModelInferenceJobSummary {
|
|
|
701
723
|
configuredModelAlgorithmAssociationArn?: string | undefined;
|
|
702
724
|
membershipIdentifier: string | undefined;
|
|
703
725
|
trainedModelArn: string | undefined;
|
|
726
|
+
trainedModelVersionIdentifier?: string | undefined;
|
|
704
727
|
collaborationIdentifier: string | undefined;
|
|
705
728
|
status: TrainedModelInferenceJobStatus | undefined;
|
|
706
729
|
outputConfiguration: InferenceOutputConfiguration | undefined;
|
|
@@ -725,6 +748,11 @@ export interface ListCollaborationTrainedModelsRequest {
|
|
|
725
748
|
maxResults?: number | undefined;
|
|
726
749
|
collaborationIdentifier: string | undefined;
|
|
727
750
|
}
|
|
751
|
+
export interface IncrementalTrainingDataChannelOutput {
|
|
752
|
+
channelName: string | undefined;
|
|
753
|
+
versionIdentifier?: string | undefined;
|
|
754
|
+
modelName: string | undefined;
|
|
755
|
+
}
|
|
728
756
|
export declare const TrainedModelStatus: {
|
|
729
757
|
readonly ACTIVE: "ACTIVE";
|
|
730
758
|
readonly CANCEL_FAILED: "CANCEL_FAILED";
|
|
@@ -745,6 +773,10 @@ export interface CollaborationTrainedModelSummary {
|
|
|
745
773
|
updateTime: Date | undefined;
|
|
746
774
|
trainedModelArn: string | undefined;
|
|
747
775
|
name: string | undefined;
|
|
776
|
+
versionIdentifier?: string | undefined;
|
|
777
|
+
incrementalTrainingDataChannels?:
|
|
778
|
+
| IncrementalTrainingDataChannelOutput[]
|
|
779
|
+
| undefined;
|
|
748
780
|
description?: string | undefined;
|
|
749
781
|
membershipIdentifier: string | undefined;
|
|
750
782
|
collaborationIdentifier: string | undefined;
|
|
@@ -900,10 +932,23 @@ export interface TagResourceResponse {}
|
|
|
900
932
|
export interface CancelTrainedModelRequest {
|
|
901
933
|
membershipIdentifier: string | undefined;
|
|
902
934
|
trainedModelArn: string | undefined;
|
|
935
|
+
versionIdentifier?: string | undefined;
|
|
903
936
|
}
|
|
937
|
+
export declare const S3DataDistributionType: {
|
|
938
|
+
readonly FULLY_REPLICATED: "FullyReplicated";
|
|
939
|
+
readonly SHARDED_BY_S3_KEY: "ShardedByS3Key";
|
|
940
|
+
};
|
|
941
|
+
export type S3DataDistributionType =
|
|
942
|
+
(typeof S3DataDistributionType)[keyof typeof S3DataDistributionType];
|
|
904
943
|
export interface ModelTrainingDataChannel {
|
|
905
944
|
mlInputChannelArn: string | undefined;
|
|
906
945
|
channelName: string | undefined;
|
|
946
|
+
s3DataDistributionType?: S3DataDistributionType | undefined;
|
|
947
|
+
}
|
|
948
|
+
export interface IncrementalTrainingDataChannel {
|
|
949
|
+
trainedModelArn: string | undefined;
|
|
950
|
+
versionIdentifier?: string | undefined;
|
|
951
|
+
channelName: string | undefined;
|
|
907
952
|
}
|
|
908
953
|
export declare const _InstanceType: {
|
|
909
954
|
readonly ML_C4_2XLARGE: "ml.c4.2xlarge";
|
|
@@ -1005,6 +1050,13 @@ export interface ResourceConfig {
|
|
|
1005
1050
|
export interface StoppingCondition {
|
|
1006
1051
|
maxRuntimeInSeconds?: number | undefined;
|
|
1007
1052
|
}
|
|
1053
|
+
export declare const TrainingInputMode: {
|
|
1054
|
+
readonly FAST_FILE: "FastFile";
|
|
1055
|
+
readonly FILE: "File";
|
|
1056
|
+
readonly PIPE: "Pipe";
|
|
1057
|
+
};
|
|
1058
|
+
export type TrainingInputMode =
|
|
1059
|
+
(typeof TrainingInputMode)[keyof typeof TrainingInputMode];
|
|
1008
1060
|
export interface CreateTrainedModelRequest {
|
|
1009
1061
|
membershipIdentifier: string | undefined;
|
|
1010
1062
|
name: string | undefined;
|
|
@@ -1013,32 +1065,51 @@ export interface CreateTrainedModelRequest {
|
|
|
1013
1065
|
environment?: Record<string, string> | undefined;
|
|
1014
1066
|
resourceConfig: ResourceConfig | undefined;
|
|
1015
1067
|
stoppingCondition?: StoppingCondition | undefined;
|
|
1068
|
+
incrementalTrainingDataChannels?:
|
|
1069
|
+
| IncrementalTrainingDataChannel[]
|
|
1070
|
+
| undefined;
|
|
1016
1071
|
dataChannels: ModelTrainingDataChannel[] | undefined;
|
|
1072
|
+
trainingInputMode?: TrainingInputMode | undefined;
|
|
1017
1073
|
description?: string | undefined;
|
|
1018
1074
|
kmsKeyArn?: string | undefined;
|
|
1019
1075
|
tags?: Record<string, string> | undefined;
|
|
1020
1076
|
}
|
|
1021
1077
|
export interface CreateTrainedModelResponse {
|
|
1022
1078
|
trainedModelArn: string | undefined;
|
|
1079
|
+
versionIdentifier?: string | undefined;
|
|
1080
|
+
}
|
|
1081
|
+
export declare class InternalServiceException extends __BaseException {
|
|
1082
|
+
readonly name: "InternalServiceException";
|
|
1083
|
+
readonly $fault: "server";
|
|
1084
|
+
constructor(
|
|
1085
|
+
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
1086
|
+
);
|
|
1023
1087
|
}
|
|
1024
1088
|
export interface DeleteTrainedModelOutputRequest {
|
|
1025
1089
|
trainedModelArn: string | undefined;
|
|
1026
1090
|
membershipIdentifier: string | undefined;
|
|
1091
|
+
versionIdentifier?: string | undefined;
|
|
1027
1092
|
}
|
|
1028
1093
|
export interface GetCollaborationTrainedModelRequest {
|
|
1029
1094
|
trainedModelArn: string | undefined;
|
|
1030
1095
|
collaborationIdentifier: string | undefined;
|
|
1096
|
+
versionIdentifier?: string | undefined;
|
|
1031
1097
|
}
|
|
1032
1098
|
export interface GetCollaborationTrainedModelResponse {
|
|
1033
1099
|
membershipIdentifier: string | undefined;
|
|
1034
1100
|
collaborationIdentifier: string | undefined;
|
|
1035
1101
|
trainedModelArn: string | undefined;
|
|
1102
|
+
versionIdentifier?: string | undefined;
|
|
1103
|
+
incrementalTrainingDataChannels?:
|
|
1104
|
+
| IncrementalTrainingDataChannelOutput[]
|
|
1105
|
+
| undefined;
|
|
1036
1106
|
name: string | undefined;
|
|
1037
1107
|
description?: string | undefined;
|
|
1038
1108
|
status: TrainedModelStatus | undefined;
|
|
1039
1109
|
statusDetails?: StatusDetails | undefined;
|
|
1040
1110
|
configuredModelAlgorithmAssociationArn: string | undefined;
|
|
1041
1111
|
resourceConfig?: ResourceConfig | undefined;
|
|
1112
|
+
trainingInputMode?: TrainingInputMode | undefined;
|
|
1042
1113
|
stoppingCondition?: StoppingCondition | undefined;
|
|
1043
1114
|
metricsStatus?: MetricsStatus | undefined;
|
|
1044
1115
|
metricsStatusDetails?: string | undefined;
|
|
@@ -1052,17 +1123,23 @@ export interface GetCollaborationTrainedModelResponse {
|
|
|
1052
1123
|
export interface GetTrainedModelRequest {
|
|
1053
1124
|
trainedModelArn: string | undefined;
|
|
1054
1125
|
membershipIdentifier: string | undefined;
|
|
1126
|
+
versionIdentifier?: string | undefined;
|
|
1055
1127
|
}
|
|
1056
1128
|
export interface GetTrainedModelResponse {
|
|
1057
1129
|
membershipIdentifier: string | undefined;
|
|
1058
1130
|
collaborationIdentifier: string | undefined;
|
|
1059
1131
|
trainedModelArn: string | undefined;
|
|
1132
|
+
versionIdentifier?: string | undefined;
|
|
1133
|
+
incrementalTrainingDataChannels?:
|
|
1134
|
+
| IncrementalTrainingDataChannelOutput[]
|
|
1135
|
+
| undefined;
|
|
1060
1136
|
name: string | undefined;
|
|
1061
1137
|
description?: string | undefined;
|
|
1062
1138
|
status: TrainedModelStatus | undefined;
|
|
1063
1139
|
statusDetails?: StatusDetails | undefined;
|
|
1064
1140
|
configuredModelAlgorithmAssociationArn: string | undefined;
|
|
1065
1141
|
resourceConfig?: ResourceConfig | undefined;
|
|
1142
|
+
trainingInputMode?: TrainingInputMode | undefined;
|
|
1066
1143
|
stoppingCondition?: StoppingCondition | undefined;
|
|
1067
1144
|
metricsStatus?: MetricsStatus | undefined;
|
|
1068
1145
|
metricsStatusDetails?: string | undefined;
|
|
@@ -1086,6 +1163,10 @@ export interface TrainedModelSummary {
|
|
|
1086
1163
|
createTime: Date | undefined;
|
|
1087
1164
|
updateTime: Date | undefined;
|
|
1088
1165
|
trainedModelArn: string | undefined;
|
|
1166
|
+
versionIdentifier?: string | undefined;
|
|
1167
|
+
incrementalTrainingDataChannels?:
|
|
1168
|
+
| IncrementalTrainingDataChannelOutput[]
|
|
1169
|
+
| undefined;
|
|
1089
1170
|
name: string | undefined;
|
|
1090
1171
|
description?: string | undefined;
|
|
1091
1172
|
membershipIdentifier: string | undefined;
|
|
@@ -1097,9 +1178,21 @@ export interface ListTrainedModelsResponse {
|
|
|
1097
1178
|
nextToken?: string | undefined;
|
|
1098
1179
|
trainedModels: TrainedModelSummary[] | undefined;
|
|
1099
1180
|
}
|
|
1181
|
+
export interface ListTrainedModelVersionsRequest {
|
|
1182
|
+
nextToken?: string | undefined;
|
|
1183
|
+
maxResults?: number | undefined;
|
|
1184
|
+
membershipIdentifier: string | undefined;
|
|
1185
|
+
trainedModelArn: string | undefined;
|
|
1186
|
+
status?: TrainedModelStatus | undefined;
|
|
1187
|
+
}
|
|
1188
|
+
export interface ListTrainedModelVersionsResponse {
|
|
1189
|
+
nextToken?: string | undefined;
|
|
1190
|
+
trainedModels: TrainedModelSummary[] | undefined;
|
|
1191
|
+
}
|
|
1100
1192
|
export interface StartTrainedModelExportJobRequest {
|
|
1101
1193
|
name: string | undefined;
|
|
1102
1194
|
trainedModelArn: string | undefined;
|
|
1195
|
+
trainedModelVersionIdentifier?: string | undefined;
|
|
1103
1196
|
membershipIdentifier: string | undefined;
|
|
1104
1197
|
outputConfiguration: TrainedModelExportOutputConfiguration | undefined;
|
|
1105
1198
|
description?: string | undefined;
|
|
@@ -1228,6 +1321,7 @@ export interface GetTrainedModelInferenceJobResponse {
|
|
|
1228
1321
|
name: string | undefined;
|
|
1229
1322
|
status: TrainedModelInferenceJobStatus | undefined;
|
|
1230
1323
|
trainedModelArn: string | undefined;
|
|
1324
|
+
trainedModelVersionIdentifier?: string | undefined;
|
|
1231
1325
|
resourceConfig: InferenceResourceConfig | undefined;
|
|
1232
1326
|
outputConfiguration: InferenceOutputConfiguration | undefined;
|
|
1233
1327
|
membershipIdentifier: string | undefined;
|
|
@@ -1251,12 +1345,14 @@ export interface ListTrainedModelInferenceJobsRequest {
|
|
|
1251
1345
|
maxResults?: number | undefined;
|
|
1252
1346
|
membershipIdentifier: string | undefined;
|
|
1253
1347
|
trainedModelArn?: string | undefined;
|
|
1348
|
+
trainedModelVersionIdentifier?: string | undefined;
|
|
1254
1349
|
}
|
|
1255
1350
|
export interface TrainedModelInferenceJobSummary {
|
|
1256
1351
|
trainedModelInferenceJobArn: string | undefined;
|
|
1257
1352
|
configuredModelAlgorithmAssociationArn?: string | undefined;
|
|
1258
1353
|
membershipIdentifier: string | undefined;
|
|
1259
1354
|
trainedModelArn: string | undefined;
|
|
1355
|
+
trainedModelVersionIdentifier?: string | undefined;
|
|
1260
1356
|
collaborationIdentifier: string | undefined;
|
|
1261
1357
|
status: TrainedModelInferenceJobStatus | undefined;
|
|
1262
1358
|
outputConfiguration: InferenceOutputConfiguration | undefined;
|
|
@@ -1277,6 +1373,7 @@ export interface StartTrainedModelInferenceJobRequest {
|
|
|
1277
1373
|
membershipIdentifier: string | undefined;
|
|
1278
1374
|
name: string | undefined;
|
|
1279
1375
|
trainedModelArn: string | undefined;
|
|
1376
|
+
trainedModelVersionIdentifier?: string | undefined;
|
|
1280
1377
|
configuredModelAlgorithmAssociationArn?: string | undefined;
|
|
1281
1378
|
resourceConfig: InferenceResourceConfig | undefined;
|
|
1282
1379
|
outputConfiguration: InferenceOutputConfiguration | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTrainedModelVersionsCommandInput,
|
|
4
|
+
ListTrainedModelVersionsCommandOutput,
|
|
5
|
+
} from "../commands/ListTrainedModelVersionsCommand";
|
|
6
|
+
import { CleanRoomsMLPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListTrainedModelVersions: (
|
|
8
|
+
config: CleanRoomsMLPaginationConfiguration,
|
|
9
|
+
input: ListTrainedModelVersionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTrainedModelVersionsCommandOutput>;
|
|
@@ -12,5 +12,6 @@ export * from "./ListConfiguredModelAlgorithmAssociationsPaginator";
|
|
|
12
12
|
export * from "./ListConfiguredModelAlgorithmsPaginator";
|
|
13
13
|
export * from "./ListMLInputChannelsPaginator";
|
|
14
14
|
export * from "./ListTrainedModelInferenceJobsPaginator";
|
|
15
|
+
export * from "./ListTrainedModelVersionsPaginator";
|
|
15
16
|
export * from "./ListTrainedModelsPaginator";
|
|
16
17
|
export * from "./ListTrainingDatasetsPaginator";
|
|
@@ -195,6 +195,10 @@ import {
|
|
|
195
195
|
ListTrainedModelsCommandInput,
|
|
196
196
|
ListTrainedModelsCommandOutput,
|
|
197
197
|
} from "../commands/ListTrainedModelsCommand";
|
|
198
|
+
import {
|
|
199
|
+
ListTrainedModelVersionsCommandInput,
|
|
200
|
+
ListTrainedModelVersionsCommandOutput,
|
|
201
|
+
} from "../commands/ListTrainedModelVersionsCommand";
|
|
198
202
|
import {
|
|
199
203
|
ListTrainingDatasetsCommandInput,
|
|
200
204
|
ListTrainingDatasetsCommandOutput,
|
|
@@ -427,6 +431,10 @@ export declare const se_ListTrainedModelsCommand: (
|
|
|
427
431
|
input: ListTrainedModelsCommandInput,
|
|
428
432
|
context: __SerdeContext
|
|
429
433
|
) => Promise<__HttpRequest>;
|
|
434
|
+
export declare const se_ListTrainedModelVersionsCommand: (
|
|
435
|
+
input: ListTrainedModelVersionsCommandInput,
|
|
436
|
+
context: __SerdeContext
|
|
437
|
+
) => Promise<__HttpRequest>;
|
|
430
438
|
export declare const se_ListTrainingDatasetsCommand: (
|
|
431
439
|
input: ListTrainingDatasetsCommandInput,
|
|
432
440
|
context: __SerdeContext
|
|
@@ -659,6 +667,10 @@ export declare const de_ListTrainedModelsCommand: (
|
|
|
659
667
|
output: __HttpResponse,
|
|
660
668
|
context: __SerdeContext
|
|
661
669
|
) => Promise<ListTrainedModelsCommandOutput>;
|
|
670
|
+
export declare const de_ListTrainedModelVersionsCommand: (
|
|
671
|
+
output: __HttpResponse,
|
|
672
|
+
context: __SerdeContext
|
|
673
|
+
) => Promise<ListTrainedModelVersionsCommandOutput>;
|
|
662
674
|
export declare const de_ListTrainingDatasetsCommand: (
|
|
663
675
|
output: __HttpResponse,
|
|
664
676
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cleanroomsml",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cleanroomsml Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.841.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cleanroomsml",
|