@aws-sdk/client-appfabric 3.476.0 → 3.477.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/protocols/Aws_restJson1.js +160 -365
- package/dist-es/protocols/Aws_restJson1.js +161 -366
- package/package.json +5 -4
|
@@ -3,65 +3,49 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopIngestionCommand = exports.de_StartUserAccessTasksCommand = exports.de_StartIngestionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListIngestionsCommand = exports.de_ListIngestionDestinationsCommand = exports.de_ListAppBundlesCommand = exports.de_ListAppAuthorizationsCommand = exports.de_GetIngestionDestinationCommand = exports.de_GetIngestionCommand = exports.de_GetAppBundleCommand = exports.de_GetAppAuthorizationCommand = exports.de_DeleteIngestionDestinationCommand = exports.de_DeleteIngestionCommand = exports.de_DeleteAppBundleCommand = exports.de_DeleteAppAuthorizationCommand = exports.de_CreateIngestionDestinationCommand = exports.de_CreateIngestionCommand = exports.de_CreateAppBundleCommand = exports.de_CreateAppAuthorizationCommand = exports.de_ConnectAppAuthorizationCommand = exports.de_BatchGetUserAccessTasksCommand = exports.se_UpdateIngestionDestinationCommand = exports.se_UpdateAppAuthorizationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopIngestionCommand = exports.se_StartUserAccessTasksCommand = exports.se_StartIngestionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListIngestionsCommand = exports.se_ListIngestionDestinationsCommand = exports.se_ListAppBundlesCommand = exports.se_ListAppAuthorizationsCommand = exports.se_GetIngestionDestinationCommand = exports.se_GetIngestionCommand = exports.se_GetAppBundleCommand = exports.se_GetAppAuthorizationCommand = exports.se_DeleteIngestionDestinationCommand = exports.se_DeleteIngestionCommand = exports.se_DeleteAppBundleCommand = exports.se_DeleteAppAuthorizationCommand = exports.se_CreateIngestionDestinationCommand = exports.se_CreateIngestionCommand = exports.se_CreateAppBundleCommand = exports.se_CreateAppAuthorizationCommand = exports.se_ConnectAppAuthorizationCommand = exports.se_BatchGetUserAccessTasksCommand = void 0;
|
|
4
4
|
exports.de_UpdateIngestionDestinationCommand = exports.de_UpdateAppAuthorizationCommand = void 0;
|
|
5
5
|
const core_1 = require("@aws-sdk/core");
|
|
6
|
-
const
|
|
6
|
+
const core_2 = require("@smithy/core");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const uuid_1 = require("uuid");
|
|
9
9
|
const AppFabricServiceException_1 = require("../models/AppFabricServiceException");
|
|
10
10
|
const models_0_1 = require("../models/models_0");
|
|
11
11
|
const se_BatchGetUserAccessTasksCommand = async (input, context) => {
|
|
12
|
-
const
|
|
12
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
13
13
|
const headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
b.bp("/useraccess/batchget");
|
|
17
17
|
let body;
|
|
18
18
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
19
|
appBundleIdentifier: [],
|
|
20
20
|
taskIdList: (_) => (0, smithy_client_1._json)(_),
|
|
21
21
|
}));
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
hostname,
|
|
25
|
-
port,
|
|
26
|
-
method: "POST",
|
|
27
|
-
headers,
|
|
28
|
-
path: resolvedPath,
|
|
29
|
-
body,
|
|
30
|
-
});
|
|
22
|
+
b.m("POST").h(headers).b(body);
|
|
23
|
+
return b.build();
|
|
31
24
|
};
|
|
32
25
|
exports.se_BatchGetUserAccessTasksCommand = se_BatchGetUserAccessTasksCommand;
|
|
33
26
|
const se_ConnectAppAuthorizationCommand = async (input, context) => {
|
|
34
|
-
const
|
|
27
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
35
28
|
const headers = {
|
|
36
29
|
"content-type": "application/json",
|
|
37
30
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "appAuthorizationIdentifier", () => input.appAuthorizationIdentifier, "{appAuthorizationIdentifier}", false);
|
|
31
|
+
b.bp("/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}/connect");
|
|
32
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
33
|
+
b.p("appAuthorizationIdentifier", () => input.appAuthorizationIdentifier, "{appAuthorizationIdentifier}", false);
|
|
42
34
|
let body;
|
|
43
35
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
44
36
|
authRequest: (_) => (0, smithy_client_1._json)(_),
|
|
45
37
|
}));
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
hostname,
|
|
49
|
-
port,
|
|
50
|
-
method: "POST",
|
|
51
|
-
headers,
|
|
52
|
-
path: resolvedPath,
|
|
53
|
-
body,
|
|
54
|
-
});
|
|
38
|
+
b.m("POST").h(headers).b(body);
|
|
39
|
+
return b.build();
|
|
55
40
|
};
|
|
56
41
|
exports.se_ConnectAppAuthorizationCommand = se_ConnectAppAuthorizationCommand;
|
|
57
42
|
const se_CreateAppAuthorizationCommand = async (input, context) => {
|
|
58
|
-
const
|
|
43
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
59
44
|
const headers = {
|
|
60
45
|
"content-type": "application/json",
|
|
61
46
|
};
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
47
|
+
b.bp("/appbundles/{appBundleIdentifier}/appauthorizations");
|
|
48
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
65
49
|
let body;
|
|
66
50
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
67
51
|
app: [],
|
|
@@ -71,48 +55,33 @@ const se_CreateAppAuthorizationCommand = async (input, context) => {
|
|
|
71
55
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
72
56
|
tenant: (_) => (0, smithy_client_1._json)(_),
|
|
73
57
|
}));
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
hostname,
|
|
77
|
-
port,
|
|
78
|
-
method: "POST",
|
|
79
|
-
headers,
|
|
80
|
-
path: resolvedPath,
|
|
81
|
-
body,
|
|
82
|
-
});
|
|
58
|
+
b.m("POST").h(headers).b(body);
|
|
59
|
+
return b.build();
|
|
83
60
|
};
|
|
84
61
|
exports.se_CreateAppAuthorizationCommand = se_CreateAppAuthorizationCommand;
|
|
85
62
|
const se_CreateAppBundleCommand = async (input, context) => {
|
|
86
|
-
const
|
|
63
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
87
64
|
const headers = {
|
|
88
65
|
"content-type": "application/json",
|
|
89
66
|
};
|
|
90
|
-
|
|
67
|
+
b.bp("/appbundles");
|
|
91
68
|
let body;
|
|
92
69
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
93
70
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
94
71
|
customerManagedKeyIdentifier: [],
|
|
95
72
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
96
73
|
}));
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
hostname,
|
|
100
|
-
port,
|
|
101
|
-
method: "POST",
|
|
102
|
-
headers,
|
|
103
|
-
path: resolvedPath,
|
|
104
|
-
body,
|
|
105
|
-
});
|
|
74
|
+
b.m("POST").h(headers).b(body);
|
|
75
|
+
return b.build();
|
|
106
76
|
};
|
|
107
77
|
exports.se_CreateAppBundleCommand = se_CreateAppBundleCommand;
|
|
108
78
|
const se_CreateIngestionCommand = async (input, context) => {
|
|
109
|
-
const
|
|
79
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
110
80
|
const headers = {
|
|
111
81
|
"content-type": "application/json",
|
|
112
82
|
};
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
83
|
+
b.bp("/appbundles/{appBundleIdentifier}/ingestions");
|
|
84
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
116
85
|
let body;
|
|
117
86
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
118
87
|
app: [],
|
|
@@ -121,26 +90,18 @@ const se_CreateIngestionCommand = async (input, context) => {
|
|
|
121
90
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
122
91
|
tenantId: [],
|
|
123
92
|
}));
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
hostname,
|
|
127
|
-
port,
|
|
128
|
-
method: "POST",
|
|
129
|
-
headers,
|
|
130
|
-
path: resolvedPath,
|
|
131
|
-
body,
|
|
132
|
-
});
|
|
93
|
+
b.m("POST").h(headers).b(body);
|
|
94
|
+
return b.build();
|
|
133
95
|
};
|
|
134
96
|
exports.se_CreateIngestionCommand = se_CreateIngestionCommand;
|
|
135
97
|
const se_CreateIngestionDestinationCommand = async (input, context) => {
|
|
136
|
-
const
|
|
98
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
137
99
|
const headers = {
|
|
138
100
|
"content-type": "application/json",
|
|
139
101
|
};
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
102
|
+
b.bp("/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations");
|
|
103
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
104
|
+
b.p("ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
144
105
|
let body;
|
|
145
106
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
146
107
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -148,429 +109,264 @@ const se_CreateIngestionDestinationCommand = async (input, context) => {
|
|
|
148
109
|
processingConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
149
110
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
150
111
|
}));
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
hostname,
|
|
154
|
-
port,
|
|
155
|
-
method: "POST",
|
|
156
|
-
headers,
|
|
157
|
-
path: resolvedPath,
|
|
158
|
-
body,
|
|
159
|
-
});
|
|
112
|
+
b.m("POST").h(headers).b(body);
|
|
113
|
+
return b.build();
|
|
160
114
|
};
|
|
161
115
|
exports.se_CreateIngestionDestinationCommand = se_CreateIngestionDestinationCommand;
|
|
162
116
|
const se_DeleteAppAuthorizationCommand = async (input, context) => {
|
|
163
|
-
const
|
|
117
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
164
118
|
const headers = {};
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "appAuthorizationIdentifier", () => input.appAuthorizationIdentifier, "{appAuthorizationIdentifier}", false);
|
|
119
|
+
b.bp("/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}");
|
|
120
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
121
|
+
b.p("appAuthorizationIdentifier", () => input.appAuthorizationIdentifier, "{appAuthorizationIdentifier}", false);
|
|
169
122
|
let body;
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
hostname,
|
|
173
|
-
port,
|
|
174
|
-
method: "DELETE",
|
|
175
|
-
headers,
|
|
176
|
-
path: resolvedPath,
|
|
177
|
-
body,
|
|
178
|
-
});
|
|
123
|
+
b.m("DELETE").h(headers).b(body);
|
|
124
|
+
return b.build();
|
|
179
125
|
};
|
|
180
126
|
exports.se_DeleteAppAuthorizationCommand = se_DeleteAppAuthorizationCommand;
|
|
181
127
|
const se_DeleteAppBundleCommand = async (input, context) => {
|
|
182
|
-
const
|
|
128
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
183
129
|
const headers = {};
|
|
184
|
-
|
|
185
|
-
|
|
130
|
+
b.bp("/appbundles/{appBundleIdentifier}");
|
|
131
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
186
132
|
let body;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
hostname,
|
|
190
|
-
port,
|
|
191
|
-
method: "DELETE",
|
|
192
|
-
headers,
|
|
193
|
-
path: resolvedPath,
|
|
194
|
-
body,
|
|
195
|
-
});
|
|
133
|
+
b.m("DELETE").h(headers).b(body);
|
|
134
|
+
return b.build();
|
|
196
135
|
};
|
|
197
136
|
exports.se_DeleteAppBundleCommand = se_DeleteAppBundleCommand;
|
|
198
137
|
const se_DeleteIngestionCommand = async (input, context) => {
|
|
199
|
-
const
|
|
138
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
200
139
|
const headers = {};
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
140
|
+
b.bp("/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}");
|
|
141
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
142
|
+
b.p("ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
205
143
|
let body;
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
hostname,
|
|
209
|
-
port,
|
|
210
|
-
method: "DELETE",
|
|
211
|
-
headers,
|
|
212
|
-
path: resolvedPath,
|
|
213
|
-
body,
|
|
214
|
-
});
|
|
144
|
+
b.m("DELETE").h(headers).b(body);
|
|
145
|
+
return b.build();
|
|
215
146
|
};
|
|
216
147
|
exports.se_DeleteIngestionCommand = se_DeleteIngestionCommand;
|
|
217
148
|
const se_DeleteIngestionDestinationCommand = async (input, context) => {
|
|
218
|
-
const
|
|
149
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
219
150
|
const headers = {};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ingestionDestinationIdentifier", () => input.ingestionDestinationIdentifier, "{ingestionDestinationIdentifier}", false);
|
|
151
|
+
b.bp("/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}");
|
|
152
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
153
|
+
b.p("ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
154
|
+
b.p("ingestionDestinationIdentifier", () => input.ingestionDestinationIdentifier, "{ingestionDestinationIdentifier}", false);
|
|
225
155
|
let body;
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
hostname,
|
|
229
|
-
port,
|
|
230
|
-
method: "DELETE",
|
|
231
|
-
headers,
|
|
232
|
-
path: resolvedPath,
|
|
233
|
-
body,
|
|
234
|
-
});
|
|
156
|
+
b.m("DELETE").h(headers).b(body);
|
|
157
|
+
return b.build();
|
|
235
158
|
};
|
|
236
159
|
exports.se_DeleteIngestionDestinationCommand = se_DeleteIngestionDestinationCommand;
|
|
237
160
|
const se_GetAppAuthorizationCommand = async (input, context) => {
|
|
238
|
-
const
|
|
161
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
239
162
|
const headers = {};
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "appAuthorizationIdentifier", () => input.appAuthorizationIdentifier, "{appAuthorizationIdentifier}", false);
|
|
163
|
+
b.bp("/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}");
|
|
164
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
165
|
+
b.p("appAuthorizationIdentifier", () => input.appAuthorizationIdentifier, "{appAuthorizationIdentifier}", false);
|
|
244
166
|
let body;
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
hostname,
|
|
248
|
-
port,
|
|
249
|
-
method: "GET",
|
|
250
|
-
headers,
|
|
251
|
-
path: resolvedPath,
|
|
252
|
-
body,
|
|
253
|
-
});
|
|
167
|
+
b.m("GET").h(headers).b(body);
|
|
168
|
+
return b.build();
|
|
254
169
|
};
|
|
255
170
|
exports.se_GetAppAuthorizationCommand = se_GetAppAuthorizationCommand;
|
|
256
171
|
const se_GetAppBundleCommand = async (input, context) => {
|
|
257
|
-
const
|
|
172
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
258
173
|
const headers = {};
|
|
259
|
-
|
|
260
|
-
|
|
174
|
+
b.bp("/appbundles/{appBundleIdentifier}");
|
|
175
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
261
176
|
let body;
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
hostname,
|
|
265
|
-
port,
|
|
266
|
-
method: "GET",
|
|
267
|
-
headers,
|
|
268
|
-
path: resolvedPath,
|
|
269
|
-
body,
|
|
270
|
-
});
|
|
177
|
+
b.m("GET").h(headers).b(body);
|
|
178
|
+
return b.build();
|
|
271
179
|
};
|
|
272
180
|
exports.se_GetAppBundleCommand = se_GetAppBundleCommand;
|
|
273
181
|
const se_GetIngestionCommand = async (input, context) => {
|
|
274
|
-
const
|
|
182
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
275
183
|
const headers = {};
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
184
|
+
b.bp("/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}");
|
|
185
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
186
|
+
b.p("ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
280
187
|
let body;
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
hostname,
|
|
284
|
-
port,
|
|
285
|
-
method: "GET",
|
|
286
|
-
headers,
|
|
287
|
-
path: resolvedPath,
|
|
288
|
-
body,
|
|
289
|
-
});
|
|
188
|
+
b.m("GET").h(headers).b(body);
|
|
189
|
+
return b.build();
|
|
290
190
|
};
|
|
291
191
|
exports.se_GetIngestionCommand = se_GetIngestionCommand;
|
|
292
192
|
const se_GetIngestionDestinationCommand = async (input, context) => {
|
|
293
|
-
const
|
|
193
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
294
194
|
const headers = {};
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ingestionDestinationIdentifier", () => input.ingestionDestinationIdentifier, "{ingestionDestinationIdentifier}", false);
|
|
195
|
+
b.bp("/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}");
|
|
196
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
197
|
+
b.p("ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
198
|
+
b.p("ingestionDestinationIdentifier", () => input.ingestionDestinationIdentifier, "{ingestionDestinationIdentifier}", false);
|
|
300
199
|
let body;
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
hostname,
|
|
304
|
-
port,
|
|
305
|
-
method: "GET",
|
|
306
|
-
headers,
|
|
307
|
-
path: resolvedPath,
|
|
308
|
-
body,
|
|
309
|
-
});
|
|
200
|
+
b.m("GET").h(headers).b(body);
|
|
201
|
+
return b.build();
|
|
310
202
|
};
|
|
311
203
|
exports.se_GetIngestionDestinationCommand = se_GetIngestionDestinationCommand;
|
|
312
204
|
const se_ListAppAuthorizationsCommand = async (input, context) => {
|
|
313
|
-
const
|
|
205
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
314
206
|
const headers = {};
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
207
|
+
b.bp("/appbundles/{appBundleIdentifier}/appauthorizations");
|
|
208
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
318
209
|
const query = (0, smithy_client_1.map)({
|
|
319
|
-
|
|
320
|
-
|
|
210
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
211
|
+
[_nT]: [, input[_nT]],
|
|
321
212
|
});
|
|
322
213
|
let body;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
hostname,
|
|
326
|
-
port,
|
|
327
|
-
method: "GET",
|
|
328
|
-
headers,
|
|
329
|
-
path: resolvedPath,
|
|
330
|
-
query,
|
|
331
|
-
body,
|
|
332
|
-
});
|
|
214
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
215
|
+
return b.build();
|
|
333
216
|
};
|
|
334
217
|
exports.se_ListAppAuthorizationsCommand = se_ListAppAuthorizationsCommand;
|
|
335
218
|
const se_ListAppBundlesCommand = async (input, context) => {
|
|
336
|
-
const
|
|
219
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
337
220
|
const headers = {};
|
|
338
|
-
|
|
221
|
+
b.bp("/appbundles");
|
|
339
222
|
const query = (0, smithy_client_1.map)({
|
|
340
|
-
|
|
341
|
-
|
|
223
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
224
|
+
[_nT]: [, input[_nT]],
|
|
342
225
|
});
|
|
343
226
|
let body;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
hostname,
|
|
347
|
-
port,
|
|
348
|
-
method: "GET",
|
|
349
|
-
headers,
|
|
350
|
-
path: resolvedPath,
|
|
351
|
-
query,
|
|
352
|
-
body,
|
|
353
|
-
});
|
|
227
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
228
|
+
return b.build();
|
|
354
229
|
};
|
|
355
230
|
exports.se_ListAppBundlesCommand = se_ListAppBundlesCommand;
|
|
356
231
|
const se_ListIngestionDestinationsCommand = async (input, context) => {
|
|
357
|
-
const
|
|
232
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
358
233
|
const headers = {};
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
234
|
+
b.bp("/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations");
|
|
235
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
236
|
+
b.p("ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
363
237
|
const query = (0, smithy_client_1.map)({
|
|
364
|
-
|
|
365
|
-
|
|
238
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
239
|
+
[_nT]: [, input[_nT]],
|
|
366
240
|
});
|
|
367
241
|
let body;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
hostname,
|
|
371
|
-
port,
|
|
372
|
-
method: "GET",
|
|
373
|
-
headers,
|
|
374
|
-
path: resolvedPath,
|
|
375
|
-
query,
|
|
376
|
-
body,
|
|
377
|
-
});
|
|
242
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
243
|
+
return b.build();
|
|
378
244
|
};
|
|
379
245
|
exports.se_ListIngestionDestinationsCommand = se_ListIngestionDestinationsCommand;
|
|
380
246
|
const se_ListIngestionsCommand = async (input, context) => {
|
|
381
|
-
const
|
|
247
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
382
248
|
const headers = {};
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
249
|
+
b.bp("/appbundles/{appBundleIdentifier}/ingestions");
|
|
250
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
386
251
|
const query = (0, smithy_client_1.map)({
|
|
387
|
-
|
|
388
|
-
|
|
252
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
253
|
+
[_nT]: [, input[_nT]],
|
|
389
254
|
});
|
|
390
255
|
let body;
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
hostname,
|
|
394
|
-
port,
|
|
395
|
-
method: "GET",
|
|
396
|
-
headers,
|
|
397
|
-
path: resolvedPath,
|
|
398
|
-
query,
|
|
399
|
-
body,
|
|
400
|
-
});
|
|
256
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
257
|
+
return b.build();
|
|
401
258
|
};
|
|
402
259
|
exports.se_ListIngestionsCommand = se_ListIngestionsCommand;
|
|
403
260
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
404
|
-
const
|
|
261
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
405
262
|
const headers = {};
|
|
406
|
-
|
|
407
|
-
|
|
263
|
+
b.bp("/tags/{resourceArn}");
|
|
264
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
408
265
|
let body;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
hostname,
|
|
412
|
-
port,
|
|
413
|
-
method: "GET",
|
|
414
|
-
headers,
|
|
415
|
-
path: resolvedPath,
|
|
416
|
-
body,
|
|
417
|
-
});
|
|
266
|
+
b.m("GET").h(headers).b(body);
|
|
267
|
+
return b.build();
|
|
418
268
|
};
|
|
419
269
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
420
270
|
const se_StartIngestionCommand = async (input, context) => {
|
|
421
|
-
const
|
|
271
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
422
272
|
const headers = {};
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
273
|
+
b.bp("/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/start");
|
|
274
|
+
b.p("ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
275
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
427
276
|
let body;
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
hostname,
|
|
431
|
-
port,
|
|
432
|
-
method: "POST",
|
|
433
|
-
headers,
|
|
434
|
-
path: resolvedPath,
|
|
435
|
-
body,
|
|
436
|
-
});
|
|
277
|
+
b.m("POST").h(headers).b(body);
|
|
278
|
+
return b.build();
|
|
437
279
|
};
|
|
438
280
|
exports.se_StartIngestionCommand = se_StartIngestionCommand;
|
|
439
281
|
const se_StartUserAccessTasksCommand = async (input, context) => {
|
|
440
|
-
const
|
|
282
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
441
283
|
const headers = {
|
|
442
284
|
"content-type": "application/json",
|
|
443
285
|
};
|
|
444
|
-
|
|
286
|
+
b.bp("/useraccess/start");
|
|
445
287
|
let body;
|
|
446
288
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
447
289
|
appBundleIdentifier: [],
|
|
448
290
|
email: [],
|
|
449
291
|
}));
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
hostname,
|
|
453
|
-
port,
|
|
454
|
-
method: "POST",
|
|
455
|
-
headers,
|
|
456
|
-
path: resolvedPath,
|
|
457
|
-
body,
|
|
458
|
-
});
|
|
292
|
+
b.m("POST").h(headers).b(body);
|
|
293
|
+
return b.build();
|
|
459
294
|
};
|
|
460
295
|
exports.se_StartUserAccessTasksCommand = se_StartUserAccessTasksCommand;
|
|
461
296
|
const se_StopIngestionCommand = async (input, context) => {
|
|
462
|
-
const
|
|
297
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
463
298
|
const headers = {};
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
299
|
+
b.bp("/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/stop");
|
|
300
|
+
b.p("ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
301
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
468
302
|
let body;
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
hostname,
|
|
472
|
-
port,
|
|
473
|
-
method: "POST",
|
|
474
|
-
headers,
|
|
475
|
-
path: resolvedPath,
|
|
476
|
-
body,
|
|
477
|
-
});
|
|
303
|
+
b.m("POST").h(headers).b(body);
|
|
304
|
+
return b.build();
|
|
478
305
|
};
|
|
479
306
|
exports.se_StopIngestionCommand = se_StopIngestionCommand;
|
|
480
307
|
const se_TagResourceCommand = async (input, context) => {
|
|
481
|
-
const
|
|
308
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
482
309
|
const headers = {
|
|
483
310
|
"content-type": "application/json",
|
|
484
311
|
};
|
|
485
|
-
|
|
486
|
-
|
|
312
|
+
b.bp("/tags/{resourceArn}");
|
|
313
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
487
314
|
let body;
|
|
488
315
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
489
316
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
490
317
|
}));
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
hostname,
|
|
494
|
-
port,
|
|
495
|
-
method: "POST",
|
|
496
|
-
headers,
|
|
497
|
-
path: resolvedPath,
|
|
498
|
-
body,
|
|
499
|
-
});
|
|
318
|
+
b.m("POST").h(headers).b(body);
|
|
319
|
+
return b.build();
|
|
500
320
|
};
|
|
501
321
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
502
322
|
const se_UntagResourceCommand = async (input, context) => {
|
|
503
|
-
const
|
|
323
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
504
324
|
const headers = {};
|
|
505
|
-
|
|
506
|
-
|
|
325
|
+
b.bp("/tags/{resourceArn}");
|
|
326
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
507
327
|
const query = (0, smithy_client_1.map)({
|
|
508
|
-
|
|
328
|
+
[_tK]: [
|
|
509
329
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
510
|
-
() => (input
|
|
330
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
511
331
|
],
|
|
512
332
|
});
|
|
513
333
|
let body;
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
hostname,
|
|
517
|
-
port,
|
|
518
|
-
method: "DELETE",
|
|
519
|
-
headers,
|
|
520
|
-
path: resolvedPath,
|
|
521
|
-
query,
|
|
522
|
-
body,
|
|
523
|
-
});
|
|
334
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
335
|
+
return b.build();
|
|
524
336
|
};
|
|
525
337
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
526
338
|
const se_UpdateAppAuthorizationCommand = async (input, context) => {
|
|
527
|
-
const
|
|
339
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
528
340
|
const headers = {
|
|
529
341
|
"content-type": "application/json",
|
|
530
342
|
};
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "appAuthorizationIdentifier", () => input.appAuthorizationIdentifier, "{appAuthorizationIdentifier}", false);
|
|
343
|
+
b.bp("/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}");
|
|
344
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
345
|
+
b.p("appAuthorizationIdentifier", () => input.appAuthorizationIdentifier, "{appAuthorizationIdentifier}", false);
|
|
535
346
|
let body;
|
|
536
347
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
537
348
|
credential: (_) => (0, smithy_client_1._json)(_),
|
|
538
349
|
tenant: (_) => (0, smithy_client_1._json)(_),
|
|
539
350
|
}));
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
hostname,
|
|
543
|
-
port,
|
|
544
|
-
method: "PATCH",
|
|
545
|
-
headers,
|
|
546
|
-
path: resolvedPath,
|
|
547
|
-
body,
|
|
548
|
-
});
|
|
351
|
+
b.m("PATCH").h(headers).b(body);
|
|
352
|
+
return b.build();
|
|
549
353
|
};
|
|
550
354
|
exports.se_UpdateAppAuthorizationCommand = se_UpdateAppAuthorizationCommand;
|
|
551
355
|
const se_UpdateIngestionDestinationCommand = async (input, context) => {
|
|
552
|
-
const
|
|
356
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
553
357
|
const headers = {
|
|
554
358
|
"content-type": "application/json",
|
|
555
359
|
};
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ingestionDestinationIdentifier", () => input.ingestionDestinationIdentifier, "{ingestionDestinationIdentifier}", false);
|
|
360
|
+
b.bp("/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}");
|
|
361
|
+
b.p("appBundleIdentifier", () => input.appBundleIdentifier, "{appBundleIdentifier}", false);
|
|
362
|
+
b.p("ingestionIdentifier", () => input.ingestionIdentifier, "{ingestionIdentifier}", false);
|
|
363
|
+
b.p("ingestionDestinationIdentifier", () => input.ingestionDestinationIdentifier, "{ingestionDestinationIdentifier}", false);
|
|
561
364
|
let body;
|
|
562
365
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
563
366
|
destinationConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
564
367
|
}));
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
hostname,
|
|
568
|
-
port,
|
|
569
|
-
method: "PATCH",
|
|
570
|
-
headers,
|
|
571
|
-
path: resolvedPath,
|
|
572
|
-
body,
|
|
573
|
-
});
|
|
368
|
+
b.m("PATCH").h(headers).b(body);
|
|
369
|
+
return b.build();
|
|
574
370
|
};
|
|
575
371
|
exports.se_UpdateIngestionDestinationCommand = se_UpdateIngestionDestinationCommand;
|
|
576
372
|
const de_BatchGetUserAccessTasksCommand = async (output, context) => {
|
|
@@ -1796,10 +1592,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
1796
1592
|
};
|
|
1797
1593
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1798
1594
|
const contents = (0, smithy_client_1.map)({
|
|
1799
|
-
|
|
1800
|
-
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
1801
|
-
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
1802
|
-
],
|
|
1595
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers[_ra])],
|
|
1803
1596
|
});
|
|
1804
1597
|
const data = parsedOutput.body;
|
|
1805
1598
|
const doc = (0, smithy_client_1.take)(data, {
|
|
@@ -1846,10 +1639,7 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1846
1639
|
};
|
|
1847
1640
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1848
1641
|
const contents = (0, smithy_client_1.map)({
|
|
1849
|
-
|
|
1850
|
-
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
1851
|
-
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
1852
|
-
],
|
|
1642
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers[_ra])],
|
|
1853
1643
|
});
|
|
1854
1644
|
const data = parsedOutput.body;
|
|
1855
1645
|
const doc = (0, smithy_client_1.take)(data, {
|
|
@@ -1947,6 +1737,11 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1947
1737
|
value !== "" &&
|
|
1948
1738
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1949
1739
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1740
|
+
const _mR = "maxResults";
|
|
1741
|
+
const _nT = "nextToken";
|
|
1742
|
+
const _rAS = "retryAfterSeconds";
|
|
1743
|
+
const _ra = "retry-after";
|
|
1744
|
+
const _tK = "tagKeys";
|
|
1950
1745
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1951
1746
|
if (encoded.length) {
|
|
1952
1747
|
return JSON.parse(encoded);
|