@aws-sdk/client-cleanroomsml 3.928.0 → 3.930.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/dist-cjs/index.js +2777 -2861
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/CleanRoomsMLClient.js +2 -0
- package/dist-es/commands/CancelTrainedModelCommand.js +3 -9
- package/dist-es/commands/CancelTrainedModelInferenceJobCommand.js +3 -9
- package/dist-es/commands/CreateAudienceModelCommand.js +3 -9
- package/dist-es/commands/CreateConfiguredAudienceModelCommand.js +3 -9
- package/dist-es/commands/CreateConfiguredModelAlgorithmAssociationCommand.js +3 -9
- package/dist-es/commands/CreateConfiguredModelAlgorithmCommand.js +3 -9
- package/dist-es/commands/CreateMLInputChannelCommand.js +3 -10
- package/dist-es/commands/CreateTrainedModelCommand.js +3 -9
- package/dist-es/commands/CreateTrainingDatasetCommand.js +3 -9
- package/dist-es/commands/DeleteAudienceGenerationJobCommand.js +3 -9
- package/dist-es/commands/DeleteAudienceModelCommand.js +3 -9
- package/dist-es/commands/DeleteConfiguredAudienceModelCommand.js +3 -9
- package/dist-es/commands/DeleteConfiguredAudienceModelPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteConfiguredModelAlgorithmAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteConfiguredModelAlgorithmCommand.js +3 -9
- package/dist-es/commands/DeleteMLConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteMLInputChannelDataCommand.js +3 -9
- package/dist-es/commands/DeleteTrainedModelOutputCommand.js +3 -9
- package/dist-es/commands/DeleteTrainingDatasetCommand.js +3 -9
- package/dist-es/commands/GetAudienceGenerationJobCommand.js +3 -10
- package/dist-es/commands/GetAudienceModelCommand.js +3 -9
- package/dist-es/commands/GetCollaborationConfiguredModelAlgorithmAssociationCommand.js +3 -9
- package/dist-es/commands/GetCollaborationMLInputChannelCommand.js +3 -9
- package/dist-es/commands/GetCollaborationTrainedModelCommand.js +3 -9
- package/dist-es/commands/GetConfiguredAudienceModelCommand.js +3 -9
- package/dist-es/commands/GetConfiguredAudienceModelPolicyCommand.js +3 -9
- package/dist-es/commands/GetConfiguredModelAlgorithmAssociationCommand.js +3 -9
- package/dist-es/commands/GetConfiguredModelAlgorithmCommand.js +3 -9
- package/dist-es/commands/GetMLConfigurationCommand.js +3 -9
- package/dist-es/commands/GetMLInputChannelCommand.js +3 -10
- package/dist-es/commands/GetTrainedModelCommand.js +3 -9
- package/dist-es/commands/GetTrainedModelInferenceJobCommand.js +3 -9
- package/dist-es/commands/GetTrainingDatasetCommand.js +3 -9
- package/dist-es/commands/ListAudienceExportJobsCommand.js +3 -9
- package/dist-es/commands/ListAudienceGenerationJobsCommand.js +3 -9
- package/dist-es/commands/ListAudienceModelsCommand.js +3 -9
- package/dist-es/commands/ListCollaborationConfiguredModelAlgorithmAssociationsCommand.js +3 -9
- package/dist-es/commands/ListCollaborationMLInputChannelsCommand.js +3 -9
- package/dist-es/commands/ListCollaborationTrainedModelExportJobsCommand.js +3 -9
- package/dist-es/commands/ListCollaborationTrainedModelInferenceJobsCommand.js +3 -9
- package/dist-es/commands/ListCollaborationTrainedModelsCommand.js +3 -9
- package/dist-es/commands/ListConfiguredAudienceModelsCommand.js +3 -9
- package/dist-es/commands/ListConfiguredModelAlgorithmAssociationsCommand.js +3 -9
- package/dist-es/commands/ListConfiguredModelAlgorithmsCommand.js +3 -9
- package/dist-es/commands/ListMLInputChannelsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTrainedModelInferenceJobsCommand.js +3 -9
- package/dist-es/commands/ListTrainedModelVersionsCommand.js +3 -9
- package/dist-es/commands/ListTrainedModelsCommand.js +3 -9
- package/dist-es/commands/ListTrainingDatasetsCommand.js +3 -9
- package/dist-es/commands/PutConfiguredAudienceModelPolicyCommand.js +3 -9
- package/dist-es/commands/PutMLConfigurationCommand.js +3 -9
- package/dist-es/commands/StartAudienceExportJobCommand.js +3 -9
- package/dist-es/commands/StartAudienceGenerationJobCommand.js +3 -10
- package/dist-es/commands/StartTrainedModelExportJobCommand.js +3 -9
- package/dist-es/commands/StartTrainedModelInferenceJobCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateConfiguredAudienceModelCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -67
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2662 -0
- package/dist-types/CleanRoomsMLClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +12 -39
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +282 -0
- package/dist-types/ts3.4/CleanRoomsMLClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -28
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +287 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -2363
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -533
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -713
|
@@ -1,2363 +0,0 @@
|
|
|
1
|
-
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
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
|
-
import { CleanRoomsMLServiceException as __BaseException } from "../models/CleanRoomsMLServiceException";
|
|
5
|
-
import { AccessDeniedException, ConflictException, InternalServiceException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, 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
|
-
const query = map({
|
|
13
|
-
[_vI]: [, input[_vI]],
|
|
14
|
-
});
|
|
15
|
-
let body;
|
|
16
|
-
b.m("PATCH").h(headers).q(query).b(body);
|
|
17
|
-
return b.build();
|
|
18
|
-
};
|
|
19
|
-
export const se_CancelTrainedModelInferenceJobCommand = async (input, context) => {
|
|
20
|
-
const b = rb(input, context);
|
|
21
|
-
const headers = {};
|
|
22
|
-
b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs/{trainedModelInferenceJobArn}");
|
|
23
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
24
|
-
b.p("trainedModelInferenceJobArn", () => input.trainedModelInferenceJobArn, "{trainedModelInferenceJobArn}", false);
|
|
25
|
-
let body;
|
|
26
|
-
b.m("PATCH").h(headers).b(body);
|
|
27
|
-
return b.build();
|
|
28
|
-
};
|
|
29
|
-
export const se_CreateAudienceModelCommand = async (input, context) => {
|
|
30
|
-
const b = rb(input, context);
|
|
31
|
-
const headers = {
|
|
32
|
-
"content-type": "application/json",
|
|
33
|
-
};
|
|
34
|
-
b.bp("/audience-model");
|
|
35
|
-
let body;
|
|
36
|
-
body = JSON.stringify(take(input, {
|
|
37
|
-
description: [],
|
|
38
|
-
kmsKeyArn: [],
|
|
39
|
-
name: [],
|
|
40
|
-
tags: (_) => _json(_),
|
|
41
|
-
trainingDataEndTime: (_) => __serializeDateTime(_),
|
|
42
|
-
trainingDataStartTime: (_) => __serializeDateTime(_),
|
|
43
|
-
trainingDatasetArn: [],
|
|
44
|
-
}));
|
|
45
|
-
b.m("POST").h(headers).b(body);
|
|
46
|
-
return b.build();
|
|
47
|
-
};
|
|
48
|
-
export const se_CreateConfiguredAudienceModelCommand = async (input, context) => {
|
|
49
|
-
const b = rb(input, context);
|
|
50
|
-
const headers = {
|
|
51
|
-
"content-type": "application/json",
|
|
52
|
-
};
|
|
53
|
-
b.bp("/configured-audience-model");
|
|
54
|
-
let body;
|
|
55
|
-
body = JSON.stringify(take(input, {
|
|
56
|
-
audienceModelArn: [],
|
|
57
|
-
audienceSizeConfig: (_) => _json(_),
|
|
58
|
-
childResourceTagOnCreatePolicy: [],
|
|
59
|
-
description: [],
|
|
60
|
-
minMatchingSeedSize: [],
|
|
61
|
-
name: [],
|
|
62
|
-
outputConfig: (_) => _json(_),
|
|
63
|
-
sharedAudienceMetrics: (_) => _json(_),
|
|
64
|
-
tags: (_) => _json(_),
|
|
65
|
-
}));
|
|
66
|
-
b.m("POST").h(headers).b(body);
|
|
67
|
-
return b.build();
|
|
68
|
-
};
|
|
69
|
-
export const se_CreateConfiguredModelAlgorithmCommand = async (input, context) => {
|
|
70
|
-
const b = rb(input, context);
|
|
71
|
-
const headers = {
|
|
72
|
-
"content-type": "application/json",
|
|
73
|
-
};
|
|
74
|
-
b.bp("/configured-model-algorithms");
|
|
75
|
-
let body;
|
|
76
|
-
body = JSON.stringify(take(input, {
|
|
77
|
-
description: [],
|
|
78
|
-
inferenceContainerConfig: (_) => _json(_),
|
|
79
|
-
kmsKeyArn: [],
|
|
80
|
-
name: [],
|
|
81
|
-
roleArn: [],
|
|
82
|
-
tags: (_) => _json(_),
|
|
83
|
-
trainingContainerConfig: (_) => _json(_),
|
|
84
|
-
}));
|
|
85
|
-
b.m("POST").h(headers).b(body);
|
|
86
|
-
return b.build();
|
|
87
|
-
};
|
|
88
|
-
export const se_CreateConfiguredModelAlgorithmAssociationCommand = async (input, context) => {
|
|
89
|
-
const b = rb(input, context);
|
|
90
|
-
const headers = {
|
|
91
|
-
"content-type": "application/json",
|
|
92
|
-
};
|
|
93
|
-
b.bp("/memberships/{membershipIdentifier}/configured-model-algorithm-associations");
|
|
94
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
95
|
-
let body;
|
|
96
|
-
body = JSON.stringify(take(input, {
|
|
97
|
-
configuredModelAlgorithmArn: [],
|
|
98
|
-
description: [],
|
|
99
|
-
name: [],
|
|
100
|
-
privacyConfiguration: (_) => se_PrivacyConfiguration(_, context),
|
|
101
|
-
tags: (_) => _json(_),
|
|
102
|
-
}));
|
|
103
|
-
b.m("POST").h(headers).b(body);
|
|
104
|
-
return b.build();
|
|
105
|
-
};
|
|
106
|
-
export const se_CreateMLInputChannelCommand = async (input, context) => {
|
|
107
|
-
const b = rb(input, context);
|
|
108
|
-
const headers = {
|
|
109
|
-
"content-type": "application/json",
|
|
110
|
-
};
|
|
111
|
-
b.bp("/memberships/{membershipIdentifier}/ml-input-channels");
|
|
112
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
113
|
-
let body;
|
|
114
|
-
body = JSON.stringify(take(input, {
|
|
115
|
-
configuredModelAlgorithmAssociations: (_) => _json(_),
|
|
116
|
-
description: [],
|
|
117
|
-
inputChannel: (_) => _json(_),
|
|
118
|
-
kmsKeyArn: [],
|
|
119
|
-
name: [],
|
|
120
|
-
retentionInDays: [],
|
|
121
|
-
tags: (_) => _json(_),
|
|
122
|
-
}));
|
|
123
|
-
b.m("POST").h(headers).b(body);
|
|
124
|
-
return b.build();
|
|
125
|
-
};
|
|
126
|
-
export const se_CreateTrainedModelCommand = async (input, context) => {
|
|
127
|
-
const b = rb(input, context);
|
|
128
|
-
const headers = {
|
|
129
|
-
"content-type": "application/json",
|
|
130
|
-
};
|
|
131
|
-
b.bp("/memberships/{membershipIdentifier}/trained-models");
|
|
132
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
133
|
-
let body;
|
|
134
|
-
body = JSON.stringify(take(input, {
|
|
135
|
-
configuredModelAlgorithmAssociationArn: [],
|
|
136
|
-
dataChannels: (_) => _json(_),
|
|
137
|
-
description: [],
|
|
138
|
-
environment: (_) => _json(_),
|
|
139
|
-
hyperparameters: (_) => _json(_),
|
|
140
|
-
incrementalTrainingDataChannels: (_) => _json(_),
|
|
141
|
-
kmsKeyArn: [],
|
|
142
|
-
name: [],
|
|
143
|
-
resourceConfig: (_) => _json(_),
|
|
144
|
-
stoppingCondition: (_) => _json(_),
|
|
145
|
-
tags: (_) => _json(_),
|
|
146
|
-
trainingInputMode: [],
|
|
147
|
-
}));
|
|
148
|
-
b.m("POST").h(headers).b(body);
|
|
149
|
-
return b.build();
|
|
150
|
-
};
|
|
151
|
-
export const se_CreateTrainingDatasetCommand = async (input, context) => {
|
|
152
|
-
const b = rb(input, context);
|
|
153
|
-
const headers = {
|
|
154
|
-
"content-type": "application/json",
|
|
155
|
-
};
|
|
156
|
-
b.bp("/training-dataset");
|
|
157
|
-
let body;
|
|
158
|
-
body = JSON.stringify(take(input, {
|
|
159
|
-
description: [],
|
|
160
|
-
name: [],
|
|
161
|
-
roleArn: [],
|
|
162
|
-
tags: (_) => _json(_),
|
|
163
|
-
trainingData: (_) => _json(_),
|
|
164
|
-
}));
|
|
165
|
-
b.m("POST").h(headers).b(body);
|
|
166
|
-
return b.build();
|
|
167
|
-
};
|
|
168
|
-
export const se_DeleteAudienceGenerationJobCommand = async (input, context) => {
|
|
169
|
-
const b = rb(input, context);
|
|
170
|
-
const headers = {};
|
|
171
|
-
b.bp("/audience-generation-job/{audienceGenerationJobArn}");
|
|
172
|
-
b.p("audienceGenerationJobArn", () => input.audienceGenerationJobArn, "{audienceGenerationJobArn}", false);
|
|
173
|
-
let body;
|
|
174
|
-
b.m("DELETE").h(headers).b(body);
|
|
175
|
-
return b.build();
|
|
176
|
-
};
|
|
177
|
-
export const se_DeleteAudienceModelCommand = async (input, context) => {
|
|
178
|
-
const b = rb(input, context);
|
|
179
|
-
const headers = {};
|
|
180
|
-
b.bp("/audience-model/{audienceModelArn}");
|
|
181
|
-
b.p("audienceModelArn", () => input.audienceModelArn, "{audienceModelArn}", false);
|
|
182
|
-
let body;
|
|
183
|
-
b.m("DELETE").h(headers).b(body);
|
|
184
|
-
return b.build();
|
|
185
|
-
};
|
|
186
|
-
export const se_DeleteConfiguredAudienceModelCommand = async (input, context) => {
|
|
187
|
-
const b = rb(input, context);
|
|
188
|
-
const headers = {};
|
|
189
|
-
b.bp("/configured-audience-model/{configuredAudienceModelArn}");
|
|
190
|
-
b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false);
|
|
191
|
-
let body;
|
|
192
|
-
b.m("DELETE").h(headers).b(body);
|
|
193
|
-
return b.build();
|
|
194
|
-
};
|
|
195
|
-
export const se_DeleteConfiguredAudienceModelPolicyCommand = async (input, context) => {
|
|
196
|
-
const b = rb(input, context);
|
|
197
|
-
const headers = {};
|
|
198
|
-
b.bp("/configured-audience-model/{configuredAudienceModelArn}/policy");
|
|
199
|
-
b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false);
|
|
200
|
-
let body;
|
|
201
|
-
b.m("DELETE").h(headers).b(body);
|
|
202
|
-
return b.build();
|
|
203
|
-
};
|
|
204
|
-
export const se_DeleteConfiguredModelAlgorithmCommand = async (input, context) => {
|
|
205
|
-
const b = rb(input, context);
|
|
206
|
-
const headers = {};
|
|
207
|
-
b.bp("/configured-model-algorithms/{configuredModelAlgorithmArn}");
|
|
208
|
-
b.p("configuredModelAlgorithmArn", () => input.configuredModelAlgorithmArn, "{configuredModelAlgorithmArn}", false);
|
|
209
|
-
let body;
|
|
210
|
-
b.m("DELETE").h(headers).b(body);
|
|
211
|
-
return b.build();
|
|
212
|
-
};
|
|
213
|
-
export const se_DeleteConfiguredModelAlgorithmAssociationCommand = async (input, context) => {
|
|
214
|
-
const b = rb(input, context);
|
|
215
|
-
const headers = {};
|
|
216
|
-
b.bp("/memberships/{membershipIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}");
|
|
217
|
-
b.p("configuredModelAlgorithmAssociationArn", () => input.configuredModelAlgorithmAssociationArn, "{configuredModelAlgorithmAssociationArn}", false);
|
|
218
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
219
|
-
let body;
|
|
220
|
-
b.m("DELETE").h(headers).b(body);
|
|
221
|
-
return b.build();
|
|
222
|
-
};
|
|
223
|
-
export const se_DeleteMLConfigurationCommand = async (input, context) => {
|
|
224
|
-
const b = rb(input, context);
|
|
225
|
-
const headers = {};
|
|
226
|
-
b.bp("/memberships/{membershipIdentifier}/ml-configurations");
|
|
227
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
228
|
-
let body;
|
|
229
|
-
b.m("DELETE").h(headers).b(body);
|
|
230
|
-
return b.build();
|
|
231
|
-
};
|
|
232
|
-
export const se_DeleteMLInputChannelDataCommand = async (input, context) => {
|
|
233
|
-
const b = rb(input, context);
|
|
234
|
-
const headers = {};
|
|
235
|
-
b.bp("/memberships/{membershipIdentifier}/ml-input-channels/{mlInputChannelArn}");
|
|
236
|
-
b.p("mlInputChannelArn", () => input.mlInputChannelArn, "{mlInputChannelArn}", false);
|
|
237
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
238
|
-
let body;
|
|
239
|
-
b.m("DELETE").h(headers).b(body);
|
|
240
|
-
return b.build();
|
|
241
|
-
};
|
|
242
|
-
export const se_DeleteTrainedModelOutputCommand = async (input, context) => {
|
|
243
|
-
const b = rb(input, context);
|
|
244
|
-
const headers = {};
|
|
245
|
-
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}");
|
|
246
|
-
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
247
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
248
|
-
const query = map({
|
|
249
|
-
[_vI]: [, input[_vI]],
|
|
250
|
-
});
|
|
251
|
-
let body;
|
|
252
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
253
|
-
return b.build();
|
|
254
|
-
};
|
|
255
|
-
export const se_DeleteTrainingDatasetCommand = async (input, context) => {
|
|
256
|
-
const b = rb(input, context);
|
|
257
|
-
const headers = {};
|
|
258
|
-
b.bp("/training-dataset/{trainingDatasetArn}");
|
|
259
|
-
b.p("trainingDatasetArn", () => input.trainingDatasetArn, "{trainingDatasetArn}", false);
|
|
260
|
-
let body;
|
|
261
|
-
b.m("DELETE").h(headers).b(body);
|
|
262
|
-
return b.build();
|
|
263
|
-
};
|
|
264
|
-
export const se_GetAudienceGenerationJobCommand = async (input, context) => {
|
|
265
|
-
const b = rb(input, context);
|
|
266
|
-
const headers = {};
|
|
267
|
-
b.bp("/audience-generation-job/{audienceGenerationJobArn}");
|
|
268
|
-
b.p("audienceGenerationJobArn", () => input.audienceGenerationJobArn, "{audienceGenerationJobArn}", false);
|
|
269
|
-
let body;
|
|
270
|
-
b.m("GET").h(headers).b(body);
|
|
271
|
-
return b.build();
|
|
272
|
-
};
|
|
273
|
-
export const se_GetAudienceModelCommand = async (input, context) => {
|
|
274
|
-
const b = rb(input, context);
|
|
275
|
-
const headers = {};
|
|
276
|
-
b.bp("/audience-model/{audienceModelArn}");
|
|
277
|
-
b.p("audienceModelArn", () => input.audienceModelArn, "{audienceModelArn}", false);
|
|
278
|
-
let body;
|
|
279
|
-
b.m("GET").h(headers).b(body);
|
|
280
|
-
return b.build();
|
|
281
|
-
};
|
|
282
|
-
export const se_GetCollaborationConfiguredModelAlgorithmAssociationCommand = async (input, context) => {
|
|
283
|
-
const b = rb(input, context);
|
|
284
|
-
const headers = {};
|
|
285
|
-
b.bp("/collaborations/{collaborationIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}");
|
|
286
|
-
b.p("configuredModelAlgorithmAssociationArn", () => input.configuredModelAlgorithmAssociationArn, "{configuredModelAlgorithmAssociationArn}", false);
|
|
287
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
288
|
-
let body;
|
|
289
|
-
b.m("GET").h(headers).b(body);
|
|
290
|
-
return b.build();
|
|
291
|
-
};
|
|
292
|
-
export const se_GetCollaborationMLInputChannelCommand = async (input, context) => {
|
|
293
|
-
const b = rb(input, context);
|
|
294
|
-
const headers = {};
|
|
295
|
-
b.bp("/collaborations/{collaborationIdentifier}/ml-input-channels/{mlInputChannelArn}");
|
|
296
|
-
b.p("mlInputChannelArn", () => input.mlInputChannelArn, "{mlInputChannelArn}", false);
|
|
297
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
298
|
-
let body;
|
|
299
|
-
b.m("GET").h(headers).b(body);
|
|
300
|
-
return b.build();
|
|
301
|
-
};
|
|
302
|
-
export const se_GetCollaborationTrainedModelCommand = async (input, context) => {
|
|
303
|
-
const b = rb(input, context);
|
|
304
|
-
const headers = {};
|
|
305
|
-
b.bp("/collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}");
|
|
306
|
-
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
307
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
308
|
-
const query = map({
|
|
309
|
-
[_vI]: [, input[_vI]],
|
|
310
|
-
});
|
|
311
|
-
let body;
|
|
312
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
313
|
-
return b.build();
|
|
314
|
-
};
|
|
315
|
-
export const se_GetConfiguredAudienceModelCommand = async (input, context) => {
|
|
316
|
-
const b = rb(input, context);
|
|
317
|
-
const headers = {};
|
|
318
|
-
b.bp("/configured-audience-model/{configuredAudienceModelArn}");
|
|
319
|
-
b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false);
|
|
320
|
-
let body;
|
|
321
|
-
b.m("GET").h(headers).b(body);
|
|
322
|
-
return b.build();
|
|
323
|
-
};
|
|
324
|
-
export const se_GetConfiguredAudienceModelPolicyCommand = async (input, context) => {
|
|
325
|
-
const b = rb(input, context);
|
|
326
|
-
const headers = {};
|
|
327
|
-
b.bp("/configured-audience-model/{configuredAudienceModelArn}/policy");
|
|
328
|
-
b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false);
|
|
329
|
-
let body;
|
|
330
|
-
b.m("GET").h(headers).b(body);
|
|
331
|
-
return b.build();
|
|
332
|
-
};
|
|
333
|
-
export const se_GetConfiguredModelAlgorithmCommand = async (input, context) => {
|
|
334
|
-
const b = rb(input, context);
|
|
335
|
-
const headers = {};
|
|
336
|
-
b.bp("/configured-model-algorithms/{configuredModelAlgorithmArn}");
|
|
337
|
-
b.p("configuredModelAlgorithmArn", () => input.configuredModelAlgorithmArn, "{configuredModelAlgorithmArn}", false);
|
|
338
|
-
let body;
|
|
339
|
-
b.m("GET").h(headers).b(body);
|
|
340
|
-
return b.build();
|
|
341
|
-
};
|
|
342
|
-
export const se_GetConfiguredModelAlgorithmAssociationCommand = async (input, context) => {
|
|
343
|
-
const b = rb(input, context);
|
|
344
|
-
const headers = {};
|
|
345
|
-
b.bp("/memberships/{membershipIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}");
|
|
346
|
-
b.p("configuredModelAlgorithmAssociationArn", () => input.configuredModelAlgorithmAssociationArn, "{configuredModelAlgorithmAssociationArn}", false);
|
|
347
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
348
|
-
let body;
|
|
349
|
-
b.m("GET").h(headers).b(body);
|
|
350
|
-
return b.build();
|
|
351
|
-
};
|
|
352
|
-
export const se_GetMLConfigurationCommand = async (input, context) => {
|
|
353
|
-
const b = rb(input, context);
|
|
354
|
-
const headers = {};
|
|
355
|
-
b.bp("/memberships/{membershipIdentifier}/ml-configurations");
|
|
356
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
357
|
-
let body;
|
|
358
|
-
b.m("GET").h(headers).b(body);
|
|
359
|
-
return b.build();
|
|
360
|
-
};
|
|
361
|
-
export const se_GetMLInputChannelCommand = async (input, context) => {
|
|
362
|
-
const b = rb(input, context);
|
|
363
|
-
const headers = {};
|
|
364
|
-
b.bp("/memberships/{membershipIdentifier}/ml-input-channels/{mlInputChannelArn}");
|
|
365
|
-
b.p("mlInputChannelArn", () => input.mlInputChannelArn, "{mlInputChannelArn}", false);
|
|
366
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
367
|
-
let body;
|
|
368
|
-
b.m("GET").h(headers).b(body);
|
|
369
|
-
return b.build();
|
|
370
|
-
};
|
|
371
|
-
export const se_GetTrainedModelCommand = async (input, context) => {
|
|
372
|
-
const b = rb(input, context);
|
|
373
|
-
const headers = {};
|
|
374
|
-
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}");
|
|
375
|
-
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
376
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
377
|
-
const query = map({
|
|
378
|
-
[_vI]: [, input[_vI]],
|
|
379
|
-
});
|
|
380
|
-
let body;
|
|
381
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
382
|
-
return b.build();
|
|
383
|
-
};
|
|
384
|
-
export const se_GetTrainedModelInferenceJobCommand = async (input, context) => {
|
|
385
|
-
const b = rb(input, context);
|
|
386
|
-
const headers = {};
|
|
387
|
-
b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs/{trainedModelInferenceJobArn}");
|
|
388
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
389
|
-
b.p("trainedModelInferenceJobArn", () => input.trainedModelInferenceJobArn, "{trainedModelInferenceJobArn}", false);
|
|
390
|
-
let body;
|
|
391
|
-
b.m("GET").h(headers).b(body);
|
|
392
|
-
return b.build();
|
|
393
|
-
};
|
|
394
|
-
export const se_GetTrainingDatasetCommand = async (input, context) => {
|
|
395
|
-
const b = rb(input, context);
|
|
396
|
-
const headers = {};
|
|
397
|
-
b.bp("/training-dataset/{trainingDatasetArn}");
|
|
398
|
-
b.p("trainingDatasetArn", () => input.trainingDatasetArn, "{trainingDatasetArn}", false);
|
|
399
|
-
let body;
|
|
400
|
-
b.m("GET").h(headers).b(body);
|
|
401
|
-
return b.build();
|
|
402
|
-
};
|
|
403
|
-
export const se_ListAudienceExportJobsCommand = async (input, context) => {
|
|
404
|
-
const b = rb(input, context);
|
|
405
|
-
const headers = {};
|
|
406
|
-
b.bp("/audience-export-job");
|
|
407
|
-
const query = map({
|
|
408
|
-
[_nT]: [, input[_nT]],
|
|
409
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
410
|
-
[_aGJA]: [, input[_aGJA]],
|
|
411
|
-
});
|
|
412
|
-
let body;
|
|
413
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
414
|
-
return b.build();
|
|
415
|
-
};
|
|
416
|
-
export const se_ListAudienceGenerationJobsCommand = async (input, context) => {
|
|
417
|
-
const b = rb(input, context);
|
|
418
|
-
const headers = {};
|
|
419
|
-
b.bp("/audience-generation-job");
|
|
420
|
-
const query = map({
|
|
421
|
-
[_nT]: [, input[_nT]],
|
|
422
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
423
|
-
[_cAMA]: [, input[_cAMA]],
|
|
424
|
-
[_cI]: [, input[_cI]],
|
|
425
|
-
});
|
|
426
|
-
let body;
|
|
427
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
428
|
-
return b.build();
|
|
429
|
-
};
|
|
430
|
-
export const se_ListAudienceModelsCommand = async (input, context) => {
|
|
431
|
-
const b = rb(input, context);
|
|
432
|
-
const headers = {};
|
|
433
|
-
b.bp("/audience-model");
|
|
434
|
-
const query = map({
|
|
435
|
-
[_nT]: [, input[_nT]],
|
|
436
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
437
|
-
});
|
|
438
|
-
let body;
|
|
439
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
440
|
-
return b.build();
|
|
441
|
-
};
|
|
442
|
-
export const se_ListCollaborationConfiguredModelAlgorithmAssociationsCommand = async (input, context) => {
|
|
443
|
-
const b = rb(input, context);
|
|
444
|
-
const headers = {};
|
|
445
|
-
b.bp("/collaborations/{collaborationIdentifier}/configured-model-algorithm-associations");
|
|
446
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
447
|
-
const query = map({
|
|
448
|
-
[_nT]: [, input[_nT]],
|
|
449
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
450
|
-
});
|
|
451
|
-
let body;
|
|
452
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
453
|
-
return b.build();
|
|
454
|
-
};
|
|
455
|
-
export const se_ListCollaborationMLInputChannelsCommand = async (input, context) => {
|
|
456
|
-
const b = rb(input, context);
|
|
457
|
-
const headers = {};
|
|
458
|
-
b.bp("/collaborations/{collaborationIdentifier}/ml-input-channels");
|
|
459
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", 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_ListCollaborationTrainedModelExportJobsCommand = async (input, context) => {
|
|
469
|
-
const b = rb(input, context);
|
|
470
|
-
const headers = {};
|
|
471
|
-
b.bp("/collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}/export-jobs");
|
|
472
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
473
|
-
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
474
|
-
const query = map({
|
|
475
|
-
[_nT]: [, input[_nT]],
|
|
476
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
477
|
-
[_tMVI]: [, input[_tMVI]],
|
|
478
|
-
});
|
|
479
|
-
let body;
|
|
480
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
481
|
-
return b.build();
|
|
482
|
-
};
|
|
483
|
-
export const se_ListCollaborationTrainedModelInferenceJobsCommand = async (input, context) => {
|
|
484
|
-
const b = rb(input, context);
|
|
485
|
-
const headers = {};
|
|
486
|
-
b.bp("/collaborations/{collaborationIdentifier}/trained-model-inference-jobs");
|
|
487
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
488
|
-
const query = map({
|
|
489
|
-
[_nT]: [, input[_nT]],
|
|
490
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
491
|
-
[_tMA]: [, input[_tMA]],
|
|
492
|
-
[_tMVI]: [, input[_tMVI]],
|
|
493
|
-
});
|
|
494
|
-
let body;
|
|
495
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
496
|
-
return b.build();
|
|
497
|
-
};
|
|
498
|
-
export const se_ListCollaborationTrainedModelsCommand = async (input, context) => {
|
|
499
|
-
const b = rb(input, context);
|
|
500
|
-
const headers = {};
|
|
501
|
-
b.bp("/collaborations/{collaborationIdentifier}/trained-models");
|
|
502
|
-
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
503
|
-
const query = map({
|
|
504
|
-
[_nT]: [, input[_nT]],
|
|
505
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
506
|
-
});
|
|
507
|
-
let body;
|
|
508
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
509
|
-
return b.build();
|
|
510
|
-
};
|
|
511
|
-
export const se_ListConfiguredAudienceModelsCommand = async (input, context) => {
|
|
512
|
-
const b = rb(input, context);
|
|
513
|
-
const headers = {};
|
|
514
|
-
b.bp("/configured-audience-model");
|
|
515
|
-
const query = map({
|
|
516
|
-
[_nT]: [, input[_nT]],
|
|
517
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
518
|
-
});
|
|
519
|
-
let body;
|
|
520
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
521
|
-
return b.build();
|
|
522
|
-
};
|
|
523
|
-
export const se_ListConfiguredModelAlgorithmAssociationsCommand = async (input, context) => {
|
|
524
|
-
const b = rb(input, context);
|
|
525
|
-
const headers = {};
|
|
526
|
-
b.bp("/memberships/{membershipIdentifier}/configured-model-algorithm-associations");
|
|
527
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
528
|
-
const query = map({
|
|
529
|
-
[_nT]: [, input[_nT]],
|
|
530
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
531
|
-
});
|
|
532
|
-
let body;
|
|
533
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
534
|
-
return b.build();
|
|
535
|
-
};
|
|
536
|
-
export const se_ListConfiguredModelAlgorithmsCommand = async (input, context) => {
|
|
537
|
-
const b = rb(input, context);
|
|
538
|
-
const headers = {};
|
|
539
|
-
b.bp("/configured-model-algorithms");
|
|
540
|
-
const query = map({
|
|
541
|
-
[_nT]: [, input[_nT]],
|
|
542
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
543
|
-
});
|
|
544
|
-
let body;
|
|
545
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
546
|
-
return b.build();
|
|
547
|
-
};
|
|
548
|
-
export const se_ListMLInputChannelsCommand = async (input, context) => {
|
|
549
|
-
const b = rb(input, context);
|
|
550
|
-
const headers = {};
|
|
551
|
-
b.bp("/memberships/{membershipIdentifier}/ml-input-channels");
|
|
552
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
553
|
-
const query = map({
|
|
554
|
-
[_nT]: [, input[_nT]],
|
|
555
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
556
|
-
});
|
|
557
|
-
let body;
|
|
558
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
559
|
-
return b.build();
|
|
560
|
-
};
|
|
561
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
562
|
-
const b = rb(input, context);
|
|
563
|
-
const headers = {};
|
|
564
|
-
b.bp("/tags/{resourceArn}");
|
|
565
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
566
|
-
let body;
|
|
567
|
-
b.m("GET").h(headers).b(body);
|
|
568
|
-
return b.build();
|
|
569
|
-
};
|
|
570
|
-
export const se_ListTrainedModelInferenceJobsCommand = async (input, context) => {
|
|
571
|
-
const b = rb(input, context);
|
|
572
|
-
const headers = {};
|
|
573
|
-
b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs");
|
|
574
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
575
|
-
const query = map({
|
|
576
|
-
[_nT]: [, input[_nT]],
|
|
577
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
578
|
-
[_tMA]: [, input[_tMA]],
|
|
579
|
-
[_tMVI]: [, input[_tMVI]],
|
|
580
|
-
});
|
|
581
|
-
let body;
|
|
582
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
583
|
-
return b.build();
|
|
584
|
-
};
|
|
585
|
-
export const se_ListTrainedModelsCommand = async (input, context) => {
|
|
586
|
-
const b = rb(input, context);
|
|
587
|
-
const headers = {};
|
|
588
|
-
b.bp("/memberships/{membershipIdentifier}/trained-models");
|
|
589
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
590
|
-
const query = map({
|
|
591
|
-
[_nT]: [, input[_nT]],
|
|
592
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
593
|
-
});
|
|
594
|
-
let body;
|
|
595
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
596
|
-
return b.build();
|
|
597
|
-
};
|
|
598
|
-
export const se_ListTrainedModelVersionsCommand = async (input, context) => {
|
|
599
|
-
const b = rb(input, context);
|
|
600
|
-
const headers = {};
|
|
601
|
-
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}/versions");
|
|
602
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
603
|
-
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
604
|
-
const query = map({
|
|
605
|
-
[_nT]: [, input[_nT]],
|
|
606
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
607
|
-
[_s]: [, input[_s]],
|
|
608
|
-
});
|
|
609
|
-
let body;
|
|
610
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
611
|
-
return b.build();
|
|
612
|
-
};
|
|
613
|
-
export const se_ListTrainingDatasetsCommand = async (input, context) => {
|
|
614
|
-
const b = rb(input, context);
|
|
615
|
-
const headers = {};
|
|
616
|
-
b.bp("/training-dataset");
|
|
617
|
-
const query = map({
|
|
618
|
-
[_nT]: [, input[_nT]],
|
|
619
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
620
|
-
});
|
|
621
|
-
let body;
|
|
622
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
623
|
-
return b.build();
|
|
624
|
-
};
|
|
625
|
-
export const se_PutConfiguredAudienceModelPolicyCommand = async (input, context) => {
|
|
626
|
-
const b = rb(input, context);
|
|
627
|
-
const headers = {
|
|
628
|
-
"content-type": "application/json",
|
|
629
|
-
};
|
|
630
|
-
b.bp("/configured-audience-model/{configuredAudienceModelArn}/policy");
|
|
631
|
-
b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false);
|
|
632
|
-
let body;
|
|
633
|
-
body = JSON.stringify(take(input, {
|
|
634
|
-
configuredAudienceModelPolicy: [],
|
|
635
|
-
policyExistenceCondition: [],
|
|
636
|
-
previousPolicyHash: [],
|
|
637
|
-
}));
|
|
638
|
-
b.m("PUT").h(headers).b(body);
|
|
639
|
-
return b.build();
|
|
640
|
-
};
|
|
641
|
-
export const se_PutMLConfigurationCommand = async (input, context) => {
|
|
642
|
-
const b = rb(input, context);
|
|
643
|
-
const headers = {
|
|
644
|
-
"content-type": "application/json",
|
|
645
|
-
};
|
|
646
|
-
b.bp("/memberships/{membershipIdentifier}/ml-configurations");
|
|
647
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
648
|
-
let body;
|
|
649
|
-
body = JSON.stringify(take(input, {
|
|
650
|
-
defaultOutputLocation: (_) => _json(_),
|
|
651
|
-
}));
|
|
652
|
-
b.m("PUT").h(headers).b(body);
|
|
653
|
-
return b.build();
|
|
654
|
-
};
|
|
655
|
-
export const se_StartAudienceExportJobCommand = async (input, context) => {
|
|
656
|
-
const b = rb(input, context);
|
|
657
|
-
const headers = {
|
|
658
|
-
"content-type": "application/json",
|
|
659
|
-
};
|
|
660
|
-
b.bp("/audience-export-job");
|
|
661
|
-
let body;
|
|
662
|
-
body = JSON.stringify(take(input, {
|
|
663
|
-
audienceGenerationJobArn: [],
|
|
664
|
-
audienceSize: (_) => _json(_),
|
|
665
|
-
description: [],
|
|
666
|
-
name: [],
|
|
667
|
-
}));
|
|
668
|
-
b.m("POST").h(headers).b(body);
|
|
669
|
-
return b.build();
|
|
670
|
-
};
|
|
671
|
-
export const se_StartAudienceGenerationJobCommand = async (input, context) => {
|
|
672
|
-
const b = rb(input, context);
|
|
673
|
-
const headers = {
|
|
674
|
-
"content-type": "application/json",
|
|
675
|
-
};
|
|
676
|
-
b.bp("/audience-generation-job");
|
|
677
|
-
let body;
|
|
678
|
-
body = JSON.stringify(take(input, {
|
|
679
|
-
collaborationId: [],
|
|
680
|
-
configuredAudienceModelArn: [],
|
|
681
|
-
description: [],
|
|
682
|
-
includeSeedInOutput: [],
|
|
683
|
-
name: [],
|
|
684
|
-
seedAudience: (_) => _json(_),
|
|
685
|
-
tags: (_) => _json(_),
|
|
686
|
-
}));
|
|
687
|
-
b.m("POST").h(headers).b(body);
|
|
688
|
-
return b.build();
|
|
689
|
-
};
|
|
690
|
-
export const se_StartTrainedModelExportJobCommand = async (input, context) => {
|
|
691
|
-
const b = rb(input, context);
|
|
692
|
-
const headers = {
|
|
693
|
-
"content-type": "application/json",
|
|
694
|
-
};
|
|
695
|
-
b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}/export-jobs");
|
|
696
|
-
b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false);
|
|
697
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
698
|
-
let body;
|
|
699
|
-
body = JSON.stringify(take(input, {
|
|
700
|
-
description: [],
|
|
701
|
-
name: [],
|
|
702
|
-
outputConfiguration: (_) => _json(_),
|
|
703
|
-
trainedModelVersionIdentifier: [],
|
|
704
|
-
}));
|
|
705
|
-
b.m("POST").h(headers).b(body);
|
|
706
|
-
return b.build();
|
|
707
|
-
};
|
|
708
|
-
export const se_StartTrainedModelInferenceJobCommand = async (input, context) => {
|
|
709
|
-
const b = rb(input, context);
|
|
710
|
-
const headers = {
|
|
711
|
-
"content-type": "application/json",
|
|
712
|
-
};
|
|
713
|
-
b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs");
|
|
714
|
-
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
715
|
-
let body;
|
|
716
|
-
body = JSON.stringify(take(input, {
|
|
717
|
-
configuredModelAlgorithmAssociationArn: [],
|
|
718
|
-
containerExecutionParameters: (_) => _json(_),
|
|
719
|
-
dataSource: (_) => _json(_),
|
|
720
|
-
description: [],
|
|
721
|
-
environment: (_) => _json(_),
|
|
722
|
-
kmsKeyArn: [],
|
|
723
|
-
name: [],
|
|
724
|
-
outputConfiguration: (_) => _json(_),
|
|
725
|
-
resourceConfig: (_) => _json(_),
|
|
726
|
-
tags: (_) => _json(_),
|
|
727
|
-
trainedModelArn: [],
|
|
728
|
-
trainedModelVersionIdentifier: [],
|
|
729
|
-
}));
|
|
730
|
-
b.m("POST").h(headers).b(body);
|
|
731
|
-
return b.build();
|
|
732
|
-
};
|
|
733
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
734
|
-
const b = rb(input, context);
|
|
735
|
-
const headers = {
|
|
736
|
-
"content-type": "application/json",
|
|
737
|
-
};
|
|
738
|
-
b.bp("/tags/{resourceArn}");
|
|
739
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
740
|
-
let body;
|
|
741
|
-
body = JSON.stringify(take(input, {
|
|
742
|
-
tags: (_) => _json(_),
|
|
743
|
-
}));
|
|
744
|
-
b.m("POST").h(headers).b(body);
|
|
745
|
-
return b.build();
|
|
746
|
-
};
|
|
747
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
748
|
-
const b = rb(input, context);
|
|
749
|
-
const headers = {};
|
|
750
|
-
b.bp("/tags/{resourceArn}");
|
|
751
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
752
|
-
const query = map({
|
|
753
|
-
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
754
|
-
});
|
|
755
|
-
let body;
|
|
756
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
757
|
-
return b.build();
|
|
758
|
-
};
|
|
759
|
-
export const se_UpdateConfiguredAudienceModelCommand = async (input, context) => {
|
|
760
|
-
const b = rb(input, context);
|
|
761
|
-
const headers = {
|
|
762
|
-
"content-type": "application/json",
|
|
763
|
-
};
|
|
764
|
-
b.bp("/configured-audience-model/{configuredAudienceModelArn}");
|
|
765
|
-
b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false);
|
|
766
|
-
let body;
|
|
767
|
-
body = JSON.stringify(take(input, {
|
|
768
|
-
audienceModelArn: [],
|
|
769
|
-
audienceSizeConfig: (_) => _json(_),
|
|
770
|
-
description: [],
|
|
771
|
-
minMatchingSeedSize: [],
|
|
772
|
-
outputConfig: (_) => _json(_),
|
|
773
|
-
sharedAudienceMetrics: (_) => _json(_),
|
|
774
|
-
}));
|
|
775
|
-
b.m("PATCH").h(headers).b(body);
|
|
776
|
-
return b.build();
|
|
777
|
-
};
|
|
778
|
-
export const de_CancelTrainedModelCommand = async (output, context) => {
|
|
779
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
780
|
-
return de_CommandError(output, context);
|
|
781
|
-
}
|
|
782
|
-
const contents = map({
|
|
783
|
-
$metadata: deserializeMetadata(output),
|
|
784
|
-
});
|
|
785
|
-
await collectBody(output.body, context);
|
|
786
|
-
return contents;
|
|
787
|
-
};
|
|
788
|
-
export const de_CancelTrainedModelInferenceJobCommand = async (output, context) => {
|
|
789
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
790
|
-
return de_CommandError(output, context);
|
|
791
|
-
}
|
|
792
|
-
const contents = map({
|
|
793
|
-
$metadata: deserializeMetadata(output),
|
|
794
|
-
});
|
|
795
|
-
await collectBody(output.body, context);
|
|
796
|
-
return contents;
|
|
797
|
-
};
|
|
798
|
-
export const de_CreateAudienceModelCommand = async (output, context) => {
|
|
799
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
800
|
-
return de_CommandError(output, context);
|
|
801
|
-
}
|
|
802
|
-
const contents = map({
|
|
803
|
-
$metadata: deserializeMetadata(output),
|
|
804
|
-
});
|
|
805
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
806
|
-
const doc = take(data, {
|
|
807
|
-
audienceModelArn: __expectString,
|
|
808
|
-
});
|
|
809
|
-
Object.assign(contents, doc);
|
|
810
|
-
return contents;
|
|
811
|
-
};
|
|
812
|
-
export const de_CreateConfiguredAudienceModelCommand = async (output, context) => {
|
|
813
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
814
|
-
return de_CommandError(output, context);
|
|
815
|
-
}
|
|
816
|
-
const contents = map({
|
|
817
|
-
$metadata: deserializeMetadata(output),
|
|
818
|
-
});
|
|
819
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
820
|
-
const doc = take(data, {
|
|
821
|
-
configuredAudienceModelArn: __expectString,
|
|
822
|
-
});
|
|
823
|
-
Object.assign(contents, doc);
|
|
824
|
-
return contents;
|
|
825
|
-
};
|
|
826
|
-
export const de_CreateConfiguredModelAlgorithmCommand = async (output, context) => {
|
|
827
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
828
|
-
return de_CommandError(output, context);
|
|
829
|
-
}
|
|
830
|
-
const contents = map({
|
|
831
|
-
$metadata: deserializeMetadata(output),
|
|
832
|
-
});
|
|
833
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
834
|
-
const doc = take(data, {
|
|
835
|
-
configuredModelAlgorithmArn: __expectString,
|
|
836
|
-
});
|
|
837
|
-
Object.assign(contents, doc);
|
|
838
|
-
return contents;
|
|
839
|
-
};
|
|
840
|
-
export const de_CreateConfiguredModelAlgorithmAssociationCommand = async (output, context) => {
|
|
841
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
842
|
-
return de_CommandError(output, context);
|
|
843
|
-
}
|
|
844
|
-
const contents = map({
|
|
845
|
-
$metadata: deserializeMetadata(output),
|
|
846
|
-
});
|
|
847
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
848
|
-
const doc = take(data, {
|
|
849
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
850
|
-
});
|
|
851
|
-
Object.assign(contents, doc);
|
|
852
|
-
return contents;
|
|
853
|
-
};
|
|
854
|
-
export const de_CreateMLInputChannelCommand = async (output, context) => {
|
|
855
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
856
|
-
return de_CommandError(output, context);
|
|
857
|
-
}
|
|
858
|
-
const contents = map({
|
|
859
|
-
$metadata: deserializeMetadata(output),
|
|
860
|
-
});
|
|
861
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
862
|
-
const doc = take(data, {
|
|
863
|
-
mlInputChannelArn: __expectString,
|
|
864
|
-
});
|
|
865
|
-
Object.assign(contents, doc);
|
|
866
|
-
return contents;
|
|
867
|
-
};
|
|
868
|
-
export const de_CreateTrainedModelCommand = async (output, context) => {
|
|
869
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
870
|
-
return de_CommandError(output, context);
|
|
871
|
-
}
|
|
872
|
-
const contents = map({
|
|
873
|
-
$metadata: deserializeMetadata(output),
|
|
874
|
-
});
|
|
875
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
876
|
-
const doc = take(data, {
|
|
877
|
-
trainedModelArn: __expectString,
|
|
878
|
-
versionIdentifier: __expectString,
|
|
879
|
-
});
|
|
880
|
-
Object.assign(contents, doc);
|
|
881
|
-
return contents;
|
|
882
|
-
};
|
|
883
|
-
export const de_CreateTrainingDatasetCommand = async (output, context) => {
|
|
884
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
885
|
-
return de_CommandError(output, context);
|
|
886
|
-
}
|
|
887
|
-
const contents = map({
|
|
888
|
-
$metadata: deserializeMetadata(output),
|
|
889
|
-
});
|
|
890
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
891
|
-
const doc = take(data, {
|
|
892
|
-
trainingDatasetArn: __expectString,
|
|
893
|
-
});
|
|
894
|
-
Object.assign(contents, doc);
|
|
895
|
-
return contents;
|
|
896
|
-
};
|
|
897
|
-
export const de_DeleteAudienceGenerationJobCommand = async (output, context) => {
|
|
898
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
899
|
-
return de_CommandError(output, context);
|
|
900
|
-
}
|
|
901
|
-
const contents = map({
|
|
902
|
-
$metadata: deserializeMetadata(output),
|
|
903
|
-
});
|
|
904
|
-
await collectBody(output.body, context);
|
|
905
|
-
return contents;
|
|
906
|
-
};
|
|
907
|
-
export const de_DeleteAudienceModelCommand = async (output, context) => {
|
|
908
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
909
|
-
return de_CommandError(output, context);
|
|
910
|
-
}
|
|
911
|
-
const contents = map({
|
|
912
|
-
$metadata: deserializeMetadata(output),
|
|
913
|
-
});
|
|
914
|
-
await collectBody(output.body, context);
|
|
915
|
-
return contents;
|
|
916
|
-
};
|
|
917
|
-
export const de_DeleteConfiguredAudienceModelCommand = async (output, context) => {
|
|
918
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
919
|
-
return de_CommandError(output, context);
|
|
920
|
-
}
|
|
921
|
-
const contents = map({
|
|
922
|
-
$metadata: deserializeMetadata(output),
|
|
923
|
-
});
|
|
924
|
-
await collectBody(output.body, context);
|
|
925
|
-
return contents;
|
|
926
|
-
};
|
|
927
|
-
export const de_DeleteConfiguredAudienceModelPolicyCommand = async (output, context) => {
|
|
928
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
929
|
-
return de_CommandError(output, context);
|
|
930
|
-
}
|
|
931
|
-
const contents = map({
|
|
932
|
-
$metadata: deserializeMetadata(output),
|
|
933
|
-
});
|
|
934
|
-
await collectBody(output.body, context);
|
|
935
|
-
return contents;
|
|
936
|
-
};
|
|
937
|
-
export const de_DeleteConfiguredModelAlgorithmCommand = async (output, context) => {
|
|
938
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
939
|
-
return de_CommandError(output, context);
|
|
940
|
-
}
|
|
941
|
-
const contents = map({
|
|
942
|
-
$metadata: deserializeMetadata(output),
|
|
943
|
-
});
|
|
944
|
-
await collectBody(output.body, context);
|
|
945
|
-
return contents;
|
|
946
|
-
};
|
|
947
|
-
export const de_DeleteConfiguredModelAlgorithmAssociationCommand = async (output, context) => {
|
|
948
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
949
|
-
return de_CommandError(output, context);
|
|
950
|
-
}
|
|
951
|
-
const contents = map({
|
|
952
|
-
$metadata: deserializeMetadata(output),
|
|
953
|
-
});
|
|
954
|
-
await collectBody(output.body, context);
|
|
955
|
-
return contents;
|
|
956
|
-
};
|
|
957
|
-
export const de_DeleteMLConfigurationCommand = async (output, context) => {
|
|
958
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
959
|
-
return de_CommandError(output, context);
|
|
960
|
-
}
|
|
961
|
-
const contents = map({
|
|
962
|
-
$metadata: deserializeMetadata(output),
|
|
963
|
-
});
|
|
964
|
-
await collectBody(output.body, context);
|
|
965
|
-
return contents;
|
|
966
|
-
};
|
|
967
|
-
export const de_DeleteMLInputChannelDataCommand = async (output, context) => {
|
|
968
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
969
|
-
return de_CommandError(output, context);
|
|
970
|
-
}
|
|
971
|
-
const contents = map({
|
|
972
|
-
$metadata: deserializeMetadata(output),
|
|
973
|
-
});
|
|
974
|
-
await collectBody(output.body, context);
|
|
975
|
-
return contents;
|
|
976
|
-
};
|
|
977
|
-
export const de_DeleteTrainedModelOutputCommand = async (output, context) => {
|
|
978
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
979
|
-
return de_CommandError(output, context);
|
|
980
|
-
}
|
|
981
|
-
const contents = map({
|
|
982
|
-
$metadata: deserializeMetadata(output),
|
|
983
|
-
});
|
|
984
|
-
await collectBody(output.body, context);
|
|
985
|
-
return contents;
|
|
986
|
-
};
|
|
987
|
-
export const de_DeleteTrainingDatasetCommand = async (output, context) => {
|
|
988
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
989
|
-
return de_CommandError(output, context);
|
|
990
|
-
}
|
|
991
|
-
const contents = map({
|
|
992
|
-
$metadata: deserializeMetadata(output),
|
|
993
|
-
});
|
|
994
|
-
await collectBody(output.body, context);
|
|
995
|
-
return contents;
|
|
996
|
-
};
|
|
997
|
-
export const de_GetAudienceGenerationJobCommand = async (output, context) => {
|
|
998
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
999
|
-
return de_CommandError(output, context);
|
|
1000
|
-
}
|
|
1001
|
-
const contents = map({
|
|
1002
|
-
$metadata: deserializeMetadata(output),
|
|
1003
|
-
});
|
|
1004
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1005
|
-
const doc = take(data, {
|
|
1006
|
-
audienceGenerationJobArn: __expectString,
|
|
1007
|
-
collaborationId: __expectString,
|
|
1008
|
-
configuredAudienceModelArn: __expectString,
|
|
1009
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1010
|
-
description: __expectString,
|
|
1011
|
-
includeSeedInOutput: __expectBoolean,
|
|
1012
|
-
metrics: (_) => de_AudienceQualityMetrics(_, context),
|
|
1013
|
-
name: __expectString,
|
|
1014
|
-
protectedQueryIdentifier: __expectString,
|
|
1015
|
-
seedAudience: _json,
|
|
1016
|
-
startedBy: __expectString,
|
|
1017
|
-
status: __expectString,
|
|
1018
|
-
statusDetails: _json,
|
|
1019
|
-
tags: _json,
|
|
1020
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1021
|
-
});
|
|
1022
|
-
Object.assign(contents, doc);
|
|
1023
|
-
return contents;
|
|
1024
|
-
};
|
|
1025
|
-
export const de_GetAudienceModelCommand = async (output, context) => {
|
|
1026
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1027
|
-
return de_CommandError(output, context);
|
|
1028
|
-
}
|
|
1029
|
-
const contents = map({
|
|
1030
|
-
$metadata: deserializeMetadata(output),
|
|
1031
|
-
});
|
|
1032
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1033
|
-
const doc = take(data, {
|
|
1034
|
-
audienceModelArn: __expectString,
|
|
1035
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1036
|
-
description: __expectString,
|
|
1037
|
-
kmsKeyArn: __expectString,
|
|
1038
|
-
name: __expectString,
|
|
1039
|
-
status: __expectString,
|
|
1040
|
-
statusDetails: _json,
|
|
1041
|
-
tags: _json,
|
|
1042
|
-
trainingDataEndTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1043
|
-
trainingDataStartTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1044
|
-
trainingDatasetArn: __expectString,
|
|
1045
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1046
|
-
});
|
|
1047
|
-
Object.assign(contents, doc);
|
|
1048
|
-
return contents;
|
|
1049
|
-
};
|
|
1050
|
-
export const de_GetCollaborationConfiguredModelAlgorithmAssociationCommand = async (output, context) => {
|
|
1051
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1052
|
-
return de_CommandError(output, context);
|
|
1053
|
-
}
|
|
1054
|
-
const contents = map({
|
|
1055
|
-
$metadata: deserializeMetadata(output),
|
|
1056
|
-
});
|
|
1057
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1058
|
-
const doc = take(data, {
|
|
1059
|
-
collaborationIdentifier: __expectString,
|
|
1060
|
-
configuredModelAlgorithmArn: __expectString,
|
|
1061
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1062
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1063
|
-
creatorAccountId: __expectString,
|
|
1064
|
-
description: __expectString,
|
|
1065
|
-
membershipIdentifier: __expectString,
|
|
1066
|
-
name: __expectString,
|
|
1067
|
-
privacyConfiguration: (_) => de_PrivacyConfiguration(_, context),
|
|
1068
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1069
|
-
});
|
|
1070
|
-
Object.assign(contents, doc);
|
|
1071
|
-
return contents;
|
|
1072
|
-
};
|
|
1073
|
-
export const de_GetCollaborationMLInputChannelCommand = async (output, context) => {
|
|
1074
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1075
|
-
return de_CommandError(output, context);
|
|
1076
|
-
}
|
|
1077
|
-
const contents = map({
|
|
1078
|
-
$metadata: deserializeMetadata(output),
|
|
1079
|
-
});
|
|
1080
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1081
|
-
const doc = take(data, {
|
|
1082
|
-
collaborationIdentifier: __expectString,
|
|
1083
|
-
configuredModelAlgorithmAssociations: _json,
|
|
1084
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1085
|
-
creatorAccountId: __expectString,
|
|
1086
|
-
description: __expectString,
|
|
1087
|
-
membershipIdentifier: __expectString,
|
|
1088
|
-
mlInputChannelArn: __expectString,
|
|
1089
|
-
name: __expectString,
|
|
1090
|
-
numberOfRecords: __expectLong,
|
|
1091
|
-
privacyBudgets: (_) => de_PrivacyBudgets(__expectUnion(_), context),
|
|
1092
|
-
retentionInDays: __expectInt32,
|
|
1093
|
-
status: __expectString,
|
|
1094
|
-
statusDetails: _json,
|
|
1095
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1096
|
-
});
|
|
1097
|
-
Object.assign(contents, doc);
|
|
1098
|
-
return contents;
|
|
1099
|
-
};
|
|
1100
|
-
export const de_GetCollaborationTrainedModelCommand = async (output, context) => {
|
|
1101
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1102
|
-
return de_CommandError(output, context);
|
|
1103
|
-
}
|
|
1104
|
-
const contents = map({
|
|
1105
|
-
$metadata: deserializeMetadata(output),
|
|
1106
|
-
});
|
|
1107
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1108
|
-
const doc = take(data, {
|
|
1109
|
-
collaborationIdentifier: __expectString,
|
|
1110
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1111
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1112
|
-
creatorAccountId: __expectString,
|
|
1113
|
-
description: __expectString,
|
|
1114
|
-
incrementalTrainingDataChannels: _json,
|
|
1115
|
-
logsStatus: __expectString,
|
|
1116
|
-
logsStatusDetails: __expectString,
|
|
1117
|
-
membershipIdentifier: __expectString,
|
|
1118
|
-
metricsStatus: __expectString,
|
|
1119
|
-
metricsStatusDetails: __expectString,
|
|
1120
|
-
name: __expectString,
|
|
1121
|
-
resourceConfig: _json,
|
|
1122
|
-
status: __expectString,
|
|
1123
|
-
statusDetails: _json,
|
|
1124
|
-
stoppingCondition: _json,
|
|
1125
|
-
trainedModelArn: __expectString,
|
|
1126
|
-
trainingContainerImageDigest: __expectString,
|
|
1127
|
-
trainingInputMode: __expectString,
|
|
1128
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1129
|
-
versionIdentifier: __expectString,
|
|
1130
|
-
});
|
|
1131
|
-
Object.assign(contents, doc);
|
|
1132
|
-
return contents;
|
|
1133
|
-
};
|
|
1134
|
-
export const de_GetConfiguredAudienceModelCommand = async (output, context) => {
|
|
1135
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1136
|
-
return de_CommandError(output, context);
|
|
1137
|
-
}
|
|
1138
|
-
const contents = map({
|
|
1139
|
-
$metadata: deserializeMetadata(output),
|
|
1140
|
-
});
|
|
1141
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1142
|
-
const doc = take(data, {
|
|
1143
|
-
audienceModelArn: __expectString,
|
|
1144
|
-
audienceSizeConfig: _json,
|
|
1145
|
-
childResourceTagOnCreatePolicy: __expectString,
|
|
1146
|
-
configuredAudienceModelArn: __expectString,
|
|
1147
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1148
|
-
description: __expectString,
|
|
1149
|
-
minMatchingSeedSize: __expectInt32,
|
|
1150
|
-
name: __expectString,
|
|
1151
|
-
outputConfig: _json,
|
|
1152
|
-
sharedAudienceMetrics: _json,
|
|
1153
|
-
status: __expectString,
|
|
1154
|
-
tags: _json,
|
|
1155
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1156
|
-
});
|
|
1157
|
-
Object.assign(contents, doc);
|
|
1158
|
-
return contents;
|
|
1159
|
-
};
|
|
1160
|
-
export const de_GetConfiguredAudienceModelPolicyCommand = 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
|
-
configuredAudienceModelArn: __expectString,
|
|
1170
|
-
configuredAudienceModelPolicy: __expectString,
|
|
1171
|
-
policyHash: __expectString,
|
|
1172
|
-
});
|
|
1173
|
-
Object.assign(contents, doc);
|
|
1174
|
-
return contents;
|
|
1175
|
-
};
|
|
1176
|
-
export const de_GetConfiguredModelAlgorithmCommand = async (output, context) => {
|
|
1177
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1178
|
-
return de_CommandError(output, context);
|
|
1179
|
-
}
|
|
1180
|
-
const contents = map({
|
|
1181
|
-
$metadata: deserializeMetadata(output),
|
|
1182
|
-
});
|
|
1183
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1184
|
-
const doc = take(data, {
|
|
1185
|
-
configuredModelAlgorithmArn: __expectString,
|
|
1186
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1187
|
-
description: __expectString,
|
|
1188
|
-
inferenceContainerConfig: _json,
|
|
1189
|
-
kmsKeyArn: __expectString,
|
|
1190
|
-
name: __expectString,
|
|
1191
|
-
roleArn: __expectString,
|
|
1192
|
-
tags: _json,
|
|
1193
|
-
trainingContainerConfig: _json,
|
|
1194
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1195
|
-
});
|
|
1196
|
-
Object.assign(contents, doc);
|
|
1197
|
-
return contents;
|
|
1198
|
-
};
|
|
1199
|
-
export const de_GetConfiguredModelAlgorithmAssociationCommand = async (output, context) => {
|
|
1200
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1201
|
-
return de_CommandError(output, context);
|
|
1202
|
-
}
|
|
1203
|
-
const contents = map({
|
|
1204
|
-
$metadata: deserializeMetadata(output),
|
|
1205
|
-
});
|
|
1206
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1207
|
-
const doc = take(data, {
|
|
1208
|
-
collaborationIdentifier: __expectString,
|
|
1209
|
-
configuredModelAlgorithmArn: __expectString,
|
|
1210
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1211
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1212
|
-
description: __expectString,
|
|
1213
|
-
membershipIdentifier: __expectString,
|
|
1214
|
-
name: __expectString,
|
|
1215
|
-
privacyConfiguration: (_) => de_PrivacyConfiguration(_, context),
|
|
1216
|
-
tags: _json,
|
|
1217
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1218
|
-
});
|
|
1219
|
-
Object.assign(contents, doc);
|
|
1220
|
-
return contents;
|
|
1221
|
-
};
|
|
1222
|
-
export const de_GetMLConfigurationCommand = async (output, context) => {
|
|
1223
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1224
|
-
return de_CommandError(output, context);
|
|
1225
|
-
}
|
|
1226
|
-
const contents = map({
|
|
1227
|
-
$metadata: deserializeMetadata(output),
|
|
1228
|
-
});
|
|
1229
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1230
|
-
const doc = take(data, {
|
|
1231
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1232
|
-
defaultOutputLocation: _json,
|
|
1233
|
-
membershipIdentifier: __expectString,
|
|
1234
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1235
|
-
});
|
|
1236
|
-
Object.assign(contents, doc);
|
|
1237
|
-
return contents;
|
|
1238
|
-
};
|
|
1239
|
-
export const de_GetMLInputChannelCommand = async (output, context) => {
|
|
1240
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1241
|
-
return de_CommandError(output, context);
|
|
1242
|
-
}
|
|
1243
|
-
const contents = map({
|
|
1244
|
-
$metadata: deserializeMetadata(output),
|
|
1245
|
-
});
|
|
1246
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1247
|
-
const doc = take(data, {
|
|
1248
|
-
collaborationIdentifier: __expectString,
|
|
1249
|
-
configuredModelAlgorithmAssociations: _json,
|
|
1250
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1251
|
-
description: __expectString,
|
|
1252
|
-
inputChannel: _json,
|
|
1253
|
-
kmsKeyArn: __expectString,
|
|
1254
|
-
membershipIdentifier: __expectString,
|
|
1255
|
-
mlInputChannelArn: __expectString,
|
|
1256
|
-
name: __expectString,
|
|
1257
|
-
numberOfFiles: __limitedParseDouble,
|
|
1258
|
-
numberOfRecords: __expectLong,
|
|
1259
|
-
privacyBudgets: (_) => de_PrivacyBudgets(__expectUnion(_), context),
|
|
1260
|
-
protectedQueryIdentifier: __expectString,
|
|
1261
|
-
retentionInDays: __expectInt32,
|
|
1262
|
-
sizeInGb: __limitedParseDouble,
|
|
1263
|
-
status: __expectString,
|
|
1264
|
-
statusDetails: _json,
|
|
1265
|
-
tags: _json,
|
|
1266
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1267
|
-
});
|
|
1268
|
-
Object.assign(contents, doc);
|
|
1269
|
-
return contents;
|
|
1270
|
-
};
|
|
1271
|
-
export const de_GetTrainedModelCommand = async (output, context) => {
|
|
1272
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1273
|
-
return de_CommandError(output, context);
|
|
1274
|
-
}
|
|
1275
|
-
const contents = map({
|
|
1276
|
-
$metadata: deserializeMetadata(output),
|
|
1277
|
-
});
|
|
1278
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1279
|
-
const doc = take(data, {
|
|
1280
|
-
collaborationIdentifier: __expectString,
|
|
1281
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1282
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1283
|
-
dataChannels: _json,
|
|
1284
|
-
description: __expectString,
|
|
1285
|
-
environment: _json,
|
|
1286
|
-
hyperparameters: _json,
|
|
1287
|
-
incrementalTrainingDataChannels: _json,
|
|
1288
|
-
kmsKeyArn: __expectString,
|
|
1289
|
-
logsStatus: __expectString,
|
|
1290
|
-
logsStatusDetails: __expectString,
|
|
1291
|
-
membershipIdentifier: __expectString,
|
|
1292
|
-
metricsStatus: __expectString,
|
|
1293
|
-
metricsStatusDetails: __expectString,
|
|
1294
|
-
name: __expectString,
|
|
1295
|
-
resourceConfig: _json,
|
|
1296
|
-
status: __expectString,
|
|
1297
|
-
statusDetails: _json,
|
|
1298
|
-
stoppingCondition: _json,
|
|
1299
|
-
tags: _json,
|
|
1300
|
-
trainedModelArn: __expectString,
|
|
1301
|
-
trainingContainerImageDigest: __expectString,
|
|
1302
|
-
trainingInputMode: __expectString,
|
|
1303
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1304
|
-
versionIdentifier: __expectString,
|
|
1305
|
-
});
|
|
1306
|
-
Object.assign(contents, doc);
|
|
1307
|
-
return contents;
|
|
1308
|
-
};
|
|
1309
|
-
export const de_GetTrainedModelInferenceJobCommand = async (output, context) => {
|
|
1310
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1311
|
-
return de_CommandError(output, context);
|
|
1312
|
-
}
|
|
1313
|
-
const contents = map({
|
|
1314
|
-
$metadata: deserializeMetadata(output),
|
|
1315
|
-
});
|
|
1316
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1317
|
-
const doc = take(data, {
|
|
1318
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
1319
|
-
containerExecutionParameters: _json,
|
|
1320
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1321
|
-
dataSource: _json,
|
|
1322
|
-
description: __expectString,
|
|
1323
|
-
environment: _json,
|
|
1324
|
-
inferenceContainerImageDigest: __expectString,
|
|
1325
|
-
kmsKeyArn: __expectString,
|
|
1326
|
-
logsStatus: __expectString,
|
|
1327
|
-
logsStatusDetails: __expectString,
|
|
1328
|
-
membershipIdentifier: __expectString,
|
|
1329
|
-
metricsStatus: __expectString,
|
|
1330
|
-
metricsStatusDetails: __expectString,
|
|
1331
|
-
name: __expectString,
|
|
1332
|
-
outputConfiguration: _json,
|
|
1333
|
-
resourceConfig: _json,
|
|
1334
|
-
status: __expectString,
|
|
1335
|
-
statusDetails: _json,
|
|
1336
|
-
tags: _json,
|
|
1337
|
-
trainedModelArn: __expectString,
|
|
1338
|
-
trainedModelInferenceJobArn: __expectString,
|
|
1339
|
-
trainedModelVersionIdentifier: __expectString,
|
|
1340
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1341
|
-
});
|
|
1342
|
-
Object.assign(contents, doc);
|
|
1343
|
-
return contents;
|
|
1344
|
-
};
|
|
1345
|
-
export const de_GetTrainingDatasetCommand = async (output, context) => {
|
|
1346
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1347
|
-
return de_CommandError(output, context);
|
|
1348
|
-
}
|
|
1349
|
-
const contents = map({
|
|
1350
|
-
$metadata: deserializeMetadata(output),
|
|
1351
|
-
});
|
|
1352
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1353
|
-
const doc = take(data, {
|
|
1354
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1355
|
-
description: __expectString,
|
|
1356
|
-
name: __expectString,
|
|
1357
|
-
roleArn: __expectString,
|
|
1358
|
-
status: __expectString,
|
|
1359
|
-
tags: _json,
|
|
1360
|
-
trainingData: _json,
|
|
1361
|
-
trainingDatasetArn: __expectString,
|
|
1362
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1363
|
-
});
|
|
1364
|
-
Object.assign(contents, doc);
|
|
1365
|
-
return contents;
|
|
1366
|
-
};
|
|
1367
|
-
export const de_ListAudienceExportJobsCommand = async (output, context) => {
|
|
1368
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1369
|
-
return de_CommandError(output, context);
|
|
1370
|
-
}
|
|
1371
|
-
const contents = map({
|
|
1372
|
-
$metadata: deserializeMetadata(output),
|
|
1373
|
-
});
|
|
1374
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1375
|
-
const doc = take(data, {
|
|
1376
|
-
audienceExportJobs: (_) => de_AudienceExportJobList(_, context),
|
|
1377
|
-
nextToken: __expectString,
|
|
1378
|
-
});
|
|
1379
|
-
Object.assign(contents, doc);
|
|
1380
|
-
return contents;
|
|
1381
|
-
};
|
|
1382
|
-
export const de_ListAudienceGenerationJobsCommand = async (output, context) => {
|
|
1383
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1384
|
-
return de_CommandError(output, context);
|
|
1385
|
-
}
|
|
1386
|
-
const contents = map({
|
|
1387
|
-
$metadata: deserializeMetadata(output),
|
|
1388
|
-
});
|
|
1389
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1390
|
-
const doc = take(data, {
|
|
1391
|
-
audienceGenerationJobs: (_) => de_AudienceGenerationJobList(_, context),
|
|
1392
|
-
nextToken: __expectString,
|
|
1393
|
-
});
|
|
1394
|
-
Object.assign(contents, doc);
|
|
1395
|
-
return contents;
|
|
1396
|
-
};
|
|
1397
|
-
export const de_ListAudienceModelsCommand = async (output, context) => {
|
|
1398
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1399
|
-
return de_CommandError(output, context);
|
|
1400
|
-
}
|
|
1401
|
-
const contents = map({
|
|
1402
|
-
$metadata: deserializeMetadata(output),
|
|
1403
|
-
});
|
|
1404
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1405
|
-
const doc = take(data, {
|
|
1406
|
-
audienceModels: (_) => de_AudienceModelList(_, context),
|
|
1407
|
-
nextToken: __expectString,
|
|
1408
|
-
});
|
|
1409
|
-
Object.assign(contents, doc);
|
|
1410
|
-
return contents;
|
|
1411
|
-
};
|
|
1412
|
-
export const de_ListCollaborationConfiguredModelAlgorithmAssociationsCommand = async (output, context) => {
|
|
1413
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1414
|
-
return de_CommandError(output, context);
|
|
1415
|
-
}
|
|
1416
|
-
const contents = map({
|
|
1417
|
-
$metadata: deserializeMetadata(output),
|
|
1418
|
-
});
|
|
1419
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1420
|
-
const doc = take(data, {
|
|
1421
|
-
collaborationConfiguredModelAlgorithmAssociations: (_) => de_CollaborationConfiguredModelAlgorithmAssociationList(_, context),
|
|
1422
|
-
nextToken: __expectString,
|
|
1423
|
-
});
|
|
1424
|
-
Object.assign(contents, doc);
|
|
1425
|
-
return contents;
|
|
1426
|
-
};
|
|
1427
|
-
export const de_ListCollaborationMLInputChannelsCommand = async (output, context) => {
|
|
1428
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1429
|
-
return de_CommandError(output, context);
|
|
1430
|
-
}
|
|
1431
|
-
const contents = map({
|
|
1432
|
-
$metadata: deserializeMetadata(output),
|
|
1433
|
-
});
|
|
1434
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1435
|
-
const doc = take(data, {
|
|
1436
|
-
collaborationMLInputChannelsList: (_) => de_CollaborationMLInputChannelsList(_, context),
|
|
1437
|
-
nextToken: __expectString,
|
|
1438
|
-
});
|
|
1439
|
-
Object.assign(contents, doc);
|
|
1440
|
-
return contents;
|
|
1441
|
-
};
|
|
1442
|
-
export const de_ListCollaborationTrainedModelExportJobsCommand = async (output, context) => {
|
|
1443
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1444
|
-
return de_CommandError(output, context);
|
|
1445
|
-
}
|
|
1446
|
-
const contents = map({
|
|
1447
|
-
$metadata: deserializeMetadata(output),
|
|
1448
|
-
});
|
|
1449
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1450
|
-
const doc = take(data, {
|
|
1451
|
-
collaborationTrainedModelExportJobs: (_) => de_CollaborationTrainedModelExportJobList(_, context),
|
|
1452
|
-
nextToken: __expectString,
|
|
1453
|
-
});
|
|
1454
|
-
Object.assign(contents, doc);
|
|
1455
|
-
return contents;
|
|
1456
|
-
};
|
|
1457
|
-
export const de_ListCollaborationTrainedModelInferenceJobsCommand = async (output, context) => {
|
|
1458
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1459
|
-
return de_CommandError(output, context);
|
|
1460
|
-
}
|
|
1461
|
-
const contents = map({
|
|
1462
|
-
$metadata: deserializeMetadata(output),
|
|
1463
|
-
});
|
|
1464
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1465
|
-
const doc = take(data, {
|
|
1466
|
-
collaborationTrainedModelInferenceJobs: (_) => de_CollaborationTrainedModelInferenceJobList(_, context),
|
|
1467
|
-
nextToken: __expectString,
|
|
1468
|
-
});
|
|
1469
|
-
Object.assign(contents, doc);
|
|
1470
|
-
return contents;
|
|
1471
|
-
};
|
|
1472
|
-
export const de_ListCollaborationTrainedModelsCommand = async (output, context) => {
|
|
1473
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1474
|
-
return de_CommandError(output, context);
|
|
1475
|
-
}
|
|
1476
|
-
const contents = map({
|
|
1477
|
-
$metadata: deserializeMetadata(output),
|
|
1478
|
-
});
|
|
1479
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1480
|
-
const doc = take(data, {
|
|
1481
|
-
collaborationTrainedModels: (_) => de_CollaborationTrainedModelList(_, context),
|
|
1482
|
-
nextToken: __expectString,
|
|
1483
|
-
});
|
|
1484
|
-
Object.assign(contents, doc);
|
|
1485
|
-
return contents;
|
|
1486
|
-
};
|
|
1487
|
-
export const de_ListConfiguredAudienceModelsCommand = async (output, context) => {
|
|
1488
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1489
|
-
return de_CommandError(output, context);
|
|
1490
|
-
}
|
|
1491
|
-
const contents = map({
|
|
1492
|
-
$metadata: deserializeMetadata(output),
|
|
1493
|
-
});
|
|
1494
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1495
|
-
const doc = take(data, {
|
|
1496
|
-
configuredAudienceModels: (_) => de_ConfiguredAudienceModelList(_, context),
|
|
1497
|
-
nextToken: __expectString,
|
|
1498
|
-
});
|
|
1499
|
-
Object.assign(contents, doc);
|
|
1500
|
-
return contents;
|
|
1501
|
-
};
|
|
1502
|
-
export const de_ListConfiguredModelAlgorithmAssociationsCommand = async (output, context) => {
|
|
1503
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1504
|
-
return de_CommandError(output, context);
|
|
1505
|
-
}
|
|
1506
|
-
const contents = map({
|
|
1507
|
-
$metadata: deserializeMetadata(output),
|
|
1508
|
-
});
|
|
1509
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1510
|
-
const doc = take(data, {
|
|
1511
|
-
configuredModelAlgorithmAssociations: (_) => de_ConfiguredModelAlgorithmAssociationList(_, context),
|
|
1512
|
-
nextToken: __expectString,
|
|
1513
|
-
});
|
|
1514
|
-
Object.assign(contents, doc);
|
|
1515
|
-
return contents;
|
|
1516
|
-
};
|
|
1517
|
-
export const de_ListConfiguredModelAlgorithmsCommand = async (output, context) => {
|
|
1518
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1519
|
-
return de_CommandError(output, context);
|
|
1520
|
-
}
|
|
1521
|
-
const contents = map({
|
|
1522
|
-
$metadata: deserializeMetadata(output),
|
|
1523
|
-
});
|
|
1524
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1525
|
-
const doc = take(data, {
|
|
1526
|
-
configuredModelAlgorithms: (_) => de_ConfiguredModelAlgorithmList(_, context),
|
|
1527
|
-
nextToken: __expectString,
|
|
1528
|
-
});
|
|
1529
|
-
Object.assign(contents, doc);
|
|
1530
|
-
return contents;
|
|
1531
|
-
};
|
|
1532
|
-
export const de_ListMLInputChannelsCommand = async (output, context) => {
|
|
1533
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1534
|
-
return de_CommandError(output, context);
|
|
1535
|
-
}
|
|
1536
|
-
const contents = map({
|
|
1537
|
-
$metadata: deserializeMetadata(output),
|
|
1538
|
-
});
|
|
1539
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1540
|
-
const doc = take(data, {
|
|
1541
|
-
mlInputChannelsList: (_) => de_MLInputChannelsList(_, context),
|
|
1542
|
-
nextToken: __expectString,
|
|
1543
|
-
});
|
|
1544
|
-
Object.assign(contents, doc);
|
|
1545
|
-
return contents;
|
|
1546
|
-
};
|
|
1547
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1548
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1549
|
-
return de_CommandError(output, context);
|
|
1550
|
-
}
|
|
1551
|
-
const contents = map({
|
|
1552
|
-
$metadata: deserializeMetadata(output),
|
|
1553
|
-
});
|
|
1554
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1555
|
-
const doc = take(data, {
|
|
1556
|
-
tags: _json,
|
|
1557
|
-
});
|
|
1558
|
-
Object.assign(contents, doc);
|
|
1559
|
-
return contents;
|
|
1560
|
-
};
|
|
1561
|
-
export const de_ListTrainedModelInferenceJobsCommand = async (output, context) => {
|
|
1562
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1563
|
-
return de_CommandError(output, context);
|
|
1564
|
-
}
|
|
1565
|
-
const contents = map({
|
|
1566
|
-
$metadata: deserializeMetadata(output),
|
|
1567
|
-
});
|
|
1568
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1569
|
-
const doc = take(data, {
|
|
1570
|
-
nextToken: __expectString,
|
|
1571
|
-
trainedModelInferenceJobs: (_) => de_TrainedModelInferenceJobList(_, context),
|
|
1572
|
-
});
|
|
1573
|
-
Object.assign(contents, doc);
|
|
1574
|
-
return contents;
|
|
1575
|
-
};
|
|
1576
|
-
export const de_ListTrainedModelsCommand = async (output, context) => {
|
|
1577
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1578
|
-
return de_CommandError(output, context);
|
|
1579
|
-
}
|
|
1580
|
-
const contents = map({
|
|
1581
|
-
$metadata: deserializeMetadata(output),
|
|
1582
|
-
});
|
|
1583
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1584
|
-
const doc = take(data, {
|
|
1585
|
-
nextToken: __expectString,
|
|
1586
|
-
trainedModels: (_) => de_TrainedModelList(_, context),
|
|
1587
|
-
});
|
|
1588
|
-
Object.assign(contents, doc);
|
|
1589
|
-
return contents;
|
|
1590
|
-
};
|
|
1591
|
-
export const de_ListTrainedModelVersionsCommand = async (output, context) => {
|
|
1592
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1593
|
-
return de_CommandError(output, context);
|
|
1594
|
-
}
|
|
1595
|
-
const contents = map({
|
|
1596
|
-
$metadata: deserializeMetadata(output),
|
|
1597
|
-
});
|
|
1598
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1599
|
-
const doc = take(data, {
|
|
1600
|
-
nextToken: __expectString,
|
|
1601
|
-
trainedModels: (_) => de_TrainedModelList(_, context),
|
|
1602
|
-
});
|
|
1603
|
-
Object.assign(contents, doc);
|
|
1604
|
-
return contents;
|
|
1605
|
-
};
|
|
1606
|
-
export const de_ListTrainingDatasetsCommand = async (output, context) => {
|
|
1607
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1608
|
-
return de_CommandError(output, context);
|
|
1609
|
-
}
|
|
1610
|
-
const contents = map({
|
|
1611
|
-
$metadata: deserializeMetadata(output),
|
|
1612
|
-
});
|
|
1613
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1614
|
-
const doc = take(data, {
|
|
1615
|
-
nextToken: __expectString,
|
|
1616
|
-
trainingDatasets: (_) => de_TrainingDatasetList(_, context),
|
|
1617
|
-
});
|
|
1618
|
-
Object.assign(contents, doc);
|
|
1619
|
-
return contents;
|
|
1620
|
-
};
|
|
1621
|
-
export const de_PutConfiguredAudienceModelPolicyCommand = 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
|
-
configuredAudienceModelPolicy: __expectString,
|
|
1631
|
-
policyHash: __expectString,
|
|
1632
|
-
});
|
|
1633
|
-
Object.assign(contents, doc);
|
|
1634
|
-
return contents;
|
|
1635
|
-
};
|
|
1636
|
-
export const de_PutMLConfigurationCommand = async (output, context) => {
|
|
1637
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1638
|
-
return de_CommandError(output, context);
|
|
1639
|
-
}
|
|
1640
|
-
const contents = map({
|
|
1641
|
-
$metadata: deserializeMetadata(output),
|
|
1642
|
-
});
|
|
1643
|
-
await collectBody(output.body, context);
|
|
1644
|
-
return contents;
|
|
1645
|
-
};
|
|
1646
|
-
export const de_StartAudienceExportJobCommand = async (output, context) => {
|
|
1647
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1648
|
-
return de_CommandError(output, context);
|
|
1649
|
-
}
|
|
1650
|
-
const contents = map({
|
|
1651
|
-
$metadata: deserializeMetadata(output),
|
|
1652
|
-
});
|
|
1653
|
-
await collectBody(output.body, context);
|
|
1654
|
-
return contents;
|
|
1655
|
-
};
|
|
1656
|
-
export const de_StartAudienceGenerationJobCommand = async (output, context) => {
|
|
1657
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1658
|
-
return de_CommandError(output, context);
|
|
1659
|
-
}
|
|
1660
|
-
const contents = map({
|
|
1661
|
-
$metadata: deserializeMetadata(output),
|
|
1662
|
-
});
|
|
1663
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1664
|
-
const doc = take(data, {
|
|
1665
|
-
audienceGenerationJobArn: __expectString,
|
|
1666
|
-
});
|
|
1667
|
-
Object.assign(contents, doc);
|
|
1668
|
-
return contents;
|
|
1669
|
-
};
|
|
1670
|
-
export const de_StartTrainedModelExportJobCommand = async (output, context) => {
|
|
1671
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1672
|
-
return de_CommandError(output, context);
|
|
1673
|
-
}
|
|
1674
|
-
const contents = map({
|
|
1675
|
-
$metadata: deserializeMetadata(output),
|
|
1676
|
-
});
|
|
1677
|
-
await collectBody(output.body, context);
|
|
1678
|
-
return contents;
|
|
1679
|
-
};
|
|
1680
|
-
export const de_StartTrainedModelInferenceJobCommand = async (output, context) => {
|
|
1681
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1682
|
-
return de_CommandError(output, context);
|
|
1683
|
-
}
|
|
1684
|
-
const contents = map({
|
|
1685
|
-
$metadata: deserializeMetadata(output),
|
|
1686
|
-
});
|
|
1687
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1688
|
-
const doc = take(data, {
|
|
1689
|
-
trainedModelInferenceJobArn: __expectString,
|
|
1690
|
-
});
|
|
1691
|
-
Object.assign(contents, doc);
|
|
1692
|
-
return contents;
|
|
1693
|
-
};
|
|
1694
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
1695
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1696
|
-
return de_CommandError(output, context);
|
|
1697
|
-
}
|
|
1698
|
-
const contents = map({
|
|
1699
|
-
$metadata: deserializeMetadata(output),
|
|
1700
|
-
});
|
|
1701
|
-
await collectBody(output.body, context);
|
|
1702
|
-
return contents;
|
|
1703
|
-
};
|
|
1704
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
1705
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1706
|
-
return de_CommandError(output, context);
|
|
1707
|
-
}
|
|
1708
|
-
const contents = map({
|
|
1709
|
-
$metadata: deserializeMetadata(output),
|
|
1710
|
-
});
|
|
1711
|
-
await collectBody(output.body, context);
|
|
1712
|
-
return contents;
|
|
1713
|
-
};
|
|
1714
|
-
export const de_UpdateConfiguredAudienceModelCommand = async (output, context) => {
|
|
1715
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1716
|
-
return de_CommandError(output, context);
|
|
1717
|
-
}
|
|
1718
|
-
const contents = map({
|
|
1719
|
-
$metadata: deserializeMetadata(output),
|
|
1720
|
-
});
|
|
1721
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1722
|
-
const doc = take(data, {
|
|
1723
|
-
configuredAudienceModelArn: __expectString,
|
|
1724
|
-
});
|
|
1725
|
-
Object.assign(contents, doc);
|
|
1726
|
-
return contents;
|
|
1727
|
-
};
|
|
1728
|
-
const de_CommandError = async (output, context) => {
|
|
1729
|
-
const parsedOutput = {
|
|
1730
|
-
...output,
|
|
1731
|
-
body: await parseErrorBody(output.body, context),
|
|
1732
|
-
};
|
|
1733
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1734
|
-
switch (errorCode) {
|
|
1735
|
-
case "AccessDeniedException":
|
|
1736
|
-
case "com.amazonaws.cleanroomsml#AccessDeniedException":
|
|
1737
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1738
|
-
case "ConflictException":
|
|
1739
|
-
case "com.amazonaws.cleanroomsml#ConflictException":
|
|
1740
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1741
|
-
case "ResourceNotFoundException":
|
|
1742
|
-
case "com.amazonaws.cleanroomsml#ResourceNotFoundException":
|
|
1743
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1744
|
-
case "ThrottlingException":
|
|
1745
|
-
case "com.amazonaws.cleanroomsml#ThrottlingException":
|
|
1746
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1747
|
-
case "ValidationException":
|
|
1748
|
-
case "com.amazonaws.cleanroomsml#ValidationException":
|
|
1749
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1750
|
-
case "ServiceQuotaExceededException":
|
|
1751
|
-
case "com.amazonaws.cleanroomsml#ServiceQuotaExceededException":
|
|
1752
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1753
|
-
case "InternalServiceException":
|
|
1754
|
-
case "com.amazonaws.cleanroomsml#InternalServiceException":
|
|
1755
|
-
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1756
|
-
default:
|
|
1757
|
-
const parsedBody = parsedOutput.body;
|
|
1758
|
-
return throwDefaultError({
|
|
1759
|
-
output,
|
|
1760
|
-
parsedBody,
|
|
1761
|
-
errorCode,
|
|
1762
|
-
});
|
|
1763
|
-
}
|
|
1764
|
-
};
|
|
1765
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1766
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1767
|
-
const contents = map({});
|
|
1768
|
-
const data = parsedOutput.body;
|
|
1769
|
-
const doc = take(data, {
|
|
1770
|
-
message: __expectString,
|
|
1771
|
-
});
|
|
1772
|
-
Object.assign(contents, doc);
|
|
1773
|
-
const exception = new AccessDeniedException({
|
|
1774
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1775
|
-
...contents,
|
|
1776
|
-
});
|
|
1777
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1778
|
-
};
|
|
1779
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1780
|
-
const contents = map({});
|
|
1781
|
-
const data = parsedOutput.body;
|
|
1782
|
-
const doc = take(data, {
|
|
1783
|
-
message: __expectString,
|
|
1784
|
-
});
|
|
1785
|
-
Object.assign(contents, doc);
|
|
1786
|
-
const exception = new ConflictException({
|
|
1787
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1788
|
-
...contents,
|
|
1789
|
-
});
|
|
1790
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1791
|
-
};
|
|
1792
|
-
const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
|
|
1793
|
-
const contents = map({});
|
|
1794
|
-
const data = parsedOutput.body;
|
|
1795
|
-
const doc = take(data, {
|
|
1796
|
-
message: __expectString,
|
|
1797
|
-
});
|
|
1798
|
-
Object.assign(contents, doc);
|
|
1799
|
-
const exception = new InternalServiceException({
|
|
1800
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1801
|
-
...contents,
|
|
1802
|
-
});
|
|
1803
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1804
|
-
};
|
|
1805
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1806
|
-
const contents = map({});
|
|
1807
|
-
const data = parsedOutput.body;
|
|
1808
|
-
const doc = take(data, {
|
|
1809
|
-
message: __expectString,
|
|
1810
|
-
});
|
|
1811
|
-
Object.assign(contents, doc);
|
|
1812
|
-
const exception = new ResourceNotFoundException({
|
|
1813
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1814
|
-
...contents,
|
|
1815
|
-
});
|
|
1816
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1817
|
-
};
|
|
1818
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1819
|
-
const contents = map({});
|
|
1820
|
-
const data = parsedOutput.body;
|
|
1821
|
-
const doc = take(data, {
|
|
1822
|
-
message: __expectString,
|
|
1823
|
-
quotaName: __expectString,
|
|
1824
|
-
quotaValue: __limitedParseDouble,
|
|
1825
|
-
});
|
|
1826
|
-
Object.assign(contents, doc);
|
|
1827
|
-
const exception = new ServiceQuotaExceededException({
|
|
1828
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1829
|
-
...contents,
|
|
1830
|
-
});
|
|
1831
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1832
|
-
};
|
|
1833
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1834
|
-
const contents = map({});
|
|
1835
|
-
const data = parsedOutput.body;
|
|
1836
|
-
const doc = take(data, {
|
|
1837
|
-
message: __expectString,
|
|
1838
|
-
});
|
|
1839
|
-
Object.assign(contents, doc);
|
|
1840
|
-
const exception = new ThrottlingException({
|
|
1841
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1842
|
-
...contents,
|
|
1843
|
-
});
|
|
1844
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1845
|
-
};
|
|
1846
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1847
|
-
const contents = map({});
|
|
1848
|
-
const data = parsedOutput.body;
|
|
1849
|
-
const doc = take(data, {
|
|
1850
|
-
message: __expectString,
|
|
1851
|
-
});
|
|
1852
|
-
Object.assign(contents, doc);
|
|
1853
|
-
const exception = new ValidationException({
|
|
1854
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1855
|
-
...contents,
|
|
1856
|
-
});
|
|
1857
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1858
|
-
};
|
|
1859
|
-
const se_PrivacyConfiguration = (input, context) => {
|
|
1860
|
-
return take(input, {
|
|
1861
|
-
policies: (_) => se_PrivacyConfigurationPolicies(_, context),
|
|
1862
|
-
});
|
|
1863
|
-
};
|
|
1864
|
-
const se_PrivacyConfigurationPolicies = (input, context) => {
|
|
1865
|
-
return take(input, {
|
|
1866
|
-
trainedModelExports: (_) => se_TrainedModelExportsConfigurationPolicy(_, context),
|
|
1867
|
-
trainedModelInferenceJobs: (_) => se_TrainedModelInferenceJobsConfigurationPolicy(_, context),
|
|
1868
|
-
trainedModels: (_) => se_TrainedModelsConfigurationPolicy(_, context),
|
|
1869
|
-
});
|
|
1870
|
-
};
|
|
1871
|
-
const se_TrainedModelArtifactMaxSize = (input, context) => {
|
|
1872
|
-
return take(input, {
|
|
1873
|
-
unit: [],
|
|
1874
|
-
value: __serializeFloat,
|
|
1875
|
-
});
|
|
1876
|
-
};
|
|
1877
|
-
const se_TrainedModelExportsConfigurationPolicy = (input, context) => {
|
|
1878
|
-
return take(input, {
|
|
1879
|
-
filesToExport: _json,
|
|
1880
|
-
maxSize: (_) => se_TrainedModelExportsMaxSize(_, context),
|
|
1881
|
-
});
|
|
1882
|
-
};
|
|
1883
|
-
const se_TrainedModelExportsMaxSize = (input, context) => {
|
|
1884
|
-
return take(input, {
|
|
1885
|
-
unit: [],
|
|
1886
|
-
value: __serializeFloat,
|
|
1887
|
-
});
|
|
1888
|
-
};
|
|
1889
|
-
const se_TrainedModelInferenceJobsConfigurationPolicy = (input, context) => {
|
|
1890
|
-
return take(input, {
|
|
1891
|
-
containerLogs: _json,
|
|
1892
|
-
maxOutputSize: (_) => se_TrainedModelInferenceMaxOutputSize(_, context),
|
|
1893
|
-
});
|
|
1894
|
-
};
|
|
1895
|
-
const se_TrainedModelInferenceMaxOutputSize = (input, context) => {
|
|
1896
|
-
return take(input, {
|
|
1897
|
-
unit: [],
|
|
1898
|
-
value: __serializeFloat,
|
|
1899
|
-
});
|
|
1900
|
-
};
|
|
1901
|
-
const se_TrainedModelsConfigurationPolicy = (input, context) => {
|
|
1902
|
-
return take(input, {
|
|
1903
|
-
containerLogs: _json,
|
|
1904
|
-
containerMetrics: _json,
|
|
1905
|
-
maxArtifactSize: (_) => se_TrainedModelArtifactMaxSize(_, context),
|
|
1906
|
-
});
|
|
1907
|
-
};
|
|
1908
|
-
const de_AccessBudget = (output, context) => {
|
|
1909
|
-
return take(output, {
|
|
1910
|
-
aggregateRemainingBudget: __expectInt32,
|
|
1911
|
-
details: (_) => de_AccessBudgetDetailsList(_, context),
|
|
1912
|
-
resourceArn: __expectString,
|
|
1913
|
-
});
|
|
1914
|
-
};
|
|
1915
|
-
const de_AccessBudgetDetails = (output, context) => {
|
|
1916
|
-
return take(output, {
|
|
1917
|
-
autoRefresh: __expectString,
|
|
1918
|
-
budget: __expectInt32,
|
|
1919
|
-
budgetType: __expectString,
|
|
1920
|
-
endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1921
|
-
remainingBudget: __expectInt32,
|
|
1922
|
-
startTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1923
|
-
});
|
|
1924
|
-
};
|
|
1925
|
-
const de_AccessBudgetDetailsList = (output, context) => {
|
|
1926
|
-
const retVal = (output || [])
|
|
1927
|
-
.filter((e) => e != null)
|
|
1928
|
-
.map((entry) => {
|
|
1929
|
-
return de_AccessBudgetDetails(entry, context);
|
|
1930
|
-
});
|
|
1931
|
-
return retVal;
|
|
1932
|
-
};
|
|
1933
|
-
const de_AccessBudgets = (output, context) => {
|
|
1934
|
-
const retVal = (output || [])
|
|
1935
|
-
.filter((e) => e != null)
|
|
1936
|
-
.map((entry) => {
|
|
1937
|
-
return de_AccessBudget(entry, context);
|
|
1938
|
-
});
|
|
1939
|
-
return retVal;
|
|
1940
|
-
};
|
|
1941
|
-
const de_AudienceExportJobList = (output, context) => {
|
|
1942
|
-
const retVal = (output || [])
|
|
1943
|
-
.filter((e) => e != null)
|
|
1944
|
-
.map((entry) => {
|
|
1945
|
-
return de_AudienceExportJobSummary(entry, context);
|
|
1946
|
-
});
|
|
1947
|
-
return retVal;
|
|
1948
|
-
};
|
|
1949
|
-
const de_AudienceExportJobSummary = (output, context) => {
|
|
1950
|
-
return take(output, {
|
|
1951
|
-
audienceGenerationJobArn: __expectString,
|
|
1952
|
-
audienceSize: _json,
|
|
1953
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1954
|
-
description: __expectString,
|
|
1955
|
-
name: __expectString,
|
|
1956
|
-
outputLocation: __expectString,
|
|
1957
|
-
status: __expectString,
|
|
1958
|
-
statusDetails: _json,
|
|
1959
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1960
|
-
});
|
|
1961
|
-
};
|
|
1962
|
-
const de_AudienceGenerationJobList = (output, context) => {
|
|
1963
|
-
const retVal = (output || [])
|
|
1964
|
-
.filter((e) => e != null)
|
|
1965
|
-
.map((entry) => {
|
|
1966
|
-
return de_AudienceGenerationJobSummary(entry, context);
|
|
1967
|
-
});
|
|
1968
|
-
return retVal;
|
|
1969
|
-
};
|
|
1970
|
-
const de_AudienceGenerationJobSummary = (output, context) => {
|
|
1971
|
-
return take(output, {
|
|
1972
|
-
audienceGenerationJobArn: __expectString,
|
|
1973
|
-
collaborationId: __expectString,
|
|
1974
|
-
configuredAudienceModelArn: __expectString,
|
|
1975
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1976
|
-
description: __expectString,
|
|
1977
|
-
name: __expectString,
|
|
1978
|
-
startedBy: __expectString,
|
|
1979
|
-
status: __expectString,
|
|
1980
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1981
|
-
});
|
|
1982
|
-
};
|
|
1983
|
-
const de_AudienceModelList = (output, context) => {
|
|
1984
|
-
const retVal = (output || [])
|
|
1985
|
-
.filter((e) => e != null)
|
|
1986
|
-
.map((entry) => {
|
|
1987
|
-
return de_AudienceModelSummary(entry, context);
|
|
1988
|
-
});
|
|
1989
|
-
return retVal;
|
|
1990
|
-
};
|
|
1991
|
-
const de_AudienceModelSummary = (output, context) => {
|
|
1992
|
-
return take(output, {
|
|
1993
|
-
audienceModelArn: __expectString,
|
|
1994
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1995
|
-
description: __expectString,
|
|
1996
|
-
name: __expectString,
|
|
1997
|
-
status: __expectString,
|
|
1998
|
-
trainingDatasetArn: __expectString,
|
|
1999
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2000
|
-
});
|
|
2001
|
-
};
|
|
2002
|
-
const de_AudienceQualityMetrics = (output, context) => {
|
|
2003
|
-
return take(output, {
|
|
2004
|
-
recallMetric: __limitedParseDouble,
|
|
2005
|
-
relevanceMetrics: (_) => de_RelevanceMetrics(_, context),
|
|
2006
|
-
});
|
|
2007
|
-
};
|
|
2008
|
-
const de_CollaborationConfiguredModelAlgorithmAssociationList = (output, context) => {
|
|
2009
|
-
const retVal = (output || [])
|
|
2010
|
-
.filter((e) => e != null)
|
|
2011
|
-
.map((entry) => {
|
|
2012
|
-
return de_CollaborationConfiguredModelAlgorithmAssociationSummary(entry, context);
|
|
2013
|
-
});
|
|
2014
|
-
return retVal;
|
|
2015
|
-
};
|
|
2016
|
-
const de_CollaborationConfiguredModelAlgorithmAssociationSummary = (output, context) => {
|
|
2017
|
-
return take(output, {
|
|
2018
|
-
collaborationIdentifier: __expectString,
|
|
2019
|
-
configuredModelAlgorithmArn: __expectString,
|
|
2020
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
2021
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2022
|
-
creatorAccountId: __expectString,
|
|
2023
|
-
description: __expectString,
|
|
2024
|
-
membershipIdentifier: __expectString,
|
|
2025
|
-
name: __expectString,
|
|
2026
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2027
|
-
});
|
|
2028
|
-
};
|
|
2029
|
-
const de_CollaborationMLInputChannelsList = (output, context) => {
|
|
2030
|
-
const retVal = (output || [])
|
|
2031
|
-
.filter((e) => e != null)
|
|
2032
|
-
.map((entry) => {
|
|
2033
|
-
return de_CollaborationMLInputChannelSummary(entry, context);
|
|
2034
|
-
});
|
|
2035
|
-
return retVal;
|
|
2036
|
-
};
|
|
2037
|
-
const de_CollaborationMLInputChannelSummary = (output, context) => {
|
|
2038
|
-
return take(output, {
|
|
2039
|
-
collaborationIdentifier: __expectString,
|
|
2040
|
-
configuredModelAlgorithmAssociations: _json,
|
|
2041
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2042
|
-
creatorAccountId: __expectString,
|
|
2043
|
-
description: __expectString,
|
|
2044
|
-
membershipIdentifier: __expectString,
|
|
2045
|
-
mlInputChannelArn: __expectString,
|
|
2046
|
-
name: __expectString,
|
|
2047
|
-
status: __expectString,
|
|
2048
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2049
|
-
});
|
|
2050
|
-
};
|
|
2051
|
-
const de_CollaborationTrainedModelExportJobList = (output, context) => {
|
|
2052
|
-
const retVal = (output || [])
|
|
2053
|
-
.filter((e) => e != null)
|
|
2054
|
-
.map((entry) => {
|
|
2055
|
-
return de_CollaborationTrainedModelExportJobSummary(entry, context);
|
|
2056
|
-
});
|
|
2057
|
-
return retVal;
|
|
2058
|
-
};
|
|
2059
|
-
const de_CollaborationTrainedModelExportJobSummary = (output, context) => {
|
|
2060
|
-
return take(output, {
|
|
2061
|
-
collaborationIdentifier: __expectString,
|
|
2062
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2063
|
-
creatorAccountId: __expectString,
|
|
2064
|
-
description: __expectString,
|
|
2065
|
-
membershipIdentifier: __expectString,
|
|
2066
|
-
name: __expectString,
|
|
2067
|
-
outputConfiguration: _json,
|
|
2068
|
-
status: __expectString,
|
|
2069
|
-
statusDetails: _json,
|
|
2070
|
-
trainedModelArn: __expectString,
|
|
2071
|
-
trainedModelVersionIdentifier: __expectString,
|
|
2072
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2073
|
-
});
|
|
2074
|
-
};
|
|
2075
|
-
const de_CollaborationTrainedModelInferenceJobList = (output, context) => {
|
|
2076
|
-
const retVal = (output || [])
|
|
2077
|
-
.filter((e) => e != null)
|
|
2078
|
-
.map((entry) => {
|
|
2079
|
-
return de_CollaborationTrainedModelInferenceJobSummary(entry, context);
|
|
2080
|
-
});
|
|
2081
|
-
return retVal;
|
|
2082
|
-
};
|
|
2083
|
-
const de_CollaborationTrainedModelInferenceJobSummary = (output, context) => {
|
|
2084
|
-
return take(output, {
|
|
2085
|
-
collaborationIdentifier: __expectString,
|
|
2086
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
2087
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2088
|
-
creatorAccountId: __expectString,
|
|
2089
|
-
description: __expectString,
|
|
2090
|
-
logsStatus: __expectString,
|
|
2091
|
-
logsStatusDetails: __expectString,
|
|
2092
|
-
membershipIdentifier: __expectString,
|
|
2093
|
-
metricsStatus: __expectString,
|
|
2094
|
-
metricsStatusDetails: __expectString,
|
|
2095
|
-
name: __expectString,
|
|
2096
|
-
outputConfiguration: _json,
|
|
2097
|
-
status: __expectString,
|
|
2098
|
-
trainedModelArn: __expectString,
|
|
2099
|
-
trainedModelInferenceJobArn: __expectString,
|
|
2100
|
-
trainedModelVersionIdentifier: __expectString,
|
|
2101
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2102
|
-
});
|
|
2103
|
-
};
|
|
2104
|
-
const de_CollaborationTrainedModelList = (output, context) => {
|
|
2105
|
-
const retVal = (output || [])
|
|
2106
|
-
.filter((e) => e != null)
|
|
2107
|
-
.map((entry) => {
|
|
2108
|
-
return de_CollaborationTrainedModelSummary(entry, context);
|
|
2109
|
-
});
|
|
2110
|
-
return retVal;
|
|
2111
|
-
};
|
|
2112
|
-
const de_CollaborationTrainedModelSummary = (output, context) => {
|
|
2113
|
-
return take(output, {
|
|
2114
|
-
collaborationIdentifier: __expectString,
|
|
2115
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
2116
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2117
|
-
creatorAccountId: __expectString,
|
|
2118
|
-
description: __expectString,
|
|
2119
|
-
incrementalTrainingDataChannels: _json,
|
|
2120
|
-
membershipIdentifier: __expectString,
|
|
2121
|
-
name: __expectString,
|
|
2122
|
-
status: __expectString,
|
|
2123
|
-
trainedModelArn: __expectString,
|
|
2124
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2125
|
-
versionIdentifier: __expectString,
|
|
2126
|
-
});
|
|
2127
|
-
};
|
|
2128
|
-
const de_ConfiguredAudienceModelList = (output, context) => {
|
|
2129
|
-
const retVal = (output || [])
|
|
2130
|
-
.filter((e) => e != null)
|
|
2131
|
-
.map((entry) => {
|
|
2132
|
-
return de_ConfiguredAudienceModelSummary(entry, context);
|
|
2133
|
-
});
|
|
2134
|
-
return retVal;
|
|
2135
|
-
};
|
|
2136
|
-
const de_ConfiguredAudienceModelSummary = (output, context) => {
|
|
2137
|
-
return take(output, {
|
|
2138
|
-
audienceModelArn: __expectString,
|
|
2139
|
-
configuredAudienceModelArn: __expectString,
|
|
2140
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2141
|
-
description: __expectString,
|
|
2142
|
-
name: __expectString,
|
|
2143
|
-
outputConfig: _json,
|
|
2144
|
-
status: __expectString,
|
|
2145
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2146
|
-
});
|
|
2147
|
-
};
|
|
2148
|
-
const de_ConfiguredModelAlgorithmAssociationList = (output, context) => {
|
|
2149
|
-
const retVal = (output || [])
|
|
2150
|
-
.filter((e) => e != null)
|
|
2151
|
-
.map((entry) => {
|
|
2152
|
-
return de_ConfiguredModelAlgorithmAssociationSummary(entry, context);
|
|
2153
|
-
});
|
|
2154
|
-
return retVal;
|
|
2155
|
-
};
|
|
2156
|
-
const de_ConfiguredModelAlgorithmAssociationSummary = (output, context) => {
|
|
2157
|
-
return take(output, {
|
|
2158
|
-
collaborationIdentifier: __expectString,
|
|
2159
|
-
configuredModelAlgorithmArn: __expectString,
|
|
2160
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
2161
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2162
|
-
description: __expectString,
|
|
2163
|
-
membershipIdentifier: __expectString,
|
|
2164
|
-
name: __expectString,
|
|
2165
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2166
|
-
});
|
|
2167
|
-
};
|
|
2168
|
-
const de_ConfiguredModelAlgorithmList = (output, context) => {
|
|
2169
|
-
const retVal = (output || [])
|
|
2170
|
-
.filter((e) => e != null)
|
|
2171
|
-
.map((entry) => {
|
|
2172
|
-
return de_ConfiguredModelAlgorithmSummary(entry, context);
|
|
2173
|
-
});
|
|
2174
|
-
return retVal;
|
|
2175
|
-
};
|
|
2176
|
-
const de_ConfiguredModelAlgorithmSummary = (output, context) => {
|
|
2177
|
-
return take(output, {
|
|
2178
|
-
configuredModelAlgorithmArn: __expectString,
|
|
2179
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2180
|
-
description: __expectString,
|
|
2181
|
-
name: __expectString,
|
|
2182
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2183
|
-
});
|
|
2184
|
-
};
|
|
2185
|
-
const de_MLInputChannelsList = (output, context) => {
|
|
2186
|
-
const retVal = (output || [])
|
|
2187
|
-
.filter((e) => e != null)
|
|
2188
|
-
.map((entry) => {
|
|
2189
|
-
return de_MLInputChannelSummary(entry, context);
|
|
2190
|
-
});
|
|
2191
|
-
return retVal;
|
|
2192
|
-
};
|
|
2193
|
-
const de_MLInputChannelSummary = (output, context) => {
|
|
2194
|
-
return take(output, {
|
|
2195
|
-
collaborationIdentifier: __expectString,
|
|
2196
|
-
configuredModelAlgorithmAssociations: _json,
|
|
2197
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2198
|
-
description: __expectString,
|
|
2199
|
-
membershipIdentifier: __expectString,
|
|
2200
|
-
mlInputChannelArn: __expectString,
|
|
2201
|
-
name: __expectString,
|
|
2202
|
-
protectedQueryIdentifier: __expectString,
|
|
2203
|
-
status: __expectString,
|
|
2204
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2205
|
-
});
|
|
2206
|
-
};
|
|
2207
|
-
const de_PrivacyBudgets = (output, context) => {
|
|
2208
|
-
if (output.accessBudgets != null) {
|
|
2209
|
-
return {
|
|
2210
|
-
accessBudgets: de_AccessBudgets(output.accessBudgets, context),
|
|
2211
|
-
};
|
|
2212
|
-
}
|
|
2213
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2214
|
-
};
|
|
2215
|
-
const de_PrivacyConfiguration = (output, context) => {
|
|
2216
|
-
return take(output, {
|
|
2217
|
-
policies: (_) => de_PrivacyConfigurationPolicies(_, context),
|
|
2218
|
-
});
|
|
2219
|
-
};
|
|
2220
|
-
const de_PrivacyConfigurationPolicies = (output, context) => {
|
|
2221
|
-
return take(output, {
|
|
2222
|
-
trainedModelExports: (_) => de_TrainedModelExportsConfigurationPolicy(_, context),
|
|
2223
|
-
trainedModelInferenceJobs: (_) => de_TrainedModelInferenceJobsConfigurationPolicy(_, context),
|
|
2224
|
-
trainedModels: (_) => de_TrainedModelsConfigurationPolicy(_, context),
|
|
2225
|
-
});
|
|
2226
|
-
};
|
|
2227
|
-
const de_RelevanceMetric = (output, context) => {
|
|
2228
|
-
return take(output, {
|
|
2229
|
-
audienceSize: _json,
|
|
2230
|
-
score: __limitedParseDouble,
|
|
2231
|
-
});
|
|
2232
|
-
};
|
|
2233
|
-
const de_RelevanceMetrics = (output, context) => {
|
|
2234
|
-
const retVal = (output || [])
|
|
2235
|
-
.filter((e) => e != null)
|
|
2236
|
-
.map((entry) => {
|
|
2237
|
-
return de_RelevanceMetric(entry, context);
|
|
2238
|
-
});
|
|
2239
|
-
return retVal;
|
|
2240
|
-
};
|
|
2241
|
-
const de_TrainedModelArtifactMaxSize = (output, context) => {
|
|
2242
|
-
return take(output, {
|
|
2243
|
-
unit: __expectString,
|
|
2244
|
-
value: __limitedParseDouble,
|
|
2245
|
-
});
|
|
2246
|
-
};
|
|
2247
|
-
const de_TrainedModelExportsConfigurationPolicy = (output, context) => {
|
|
2248
|
-
return take(output, {
|
|
2249
|
-
filesToExport: _json,
|
|
2250
|
-
maxSize: (_) => de_TrainedModelExportsMaxSize(_, context),
|
|
2251
|
-
});
|
|
2252
|
-
};
|
|
2253
|
-
const de_TrainedModelExportsMaxSize = (output, context) => {
|
|
2254
|
-
return take(output, {
|
|
2255
|
-
unit: __expectString,
|
|
2256
|
-
value: __limitedParseDouble,
|
|
2257
|
-
});
|
|
2258
|
-
};
|
|
2259
|
-
const de_TrainedModelInferenceJobList = (output, context) => {
|
|
2260
|
-
const retVal = (output || [])
|
|
2261
|
-
.filter((e) => e != null)
|
|
2262
|
-
.map((entry) => {
|
|
2263
|
-
return de_TrainedModelInferenceJobSummary(entry, context);
|
|
2264
|
-
});
|
|
2265
|
-
return retVal;
|
|
2266
|
-
};
|
|
2267
|
-
const de_TrainedModelInferenceJobsConfigurationPolicy = (output, context) => {
|
|
2268
|
-
return take(output, {
|
|
2269
|
-
containerLogs: _json,
|
|
2270
|
-
maxOutputSize: (_) => de_TrainedModelInferenceMaxOutputSize(_, context),
|
|
2271
|
-
});
|
|
2272
|
-
};
|
|
2273
|
-
const de_TrainedModelInferenceJobSummary = (output, context) => {
|
|
2274
|
-
return take(output, {
|
|
2275
|
-
collaborationIdentifier: __expectString,
|
|
2276
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
2277
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2278
|
-
description: __expectString,
|
|
2279
|
-
logsStatus: __expectString,
|
|
2280
|
-
logsStatusDetails: __expectString,
|
|
2281
|
-
membershipIdentifier: __expectString,
|
|
2282
|
-
metricsStatus: __expectString,
|
|
2283
|
-
metricsStatusDetails: __expectString,
|
|
2284
|
-
name: __expectString,
|
|
2285
|
-
outputConfiguration: _json,
|
|
2286
|
-
status: __expectString,
|
|
2287
|
-
trainedModelArn: __expectString,
|
|
2288
|
-
trainedModelInferenceJobArn: __expectString,
|
|
2289
|
-
trainedModelVersionIdentifier: __expectString,
|
|
2290
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2291
|
-
});
|
|
2292
|
-
};
|
|
2293
|
-
const de_TrainedModelInferenceMaxOutputSize = (output, context) => {
|
|
2294
|
-
return take(output, {
|
|
2295
|
-
unit: __expectString,
|
|
2296
|
-
value: __limitedParseDouble,
|
|
2297
|
-
});
|
|
2298
|
-
};
|
|
2299
|
-
const de_TrainedModelList = (output, context) => {
|
|
2300
|
-
const retVal = (output || [])
|
|
2301
|
-
.filter((e) => e != null)
|
|
2302
|
-
.map((entry) => {
|
|
2303
|
-
return de_TrainedModelSummary(entry, context);
|
|
2304
|
-
});
|
|
2305
|
-
return retVal;
|
|
2306
|
-
};
|
|
2307
|
-
const de_TrainedModelsConfigurationPolicy = (output, context) => {
|
|
2308
|
-
return take(output, {
|
|
2309
|
-
containerLogs: _json,
|
|
2310
|
-
containerMetrics: _json,
|
|
2311
|
-
maxArtifactSize: (_) => de_TrainedModelArtifactMaxSize(_, context),
|
|
2312
|
-
});
|
|
2313
|
-
};
|
|
2314
|
-
const de_TrainedModelSummary = (output, context) => {
|
|
2315
|
-
return take(output, {
|
|
2316
|
-
collaborationIdentifier: __expectString,
|
|
2317
|
-
configuredModelAlgorithmAssociationArn: __expectString,
|
|
2318
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2319
|
-
description: __expectString,
|
|
2320
|
-
incrementalTrainingDataChannels: _json,
|
|
2321
|
-
membershipIdentifier: __expectString,
|
|
2322
|
-
name: __expectString,
|
|
2323
|
-
status: __expectString,
|
|
2324
|
-
trainedModelArn: __expectString,
|
|
2325
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2326
|
-
versionIdentifier: __expectString,
|
|
2327
|
-
});
|
|
2328
|
-
};
|
|
2329
|
-
const de_TrainingDatasetList = (output, context) => {
|
|
2330
|
-
const retVal = (output || [])
|
|
2331
|
-
.filter((e) => e != null)
|
|
2332
|
-
.map((entry) => {
|
|
2333
|
-
return de_TrainingDatasetSummary(entry, context);
|
|
2334
|
-
});
|
|
2335
|
-
return retVal;
|
|
2336
|
-
};
|
|
2337
|
-
const de_TrainingDatasetSummary = (output, context) => {
|
|
2338
|
-
return take(output, {
|
|
2339
|
-
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2340
|
-
description: __expectString,
|
|
2341
|
-
name: __expectString,
|
|
2342
|
-
status: __expectString,
|
|
2343
|
-
trainingDatasetArn: __expectString,
|
|
2344
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2345
|
-
});
|
|
2346
|
-
};
|
|
2347
|
-
const deserializeMetadata = (output) => ({
|
|
2348
|
-
httpStatusCode: output.statusCode,
|
|
2349
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2350
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2351
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2352
|
-
});
|
|
2353
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2354
|
-
const _aGJA = "audienceGenerationJobArn";
|
|
2355
|
-
const _cAMA = "configuredAudienceModelArn";
|
|
2356
|
-
const _cI = "collaborationId";
|
|
2357
|
-
const _mR = "maxResults";
|
|
2358
|
-
const _nT = "nextToken";
|
|
2359
|
-
const _s = "status";
|
|
2360
|
-
const _tK = "tagKeys";
|
|
2361
|
-
const _tMA = "trainedModelArn";
|
|
2362
|
-
const _tMVI = "trainedModelVersionIdentifier";
|
|
2363
|
-
const _vI = "versionIdentifier";
|