@aws-sdk/client-cleanroomsml 3.682.0 → 3.687.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 +265 -1
- package/dist-cjs/index.js +2347 -97
- package/dist-es/CleanRoomsML.js +66 -0
- package/dist-es/commands/CancelTrainedModelCommand.js +22 -0
- package/dist-es/commands/CancelTrainedModelInferenceJobCommand.js +22 -0
- package/dist-es/commands/CreateConfiguredModelAlgorithmAssociationCommand.js +22 -0
- package/dist-es/commands/CreateConfiguredModelAlgorithmCommand.js +22 -0
- package/dist-es/commands/CreateMLInputChannelCommand.js +23 -0
- package/dist-es/commands/CreateTrainedModelCommand.js +22 -0
- package/dist-es/commands/DeleteConfiguredModelAlgorithmAssociationCommand.js +22 -0
- package/dist-es/commands/DeleteConfiguredModelAlgorithmCommand.js +22 -0
- package/dist-es/commands/DeleteMLConfigurationCommand.js +22 -0
- package/dist-es/commands/DeleteMLInputChannelDataCommand.js +22 -0
- package/dist-es/commands/DeleteTrainedModelOutputCommand.js +22 -0
- package/dist-es/commands/GetCollaborationConfiguredModelAlgorithmAssociationCommand.js +22 -0
- package/dist-es/commands/GetCollaborationMLInputChannelCommand.js +22 -0
- package/dist-es/commands/GetCollaborationTrainedModelCommand.js +22 -0
- package/dist-es/commands/GetConfiguredModelAlgorithmAssociationCommand.js +22 -0
- package/dist-es/commands/GetConfiguredModelAlgorithmCommand.js +22 -0
- package/dist-es/commands/GetMLConfigurationCommand.js +22 -0
- package/dist-es/commands/GetMLInputChannelCommand.js +23 -0
- package/dist-es/commands/GetTrainedModelCommand.js +22 -0
- package/dist-es/commands/GetTrainedModelInferenceJobCommand.js +22 -0
- package/dist-es/commands/ListCollaborationConfiguredModelAlgorithmAssociationsCommand.js +22 -0
- package/dist-es/commands/ListCollaborationMLInputChannelsCommand.js +22 -0
- package/dist-es/commands/ListCollaborationTrainedModelExportJobsCommand.js +22 -0
- package/dist-es/commands/ListCollaborationTrainedModelInferenceJobsCommand.js +22 -0
- package/dist-es/commands/ListCollaborationTrainedModelsCommand.js +22 -0
- package/dist-es/commands/ListConfiguredModelAlgorithmAssociationsCommand.js +22 -0
- package/dist-es/commands/ListConfiguredModelAlgorithmsCommand.js +22 -0
- package/dist-es/commands/ListMLInputChannelsCommand.js +22 -0
- package/dist-es/commands/ListTrainedModelInferenceJobsCommand.js +22 -0
- package/dist-es/commands/ListTrainedModelsCommand.js +22 -0
- package/dist-es/commands/PutMLConfigurationCommand.js +22 -0
- package/dist-es/commands/StartTrainedModelExportJobCommand.js +22 -0
- package/dist-es/commands/StartTrainedModelInferenceJobCommand.js +22 -0
- package/dist-es/commands/index.js +33 -0
- package/dist-es/models/models_0.js +295 -0
- package/dist-es/pagination/ListCollaborationConfiguredModelAlgorithmAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListCollaborationMLInputChannelsPaginator.js +4 -0
- package/dist-es/pagination/ListCollaborationTrainedModelExportJobsPaginator.js +4 -0
- package/dist-es/pagination/ListCollaborationTrainedModelInferenceJobsPaginator.js +4 -0
- package/dist-es/pagination/ListCollaborationTrainedModelsPaginator.js +4 -0
- package/dist-es/pagination/ListConfiguredModelAlgorithmAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListConfiguredModelAlgorithmsPaginator.js +4 -0
- package/dist-es/pagination/ListMLInputChannelsPaginator.js +4 -0
- package/dist-es/pagination/ListTrainedModelInferenceJobsPaginator.js +4 -0
- package/dist-es/pagination/ListTrainedModelsPaginator.js +4 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +1320 -47
- package/dist-types/CleanRoomsML.d.ts +232 -0
- package/dist-types/CleanRoomsMLClient.d.ts +35 -2
- package/dist-types/commands/CancelTrainedModelCommand.d.ts +82 -0
- package/dist-types/commands/CancelTrainedModelInferenceJobCommand.d.ts +82 -0
- package/dist-types/commands/CreateConfiguredModelAlgorithmAssociationCommand.d.ts +132 -0
- package/dist-types/commands/CreateConfiguredModelAlgorithmCommand.d.ts +107 -0
- package/dist-types/commands/CreateMLInputChannelCommand.d.ts +116 -0
- package/dist-types/commands/CreateTrainedModelCommand.d.ts +113 -0
- package/dist-types/commands/DeleteConfiguredModelAlgorithmAssociationCommand.d.ts +82 -0
- package/dist-types/commands/DeleteConfiguredModelAlgorithmCommand.d.ts +81 -0
- package/dist-types/commands/DeleteMLConfigurationCommand.d.ts +78 -0
- package/dist-types/commands/DeleteMLInputChannelDataCommand.d.ts +82 -0
- package/dist-types/commands/DeleteTrainedModelOutputCommand.d.ts +82 -0
- package/dist-types/commands/GetCollaborationConfiguredModelAlgorithmAssociationCommand.d.ts +129 -0
- package/dist-types/commands/GetCollaborationMLInputChannelCommand.d.ts +98 -0
- package/dist-types/commands/GetCollaborationTrainedModelCommand.d.ts +107 -0
- package/dist-types/commands/GetConfiguredModelAlgorithmAssociationCommand.d.ts +131 -0
- package/dist-types/commands/GetConfiguredModelAlgorithmCommand.d.ts +107 -0
- package/dist-types/commands/GetMLConfigurationCommand.d.ts +90 -0
- package/dist-types/commands/GetMLInputChannelCommand.d.ts +124 -0
- package/dist-types/commands/GetTrainedModelCommand.d.ts +122 -0
- package/dist-types/commands/GetTrainedModelInferenceJobCommand.d.ts +123 -0
- package/dist-types/commands/ListCollaborationConfiguredModelAlgorithmAssociationsCommand.d.ts +92 -0
- package/dist-types/commands/ListCollaborationMLInputChannelsCommand.d.ts +95 -0
- package/dist-types/commands/ListCollaborationTrainedModelExportJobsCommand.d.ts +104 -0
- package/dist-types/commands/ListCollaborationTrainedModelInferenceJobsCommand.d.ts +107 -0
- package/dist-types/commands/ListCollaborationTrainedModelsCommand.d.ts +93 -0
- package/dist-types/commands/ListConfiguredModelAlgorithmAssociationsCommand.d.ts +91 -0
- package/dist-types/commands/ListConfiguredModelAlgorithmsCommand.d.ts +87 -0
- package/dist-types/commands/ListMLInputChannelsCommand.d.ts +95 -0
- package/dist-types/commands/ListTrainedModelInferenceJobsCommand.d.ts +106 -0
- package/dist-types/commands/ListTrainedModelsCommand.d.ts +92 -0
- package/dist-types/commands/PutMLConfigurationCommand.d.ts +83 -0
- package/dist-types/commands/StartTrainedModelExportJobCommand.d.ts +91 -0
- package/dist-types/commands/StartTrainedModelInferenceJobCommand.d.ts +115 -0
- package/dist-types/commands/index.d.ts +33 -0
- package/dist-types/models/models_0.d.ts +3461 -205
- package/dist-types/pagination/ListCollaborationConfiguredModelAlgorithmAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCollaborationMLInputChannelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCollaborationTrainedModelExportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCollaborationTrainedModelInferenceJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCollaborationTrainedModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfiguredModelAlgorithmAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfiguredModelAlgorithmsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMLInputChannelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrainedModelInferenceJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrainedModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +297 -0
- package/dist-types/ts3.4/CleanRoomsML.d.ts +610 -0
- package/dist-types/ts3.4/CleanRoomsMLClient.d.ts +198 -0
- package/dist-types/ts3.4/commands/CancelTrainedModelCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/CancelTrainedModelInferenceJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateConfiguredModelAlgorithmAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConfiguredModelAlgorithmCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateMLInputChannelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTrainedModelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteConfiguredModelAlgorithmAssociationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteConfiguredModelAlgorithmCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteMLConfigurationCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteMLInputChannelDataCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteTrainedModelOutputCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetCollaborationConfiguredModelAlgorithmAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCollaborationMLInputChannelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCollaborationTrainedModelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConfiguredModelAlgorithmAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConfiguredModelAlgorithmCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetMLConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetMLInputChannelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTrainedModelCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetTrainedModelInferenceJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCollaborationConfiguredModelAlgorithmAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCollaborationMLInputChannelsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCollaborationTrainedModelExportJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCollaborationTrainedModelInferenceJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCollaborationTrainedModelsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConfiguredModelAlgorithmAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConfiguredModelAlgorithmsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListMLInputChannelsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTrainedModelInferenceJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTrainedModelsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutMLConfigurationCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/StartTrainedModelExportJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StartTrainedModelInferenceJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +33 -0
- package/dist-types/ts3.4/models/models_0.d.ts +938 -0
- package/dist-types/ts3.4/pagination/ListCollaborationConfiguredModelAlgorithmAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCollaborationMLInputChannelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCollaborationTrainedModelExportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCollaborationTrainedModelInferenceJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCollaborationTrainedModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfiguredModelAlgorithmAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfiguredModelAlgorithmsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMLInputChannelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrainedModelInferenceJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrainedModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +396 -0
- package/package.json +35 -35
|
@@ -1,8 +1,28 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { CleanRoomsMLServiceException as __BaseException } from "../models/CleanRoomsMLServiceException";
|
|
5
5
|
import { AccessDeniedException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/models_0";
|
|
6
|
+
export const se_CancelTrainedModelCommand = async (input, context) => {
|
|
7
|
+
const b = rb(input, context);
|
|
8
|
+
const headers = {};
|
|
9
|
+
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}");
|
|
10
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
11
|
+
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
12
|
+
let body;
|
|
13
|
+
b.m("PATCH").h(headers).b(body);
|
|
14
|
+
return b.build();
|
|
15
|
+
};
|
|
16
|
+
export const se_CancelTrainedModelInferenceJobCommand = async (input, context) => {
|
|
17
|
+
const b = rb(input, context);
|
|
18
|
+
const headers = {};
|
|
19
|
+
b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs/{trainedModelInferenceJobArn}");
|
|
20
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
21
|
+
b.p("trainedModelInferenceJobArn", () => input.trainedModelInferenceJobArn, "{trainedModelInferenceJobArn}", false);
|
|
22
|
+
let body;
|
|
23
|
+
b.m("PATCH").h(headers).b(body);
|
|
24
|
+
return b.build();
|
|
25
|
+
};
|
|
6
26
|
export const se_CreateAudienceModelCommand = async (input, context) => {
|
|
7
27
|
const b = rb(input, context);
|
|
8
28
|
const headers = {
|
|
@@ -43,6 +63,86 @@ export const se_CreateConfiguredAudienceModelCommand = async (input, context) =>
|
|
|
43
63
|
b.m("POST").h(headers).b(body);
|
|
44
64
|
return b.build();
|
|
45
65
|
};
|
|
66
|
+
export const se_CreateConfiguredModelAlgorithmCommand = async (input, context) => {
|
|
67
|
+
const b = rb(input, context);
|
|
68
|
+
const headers = {
|
|
69
|
+
"content-type": "application/json",
|
|
70
|
+
};
|
|
71
|
+
b.bp("/configured-model-algorithms");
|
|
72
|
+
let body;
|
|
73
|
+
body = JSON.stringify(take(input, {
|
|
74
|
+
description: [],
|
|
75
|
+
inferenceContainerConfig: (_) => _json(_),
|
|
76
|
+
kmsKeyArn: [],
|
|
77
|
+
name: [],
|
|
78
|
+
roleArn: [],
|
|
79
|
+
tags: (_) => _json(_),
|
|
80
|
+
trainingContainerConfig: (_) => _json(_),
|
|
81
|
+
}));
|
|
82
|
+
b.m("POST").h(headers).b(body);
|
|
83
|
+
return b.build();
|
|
84
|
+
};
|
|
85
|
+
export const se_CreateConfiguredModelAlgorithmAssociationCommand = async (input, context) => {
|
|
86
|
+
const b = rb(input, context);
|
|
87
|
+
const headers = {
|
|
88
|
+
"content-type": "application/json",
|
|
89
|
+
};
|
|
90
|
+
b.bp("/memberships/{membershipIdentifier}/configured-model-algorithm-associations");
|
|
91
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
92
|
+
let body;
|
|
93
|
+
body = JSON.stringify(take(input, {
|
|
94
|
+
configuredModelAlgorithmArn: [],
|
|
95
|
+
description: [],
|
|
96
|
+
name: [],
|
|
97
|
+
privacyConfiguration: (_) => se_PrivacyConfiguration(_, context),
|
|
98
|
+
tags: (_) => _json(_),
|
|
99
|
+
}));
|
|
100
|
+
b.m("POST").h(headers).b(body);
|
|
101
|
+
return b.build();
|
|
102
|
+
};
|
|
103
|
+
export const se_CreateMLInputChannelCommand = async (input, context) => {
|
|
104
|
+
const b = rb(input, context);
|
|
105
|
+
const headers = {
|
|
106
|
+
"content-type": "application/json",
|
|
107
|
+
};
|
|
108
|
+
b.bp("/memberships/{membershipIdentifier}/ml-input-channels");
|
|
109
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
110
|
+
let body;
|
|
111
|
+
body = JSON.stringify(take(input, {
|
|
112
|
+
configuredModelAlgorithmAssociations: (_) => _json(_),
|
|
113
|
+
description: [],
|
|
114
|
+
inputChannel: (_) => _json(_),
|
|
115
|
+
kmsKeyArn: [],
|
|
116
|
+
name: [],
|
|
117
|
+
retentionInDays: [],
|
|
118
|
+
tags: (_) => _json(_),
|
|
119
|
+
}));
|
|
120
|
+
b.m("POST").h(headers).b(body);
|
|
121
|
+
return b.build();
|
|
122
|
+
};
|
|
123
|
+
export const se_CreateTrainedModelCommand = async (input, context) => {
|
|
124
|
+
const b = rb(input, context);
|
|
125
|
+
const headers = {
|
|
126
|
+
"content-type": "application/json",
|
|
127
|
+
};
|
|
128
|
+
b.bp("/memberships/{membershipIdentifier}/trained-models");
|
|
129
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
130
|
+
let body;
|
|
131
|
+
body = JSON.stringify(take(input, {
|
|
132
|
+
configuredModelAlgorithmAssociationArn: [],
|
|
133
|
+
dataChannels: (_) => _json(_),
|
|
134
|
+
description: [],
|
|
135
|
+
environment: (_) => _json(_),
|
|
136
|
+
hyperparameters: (_) => _json(_),
|
|
137
|
+
kmsKeyArn: [],
|
|
138
|
+
name: [],
|
|
139
|
+
resourceConfig: (_) => _json(_),
|
|
140
|
+
stoppingCondition: (_) => _json(_),
|
|
141
|
+
tags: (_) => _json(_),
|
|
142
|
+
}));
|
|
143
|
+
b.m("POST").h(headers).b(body);
|
|
144
|
+
return b.build();
|
|
145
|
+
};
|
|
46
146
|
export const se_CreateTrainingDatasetCommand = async (input, context) => {
|
|
47
147
|
const b = rb(input, context);
|
|
48
148
|
const headers = {
|
|
@@ -96,6 +196,54 @@ export const se_DeleteConfiguredAudienceModelPolicyCommand = async (input, conte
|
|
|
96
196
|
b.m("DELETE").h(headers).b(body);
|
|
97
197
|
return b.build();
|
|
98
198
|
};
|
|
199
|
+
export const se_DeleteConfiguredModelAlgorithmCommand = async (input, context) => {
|
|
200
|
+
const b = rb(input, context);
|
|
201
|
+
const headers = {};
|
|
202
|
+
b.bp("/configured-model-algorithms/{configuredModelAlgorithmArn}");
|
|
203
|
+
b.p("configuredModelAlgorithmArn", () => input.configuredModelAlgorithmArn, "{configuredModelAlgorithmArn}", false);
|
|
204
|
+
let body;
|
|
205
|
+
b.m("DELETE").h(headers).b(body);
|
|
206
|
+
return b.build();
|
|
207
|
+
};
|
|
208
|
+
export const se_DeleteConfiguredModelAlgorithmAssociationCommand = async (input, context) => {
|
|
209
|
+
const b = rb(input, context);
|
|
210
|
+
const headers = {};
|
|
211
|
+
b.bp("/memberships/{membershipIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}");
|
|
212
|
+
b.p("configuredModelAlgorithmAssociationArn", () => input.configuredModelAlgorithmAssociationArn, "{configuredModelAlgorithmAssociationArn}", false);
|
|
213
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
214
|
+
let body;
|
|
215
|
+
b.m("DELETE").h(headers).b(body);
|
|
216
|
+
return b.build();
|
|
217
|
+
};
|
|
218
|
+
export const se_DeleteMLConfigurationCommand = async (input, context) => {
|
|
219
|
+
const b = rb(input, context);
|
|
220
|
+
const headers = {};
|
|
221
|
+
b.bp("/memberships/{membershipIdentifier}/ml-configurations");
|
|
222
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
223
|
+
let body;
|
|
224
|
+
b.m("DELETE").h(headers).b(body);
|
|
225
|
+
return b.build();
|
|
226
|
+
};
|
|
227
|
+
export const se_DeleteMLInputChannelDataCommand = async (input, context) => {
|
|
228
|
+
const b = rb(input, context);
|
|
229
|
+
const headers = {};
|
|
230
|
+
b.bp("/memberships/{membershipIdentifier}/ml-input-channels/{mlInputChannelArn}");
|
|
231
|
+
b.p("mlInputChannelArn", () => input.mlInputChannelArn, "{mlInputChannelArn}", false);
|
|
232
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
233
|
+
let body;
|
|
234
|
+
b.m("DELETE").h(headers).b(body);
|
|
235
|
+
return b.build();
|
|
236
|
+
};
|
|
237
|
+
export const se_DeleteTrainedModelOutputCommand = async (input, context) => {
|
|
238
|
+
const b = rb(input, context);
|
|
239
|
+
const headers = {};
|
|
240
|
+
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}");
|
|
241
|
+
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
242
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
243
|
+
let body;
|
|
244
|
+
b.m("DELETE").h(headers).b(body);
|
|
245
|
+
return b.build();
|
|
246
|
+
};
|
|
99
247
|
export const se_DeleteTrainingDatasetCommand = async (input, context) => {
|
|
100
248
|
const b = rb(input, context);
|
|
101
249
|
const headers = {};
|
|
@@ -123,6 +271,36 @@ export const se_GetAudienceModelCommand = async (input, context) => {
|
|
|
123
271
|
b.m("GET").h(headers).b(body);
|
|
124
272
|
return b.build();
|
|
125
273
|
};
|
|
274
|
+
export const se_GetCollaborationConfiguredModelAlgorithmAssociationCommand = async (input, context) => {
|
|
275
|
+
const b = rb(input, context);
|
|
276
|
+
const headers = {};
|
|
277
|
+
b.bp("/collaborations/{collaborationIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}");
|
|
278
|
+
b.p("configuredModelAlgorithmAssociationArn", () => input.configuredModelAlgorithmAssociationArn, "{configuredModelAlgorithmAssociationArn}", false);
|
|
279
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
280
|
+
let body;
|
|
281
|
+
b.m("GET").h(headers).b(body);
|
|
282
|
+
return b.build();
|
|
283
|
+
};
|
|
284
|
+
export const se_GetCollaborationMLInputChannelCommand = async (input, context) => {
|
|
285
|
+
const b = rb(input, context);
|
|
286
|
+
const headers = {};
|
|
287
|
+
b.bp("/collaborations/{collaborationIdentifier}/ml-input-channels/{mlInputChannelArn}");
|
|
288
|
+
b.p("mlInputChannelArn", () => input.mlInputChannelArn, "{mlInputChannelArn}", false);
|
|
289
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
290
|
+
let body;
|
|
291
|
+
b.m("GET").h(headers).b(body);
|
|
292
|
+
return b.build();
|
|
293
|
+
};
|
|
294
|
+
export const se_GetCollaborationTrainedModelCommand = async (input, context) => {
|
|
295
|
+
const b = rb(input, context);
|
|
296
|
+
const headers = {};
|
|
297
|
+
b.bp("/collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}");
|
|
298
|
+
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
299
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
300
|
+
let body;
|
|
301
|
+
b.m("GET").h(headers).b(body);
|
|
302
|
+
return b.build();
|
|
303
|
+
};
|
|
126
304
|
export const se_GetConfiguredAudienceModelCommand = async (input, context) => {
|
|
127
305
|
const b = rb(input, context);
|
|
128
306
|
const headers = {};
|
|
@@ -141,6 +319,64 @@ export const se_GetConfiguredAudienceModelPolicyCommand = async (input, context)
|
|
|
141
319
|
b.m("GET").h(headers).b(body);
|
|
142
320
|
return b.build();
|
|
143
321
|
};
|
|
322
|
+
export const se_GetConfiguredModelAlgorithmCommand = async (input, context) => {
|
|
323
|
+
const b = rb(input, context);
|
|
324
|
+
const headers = {};
|
|
325
|
+
b.bp("/configured-model-algorithms/{configuredModelAlgorithmArn}");
|
|
326
|
+
b.p("configuredModelAlgorithmArn", () => input.configuredModelAlgorithmArn, "{configuredModelAlgorithmArn}", false);
|
|
327
|
+
let body;
|
|
328
|
+
b.m("GET").h(headers).b(body);
|
|
329
|
+
return b.build();
|
|
330
|
+
};
|
|
331
|
+
export const se_GetConfiguredModelAlgorithmAssociationCommand = async (input, context) => {
|
|
332
|
+
const b = rb(input, context);
|
|
333
|
+
const headers = {};
|
|
334
|
+
b.bp("/memberships/{membershipIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}");
|
|
335
|
+
b.p("configuredModelAlgorithmAssociationArn", () => input.configuredModelAlgorithmAssociationArn, "{configuredModelAlgorithmAssociationArn}", false);
|
|
336
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
337
|
+
let body;
|
|
338
|
+
b.m("GET").h(headers).b(body);
|
|
339
|
+
return b.build();
|
|
340
|
+
};
|
|
341
|
+
export const se_GetMLConfigurationCommand = async (input, context) => {
|
|
342
|
+
const b = rb(input, context);
|
|
343
|
+
const headers = {};
|
|
344
|
+
b.bp("/memberships/{membershipIdentifier}/ml-configurations");
|
|
345
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
346
|
+
let body;
|
|
347
|
+
b.m("GET").h(headers).b(body);
|
|
348
|
+
return b.build();
|
|
349
|
+
};
|
|
350
|
+
export const se_GetMLInputChannelCommand = async (input, context) => {
|
|
351
|
+
const b = rb(input, context);
|
|
352
|
+
const headers = {};
|
|
353
|
+
b.bp("/memberships/{membershipIdentifier}/ml-input-channels/{mlInputChannelArn}");
|
|
354
|
+
b.p("mlInputChannelArn", () => input.mlInputChannelArn, "{mlInputChannelArn}", false);
|
|
355
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
356
|
+
let body;
|
|
357
|
+
b.m("GET").h(headers).b(body);
|
|
358
|
+
return b.build();
|
|
359
|
+
};
|
|
360
|
+
export const se_GetTrainedModelCommand = async (input, context) => {
|
|
361
|
+
const b = rb(input, context);
|
|
362
|
+
const headers = {};
|
|
363
|
+
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}");
|
|
364
|
+
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
365
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
366
|
+
let body;
|
|
367
|
+
b.m("GET").h(headers).b(body);
|
|
368
|
+
return b.build();
|
|
369
|
+
};
|
|
370
|
+
export const se_GetTrainedModelInferenceJobCommand = async (input, context) => {
|
|
371
|
+
const b = rb(input, context);
|
|
372
|
+
const headers = {};
|
|
373
|
+
b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs/{trainedModelInferenceJobArn}");
|
|
374
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
375
|
+
b.p("trainedModelInferenceJobArn", () => input.trainedModelInferenceJobArn, "{trainedModelInferenceJobArn}", false);
|
|
376
|
+
let body;
|
|
377
|
+
b.m("GET").h(headers).b(body);
|
|
378
|
+
return b.build();
|
|
379
|
+
};
|
|
144
380
|
export const se_GetTrainingDatasetCommand = async (input, context) => {
|
|
145
381
|
const b = rb(input, context);
|
|
146
382
|
const headers = {};
|
|
@@ -189,6 +425,73 @@ export const se_ListAudienceModelsCommand = async (input, context) => {
|
|
|
189
425
|
b.m("GET").h(headers).q(query).b(body);
|
|
190
426
|
return b.build();
|
|
191
427
|
};
|
|
428
|
+
export const se_ListCollaborationConfiguredModelAlgorithmAssociationsCommand = async (input, context) => {
|
|
429
|
+
const b = rb(input, context);
|
|
430
|
+
const headers = {};
|
|
431
|
+
b.bp("/collaborations/{collaborationIdentifier}/configured-model-algorithm-associations");
|
|
432
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
433
|
+
const query = map({
|
|
434
|
+
[_nT]: [, input[_nT]],
|
|
435
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
436
|
+
});
|
|
437
|
+
let body;
|
|
438
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
439
|
+
return b.build();
|
|
440
|
+
};
|
|
441
|
+
export const se_ListCollaborationMLInputChannelsCommand = async (input, context) => {
|
|
442
|
+
const b = rb(input, context);
|
|
443
|
+
const headers = {};
|
|
444
|
+
b.bp("/collaborations/{collaborationIdentifier}/ml-input-channels");
|
|
445
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
446
|
+
const query = map({
|
|
447
|
+
[_nT]: [, input[_nT]],
|
|
448
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
449
|
+
});
|
|
450
|
+
let body;
|
|
451
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
452
|
+
return b.build();
|
|
453
|
+
};
|
|
454
|
+
export const se_ListCollaborationTrainedModelExportJobsCommand = async (input, context) => {
|
|
455
|
+
const b = rb(input, context);
|
|
456
|
+
const headers = {};
|
|
457
|
+
b.bp("/collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}/export-jobs");
|
|
458
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
459
|
+
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
460
|
+
const query = map({
|
|
461
|
+
[_nT]: [, input[_nT]],
|
|
462
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
463
|
+
});
|
|
464
|
+
let body;
|
|
465
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
466
|
+
return b.build();
|
|
467
|
+
};
|
|
468
|
+
export const se_ListCollaborationTrainedModelInferenceJobsCommand = async (input, context) => {
|
|
469
|
+
const b = rb(input, context);
|
|
470
|
+
const headers = {};
|
|
471
|
+
b.bp("/collaborations/{collaborationIdentifier}/trained-model-inference-jobs");
|
|
472
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
473
|
+
const query = map({
|
|
474
|
+
[_nT]: [, input[_nT]],
|
|
475
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
476
|
+
[_tMA]: [, input[_tMA]],
|
|
477
|
+
});
|
|
478
|
+
let body;
|
|
479
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
480
|
+
return b.build();
|
|
481
|
+
};
|
|
482
|
+
export const se_ListCollaborationTrainedModelsCommand = async (input, context) => {
|
|
483
|
+
const b = rb(input, context);
|
|
484
|
+
const headers = {};
|
|
485
|
+
b.bp("/collaborations/{collaborationIdentifier}/trained-models");
|
|
486
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
487
|
+
const query = map({
|
|
488
|
+
[_nT]: [, input[_nT]],
|
|
489
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
490
|
+
});
|
|
491
|
+
let body;
|
|
492
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
493
|
+
return b.build();
|
|
494
|
+
};
|
|
192
495
|
export const se_ListConfiguredAudienceModelsCommand = async (input, context) => {
|
|
193
496
|
const b = rb(input, context);
|
|
194
497
|
const headers = {};
|
|
@@ -201,6 +504,44 @@ export const se_ListConfiguredAudienceModelsCommand = async (input, context) =>
|
|
|
201
504
|
b.m("GET").h(headers).q(query).b(body);
|
|
202
505
|
return b.build();
|
|
203
506
|
};
|
|
507
|
+
export const se_ListConfiguredModelAlgorithmAssociationsCommand = async (input, context) => {
|
|
508
|
+
const b = rb(input, context);
|
|
509
|
+
const headers = {};
|
|
510
|
+
b.bp("/memberships/{membershipIdentifier}/configured-model-algorithm-associations");
|
|
511
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
512
|
+
const query = map({
|
|
513
|
+
[_nT]: [, input[_nT]],
|
|
514
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
515
|
+
});
|
|
516
|
+
let body;
|
|
517
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
518
|
+
return b.build();
|
|
519
|
+
};
|
|
520
|
+
export const se_ListConfiguredModelAlgorithmsCommand = async (input, context) => {
|
|
521
|
+
const b = rb(input, context);
|
|
522
|
+
const headers = {};
|
|
523
|
+
b.bp("/configured-model-algorithms");
|
|
524
|
+
const query = map({
|
|
525
|
+
[_nT]: [, input[_nT]],
|
|
526
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
527
|
+
});
|
|
528
|
+
let body;
|
|
529
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
530
|
+
return b.build();
|
|
531
|
+
};
|
|
532
|
+
export const se_ListMLInputChannelsCommand = async (input, context) => {
|
|
533
|
+
const b = rb(input, context);
|
|
534
|
+
const headers = {};
|
|
535
|
+
b.bp("/memberships/{membershipIdentifier}/ml-input-channels");
|
|
536
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
537
|
+
const query = map({
|
|
538
|
+
[_nT]: [, input[_nT]],
|
|
539
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
540
|
+
});
|
|
541
|
+
let body;
|
|
542
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
543
|
+
return b.build();
|
|
544
|
+
};
|
|
204
545
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
205
546
|
const b = rb(input, context);
|
|
206
547
|
const headers = {};
|
|
@@ -210,6 +551,33 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
210
551
|
b.m("GET").h(headers).b(body);
|
|
211
552
|
return b.build();
|
|
212
553
|
};
|
|
554
|
+
export const se_ListTrainedModelInferenceJobsCommand = async (input, context) => {
|
|
555
|
+
const b = rb(input, context);
|
|
556
|
+
const headers = {};
|
|
557
|
+
b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs");
|
|
558
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
559
|
+
const query = map({
|
|
560
|
+
[_nT]: [, input[_nT]],
|
|
561
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
562
|
+
[_tMA]: [, input[_tMA]],
|
|
563
|
+
});
|
|
564
|
+
let body;
|
|
565
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
566
|
+
return b.build();
|
|
567
|
+
};
|
|
568
|
+
export const se_ListTrainedModelsCommand = async (input, context) => {
|
|
569
|
+
const b = rb(input, context);
|
|
570
|
+
const headers = {};
|
|
571
|
+
b.bp("/memberships/{membershipIdentifier}/trained-models");
|
|
572
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
573
|
+
const query = map({
|
|
574
|
+
[_nT]: [, input[_nT]],
|
|
575
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
576
|
+
});
|
|
577
|
+
let body;
|
|
578
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
579
|
+
return b.build();
|
|
580
|
+
};
|
|
213
581
|
export const se_ListTrainingDatasetsCommand = async (input, context) => {
|
|
214
582
|
const b = rb(input, context);
|
|
215
583
|
const headers = {};
|
|
@@ -238,16 +606,30 @@ export const se_PutConfiguredAudienceModelPolicyCommand = async (input, context)
|
|
|
238
606
|
b.m("PUT").h(headers).b(body);
|
|
239
607
|
return b.build();
|
|
240
608
|
};
|
|
241
|
-
export const
|
|
609
|
+
export const se_PutMLConfigurationCommand = async (input, context) => {
|
|
242
610
|
const b = rb(input, context);
|
|
243
611
|
const headers = {
|
|
244
612
|
"content-type": "application/json",
|
|
245
613
|
};
|
|
246
|
-
b.bp("/
|
|
614
|
+
b.bp("/memberships/{membershipIdentifier}/ml-configurations");
|
|
615
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
247
616
|
let body;
|
|
248
617
|
body = JSON.stringify(take(input, {
|
|
249
|
-
|
|
250
|
-
|
|
618
|
+
defaultOutputLocation: (_) => _json(_),
|
|
619
|
+
}));
|
|
620
|
+
b.m("PUT").h(headers).b(body);
|
|
621
|
+
return b.build();
|
|
622
|
+
};
|
|
623
|
+
export const se_StartAudienceExportJobCommand = async (input, context) => {
|
|
624
|
+
const b = rb(input, context);
|
|
625
|
+
const headers = {
|
|
626
|
+
"content-type": "application/json",
|
|
627
|
+
};
|
|
628
|
+
b.bp("/audience-export-job");
|
|
629
|
+
let body;
|
|
630
|
+
body = JSON.stringify(take(input, {
|
|
631
|
+
audienceGenerationJobArn: [],
|
|
632
|
+
audienceSize: (_) => _json(_),
|
|
251
633
|
description: [],
|
|
252
634
|
name: [],
|
|
253
635
|
}));
|
|
@@ -273,6 +655,47 @@ export const se_StartAudienceGenerationJobCommand = async (input, context) => {
|
|
|
273
655
|
b.m("POST").h(headers).b(body);
|
|
274
656
|
return b.build();
|
|
275
657
|
};
|
|
658
|
+
export const se_StartTrainedModelExportJobCommand = async (input, context) => {
|
|
659
|
+
const b = rb(input, context);
|
|
660
|
+
const headers = {
|
|
661
|
+
"content-type": "application/json",
|
|
662
|
+
};
|
|
663
|
+
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}/export-jobs");
|
|
664
|
+
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
665
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
666
|
+
let body;
|
|
667
|
+
body = JSON.stringify(take(input, {
|
|
668
|
+
description: [],
|
|
669
|
+
name: [],
|
|
670
|
+
outputConfiguration: (_) => _json(_),
|
|
671
|
+
}));
|
|
672
|
+
b.m("POST").h(headers).b(body);
|
|
673
|
+
return b.build();
|
|
674
|
+
};
|
|
675
|
+
export const se_StartTrainedModelInferenceJobCommand = async (input, context) => {
|
|
676
|
+
const b = rb(input, context);
|
|
677
|
+
const headers = {
|
|
678
|
+
"content-type": "application/json",
|
|
679
|
+
};
|
|
680
|
+
b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs");
|
|
681
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
682
|
+
let body;
|
|
683
|
+
body = JSON.stringify(take(input, {
|
|
684
|
+
configuredModelAlgorithmAssociationArn: [],
|
|
685
|
+
containerExecutionParameters: (_) => _json(_),
|
|
686
|
+
dataSource: (_) => _json(_),
|
|
687
|
+
description: [],
|
|
688
|
+
environment: (_) => _json(_),
|
|
689
|
+
kmsKeyArn: [],
|
|
690
|
+
name: [],
|
|
691
|
+
outputConfiguration: (_) => _json(_),
|
|
692
|
+
resourceConfig: (_) => _json(_),
|
|
693
|
+
tags: (_) => _json(_),
|
|
694
|
+
trainedModelArn: [],
|
|
695
|
+
}));
|
|
696
|
+
b.m("POST").h(headers).b(body);
|
|
697
|
+
return b.build();
|
|
698
|
+
};
|
|
276
699
|
export const se_TagResourceCommand = async (input, context) => {
|
|
277
700
|
const b = rb(input, context);
|
|
278
701
|
const headers = {
|
|
@@ -318,6 +741,26 @@ export const se_UpdateConfiguredAudienceModelCommand = async (input, context) =>
|
|
|
318
741
|
b.m("PATCH").h(headers).b(body);
|
|
319
742
|
return b.build();
|
|
320
743
|
};
|
|
744
|
+
export const de_CancelTrainedModelCommand = async (output, context) => {
|
|
745
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
746
|
+
return de_CommandError(output, context);
|
|
747
|
+
}
|
|
748
|
+
const contents = map({
|
|
749
|
+
$metadata: deserializeMetadata(output),
|
|
750
|
+
});
|
|
751
|
+
await collectBody(output.body, context);
|
|
752
|
+
return contents;
|
|
753
|
+
};
|
|
754
|
+
export const de_CancelTrainedModelInferenceJobCommand = async (output, context) => {
|
|
755
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
756
|
+
return de_CommandError(output, context);
|
|
757
|
+
}
|
|
758
|
+
const contents = map({
|
|
759
|
+
$metadata: deserializeMetadata(output),
|
|
760
|
+
});
|
|
761
|
+
await collectBody(output.body, context);
|
|
762
|
+
return contents;
|
|
763
|
+
};
|
|
321
764
|
export const de_CreateAudienceModelCommand = async (output, context) => {
|
|
322
765
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
323
766
|
return de_CommandError(output, context);
|
|
@@ -346,6 +789,62 @@ export const de_CreateConfiguredAudienceModelCommand = async (output, context) =
|
|
|
346
789
|
Object.assign(contents, doc);
|
|
347
790
|
return contents;
|
|
348
791
|
};
|
|
792
|
+
export const de_CreateConfiguredModelAlgorithmCommand = async (output, context) => {
|
|
793
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
794
|
+
return de_CommandError(output, context);
|
|
795
|
+
}
|
|
796
|
+
const contents = map({
|
|
797
|
+
$metadata: deserializeMetadata(output),
|
|
798
|
+
});
|
|
799
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
800
|
+
const doc = take(data, {
|
|
801
|
+
configuredModelAlgorithmArn: __expectString,
|
|
802
|
+
});
|
|
803
|
+
Object.assign(contents, doc);
|
|
804
|
+
return contents;
|
|
805
|
+
};
|
|
806
|
+
export const de_CreateConfiguredModelAlgorithmAssociationCommand = async (output, context) => {
|
|
807
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
808
|
+
return de_CommandError(output, context);
|
|
809
|
+
}
|
|
810
|
+
const contents = map({
|
|
811
|
+
$metadata: deserializeMetadata(output),
|
|
812
|
+
});
|
|
813
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
814
|
+
const doc = take(data, {
|
|
815
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
816
|
+
});
|
|
817
|
+
Object.assign(contents, doc);
|
|
818
|
+
return contents;
|
|
819
|
+
};
|
|
820
|
+
export const de_CreateMLInputChannelCommand = async (output, context) => {
|
|
821
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
822
|
+
return de_CommandError(output, context);
|
|
823
|
+
}
|
|
824
|
+
const contents = map({
|
|
825
|
+
$metadata: deserializeMetadata(output),
|
|
826
|
+
});
|
|
827
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
828
|
+
const doc = take(data, {
|
|
829
|
+
mlInputChannelArn: __expectString,
|
|
830
|
+
});
|
|
831
|
+
Object.assign(contents, doc);
|
|
832
|
+
return contents;
|
|
833
|
+
};
|
|
834
|
+
export const de_CreateTrainedModelCommand = async (output, context) => {
|
|
835
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
836
|
+
return de_CommandError(output, context);
|
|
837
|
+
}
|
|
838
|
+
const contents = map({
|
|
839
|
+
$metadata: deserializeMetadata(output),
|
|
840
|
+
});
|
|
841
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
842
|
+
const doc = take(data, {
|
|
843
|
+
trainedModelArn: __expectString,
|
|
844
|
+
});
|
|
845
|
+
Object.assign(contents, doc);
|
|
846
|
+
return contents;
|
|
847
|
+
};
|
|
349
848
|
export const de_CreateTrainingDatasetCommand = async (output, context) => {
|
|
350
849
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
351
850
|
return de_CommandError(output, context);
|
|
@@ -400,6 +899,56 @@ export const de_DeleteConfiguredAudienceModelPolicyCommand = async (output, cont
|
|
|
400
899
|
await collectBody(output.body, context);
|
|
401
900
|
return contents;
|
|
402
901
|
};
|
|
902
|
+
export const de_DeleteConfiguredModelAlgorithmCommand = async (output, context) => {
|
|
903
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
904
|
+
return de_CommandError(output, context);
|
|
905
|
+
}
|
|
906
|
+
const contents = map({
|
|
907
|
+
$metadata: deserializeMetadata(output),
|
|
908
|
+
});
|
|
909
|
+
await collectBody(output.body, context);
|
|
910
|
+
return contents;
|
|
911
|
+
};
|
|
912
|
+
export const de_DeleteConfiguredModelAlgorithmAssociationCommand = async (output, context) => {
|
|
913
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
914
|
+
return de_CommandError(output, context);
|
|
915
|
+
}
|
|
916
|
+
const contents = map({
|
|
917
|
+
$metadata: deserializeMetadata(output),
|
|
918
|
+
});
|
|
919
|
+
await collectBody(output.body, context);
|
|
920
|
+
return contents;
|
|
921
|
+
};
|
|
922
|
+
export const de_DeleteMLConfigurationCommand = async (output, context) => {
|
|
923
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
924
|
+
return de_CommandError(output, context);
|
|
925
|
+
}
|
|
926
|
+
const contents = map({
|
|
927
|
+
$metadata: deserializeMetadata(output),
|
|
928
|
+
});
|
|
929
|
+
await collectBody(output.body, context);
|
|
930
|
+
return contents;
|
|
931
|
+
};
|
|
932
|
+
export const de_DeleteMLInputChannelDataCommand = async (output, context) => {
|
|
933
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
934
|
+
return de_CommandError(output, context);
|
|
935
|
+
}
|
|
936
|
+
const contents = map({
|
|
937
|
+
$metadata: deserializeMetadata(output),
|
|
938
|
+
});
|
|
939
|
+
await collectBody(output.body, context);
|
|
940
|
+
return contents;
|
|
941
|
+
};
|
|
942
|
+
export const de_DeleteTrainedModelOutputCommand = async (output, context) => {
|
|
943
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
944
|
+
return de_CommandError(output, context);
|
|
945
|
+
}
|
|
946
|
+
const contents = map({
|
|
947
|
+
$metadata: deserializeMetadata(output),
|
|
948
|
+
});
|
|
949
|
+
await collectBody(output.body, context);
|
|
950
|
+
return contents;
|
|
951
|
+
};
|
|
403
952
|
export const de_DeleteTrainingDatasetCommand = async (output, context) => {
|
|
404
953
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
405
954
|
return de_CommandError(output, context);
|
|
@@ -463,7 +1012,420 @@ export const de_GetAudienceModelCommand = async (output, context) => {
|
|
|
463
1012
|
Object.assign(contents, doc);
|
|
464
1013
|
return contents;
|
|
465
1014
|
};
|
|
466
|
-
export const
|
|
1015
|
+
export const de_GetCollaborationConfiguredModelAlgorithmAssociationCommand = async (output, context) => {
|
|
1016
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1017
|
+
return de_CommandError(output, context);
|
|
1018
|
+
}
|
|
1019
|
+
const contents = map({
|
|
1020
|
+
$metadata: deserializeMetadata(output),
|
|
1021
|
+
});
|
|
1022
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1023
|
+
const doc = take(data, {
|
|
1024
|
+
collaborationIdentifier: __expectString,
|
|
1025
|
+
configuredModelAlgorithmArn: __expectString,
|
|
1026
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1027
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1028
|
+
creatorAccountId: __expectString,
|
|
1029
|
+
description: __expectString,
|
|
1030
|
+
membershipIdentifier: __expectString,
|
|
1031
|
+
name: __expectString,
|
|
1032
|
+
privacyConfiguration: (_) => de_PrivacyConfiguration(_, context),
|
|
1033
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1034
|
+
});
|
|
1035
|
+
Object.assign(contents, doc);
|
|
1036
|
+
return contents;
|
|
1037
|
+
};
|
|
1038
|
+
export const de_GetCollaborationMLInputChannelCommand = async (output, context) => {
|
|
1039
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1040
|
+
return de_CommandError(output, context);
|
|
1041
|
+
}
|
|
1042
|
+
const contents = map({
|
|
1043
|
+
$metadata: deserializeMetadata(output),
|
|
1044
|
+
});
|
|
1045
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1046
|
+
const doc = take(data, {
|
|
1047
|
+
collaborationIdentifier: __expectString,
|
|
1048
|
+
configuredModelAlgorithmAssociations: _json,
|
|
1049
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1050
|
+
creatorAccountId: __expectString,
|
|
1051
|
+
description: __expectString,
|
|
1052
|
+
membershipIdentifier: __expectString,
|
|
1053
|
+
mlInputChannelArn: __expectString,
|
|
1054
|
+
name: __expectString,
|
|
1055
|
+
numberOfRecords: __expectLong,
|
|
1056
|
+
retentionInDays: __expectInt32,
|
|
1057
|
+
status: __expectString,
|
|
1058
|
+
statusDetails: _json,
|
|
1059
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1060
|
+
});
|
|
1061
|
+
Object.assign(contents, doc);
|
|
1062
|
+
return contents;
|
|
1063
|
+
};
|
|
1064
|
+
export const de_GetCollaborationTrainedModelCommand = async (output, context) => {
|
|
1065
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1066
|
+
return de_CommandError(output, context);
|
|
1067
|
+
}
|
|
1068
|
+
const contents = map({
|
|
1069
|
+
$metadata: deserializeMetadata(output),
|
|
1070
|
+
});
|
|
1071
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1072
|
+
const doc = take(data, {
|
|
1073
|
+
collaborationIdentifier: __expectString,
|
|
1074
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1075
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1076
|
+
creatorAccountId: __expectString,
|
|
1077
|
+
description: __expectString,
|
|
1078
|
+
logsStatus: __expectString,
|
|
1079
|
+
logsStatusDetails: __expectString,
|
|
1080
|
+
membershipIdentifier: __expectString,
|
|
1081
|
+
metricsStatus: __expectString,
|
|
1082
|
+
metricsStatusDetails: __expectString,
|
|
1083
|
+
name: __expectString,
|
|
1084
|
+
resourceConfig: _json,
|
|
1085
|
+
status: __expectString,
|
|
1086
|
+
statusDetails: _json,
|
|
1087
|
+
stoppingCondition: _json,
|
|
1088
|
+
trainedModelArn: __expectString,
|
|
1089
|
+
trainingContainerImageDigest: __expectString,
|
|
1090
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1091
|
+
});
|
|
1092
|
+
Object.assign(contents, doc);
|
|
1093
|
+
return contents;
|
|
1094
|
+
};
|
|
1095
|
+
export const de_GetConfiguredAudienceModelCommand = async (output, context) => {
|
|
1096
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1097
|
+
return de_CommandError(output, context);
|
|
1098
|
+
}
|
|
1099
|
+
const contents = map({
|
|
1100
|
+
$metadata: deserializeMetadata(output),
|
|
1101
|
+
});
|
|
1102
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1103
|
+
const doc = take(data, {
|
|
1104
|
+
audienceModelArn: __expectString,
|
|
1105
|
+
audienceSizeConfig: _json,
|
|
1106
|
+
childResourceTagOnCreatePolicy: __expectString,
|
|
1107
|
+
configuredAudienceModelArn: __expectString,
|
|
1108
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1109
|
+
description: __expectString,
|
|
1110
|
+
minMatchingSeedSize: __expectInt32,
|
|
1111
|
+
name: __expectString,
|
|
1112
|
+
outputConfig: _json,
|
|
1113
|
+
sharedAudienceMetrics: _json,
|
|
1114
|
+
status: __expectString,
|
|
1115
|
+
tags: _json,
|
|
1116
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1117
|
+
});
|
|
1118
|
+
Object.assign(contents, doc);
|
|
1119
|
+
return contents;
|
|
1120
|
+
};
|
|
1121
|
+
export const de_GetConfiguredAudienceModelPolicyCommand = async (output, context) => {
|
|
1122
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1123
|
+
return de_CommandError(output, context);
|
|
1124
|
+
}
|
|
1125
|
+
const contents = map({
|
|
1126
|
+
$metadata: deserializeMetadata(output),
|
|
1127
|
+
});
|
|
1128
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1129
|
+
const doc = take(data, {
|
|
1130
|
+
configuredAudienceModelArn: __expectString,
|
|
1131
|
+
configuredAudienceModelPolicy: __expectString,
|
|
1132
|
+
policyHash: __expectString,
|
|
1133
|
+
});
|
|
1134
|
+
Object.assign(contents, doc);
|
|
1135
|
+
return contents;
|
|
1136
|
+
};
|
|
1137
|
+
export const de_GetConfiguredModelAlgorithmCommand = async (output, context) => {
|
|
1138
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1139
|
+
return de_CommandError(output, context);
|
|
1140
|
+
}
|
|
1141
|
+
const contents = map({
|
|
1142
|
+
$metadata: deserializeMetadata(output),
|
|
1143
|
+
});
|
|
1144
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1145
|
+
const doc = take(data, {
|
|
1146
|
+
configuredModelAlgorithmArn: __expectString,
|
|
1147
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1148
|
+
description: __expectString,
|
|
1149
|
+
inferenceContainerConfig: _json,
|
|
1150
|
+
kmsKeyArn: __expectString,
|
|
1151
|
+
name: __expectString,
|
|
1152
|
+
roleArn: __expectString,
|
|
1153
|
+
tags: _json,
|
|
1154
|
+
trainingContainerConfig: _json,
|
|
1155
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1156
|
+
});
|
|
1157
|
+
Object.assign(contents, doc);
|
|
1158
|
+
return contents;
|
|
1159
|
+
};
|
|
1160
|
+
export const de_GetConfiguredModelAlgorithmAssociationCommand = async (output, context) => {
|
|
1161
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1162
|
+
return de_CommandError(output, context);
|
|
1163
|
+
}
|
|
1164
|
+
const contents = map({
|
|
1165
|
+
$metadata: deserializeMetadata(output),
|
|
1166
|
+
});
|
|
1167
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1168
|
+
const doc = take(data, {
|
|
1169
|
+
collaborationIdentifier: __expectString,
|
|
1170
|
+
configuredModelAlgorithmArn: __expectString,
|
|
1171
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1172
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1173
|
+
description: __expectString,
|
|
1174
|
+
membershipIdentifier: __expectString,
|
|
1175
|
+
name: __expectString,
|
|
1176
|
+
privacyConfiguration: (_) => de_PrivacyConfiguration(_, context),
|
|
1177
|
+
tags: _json,
|
|
1178
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1179
|
+
});
|
|
1180
|
+
Object.assign(contents, doc);
|
|
1181
|
+
return contents;
|
|
1182
|
+
};
|
|
1183
|
+
export const de_GetMLConfigurationCommand = async (output, context) => {
|
|
1184
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1185
|
+
return de_CommandError(output, context);
|
|
1186
|
+
}
|
|
1187
|
+
const contents = map({
|
|
1188
|
+
$metadata: deserializeMetadata(output),
|
|
1189
|
+
});
|
|
1190
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1191
|
+
const doc = take(data, {
|
|
1192
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1193
|
+
defaultOutputLocation: _json,
|
|
1194
|
+
membershipIdentifier: __expectString,
|
|
1195
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1196
|
+
});
|
|
1197
|
+
Object.assign(contents, doc);
|
|
1198
|
+
return contents;
|
|
1199
|
+
};
|
|
1200
|
+
export const de_GetMLInputChannelCommand = async (output, context) => {
|
|
1201
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1202
|
+
return de_CommandError(output, context);
|
|
1203
|
+
}
|
|
1204
|
+
const contents = map({
|
|
1205
|
+
$metadata: deserializeMetadata(output),
|
|
1206
|
+
});
|
|
1207
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1208
|
+
const doc = take(data, {
|
|
1209
|
+
collaborationIdentifier: __expectString,
|
|
1210
|
+
configuredModelAlgorithmAssociations: _json,
|
|
1211
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1212
|
+
description: __expectString,
|
|
1213
|
+
inputChannel: _json,
|
|
1214
|
+
kmsKeyArn: __expectString,
|
|
1215
|
+
membershipIdentifier: __expectString,
|
|
1216
|
+
mlInputChannelArn: __expectString,
|
|
1217
|
+
name: __expectString,
|
|
1218
|
+
numberOfFiles: __limitedParseDouble,
|
|
1219
|
+
numberOfRecords: __expectLong,
|
|
1220
|
+
protectedQueryIdentifier: __expectString,
|
|
1221
|
+
retentionInDays: __expectInt32,
|
|
1222
|
+
sizeInGb: __limitedParseDouble,
|
|
1223
|
+
status: __expectString,
|
|
1224
|
+
statusDetails: _json,
|
|
1225
|
+
tags: _json,
|
|
1226
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1227
|
+
});
|
|
1228
|
+
Object.assign(contents, doc);
|
|
1229
|
+
return contents;
|
|
1230
|
+
};
|
|
1231
|
+
export const de_GetTrainedModelCommand = async (output, context) => {
|
|
1232
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1233
|
+
return de_CommandError(output, context);
|
|
1234
|
+
}
|
|
1235
|
+
const contents = map({
|
|
1236
|
+
$metadata: deserializeMetadata(output),
|
|
1237
|
+
});
|
|
1238
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1239
|
+
const doc = take(data, {
|
|
1240
|
+
collaborationIdentifier: __expectString,
|
|
1241
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1242
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1243
|
+
dataChannels: _json,
|
|
1244
|
+
description: __expectString,
|
|
1245
|
+
environment: _json,
|
|
1246
|
+
hyperparameters: _json,
|
|
1247
|
+
kmsKeyArn: __expectString,
|
|
1248
|
+
logsStatus: __expectString,
|
|
1249
|
+
logsStatusDetails: __expectString,
|
|
1250
|
+
membershipIdentifier: __expectString,
|
|
1251
|
+
metricsStatus: __expectString,
|
|
1252
|
+
metricsStatusDetails: __expectString,
|
|
1253
|
+
name: __expectString,
|
|
1254
|
+
resourceConfig: _json,
|
|
1255
|
+
status: __expectString,
|
|
1256
|
+
statusDetails: _json,
|
|
1257
|
+
stoppingCondition: _json,
|
|
1258
|
+
tags: _json,
|
|
1259
|
+
trainedModelArn: __expectString,
|
|
1260
|
+
trainingContainerImageDigest: __expectString,
|
|
1261
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1262
|
+
});
|
|
1263
|
+
Object.assign(contents, doc);
|
|
1264
|
+
return contents;
|
|
1265
|
+
};
|
|
1266
|
+
export const de_GetTrainedModelInferenceJobCommand = async (output, context) => {
|
|
1267
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1268
|
+
return de_CommandError(output, context);
|
|
1269
|
+
}
|
|
1270
|
+
const contents = map({
|
|
1271
|
+
$metadata: deserializeMetadata(output),
|
|
1272
|
+
});
|
|
1273
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1274
|
+
const doc = take(data, {
|
|
1275
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1276
|
+
containerExecutionParameters: _json,
|
|
1277
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1278
|
+
dataSource: _json,
|
|
1279
|
+
description: __expectString,
|
|
1280
|
+
environment: _json,
|
|
1281
|
+
inferenceContainerImageDigest: __expectString,
|
|
1282
|
+
kmsKeyArn: __expectString,
|
|
1283
|
+
logsStatus: __expectString,
|
|
1284
|
+
logsStatusDetails: __expectString,
|
|
1285
|
+
membershipIdentifier: __expectString,
|
|
1286
|
+
metricsStatus: __expectString,
|
|
1287
|
+
metricsStatusDetails: __expectString,
|
|
1288
|
+
name: __expectString,
|
|
1289
|
+
outputConfiguration: _json,
|
|
1290
|
+
resourceConfig: _json,
|
|
1291
|
+
status: __expectString,
|
|
1292
|
+
statusDetails: _json,
|
|
1293
|
+
tags: _json,
|
|
1294
|
+
trainedModelArn: __expectString,
|
|
1295
|
+
trainedModelInferenceJobArn: __expectString,
|
|
1296
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1297
|
+
});
|
|
1298
|
+
Object.assign(contents, doc);
|
|
1299
|
+
return contents;
|
|
1300
|
+
};
|
|
1301
|
+
export const de_GetTrainingDatasetCommand = async (output, context) => {
|
|
1302
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1303
|
+
return de_CommandError(output, context);
|
|
1304
|
+
}
|
|
1305
|
+
const contents = map({
|
|
1306
|
+
$metadata: deserializeMetadata(output),
|
|
1307
|
+
});
|
|
1308
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1309
|
+
const doc = take(data, {
|
|
1310
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1311
|
+
description: __expectString,
|
|
1312
|
+
name: __expectString,
|
|
1313
|
+
roleArn: __expectString,
|
|
1314
|
+
status: __expectString,
|
|
1315
|
+
tags: _json,
|
|
1316
|
+
trainingData: _json,
|
|
1317
|
+
trainingDatasetArn: __expectString,
|
|
1318
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1319
|
+
});
|
|
1320
|
+
Object.assign(contents, doc);
|
|
1321
|
+
return contents;
|
|
1322
|
+
};
|
|
1323
|
+
export const de_ListAudienceExportJobsCommand = async (output, context) => {
|
|
1324
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1325
|
+
return de_CommandError(output, context);
|
|
1326
|
+
}
|
|
1327
|
+
const contents = map({
|
|
1328
|
+
$metadata: deserializeMetadata(output),
|
|
1329
|
+
});
|
|
1330
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1331
|
+
const doc = take(data, {
|
|
1332
|
+
audienceExportJobs: (_) => de_AudienceExportJobList(_, context),
|
|
1333
|
+
nextToken: __expectString,
|
|
1334
|
+
});
|
|
1335
|
+
Object.assign(contents, doc);
|
|
1336
|
+
return contents;
|
|
1337
|
+
};
|
|
1338
|
+
export const de_ListAudienceGenerationJobsCommand = async (output, context) => {
|
|
1339
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1340
|
+
return de_CommandError(output, context);
|
|
1341
|
+
}
|
|
1342
|
+
const contents = map({
|
|
1343
|
+
$metadata: deserializeMetadata(output),
|
|
1344
|
+
});
|
|
1345
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1346
|
+
const doc = take(data, {
|
|
1347
|
+
audienceGenerationJobs: (_) => de_AudienceGenerationJobList(_, context),
|
|
1348
|
+
nextToken: __expectString,
|
|
1349
|
+
});
|
|
1350
|
+
Object.assign(contents, doc);
|
|
1351
|
+
return contents;
|
|
1352
|
+
};
|
|
1353
|
+
export const de_ListAudienceModelsCommand = async (output, context) => {
|
|
1354
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1355
|
+
return de_CommandError(output, context);
|
|
1356
|
+
}
|
|
1357
|
+
const contents = map({
|
|
1358
|
+
$metadata: deserializeMetadata(output),
|
|
1359
|
+
});
|
|
1360
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1361
|
+
const doc = take(data, {
|
|
1362
|
+
audienceModels: (_) => de_AudienceModelList(_, context),
|
|
1363
|
+
nextToken: __expectString,
|
|
1364
|
+
});
|
|
1365
|
+
Object.assign(contents, doc);
|
|
1366
|
+
return contents;
|
|
1367
|
+
};
|
|
1368
|
+
export const de_ListCollaborationConfiguredModelAlgorithmAssociationsCommand = async (output, context) => {
|
|
1369
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1370
|
+
return de_CommandError(output, context);
|
|
1371
|
+
}
|
|
1372
|
+
const contents = map({
|
|
1373
|
+
$metadata: deserializeMetadata(output),
|
|
1374
|
+
});
|
|
1375
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1376
|
+
const doc = take(data, {
|
|
1377
|
+
collaborationConfiguredModelAlgorithmAssociations: (_) => de_CollaborationConfiguredModelAlgorithmAssociationList(_, context),
|
|
1378
|
+
nextToken: __expectString,
|
|
1379
|
+
});
|
|
1380
|
+
Object.assign(contents, doc);
|
|
1381
|
+
return contents;
|
|
1382
|
+
};
|
|
1383
|
+
export const de_ListCollaborationMLInputChannelsCommand = async (output, context) => {
|
|
1384
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1385
|
+
return de_CommandError(output, context);
|
|
1386
|
+
}
|
|
1387
|
+
const contents = map({
|
|
1388
|
+
$metadata: deserializeMetadata(output),
|
|
1389
|
+
});
|
|
1390
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1391
|
+
const doc = take(data, {
|
|
1392
|
+
collaborationMLInputChannelsList: (_) => de_CollaborationMLInputChannelsList(_, context),
|
|
1393
|
+
nextToken: __expectString,
|
|
1394
|
+
});
|
|
1395
|
+
Object.assign(contents, doc);
|
|
1396
|
+
return contents;
|
|
1397
|
+
};
|
|
1398
|
+
export const de_ListCollaborationTrainedModelExportJobsCommand = async (output, context) => {
|
|
1399
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1400
|
+
return de_CommandError(output, context);
|
|
1401
|
+
}
|
|
1402
|
+
const contents = map({
|
|
1403
|
+
$metadata: deserializeMetadata(output),
|
|
1404
|
+
});
|
|
1405
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1406
|
+
const doc = take(data, {
|
|
1407
|
+
collaborationTrainedModelExportJobs: (_) => de_CollaborationTrainedModelExportJobList(_, context),
|
|
1408
|
+
nextToken: __expectString,
|
|
1409
|
+
});
|
|
1410
|
+
Object.assign(contents, doc);
|
|
1411
|
+
return contents;
|
|
1412
|
+
};
|
|
1413
|
+
export const de_ListCollaborationTrainedModelInferenceJobsCommand = async (output, context) => {
|
|
1414
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1415
|
+
return de_CommandError(output, context);
|
|
1416
|
+
}
|
|
1417
|
+
const contents = map({
|
|
1418
|
+
$metadata: deserializeMetadata(output),
|
|
1419
|
+
});
|
|
1420
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1421
|
+
const doc = take(data, {
|
|
1422
|
+
collaborationTrainedModelInferenceJobs: (_) => de_CollaborationTrainedModelInferenceJobList(_, context),
|
|
1423
|
+
nextToken: __expectString,
|
|
1424
|
+
});
|
|
1425
|
+
Object.assign(contents, doc);
|
|
1426
|
+
return contents;
|
|
1427
|
+
};
|
|
1428
|
+
export const de_ListCollaborationTrainedModelsCommand = async (output, context) => {
|
|
467
1429
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
468
1430
|
return de_CommandError(output, context);
|
|
469
1431
|
}
|
|
@@ -472,24 +1434,13 @@ export const de_GetConfiguredAudienceModelCommand = async (output, context) => {
|
|
|
472
1434
|
});
|
|
473
1435
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
474
1436
|
const doc = take(data, {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
childResourceTagOnCreatePolicy: __expectString,
|
|
478
|
-
configuredAudienceModelArn: __expectString,
|
|
479
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
480
|
-
description: __expectString,
|
|
481
|
-
minMatchingSeedSize: __expectInt32,
|
|
482
|
-
name: __expectString,
|
|
483
|
-
outputConfig: _json,
|
|
484
|
-
sharedAudienceMetrics: _json,
|
|
485
|
-
status: __expectString,
|
|
486
|
-
tags: _json,
|
|
487
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1437
|
+
collaborationTrainedModels: (_) => de_CollaborationTrainedModelList(_, context),
|
|
1438
|
+
nextToken: __expectString,
|
|
488
1439
|
});
|
|
489
1440
|
Object.assign(contents, doc);
|
|
490
1441
|
return contents;
|
|
491
1442
|
};
|
|
492
|
-
export const
|
|
1443
|
+
export const de_ListConfiguredAudienceModelsCommand = async (output, context) => {
|
|
493
1444
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
494
1445
|
return de_CommandError(output, context);
|
|
495
1446
|
}
|
|
@@ -498,14 +1449,13 @@ export const de_GetConfiguredAudienceModelPolicyCommand = async (output, context
|
|
|
498
1449
|
});
|
|
499
1450
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
500
1451
|
const doc = take(data, {
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
policyHash: __expectString,
|
|
1452
|
+
configuredAudienceModels: (_) => de_ConfiguredAudienceModelList(_, context),
|
|
1453
|
+
nextToken: __expectString,
|
|
504
1454
|
});
|
|
505
1455
|
Object.assign(contents, doc);
|
|
506
1456
|
return contents;
|
|
507
1457
|
};
|
|
508
|
-
export const
|
|
1458
|
+
export const de_ListConfiguredModelAlgorithmAssociationsCommand = async (output, context) => {
|
|
509
1459
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
510
1460
|
return de_CommandError(output, context);
|
|
511
1461
|
}
|
|
@@ -514,20 +1464,13 @@ export const de_GetTrainingDatasetCommand = async (output, context) => {
|
|
|
514
1464
|
});
|
|
515
1465
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
516
1466
|
const doc = take(data, {
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
name: __expectString,
|
|
520
|
-
roleArn: __expectString,
|
|
521
|
-
status: __expectString,
|
|
522
|
-
tags: _json,
|
|
523
|
-
trainingData: _json,
|
|
524
|
-
trainingDatasetArn: __expectString,
|
|
525
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1467
|
+
configuredModelAlgorithmAssociations: (_) => de_ConfiguredModelAlgorithmAssociationList(_, context),
|
|
1468
|
+
nextToken: __expectString,
|
|
526
1469
|
});
|
|
527
1470
|
Object.assign(contents, doc);
|
|
528
1471
|
return contents;
|
|
529
1472
|
};
|
|
530
|
-
export const
|
|
1473
|
+
export const de_ListConfiguredModelAlgorithmsCommand = async (output, context) => {
|
|
531
1474
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
532
1475
|
return de_CommandError(output, context);
|
|
533
1476
|
}
|
|
@@ -536,13 +1479,13 @@ export const de_ListAudienceExportJobsCommand = async (output, context) => {
|
|
|
536
1479
|
});
|
|
537
1480
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
538
1481
|
const doc = take(data, {
|
|
539
|
-
|
|
1482
|
+
configuredModelAlgorithms: (_) => de_ConfiguredModelAlgorithmList(_, context),
|
|
540
1483
|
nextToken: __expectString,
|
|
541
1484
|
});
|
|
542
1485
|
Object.assign(contents, doc);
|
|
543
1486
|
return contents;
|
|
544
1487
|
};
|
|
545
|
-
export const
|
|
1488
|
+
export const de_ListMLInputChannelsCommand = async (output, context) => {
|
|
546
1489
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
547
1490
|
return de_CommandError(output, context);
|
|
548
1491
|
}
|
|
@@ -551,13 +1494,13 @@ export const de_ListAudienceGenerationJobsCommand = async (output, context) => {
|
|
|
551
1494
|
});
|
|
552
1495
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
553
1496
|
const doc = take(data, {
|
|
554
|
-
|
|
1497
|
+
mlInputChannelsList: (_) => de_MLInputChannelsList(_, context),
|
|
555
1498
|
nextToken: __expectString,
|
|
556
1499
|
});
|
|
557
1500
|
Object.assign(contents, doc);
|
|
558
1501
|
return contents;
|
|
559
1502
|
};
|
|
560
|
-
export const
|
|
1503
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
561
1504
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
562
1505
|
return de_CommandError(output, context);
|
|
563
1506
|
}
|
|
@@ -566,13 +1509,12 @@ export const de_ListAudienceModelsCommand = async (output, context) => {
|
|
|
566
1509
|
});
|
|
567
1510
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
568
1511
|
const doc = take(data, {
|
|
569
|
-
|
|
570
|
-
nextToken: __expectString,
|
|
1512
|
+
tags: _json,
|
|
571
1513
|
});
|
|
572
1514
|
Object.assign(contents, doc);
|
|
573
1515
|
return contents;
|
|
574
1516
|
};
|
|
575
|
-
export const
|
|
1517
|
+
export const de_ListTrainedModelInferenceJobsCommand = async (output, context) => {
|
|
576
1518
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
577
1519
|
return de_CommandError(output, context);
|
|
578
1520
|
}
|
|
@@ -581,13 +1523,13 @@ export const de_ListConfiguredAudienceModelsCommand = async (output, context) =>
|
|
|
581
1523
|
});
|
|
582
1524
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
583
1525
|
const doc = take(data, {
|
|
584
|
-
configuredAudienceModels: (_) => de_ConfiguredAudienceModelList(_, context),
|
|
585
1526
|
nextToken: __expectString,
|
|
1527
|
+
trainedModelInferenceJobs: (_) => de_TrainedModelInferenceJobList(_, context),
|
|
586
1528
|
});
|
|
587
1529
|
Object.assign(contents, doc);
|
|
588
1530
|
return contents;
|
|
589
1531
|
};
|
|
590
|
-
export const
|
|
1532
|
+
export const de_ListTrainedModelsCommand = async (output, context) => {
|
|
591
1533
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
592
1534
|
return de_CommandError(output, context);
|
|
593
1535
|
}
|
|
@@ -596,7 +1538,8 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
596
1538
|
});
|
|
597
1539
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
598
1540
|
const doc = take(data, {
|
|
599
|
-
|
|
1541
|
+
nextToken: __expectString,
|
|
1542
|
+
trainedModels: (_) => de_TrainedModelList(_, context),
|
|
600
1543
|
});
|
|
601
1544
|
Object.assign(contents, doc);
|
|
602
1545
|
return contents;
|
|
@@ -631,6 +1574,16 @@ export const de_PutConfiguredAudienceModelPolicyCommand = async (output, context
|
|
|
631
1574
|
Object.assign(contents, doc);
|
|
632
1575
|
return contents;
|
|
633
1576
|
};
|
|
1577
|
+
export const de_PutMLConfigurationCommand = async (output, context) => {
|
|
1578
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1579
|
+
return de_CommandError(output, context);
|
|
1580
|
+
}
|
|
1581
|
+
const contents = map({
|
|
1582
|
+
$metadata: deserializeMetadata(output),
|
|
1583
|
+
});
|
|
1584
|
+
await collectBody(output.body, context);
|
|
1585
|
+
return contents;
|
|
1586
|
+
};
|
|
634
1587
|
export const de_StartAudienceExportJobCommand = async (output, context) => {
|
|
635
1588
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
636
1589
|
return de_CommandError(output, context);
|
|
@@ -655,6 +1608,30 @@ export const de_StartAudienceGenerationJobCommand = async (output, context) => {
|
|
|
655
1608
|
Object.assign(contents, doc);
|
|
656
1609
|
return contents;
|
|
657
1610
|
};
|
|
1611
|
+
export const de_StartTrainedModelExportJobCommand = async (output, context) => {
|
|
1612
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1613
|
+
return de_CommandError(output, context);
|
|
1614
|
+
}
|
|
1615
|
+
const contents = map({
|
|
1616
|
+
$metadata: deserializeMetadata(output),
|
|
1617
|
+
});
|
|
1618
|
+
await collectBody(output.body, context);
|
|
1619
|
+
return contents;
|
|
1620
|
+
};
|
|
1621
|
+
export const de_StartTrainedModelInferenceJobCommand = async (output, context) => {
|
|
1622
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1623
|
+
return de_CommandError(output, context);
|
|
1624
|
+
}
|
|
1625
|
+
const contents = map({
|
|
1626
|
+
$metadata: deserializeMetadata(output),
|
|
1627
|
+
});
|
|
1628
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1629
|
+
const doc = take(data, {
|
|
1630
|
+
trainedModelInferenceJobArn: __expectString,
|
|
1631
|
+
});
|
|
1632
|
+
Object.assign(contents, doc);
|
|
1633
|
+
return contents;
|
|
1634
|
+
};
|
|
658
1635
|
export const de_TagResourceCommand = async (output, context) => {
|
|
659
1636
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
660
1637
|
return de_CommandError(output, context);
|
|
@@ -705,12 +1682,12 @@ const de_CommandError = async (output, context) => {
|
|
|
705
1682
|
case "ResourceNotFoundException":
|
|
706
1683
|
case "com.amazonaws.cleanroomsml#ResourceNotFoundException":
|
|
707
1684
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
708
|
-
case "ServiceQuotaExceededException":
|
|
709
|
-
case "com.amazonaws.cleanroomsml#ServiceQuotaExceededException":
|
|
710
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
711
1685
|
case "ValidationException":
|
|
712
1686
|
case "com.amazonaws.cleanroomsml#ValidationException":
|
|
713
1687
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1688
|
+
case "ServiceQuotaExceededException":
|
|
1689
|
+
case "com.amazonaws.cleanroomsml#ServiceQuotaExceededException":
|
|
1690
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
714
1691
|
default:
|
|
715
1692
|
const parsedBody = parsedOutput.body;
|
|
716
1693
|
return throwDefaultError({
|
|
@@ -786,6 +1763,42 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
786
1763
|
});
|
|
787
1764
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
788
1765
|
};
|
|
1766
|
+
const se_PrivacyConfiguration = (input, context) => {
|
|
1767
|
+
return take(input, {
|
|
1768
|
+
policies: (_) => se_PrivacyConfigurationPolicies(_, context),
|
|
1769
|
+
});
|
|
1770
|
+
};
|
|
1771
|
+
const se_PrivacyConfigurationPolicies = (input, context) => {
|
|
1772
|
+
return take(input, {
|
|
1773
|
+
trainedModelExports: (_) => se_TrainedModelExportsConfigurationPolicy(_, context),
|
|
1774
|
+
trainedModelInferenceJobs: (_) => se_TrainedModelInferenceJobsConfigurationPolicy(_, context),
|
|
1775
|
+
trainedModels: _json,
|
|
1776
|
+
});
|
|
1777
|
+
};
|
|
1778
|
+
const se_TrainedModelExportsConfigurationPolicy = (input, context) => {
|
|
1779
|
+
return take(input, {
|
|
1780
|
+
filesToExport: _json,
|
|
1781
|
+
maxSize: (_) => se_TrainedModelExportsMaxSize(_, context),
|
|
1782
|
+
});
|
|
1783
|
+
};
|
|
1784
|
+
const se_TrainedModelExportsMaxSize = (input, context) => {
|
|
1785
|
+
return take(input, {
|
|
1786
|
+
unit: [],
|
|
1787
|
+
value: __serializeFloat,
|
|
1788
|
+
});
|
|
1789
|
+
};
|
|
1790
|
+
const se_TrainedModelInferenceJobsConfigurationPolicy = (input, context) => {
|
|
1791
|
+
return take(input, {
|
|
1792
|
+
containerLogs: _json,
|
|
1793
|
+
maxOutputSize: (_) => se_TrainedModelInferenceMaxOutputSize(_, context),
|
|
1794
|
+
});
|
|
1795
|
+
};
|
|
1796
|
+
const se_TrainedModelInferenceMaxOutputSize = (input, context) => {
|
|
1797
|
+
return take(input, {
|
|
1798
|
+
unit: [],
|
|
1799
|
+
value: __serializeFloat,
|
|
1800
|
+
});
|
|
1801
|
+
};
|
|
789
1802
|
const de_AudienceExportJobList = (output, context) => {
|
|
790
1803
|
const retVal = (output || [])
|
|
791
1804
|
.filter((e) => e != null)
|
|
@@ -853,6 +1866,122 @@ const de_AudienceQualityMetrics = (output, context) => {
|
|
|
853
1866
|
relevanceMetrics: (_) => de_RelevanceMetrics(_, context),
|
|
854
1867
|
});
|
|
855
1868
|
};
|
|
1869
|
+
const de_CollaborationConfiguredModelAlgorithmAssociationList = (output, context) => {
|
|
1870
|
+
const retVal = (output || [])
|
|
1871
|
+
.filter((e) => e != null)
|
|
1872
|
+
.map((entry) => {
|
|
1873
|
+
return de_CollaborationConfiguredModelAlgorithmAssociationSummary(entry, context);
|
|
1874
|
+
});
|
|
1875
|
+
return retVal;
|
|
1876
|
+
};
|
|
1877
|
+
const de_CollaborationConfiguredModelAlgorithmAssociationSummary = (output, context) => {
|
|
1878
|
+
return take(output, {
|
|
1879
|
+
collaborationIdentifier: __expectString,
|
|
1880
|
+
configuredModelAlgorithmArn: __expectString,
|
|
1881
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1882
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1883
|
+
creatorAccountId: __expectString,
|
|
1884
|
+
description: __expectString,
|
|
1885
|
+
membershipIdentifier: __expectString,
|
|
1886
|
+
name: __expectString,
|
|
1887
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1888
|
+
});
|
|
1889
|
+
};
|
|
1890
|
+
const de_CollaborationMLInputChannelsList = (output, context) => {
|
|
1891
|
+
const retVal = (output || [])
|
|
1892
|
+
.filter((e) => e != null)
|
|
1893
|
+
.map((entry) => {
|
|
1894
|
+
return de_CollaborationMLInputChannelSummary(entry, context);
|
|
1895
|
+
});
|
|
1896
|
+
return retVal;
|
|
1897
|
+
};
|
|
1898
|
+
const de_CollaborationMLInputChannelSummary = (output, context) => {
|
|
1899
|
+
return take(output, {
|
|
1900
|
+
collaborationIdentifier: __expectString,
|
|
1901
|
+
configuredModelAlgorithmAssociations: _json,
|
|
1902
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1903
|
+
creatorAccountId: __expectString,
|
|
1904
|
+
description: __expectString,
|
|
1905
|
+
membershipIdentifier: __expectString,
|
|
1906
|
+
mlInputChannelArn: __expectString,
|
|
1907
|
+
name: __expectString,
|
|
1908
|
+
status: __expectString,
|
|
1909
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1910
|
+
});
|
|
1911
|
+
};
|
|
1912
|
+
const de_CollaborationTrainedModelExportJobList = (output, context) => {
|
|
1913
|
+
const retVal = (output || [])
|
|
1914
|
+
.filter((e) => e != null)
|
|
1915
|
+
.map((entry) => {
|
|
1916
|
+
return de_CollaborationTrainedModelExportJobSummary(entry, context);
|
|
1917
|
+
});
|
|
1918
|
+
return retVal;
|
|
1919
|
+
};
|
|
1920
|
+
const de_CollaborationTrainedModelExportJobSummary = (output, context) => {
|
|
1921
|
+
return take(output, {
|
|
1922
|
+
collaborationIdentifier: __expectString,
|
|
1923
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1924
|
+
creatorAccountId: __expectString,
|
|
1925
|
+
description: __expectString,
|
|
1926
|
+
membershipIdentifier: __expectString,
|
|
1927
|
+
name: __expectString,
|
|
1928
|
+
outputConfiguration: _json,
|
|
1929
|
+
status: __expectString,
|
|
1930
|
+
statusDetails: _json,
|
|
1931
|
+
trainedModelArn: __expectString,
|
|
1932
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1933
|
+
});
|
|
1934
|
+
};
|
|
1935
|
+
const de_CollaborationTrainedModelInferenceJobList = (output, context) => {
|
|
1936
|
+
const retVal = (output || [])
|
|
1937
|
+
.filter((e) => e != null)
|
|
1938
|
+
.map((entry) => {
|
|
1939
|
+
return de_CollaborationTrainedModelInferenceJobSummary(entry, context);
|
|
1940
|
+
});
|
|
1941
|
+
return retVal;
|
|
1942
|
+
};
|
|
1943
|
+
const de_CollaborationTrainedModelInferenceJobSummary = (output, context) => {
|
|
1944
|
+
return take(output, {
|
|
1945
|
+
collaborationIdentifier: __expectString,
|
|
1946
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1947
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1948
|
+
creatorAccountId: __expectString,
|
|
1949
|
+
description: __expectString,
|
|
1950
|
+
logsStatus: __expectString,
|
|
1951
|
+
logsStatusDetails: __expectString,
|
|
1952
|
+
membershipIdentifier: __expectString,
|
|
1953
|
+
metricsStatus: __expectString,
|
|
1954
|
+
metricsStatusDetails: __expectString,
|
|
1955
|
+
name: __expectString,
|
|
1956
|
+
outputConfiguration: _json,
|
|
1957
|
+
status: __expectString,
|
|
1958
|
+
trainedModelArn: __expectString,
|
|
1959
|
+
trainedModelInferenceJobArn: __expectString,
|
|
1960
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1961
|
+
});
|
|
1962
|
+
};
|
|
1963
|
+
const de_CollaborationTrainedModelList = (output, context) => {
|
|
1964
|
+
const retVal = (output || [])
|
|
1965
|
+
.filter((e) => e != null)
|
|
1966
|
+
.map((entry) => {
|
|
1967
|
+
return de_CollaborationTrainedModelSummary(entry, context);
|
|
1968
|
+
});
|
|
1969
|
+
return retVal;
|
|
1970
|
+
};
|
|
1971
|
+
const de_CollaborationTrainedModelSummary = (output, context) => {
|
|
1972
|
+
return take(output, {
|
|
1973
|
+
collaborationIdentifier: __expectString,
|
|
1974
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1975
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1976
|
+
creatorAccountId: __expectString,
|
|
1977
|
+
description: __expectString,
|
|
1978
|
+
membershipIdentifier: __expectString,
|
|
1979
|
+
name: __expectString,
|
|
1980
|
+
status: __expectString,
|
|
1981
|
+
trainedModelArn: __expectString,
|
|
1982
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1983
|
+
});
|
|
1984
|
+
};
|
|
856
1985
|
const de_ConfiguredAudienceModelList = (output, context) => {
|
|
857
1986
|
const retVal = (output || [])
|
|
858
1987
|
.filter((e) => e != null)
|
|
@@ -873,6 +2002,77 @@ const de_ConfiguredAudienceModelSummary = (output, context) => {
|
|
|
873
2002
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
874
2003
|
});
|
|
875
2004
|
};
|
|
2005
|
+
const de_ConfiguredModelAlgorithmAssociationList = (output, context) => {
|
|
2006
|
+
const retVal = (output || [])
|
|
2007
|
+
.filter((e) => e != null)
|
|
2008
|
+
.map((entry) => {
|
|
2009
|
+
return de_ConfiguredModelAlgorithmAssociationSummary(entry, context);
|
|
2010
|
+
});
|
|
2011
|
+
return retVal;
|
|
2012
|
+
};
|
|
2013
|
+
const de_ConfiguredModelAlgorithmAssociationSummary = (output, context) => {
|
|
2014
|
+
return take(output, {
|
|
2015
|
+
collaborationIdentifier: __expectString,
|
|
2016
|
+
configuredModelAlgorithmArn: __expectString,
|
|
2017
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
2018
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2019
|
+
description: __expectString,
|
|
2020
|
+
membershipIdentifier: __expectString,
|
|
2021
|
+
name: __expectString,
|
|
2022
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2023
|
+
});
|
|
2024
|
+
};
|
|
2025
|
+
const de_ConfiguredModelAlgorithmList = (output, context) => {
|
|
2026
|
+
const retVal = (output || [])
|
|
2027
|
+
.filter((e) => e != null)
|
|
2028
|
+
.map((entry) => {
|
|
2029
|
+
return de_ConfiguredModelAlgorithmSummary(entry, context);
|
|
2030
|
+
});
|
|
2031
|
+
return retVal;
|
|
2032
|
+
};
|
|
2033
|
+
const de_ConfiguredModelAlgorithmSummary = (output, context) => {
|
|
2034
|
+
return take(output, {
|
|
2035
|
+
configuredModelAlgorithmArn: __expectString,
|
|
2036
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2037
|
+
description: __expectString,
|
|
2038
|
+
name: __expectString,
|
|
2039
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2040
|
+
});
|
|
2041
|
+
};
|
|
2042
|
+
const de_MLInputChannelsList = (output, context) => {
|
|
2043
|
+
const retVal = (output || [])
|
|
2044
|
+
.filter((e) => e != null)
|
|
2045
|
+
.map((entry) => {
|
|
2046
|
+
return de_MLInputChannelSummary(entry, context);
|
|
2047
|
+
});
|
|
2048
|
+
return retVal;
|
|
2049
|
+
};
|
|
2050
|
+
const de_MLInputChannelSummary = (output, context) => {
|
|
2051
|
+
return take(output, {
|
|
2052
|
+
collaborationIdentifier: __expectString,
|
|
2053
|
+
configuredModelAlgorithmAssociations: _json,
|
|
2054
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2055
|
+
description: __expectString,
|
|
2056
|
+
membershipIdentifier: __expectString,
|
|
2057
|
+
mlInputChannelArn: __expectString,
|
|
2058
|
+
name: __expectString,
|
|
2059
|
+
protectedQueryIdentifier: __expectString,
|
|
2060
|
+
status: __expectString,
|
|
2061
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2062
|
+
});
|
|
2063
|
+
};
|
|
2064
|
+
const de_PrivacyConfiguration = (output, context) => {
|
|
2065
|
+
return take(output, {
|
|
2066
|
+
policies: (_) => de_PrivacyConfigurationPolicies(_, context),
|
|
2067
|
+
});
|
|
2068
|
+
};
|
|
2069
|
+
const de_PrivacyConfigurationPolicies = (output, context) => {
|
|
2070
|
+
return take(output, {
|
|
2071
|
+
trainedModelExports: (_) => de_TrainedModelExportsConfigurationPolicy(_, context),
|
|
2072
|
+
trainedModelInferenceJobs: (_) => de_TrainedModelInferenceJobsConfigurationPolicy(_, context),
|
|
2073
|
+
trainedModels: _json,
|
|
2074
|
+
});
|
|
2075
|
+
};
|
|
876
2076
|
const de_RelevanceMetric = (output, context) => {
|
|
877
2077
|
return take(output, {
|
|
878
2078
|
audienceSize: _json,
|
|
@@ -887,6 +2087,78 @@ const de_RelevanceMetrics = (output, context) => {
|
|
|
887
2087
|
});
|
|
888
2088
|
return retVal;
|
|
889
2089
|
};
|
|
2090
|
+
const de_TrainedModelExportsConfigurationPolicy = (output, context) => {
|
|
2091
|
+
return take(output, {
|
|
2092
|
+
filesToExport: _json,
|
|
2093
|
+
maxSize: (_) => de_TrainedModelExportsMaxSize(_, context),
|
|
2094
|
+
});
|
|
2095
|
+
};
|
|
2096
|
+
const de_TrainedModelExportsMaxSize = (output, context) => {
|
|
2097
|
+
return take(output, {
|
|
2098
|
+
unit: __expectString,
|
|
2099
|
+
value: __limitedParseDouble,
|
|
2100
|
+
});
|
|
2101
|
+
};
|
|
2102
|
+
const de_TrainedModelInferenceJobList = (output, context) => {
|
|
2103
|
+
const retVal = (output || [])
|
|
2104
|
+
.filter((e) => e != null)
|
|
2105
|
+
.map((entry) => {
|
|
2106
|
+
return de_TrainedModelInferenceJobSummary(entry, context);
|
|
2107
|
+
});
|
|
2108
|
+
return retVal;
|
|
2109
|
+
};
|
|
2110
|
+
const de_TrainedModelInferenceJobsConfigurationPolicy = (output, context) => {
|
|
2111
|
+
return take(output, {
|
|
2112
|
+
containerLogs: _json,
|
|
2113
|
+
maxOutputSize: (_) => de_TrainedModelInferenceMaxOutputSize(_, context),
|
|
2114
|
+
});
|
|
2115
|
+
};
|
|
2116
|
+
const de_TrainedModelInferenceJobSummary = (output, context) => {
|
|
2117
|
+
return take(output, {
|
|
2118
|
+
collaborationIdentifier: __expectString,
|
|
2119
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
2120
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2121
|
+
description: __expectString,
|
|
2122
|
+
logsStatus: __expectString,
|
|
2123
|
+
logsStatusDetails: __expectString,
|
|
2124
|
+
membershipIdentifier: __expectString,
|
|
2125
|
+
metricsStatus: __expectString,
|
|
2126
|
+
metricsStatusDetails: __expectString,
|
|
2127
|
+
name: __expectString,
|
|
2128
|
+
outputConfiguration: _json,
|
|
2129
|
+
status: __expectString,
|
|
2130
|
+
trainedModelArn: __expectString,
|
|
2131
|
+
trainedModelInferenceJobArn: __expectString,
|
|
2132
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2133
|
+
});
|
|
2134
|
+
};
|
|
2135
|
+
const de_TrainedModelInferenceMaxOutputSize = (output, context) => {
|
|
2136
|
+
return take(output, {
|
|
2137
|
+
unit: __expectString,
|
|
2138
|
+
value: __limitedParseDouble,
|
|
2139
|
+
});
|
|
2140
|
+
};
|
|
2141
|
+
const de_TrainedModelList = (output, context) => {
|
|
2142
|
+
const retVal = (output || [])
|
|
2143
|
+
.filter((e) => e != null)
|
|
2144
|
+
.map((entry) => {
|
|
2145
|
+
return de_TrainedModelSummary(entry, context);
|
|
2146
|
+
});
|
|
2147
|
+
return retVal;
|
|
2148
|
+
};
|
|
2149
|
+
const de_TrainedModelSummary = (output, context) => {
|
|
2150
|
+
return take(output, {
|
|
2151
|
+
collaborationIdentifier: __expectString,
|
|
2152
|
+
configuredModelAlgorithmAssociationArn: __expectString,
|
|
2153
|
+
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2154
|
+
description: __expectString,
|
|
2155
|
+
membershipIdentifier: __expectString,
|
|
2156
|
+
name: __expectString,
|
|
2157
|
+
status: __expectString,
|
|
2158
|
+
trainedModelArn: __expectString,
|
|
2159
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2160
|
+
});
|
|
2161
|
+
};
|
|
890
2162
|
const de_TrainingDatasetList = (output, context) => {
|
|
891
2163
|
const retVal = (output || [])
|
|
892
2164
|
.filter((e) => e != null)
|
|
@@ -918,3 +2190,4 @@ const _cI = "collaborationId";
|
|
|
918
2190
|
const _mR = "maxResults";
|
|
919
2191
|
const _nT = "nextToken";
|
|
920
2192
|
const _tK = "tagKeys";
|
|
2193
|
+
const _tMA = "trainedModelArn";
|