@aws-sdk/client-clouddirectory 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 +335 -850
- package/dist-es/protocols/Aws_restJson1.js +335 -850
- package/package.json +5 -4
|
@@ -4,139 +4,98 @@ exports.se_ListPublishedSchemaArnsCommand = exports.se_ListPolicyAttachmentsComm
|
|
|
4
4
|
exports.de_ListAppliedSchemaArnsCommand = exports.de_GetTypedLinkFacetInformationCommand = exports.de_GetSchemaAsJsonCommand = exports.de_GetObjectInformationCommand = exports.de_GetObjectAttributesCommand = exports.de_GetLinkAttributesCommand = exports.de_GetFacetCommand = exports.de_GetDirectoryCommand = exports.de_GetAppliedSchemaVersionCommand = exports.de_EnableDirectoryCommand = exports.de_DisableDirectoryCommand = exports.de_DetachTypedLinkCommand = exports.de_DetachPolicyCommand = exports.de_DetachObjectCommand = exports.de_DetachFromIndexCommand = exports.de_DeleteTypedLinkFacetCommand = exports.de_DeleteSchemaCommand = exports.de_DeleteObjectCommand = exports.de_DeleteFacetCommand = exports.de_DeleteDirectoryCommand = exports.de_CreateTypedLinkFacetCommand = exports.de_CreateSchemaCommand = exports.de_CreateObjectCommand = exports.de_CreateIndexCommand = exports.de_CreateFacetCommand = exports.de_CreateDirectoryCommand = exports.de_BatchWriteCommand = exports.de_BatchReadCommand = exports.de_AttachTypedLinkCommand = exports.de_AttachToIndexCommand = exports.de_AttachPolicyCommand = exports.de_AttachObjectCommand = exports.de_ApplySchemaCommand = exports.de_AddFacetToObjectCommand = exports.se_UpgradePublishedSchemaCommand = exports.se_UpgradeAppliedSchemaCommand = exports.se_UpdateTypedLinkFacetCommand = exports.se_UpdateSchemaCommand = exports.se_UpdateObjectAttributesCommand = exports.se_UpdateLinkAttributesCommand = exports.se_UpdateFacetCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RemoveFacetFromObjectCommand = exports.se_PutSchemaFromJsonCommand = exports.se_PublishSchemaCommand = exports.se_LookupPolicyCommand = exports.se_ListTypedLinkFacetNamesCommand = exports.se_ListTypedLinkFacetAttributesCommand = exports.se_ListTagsForResourceCommand = void 0;
|
|
5
5
|
exports.de_UpgradePublishedSchemaCommand = exports.de_UpgradeAppliedSchemaCommand = exports.de_UpdateTypedLinkFacetCommand = exports.de_UpdateSchemaCommand = exports.de_UpdateObjectAttributesCommand = exports.de_UpdateLinkAttributesCommand = exports.de_UpdateFacetCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RemoveFacetFromObjectCommand = exports.de_PutSchemaFromJsonCommand = exports.de_PublishSchemaCommand = exports.de_LookupPolicyCommand = exports.de_ListTypedLinkFacetNamesCommand = exports.de_ListTypedLinkFacetAttributesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListPublishedSchemaArnsCommand = exports.de_ListPolicyAttachmentsCommand = exports.de_ListOutgoingTypedLinksCommand = exports.de_ListObjectPoliciesCommand = exports.de_ListObjectParentsCommand = exports.de_ListObjectParentPathsCommand = exports.de_ListObjectChildrenCommand = exports.de_ListObjectAttributesCommand = exports.de_ListManagedSchemaArnsCommand = exports.de_ListIndexCommand = exports.de_ListIncomingTypedLinksCommand = exports.de_ListFacetNamesCommand = exports.de_ListFacetAttributesCommand = exports.de_ListDirectoriesCommand = exports.de_ListDevelopmentSchemaArnsCommand = exports.de_ListAttachedIndicesCommand = void 0;
|
|
6
6
|
const core_1 = require("@aws-sdk/core");
|
|
7
|
-
const
|
|
7
|
+
const core_2 = require("@smithy/core");
|
|
8
8
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
9
|
const CloudDirectoryServiceException_1 = require("../models/CloudDirectoryServiceException");
|
|
10
10
|
const models_0_1 = require("../models/models_0");
|
|
11
11
|
const se_AddFacetToObjectCommand = async (input, context) => {
|
|
12
|
-
const
|
|
12
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
13
13
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
14
14
|
"content-type": "application/json",
|
|
15
|
-
|
|
15
|
+
[_xadp]: input[_DA],
|
|
16
16
|
});
|
|
17
|
-
|
|
18
|
-
"/amazonclouddirectory/2017-01-11/object/facets";
|
|
17
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/facets");
|
|
19
18
|
let body;
|
|
20
19
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
21
20
|
ObjectAttributeList: (_) => se_AttributeKeyAndValueList(_, context),
|
|
22
21
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
23
22
|
SchemaFacet: (_) => (0, smithy_client_1._json)(_),
|
|
24
23
|
}));
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
hostname,
|
|
28
|
-
port,
|
|
29
|
-
method: "PUT",
|
|
30
|
-
headers,
|
|
31
|
-
path: resolvedPath,
|
|
32
|
-
body,
|
|
33
|
-
});
|
|
24
|
+
b.m("PUT").h(headers).b(body);
|
|
25
|
+
return b.build();
|
|
34
26
|
};
|
|
35
27
|
exports.se_AddFacetToObjectCommand = se_AddFacetToObjectCommand;
|
|
36
28
|
const se_ApplySchemaCommand = async (input, context) => {
|
|
37
|
-
const
|
|
29
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
38
30
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
39
31
|
"content-type": "application/json",
|
|
40
|
-
|
|
32
|
+
[_xadp]: input[_DA],
|
|
41
33
|
});
|
|
42
|
-
|
|
43
|
-
"/amazonclouddirectory/2017-01-11/schema/apply";
|
|
34
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/apply");
|
|
44
35
|
let body;
|
|
45
36
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
46
37
|
PublishedSchemaArn: [],
|
|
47
38
|
}));
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
hostname,
|
|
51
|
-
port,
|
|
52
|
-
method: "PUT",
|
|
53
|
-
headers,
|
|
54
|
-
path: resolvedPath,
|
|
55
|
-
body,
|
|
56
|
-
});
|
|
39
|
+
b.m("PUT").h(headers).b(body);
|
|
40
|
+
return b.build();
|
|
57
41
|
};
|
|
58
42
|
exports.se_ApplySchemaCommand = se_ApplySchemaCommand;
|
|
59
43
|
const se_AttachObjectCommand = async (input, context) => {
|
|
60
|
-
const
|
|
44
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
61
45
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
62
46
|
"content-type": "application/json",
|
|
63
|
-
|
|
47
|
+
[_xadp]: input[_DA],
|
|
64
48
|
});
|
|
65
|
-
|
|
66
|
-
"/amazonclouddirectory/2017-01-11/object/attach";
|
|
49
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/attach");
|
|
67
50
|
let body;
|
|
68
51
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
69
52
|
ChildReference: (_) => (0, smithy_client_1._json)(_),
|
|
70
53
|
LinkName: [],
|
|
71
54
|
ParentReference: (_) => (0, smithy_client_1._json)(_),
|
|
72
55
|
}));
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
hostname,
|
|
76
|
-
port,
|
|
77
|
-
method: "PUT",
|
|
78
|
-
headers,
|
|
79
|
-
path: resolvedPath,
|
|
80
|
-
body,
|
|
81
|
-
});
|
|
56
|
+
b.m("PUT").h(headers).b(body);
|
|
57
|
+
return b.build();
|
|
82
58
|
};
|
|
83
59
|
exports.se_AttachObjectCommand = se_AttachObjectCommand;
|
|
84
60
|
const se_AttachPolicyCommand = async (input, context) => {
|
|
85
|
-
const
|
|
61
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
86
62
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
87
63
|
"content-type": "application/json",
|
|
88
|
-
|
|
64
|
+
[_xadp]: input[_DA],
|
|
89
65
|
});
|
|
90
|
-
|
|
91
|
-
"/amazonclouddirectory/2017-01-11/policy/attach";
|
|
66
|
+
b.bp("/amazonclouddirectory/2017-01-11/policy/attach");
|
|
92
67
|
let body;
|
|
93
68
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
94
69
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
95
70
|
PolicyReference: (_) => (0, smithy_client_1._json)(_),
|
|
96
71
|
}));
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
hostname,
|
|
100
|
-
port,
|
|
101
|
-
method: "PUT",
|
|
102
|
-
headers,
|
|
103
|
-
path: resolvedPath,
|
|
104
|
-
body,
|
|
105
|
-
});
|
|
72
|
+
b.m("PUT").h(headers).b(body);
|
|
73
|
+
return b.build();
|
|
106
74
|
};
|
|
107
75
|
exports.se_AttachPolicyCommand = se_AttachPolicyCommand;
|
|
108
76
|
const se_AttachToIndexCommand = async (input, context) => {
|
|
109
|
-
const
|
|
77
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
110
78
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
111
79
|
"content-type": "application/json",
|
|
112
|
-
|
|
80
|
+
[_xadp]: input[_DA],
|
|
113
81
|
});
|
|
114
|
-
|
|
115
|
-
"/amazonclouddirectory/2017-01-11/index/attach";
|
|
82
|
+
b.bp("/amazonclouddirectory/2017-01-11/index/attach");
|
|
116
83
|
let body;
|
|
117
84
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
118
85
|
IndexReference: (_) => (0, smithy_client_1._json)(_),
|
|
119
86
|
TargetReference: (_) => (0, smithy_client_1._json)(_),
|
|
120
87
|
}));
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
hostname,
|
|
124
|
-
port,
|
|
125
|
-
method: "PUT",
|
|
126
|
-
headers,
|
|
127
|
-
path: resolvedPath,
|
|
128
|
-
body,
|
|
129
|
-
});
|
|
88
|
+
b.m("PUT").h(headers).b(body);
|
|
89
|
+
return b.build();
|
|
130
90
|
};
|
|
131
91
|
exports.se_AttachToIndexCommand = se_AttachToIndexCommand;
|
|
132
92
|
const se_AttachTypedLinkCommand = async (input, context) => {
|
|
133
|
-
const
|
|
93
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
134
94
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
135
95
|
"content-type": "application/json",
|
|
136
|
-
|
|
96
|
+
[_xadp]: input[_DA],
|
|
137
97
|
});
|
|
138
|
-
|
|
139
|
-
"/amazonclouddirectory/2017-01-11/typedlink/attach";
|
|
98
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/attach");
|
|
140
99
|
let body;
|
|
141
100
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
142
101
|
Attributes: (_) => se_AttributeNameAndValueList(_, context),
|
|
@@ -144,95 +103,63 @@ const se_AttachTypedLinkCommand = async (input, context) => {
|
|
|
144
103
|
TargetObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
145
104
|
TypedLinkFacet: (_) => (0, smithy_client_1._json)(_),
|
|
146
105
|
}));
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
hostname,
|
|
150
|
-
port,
|
|
151
|
-
method: "PUT",
|
|
152
|
-
headers,
|
|
153
|
-
path: resolvedPath,
|
|
154
|
-
body,
|
|
155
|
-
});
|
|
106
|
+
b.m("PUT").h(headers).b(body);
|
|
107
|
+
return b.build();
|
|
156
108
|
};
|
|
157
109
|
exports.se_AttachTypedLinkCommand = se_AttachTypedLinkCommand;
|
|
158
110
|
const se_BatchReadCommand = async (input, context) => {
|
|
159
|
-
const
|
|
111
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
160
112
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
161
113
|
"content-type": "application/json",
|
|
162
|
-
|
|
163
|
-
|
|
114
|
+
[_xadp]: input[_DA],
|
|
115
|
+
[_xacl]: input[_CL],
|
|
164
116
|
});
|
|
165
|
-
|
|
166
|
-
"/amazonclouddirectory/2017-01-11/batchread";
|
|
117
|
+
b.bp("/amazonclouddirectory/2017-01-11/batchread");
|
|
167
118
|
let body;
|
|
168
119
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
169
120
|
Operations: (_) => se_BatchReadOperationList(_, context),
|
|
170
121
|
}));
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
hostname,
|
|
174
|
-
port,
|
|
175
|
-
method: "POST",
|
|
176
|
-
headers,
|
|
177
|
-
path: resolvedPath,
|
|
178
|
-
body,
|
|
179
|
-
});
|
|
122
|
+
b.m("POST").h(headers).b(body);
|
|
123
|
+
return b.build();
|
|
180
124
|
};
|
|
181
125
|
exports.se_BatchReadCommand = se_BatchReadCommand;
|
|
182
126
|
const se_BatchWriteCommand = async (input, context) => {
|
|
183
|
-
const
|
|
127
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
184
128
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
185
129
|
"content-type": "application/json",
|
|
186
|
-
|
|
130
|
+
[_xadp]: input[_DA],
|
|
187
131
|
});
|
|
188
|
-
|
|
189
|
-
"/amazonclouddirectory/2017-01-11/batchwrite";
|
|
132
|
+
b.bp("/amazonclouddirectory/2017-01-11/batchwrite");
|
|
190
133
|
let body;
|
|
191
134
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
192
135
|
Operations: (_) => se_BatchWriteOperationList(_, context),
|
|
193
136
|
}));
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
hostname,
|
|
197
|
-
port,
|
|
198
|
-
method: "PUT",
|
|
199
|
-
headers,
|
|
200
|
-
path: resolvedPath,
|
|
201
|
-
body,
|
|
202
|
-
});
|
|
137
|
+
b.m("PUT").h(headers).b(body);
|
|
138
|
+
return b.build();
|
|
203
139
|
};
|
|
204
140
|
exports.se_BatchWriteCommand = se_BatchWriteCommand;
|
|
205
141
|
const se_CreateDirectoryCommand = async (input, context) => {
|
|
206
|
-
const
|
|
142
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
207
143
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
208
144
|
"content-type": "application/json",
|
|
209
|
-
|
|
145
|
+
[_xadp]: input[_SA],
|
|
210
146
|
});
|
|
211
|
-
|
|
212
|
-
"/amazonclouddirectory/2017-01-11/directory/create";
|
|
147
|
+
b.bp("/amazonclouddirectory/2017-01-11/directory/create");
|
|
213
148
|
let body;
|
|
214
149
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
215
150
|
Name: [],
|
|
216
151
|
}));
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
hostname,
|
|
220
|
-
port,
|
|
221
|
-
method: "PUT",
|
|
222
|
-
headers,
|
|
223
|
-
path: resolvedPath,
|
|
224
|
-
body,
|
|
225
|
-
});
|
|
152
|
+
b.m("PUT").h(headers).b(body);
|
|
153
|
+
return b.build();
|
|
226
154
|
};
|
|
227
155
|
exports.se_CreateDirectoryCommand = se_CreateDirectoryCommand;
|
|
228
156
|
const se_CreateFacetCommand = async (input, context) => {
|
|
229
|
-
const
|
|
157
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
230
158
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
231
159
|
"content-type": "application/json",
|
|
232
|
-
|
|
160
|
+
[_xadp]: input[_SA],
|
|
233
161
|
});
|
|
234
|
-
|
|
235
|
-
"/amazonclouddirectory/2017-01-11/facet/create";
|
|
162
|
+
b.bp("/amazonclouddirectory/2017-01-11/facet/create");
|
|
236
163
|
let body;
|
|
237
164
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
238
165
|
Attributes: (_) => se_FacetAttributeList(_, context),
|
|
@@ -240,24 +167,17 @@ const se_CreateFacetCommand = async (input, context) => {
|
|
|
240
167
|
Name: [],
|
|
241
168
|
ObjectType: [],
|
|
242
169
|
}));
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
hostname,
|
|
246
|
-
port,
|
|
247
|
-
method: "PUT",
|
|
248
|
-
headers,
|
|
249
|
-
path: resolvedPath,
|
|
250
|
-
body,
|
|
251
|
-
});
|
|
170
|
+
b.m("PUT").h(headers).b(body);
|
|
171
|
+
return b.build();
|
|
252
172
|
};
|
|
253
173
|
exports.se_CreateFacetCommand = se_CreateFacetCommand;
|
|
254
174
|
const se_CreateIndexCommand = async (input, context) => {
|
|
255
|
-
const
|
|
175
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
256
176
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
257
177
|
"content-type": "application/json",
|
|
258
|
-
|
|
178
|
+
[_xadp]: input[_DA],
|
|
259
179
|
});
|
|
260
|
-
|
|
180
|
+
b.bp("/amazonclouddirectory/2017-01-11/index");
|
|
261
181
|
let body;
|
|
262
182
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
263
183
|
IsUnique: [],
|
|
@@ -265,24 +185,17 @@ const se_CreateIndexCommand = async (input, context) => {
|
|
|
265
185
|
OrderedIndexedAttributeList: (_) => (0, smithy_client_1._json)(_),
|
|
266
186
|
ParentReference: (_) => (0, smithy_client_1._json)(_),
|
|
267
187
|
}));
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
hostname,
|
|
271
|
-
port,
|
|
272
|
-
method: "PUT",
|
|
273
|
-
headers,
|
|
274
|
-
path: resolvedPath,
|
|
275
|
-
body,
|
|
276
|
-
});
|
|
188
|
+
b.m("PUT").h(headers).b(body);
|
|
189
|
+
return b.build();
|
|
277
190
|
};
|
|
278
191
|
exports.se_CreateIndexCommand = se_CreateIndexCommand;
|
|
279
192
|
const se_CreateObjectCommand = async (input, context) => {
|
|
280
|
-
const
|
|
193
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
281
194
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
282
195
|
"content-type": "application/json",
|
|
283
|
-
|
|
196
|
+
[_xadp]: input[_DA],
|
|
284
197
|
});
|
|
285
|
-
|
|
198
|
+
b.bp("/amazonclouddirectory/2017-01-11/object");
|
|
286
199
|
let body;
|
|
287
200
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
288
201
|
LinkName: [],
|
|
@@ -290,488 +203,314 @@ const se_CreateObjectCommand = async (input, context) => {
|
|
|
290
203
|
ParentReference: (_) => (0, smithy_client_1._json)(_),
|
|
291
204
|
SchemaFacets: (_) => (0, smithy_client_1._json)(_),
|
|
292
205
|
}));
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
hostname,
|
|
296
|
-
port,
|
|
297
|
-
method: "PUT",
|
|
298
|
-
headers,
|
|
299
|
-
path: resolvedPath,
|
|
300
|
-
body,
|
|
301
|
-
});
|
|
206
|
+
b.m("PUT").h(headers).b(body);
|
|
207
|
+
return b.build();
|
|
302
208
|
};
|
|
303
209
|
exports.se_CreateObjectCommand = se_CreateObjectCommand;
|
|
304
210
|
const se_CreateSchemaCommand = async (input, context) => {
|
|
305
|
-
const
|
|
211
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
306
212
|
const headers = {
|
|
307
213
|
"content-type": "application/json",
|
|
308
214
|
};
|
|
309
|
-
|
|
310
|
-
"/amazonclouddirectory/2017-01-11/schema/create";
|
|
215
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/create");
|
|
311
216
|
let body;
|
|
312
217
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
313
218
|
Name: [],
|
|
314
219
|
}));
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
hostname,
|
|
318
|
-
port,
|
|
319
|
-
method: "PUT",
|
|
320
|
-
headers,
|
|
321
|
-
path: resolvedPath,
|
|
322
|
-
body,
|
|
323
|
-
});
|
|
220
|
+
b.m("PUT").h(headers).b(body);
|
|
221
|
+
return b.build();
|
|
324
222
|
};
|
|
325
223
|
exports.se_CreateSchemaCommand = se_CreateSchemaCommand;
|
|
326
224
|
const se_CreateTypedLinkFacetCommand = async (input, context) => {
|
|
327
|
-
const
|
|
225
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
328
226
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
329
227
|
"content-type": "application/json",
|
|
330
|
-
|
|
228
|
+
[_xadp]: input[_SA],
|
|
331
229
|
});
|
|
332
|
-
|
|
333
|
-
"/amazonclouddirectory/2017-01-11/typedlink/facet/create";
|
|
230
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet/create");
|
|
334
231
|
let body;
|
|
335
232
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
336
233
|
Facet: (_) => se_TypedLinkFacet(_, context),
|
|
337
234
|
}));
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
hostname,
|
|
341
|
-
port,
|
|
342
|
-
method: "PUT",
|
|
343
|
-
headers,
|
|
344
|
-
path: resolvedPath,
|
|
345
|
-
body,
|
|
346
|
-
});
|
|
235
|
+
b.m("PUT").h(headers).b(body);
|
|
236
|
+
return b.build();
|
|
347
237
|
};
|
|
348
238
|
exports.se_CreateTypedLinkFacetCommand = se_CreateTypedLinkFacetCommand;
|
|
349
239
|
const se_DeleteDirectoryCommand = async (input, context) => {
|
|
350
|
-
const
|
|
240
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
351
241
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
352
|
-
|
|
242
|
+
[_xadp]: input[_DA],
|
|
353
243
|
});
|
|
354
|
-
|
|
355
|
-
"/amazonclouddirectory/2017-01-11/directory";
|
|
244
|
+
b.bp("/amazonclouddirectory/2017-01-11/directory");
|
|
356
245
|
let body;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
hostname,
|
|
360
|
-
port,
|
|
361
|
-
method: "PUT",
|
|
362
|
-
headers,
|
|
363
|
-
path: resolvedPath,
|
|
364
|
-
body,
|
|
365
|
-
});
|
|
246
|
+
b.m("PUT").h(headers).b(body);
|
|
247
|
+
return b.build();
|
|
366
248
|
};
|
|
367
249
|
exports.se_DeleteDirectoryCommand = se_DeleteDirectoryCommand;
|
|
368
250
|
const se_DeleteFacetCommand = async (input, context) => {
|
|
369
|
-
const
|
|
251
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
370
252
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
371
253
|
"content-type": "application/json",
|
|
372
|
-
|
|
254
|
+
[_xadp]: input[_SA],
|
|
373
255
|
});
|
|
374
|
-
|
|
375
|
-
"/amazonclouddirectory/2017-01-11/facet/delete";
|
|
256
|
+
b.bp("/amazonclouddirectory/2017-01-11/facet/delete");
|
|
376
257
|
let body;
|
|
377
258
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
378
259
|
Name: [],
|
|
379
260
|
}));
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
hostname,
|
|
383
|
-
port,
|
|
384
|
-
method: "PUT",
|
|
385
|
-
headers,
|
|
386
|
-
path: resolvedPath,
|
|
387
|
-
body,
|
|
388
|
-
});
|
|
261
|
+
b.m("PUT").h(headers).b(body);
|
|
262
|
+
return b.build();
|
|
389
263
|
};
|
|
390
264
|
exports.se_DeleteFacetCommand = se_DeleteFacetCommand;
|
|
391
265
|
const se_DeleteObjectCommand = async (input, context) => {
|
|
392
|
-
const
|
|
266
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
393
267
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
394
268
|
"content-type": "application/json",
|
|
395
|
-
|
|
269
|
+
[_xadp]: input[_DA],
|
|
396
270
|
});
|
|
397
|
-
|
|
398
|
-
"/amazonclouddirectory/2017-01-11/object/delete";
|
|
271
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/delete");
|
|
399
272
|
let body;
|
|
400
273
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
401
274
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
402
275
|
}));
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
hostname,
|
|
406
|
-
port,
|
|
407
|
-
method: "PUT",
|
|
408
|
-
headers,
|
|
409
|
-
path: resolvedPath,
|
|
410
|
-
body,
|
|
411
|
-
});
|
|
276
|
+
b.m("PUT").h(headers).b(body);
|
|
277
|
+
return b.build();
|
|
412
278
|
};
|
|
413
279
|
exports.se_DeleteObjectCommand = se_DeleteObjectCommand;
|
|
414
280
|
const se_DeleteSchemaCommand = async (input, context) => {
|
|
415
|
-
const
|
|
281
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
416
282
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
417
|
-
|
|
283
|
+
[_xadp]: input[_SA],
|
|
418
284
|
});
|
|
419
|
-
|
|
285
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema");
|
|
420
286
|
let body;
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
hostname,
|
|
424
|
-
port,
|
|
425
|
-
method: "PUT",
|
|
426
|
-
headers,
|
|
427
|
-
path: resolvedPath,
|
|
428
|
-
body,
|
|
429
|
-
});
|
|
287
|
+
b.m("PUT").h(headers).b(body);
|
|
288
|
+
return b.build();
|
|
430
289
|
};
|
|
431
290
|
exports.se_DeleteSchemaCommand = se_DeleteSchemaCommand;
|
|
432
291
|
const se_DeleteTypedLinkFacetCommand = async (input, context) => {
|
|
433
|
-
const
|
|
292
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
434
293
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
435
294
|
"content-type": "application/json",
|
|
436
|
-
|
|
295
|
+
[_xadp]: input[_SA],
|
|
437
296
|
});
|
|
438
|
-
|
|
439
|
-
"/amazonclouddirectory/2017-01-11/typedlink/facet/delete";
|
|
297
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet/delete");
|
|
440
298
|
let body;
|
|
441
299
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
442
300
|
Name: [],
|
|
443
301
|
}));
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
hostname,
|
|
447
|
-
port,
|
|
448
|
-
method: "PUT",
|
|
449
|
-
headers,
|
|
450
|
-
path: resolvedPath,
|
|
451
|
-
body,
|
|
452
|
-
});
|
|
302
|
+
b.m("PUT").h(headers).b(body);
|
|
303
|
+
return b.build();
|
|
453
304
|
};
|
|
454
305
|
exports.se_DeleteTypedLinkFacetCommand = se_DeleteTypedLinkFacetCommand;
|
|
455
306
|
const se_DetachFromIndexCommand = async (input, context) => {
|
|
456
|
-
const
|
|
307
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
457
308
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
458
309
|
"content-type": "application/json",
|
|
459
|
-
|
|
310
|
+
[_xadp]: input[_DA],
|
|
460
311
|
});
|
|
461
|
-
|
|
462
|
-
"/amazonclouddirectory/2017-01-11/index/detach";
|
|
312
|
+
b.bp("/amazonclouddirectory/2017-01-11/index/detach");
|
|
463
313
|
let body;
|
|
464
314
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
465
315
|
IndexReference: (_) => (0, smithy_client_1._json)(_),
|
|
466
316
|
TargetReference: (_) => (0, smithy_client_1._json)(_),
|
|
467
317
|
}));
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
hostname,
|
|
471
|
-
port,
|
|
472
|
-
method: "PUT",
|
|
473
|
-
headers,
|
|
474
|
-
path: resolvedPath,
|
|
475
|
-
body,
|
|
476
|
-
});
|
|
318
|
+
b.m("PUT").h(headers).b(body);
|
|
319
|
+
return b.build();
|
|
477
320
|
};
|
|
478
321
|
exports.se_DetachFromIndexCommand = se_DetachFromIndexCommand;
|
|
479
322
|
const se_DetachObjectCommand = async (input, context) => {
|
|
480
|
-
const
|
|
323
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
481
324
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
482
325
|
"content-type": "application/json",
|
|
483
|
-
|
|
326
|
+
[_xadp]: input[_DA],
|
|
484
327
|
});
|
|
485
|
-
|
|
486
|
-
"/amazonclouddirectory/2017-01-11/object/detach";
|
|
328
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/detach");
|
|
487
329
|
let body;
|
|
488
330
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
489
331
|
LinkName: [],
|
|
490
332
|
ParentReference: (_) => (0, smithy_client_1._json)(_),
|
|
491
333
|
}));
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
hostname,
|
|
495
|
-
port,
|
|
496
|
-
method: "PUT",
|
|
497
|
-
headers,
|
|
498
|
-
path: resolvedPath,
|
|
499
|
-
body,
|
|
500
|
-
});
|
|
334
|
+
b.m("PUT").h(headers).b(body);
|
|
335
|
+
return b.build();
|
|
501
336
|
};
|
|
502
337
|
exports.se_DetachObjectCommand = se_DetachObjectCommand;
|
|
503
338
|
const se_DetachPolicyCommand = async (input, context) => {
|
|
504
|
-
const
|
|
339
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
505
340
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
506
341
|
"content-type": "application/json",
|
|
507
|
-
|
|
342
|
+
[_xadp]: input[_DA],
|
|
508
343
|
});
|
|
509
|
-
|
|
510
|
-
"/amazonclouddirectory/2017-01-11/policy/detach";
|
|
344
|
+
b.bp("/amazonclouddirectory/2017-01-11/policy/detach");
|
|
511
345
|
let body;
|
|
512
346
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
513
347
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
514
348
|
PolicyReference: (_) => (0, smithy_client_1._json)(_),
|
|
515
349
|
}));
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
hostname,
|
|
519
|
-
port,
|
|
520
|
-
method: "PUT",
|
|
521
|
-
headers,
|
|
522
|
-
path: resolvedPath,
|
|
523
|
-
body,
|
|
524
|
-
});
|
|
350
|
+
b.m("PUT").h(headers).b(body);
|
|
351
|
+
return b.build();
|
|
525
352
|
};
|
|
526
353
|
exports.se_DetachPolicyCommand = se_DetachPolicyCommand;
|
|
527
354
|
const se_DetachTypedLinkCommand = async (input, context) => {
|
|
528
|
-
const
|
|
355
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
529
356
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
530
357
|
"content-type": "application/json",
|
|
531
|
-
|
|
358
|
+
[_xadp]: input[_DA],
|
|
532
359
|
});
|
|
533
|
-
|
|
534
|
-
"/amazonclouddirectory/2017-01-11/typedlink/detach";
|
|
360
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/detach");
|
|
535
361
|
let body;
|
|
536
362
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
537
363
|
TypedLinkSpecifier: (_) => se_TypedLinkSpecifier(_, context),
|
|
538
364
|
}));
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
hostname,
|
|
542
|
-
port,
|
|
543
|
-
method: "PUT",
|
|
544
|
-
headers,
|
|
545
|
-
path: resolvedPath,
|
|
546
|
-
body,
|
|
547
|
-
});
|
|
365
|
+
b.m("PUT").h(headers).b(body);
|
|
366
|
+
return b.build();
|
|
548
367
|
};
|
|
549
368
|
exports.se_DetachTypedLinkCommand = se_DetachTypedLinkCommand;
|
|
550
369
|
const se_DisableDirectoryCommand = async (input, context) => {
|
|
551
|
-
const
|
|
370
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
552
371
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
553
|
-
|
|
372
|
+
[_xadp]: input[_DA],
|
|
554
373
|
});
|
|
555
|
-
|
|
556
|
-
"/amazonclouddirectory/2017-01-11/directory/disable";
|
|
374
|
+
b.bp("/amazonclouddirectory/2017-01-11/directory/disable");
|
|
557
375
|
let body;
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
hostname,
|
|
561
|
-
port,
|
|
562
|
-
method: "PUT",
|
|
563
|
-
headers,
|
|
564
|
-
path: resolvedPath,
|
|
565
|
-
body,
|
|
566
|
-
});
|
|
376
|
+
b.m("PUT").h(headers).b(body);
|
|
377
|
+
return b.build();
|
|
567
378
|
};
|
|
568
379
|
exports.se_DisableDirectoryCommand = se_DisableDirectoryCommand;
|
|
569
380
|
const se_EnableDirectoryCommand = async (input, context) => {
|
|
570
|
-
const
|
|
381
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
571
382
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
572
|
-
|
|
383
|
+
[_xadp]: input[_DA],
|
|
573
384
|
});
|
|
574
|
-
|
|
575
|
-
"/amazonclouddirectory/2017-01-11/directory/enable";
|
|
385
|
+
b.bp("/amazonclouddirectory/2017-01-11/directory/enable");
|
|
576
386
|
let body;
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
hostname,
|
|
580
|
-
port,
|
|
581
|
-
method: "PUT",
|
|
582
|
-
headers,
|
|
583
|
-
path: resolvedPath,
|
|
584
|
-
body,
|
|
585
|
-
});
|
|
387
|
+
b.m("PUT").h(headers).b(body);
|
|
388
|
+
return b.build();
|
|
586
389
|
};
|
|
587
390
|
exports.se_EnableDirectoryCommand = se_EnableDirectoryCommand;
|
|
588
391
|
const se_GetAppliedSchemaVersionCommand = async (input, context) => {
|
|
589
|
-
const
|
|
392
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
590
393
|
const headers = {
|
|
591
394
|
"content-type": "application/json",
|
|
592
395
|
};
|
|
593
|
-
|
|
594
|
-
"/amazonclouddirectory/2017-01-11/schema/getappliedschema";
|
|
396
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/getappliedschema");
|
|
595
397
|
let body;
|
|
596
398
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
597
399
|
SchemaArn: [],
|
|
598
400
|
}));
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
hostname,
|
|
602
|
-
port,
|
|
603
|
-
method: "POST",
|
|
604
|
-
headers,
|
|
605
|
-
path: resolvedPath,
|
|
606
|
-
body,
|
|
607
|
-
});
|
|
401
|
+
b.m("POST").h(headers).b(body);
|
|
402
|
+
return b.build();
|
|
608
403
|
};
|
|
609
404
|
exports.se_GetAppliedSchemaVersionCommand = se_GetAppliedSchemaVersionCommand;
|
|
610
405
|
const se_GetDirectoryCommand = async (input, context) => {
|
|
611
|
-
const
|
|
406
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
612
407
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
613
|
-
|
|
408
|
+
[_xadp]: input[_DA],
|
|
614
409
|
});
|
|
615
|
-
|
|
616
|
-
"/amazonclouddirectory/2017-01-11/directory/get";
|
|
410
|
+
b.bp("/amazonclouddirectory/2017-01-11/directory/get");
|
|
617
411
|
let body;
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
hostname,
|
|
621
|
-
port,
|
|
622
|
-
method: "POST",
|
|
623
|
-
headers,
|
|
624
|
-
path: resolvedPath,
|
|
625
|
-
body,
|
|
626
|
-
});
|
|
412
|
+
b.m("POST").h(headers).b(body);
|
|
413
|
+
return b.build();
|
|
627
414
|
};
|
|
628
415
|
exports.se_GetDirectoryCommand = se_GetDirectoryCommand;
|
|
629
416
|
const se_GetFacetCommand = async (input, context) => {
|
|
630
|
-
const
|
|
417
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
631
418
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
632
419
|
"content-type": "application/json",
|
|
633
|
-
|
|
420
|
+
[_xadp]: input[_SA],
|
|
634
421
|
});
|
|
635
|
-
|
|
422
|
+
b.bp("/amazonclouddirectory/2017-01-11/facet");
|
|
636
423
|
let body;
|
|
637
424
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
638
425
|
Name: [],
|
|
639
426
|
}));
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
hostname,
|
|
643
|
-
port,
|
|
644
|
-
method: "POST",
|
|
645
|
-
headers,
|
|
646
|
-
path: resolvedPath,
|
|
647
|
-
body,
|
|
648
|
-
});
|
|
427
|
+
b.m("POST").h(headers).b(body);
|
|
428
|
+
return b.build();
|
|
649
429
|
};
|
|
650
430
|
exports.se_GetFacetCommand = se_GetFacetCommand;
|
|
651
431
|
const se_GetLinkAttributesCommand = async (input, context) => {
|
|
652
|
-
const
|
|
432
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
653
433
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
654
434
|
"content-type": "application/json",
|
|
655
|
-
|
|
435
|
+
[_xadp]: input[_DA],
|
|
656
436
|
});
|
|
657
|
-
|
|
658
|
-
"/amazonclouddirectory/2017-01-11/typedlink/attributes/get";
|
|
437
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/attributes/get");
|
|
659
438
|
let body;
|
|
660
439
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
661
440
|
AttributeNames: (_) => (0, smithy_client_1._json)(_),
|
|
662
441
|
ConsistencyLevel: [],
|
|
663
442
|
TypedLinkSpecifier: (_) => se_TypedLinkSpecifier(_, context),
|
|
664
443
|
}));
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
hostname,
|
|
668
|
-
port,
|
|
669
|
-
method: "POST",
|
|
670
|
-
headers,
|
|
671
|
-
path: resolvedPath,
|
|
672
|
-
body,
|
|
673
|
-
});
|
|
444
|
+
b.m("POST").h(headers).b(body);
|
|
445
|
+
return b.build();
|
|
674
446
|
};
|
|
675
447
|
exports.se_GetLinkAttributesCommand = se_GetLinkAttributesCommand;
|
|
676
448
|
const se_GetObjectAttributesCommand = async (input, context) => {
|
|
677
|
-
const
|
|
449
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
678
450
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
679
451
|
"content-type": "application/json",
|
|
680
|
-
|
|
681
|
-
|
|
452
|
+
[_xadp]: input[_DA],
|
|
453
|
+
[_xacl]: input[_CL],
|
|
682
454
|
});
|
|
683
|
-
|
|
684
|
-
"/amazonclouddirectory/2017-01-11/object/attributes/get";
|
|
455
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/attributes/get");
|
|
685
456
|
let body;
|
|
686
457
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
687
458
|
AttributeNames: (_) => (0, smithy_client_1._json)(_),
|
|
688
459
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
689
460
|
SchemaFacet: (_) => (0, smithy_client_1._json)(_),
|
|
690
461
|
}));
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
hostname,
|
|
694
|
-
port,
|
|
695
|
-
method: "POST",
|
|
696
|
-
headers,
|
|
697
|
-
path: resolvedPath,
|
|
698
|
-
body,
|
|
699
|
-
});
|
|
462
|
+
b.m("POST").h(headers).b(body);
|
|
463
|
+
return b.build();
|
|
700
464
|
};
|
|
701
465
|
exports.se_GetObjectAttributesCommand = se_GetObjectAttributesCommand;
|
|
702
466
|
const se_GetObjectInformationCommand = async (input, context) => {
|
|
703
|
-
const
|
|
467
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
704
468
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
705
469
|
"content-type": "application/json",
|
|
706
|
-
|
|
707
|
-
|
|
470
|
+
[_xadp]: input[_DA],
|
|
471
|
+
[_xacl]: input[_CL],
|
|
708
472
|
});
|
|
709
|
-
|
|
710
|
-
"/amazonclouddirectory/2017-01-11/object/information";
|
|
473
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/information");
|
|
711
474
|
let body;
|
|
712
475
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
713
476
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
714
477
|
}));
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
hostname,
|
|
718
|
-
port,
|
|
719
|
-
method: "POST",
|
|
720
|
-
headers,
|
|
721
|
-
path: resolvedPath,
|
|
722
|
-
body,
|
|
723
|
-
});
|
|
478
|
+
b.m("POST").h(headers).b(body);
|
|
479
|
+
return b.build();
|
|
724
480
|
};
|
|
725
481
|
exports.se_GetObjectInformationCommand = se_GetObjectInformationCommand;
|
|
726
482
|
const se_GetSchemaAsJsonCommand = async (input, context) => {
|
|
727
|
-
const
|
|
483
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
728
484
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
729
|
-
|
|
485
|
+
[_xadp]: input[_SA],
|
|
730
486
|
});
|
|
731
|
-
|
|
732
|
-
"/amazonclouddirectory/2017-01-11/schema/json";
|
|
487
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/json");
|
|
733
488
|
let body;
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
hostname,
|
|
737
|
-
port,
|
|
738
|
-
method: "POST",
|
|
739
|
-
headers,
|
|
740
|
-
path: resolvedPath,
|
|
741
|
-
body,
|
|
742
|
-
});
|
|
489
|
+
b.m("POST").h(headers).b(body);
|
|
490
|
+
return b.build();
|
|
743
491
|
};
|
|
744
492
|
exports.se_GetSchemaAsJsonCommand = se_GetSchemaAsJsonCommand;
|
|
745
493
|
const se_GetTypedLinkFacetInformationCommand = async (input, context) => {
|
|
746
|
-
const
|
|
494
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
747
495
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
748
496
|
"content-type": "application/json",
|
|
749
|
-
|
|
497
|
+
[_xadp]: input[_SA],
|
|
750
498
|
});
|
|
751
|
-
|
|
752
|
-
"/amazonclouddirectory/2017-01-11/typedlink/facet/get";
|
|
499
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet/get");
|
|
753
500
|
let body;
|
|
754
501
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
755
502
|
Name: [],
|
|
756
503
|
}));
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
hostname,
|
|
760
|
-
port,
|
|
761
|
-
method: "POST",
|
|
762
|
-
headers,
|
|
763
|
-
path: resolvedPath,
|
|
764
|
-
body,
|
|
765
|
-
});
|
|
504
|
+
b.m("POST").h(headers).b(body);
|
|
505
|
+
return b.build();
|
|
766
506
|
};
|
|
767
507
|
exports.se_GetTypedLinkFacetInformationCommand = se_GetTypedLinkFacetInformationCommand;
|
|
768
508
|
const se_ListAppliedSchemaArnsCommand = async (input, context) => {
|
|
769
|
-
const
|
|
509
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
770
510
|
const headers = {
|
|
771
511
|
"content-type": "application/json",
|
|
772
512
|
};
|
|
773
|
-
|
|
774
|
-
"/amazonclouddirectory/2017-01-11/schema/applied";
|
|
513
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/applied");
|
|
775
514
|
let body;
|
|
776
515
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
777
516
|
DirectoryArn: [],
|
|
@@ -779,147 +518,99 @@ const se_ListAppliedSchemaArnsCommand = async (input, context) => {
|
|
|
779
518
|
NextToken: [],
|
|
780
519
|
SchemaArn: [],
|
|
781
520
|
}));
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
hostname,
|
|
785
|
-
port,
|
|
786
|
-
method: "POST",
|
|
787
|
-
headers,
|
|
788
|
-
path: resolvedPath,
|
|
789
|
-
body,
|
|
790
|
-
});
|
|
521
|
+
b.m("POST").h(headers).b(body);
|
|
522
|
+
return b.build();
|
|
791
523
|
};
|
|
792
524
|
exports.se_ListAppliedSchemaArnsCommand = se_ListAppliedSchemaArnsCommand;
|
|
793
525
|
const se_ListAttachedIndicesCommand = async (input, context) => {
|
|
794
|
-
const
|
|
526
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
795
527
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
796
528
|
"content-type": "application/json",
|
|
797
|
-
|
|
798
|
-
|
|
529
|
+
[_xadp]: input[_DA],
|
|
530
|
+
[_xacl]: input[_CL],
|
|
799
531
|
});
|
|
800
|
-
|
|
801
|
-
"/amazonclouddirectory/2017-01-11/object/indices";
|
|
532
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/indices");
|
|
802
533
|
let body;
|
|
803
534
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
804
535
|
MaxResults: [],
|
|
805
536
|
NextToken: [],
|
|
806
537
|
TargetReference: (_) => (0, smithy_client_1._json)(_),
|
|
807
538
|
}));
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
hostname,
|
|
811
|
-
port,
|
|
812
|
-
method: "POST",
|
|
813
|
-
headers,
|
|
814
|
-
path: resolvedPath,
|
|
815
|
-
body,
|
|
816
|
-
});
|
|
539
|
+
b.m("POST").h(headers).b(body);
|
|
540
|
+
return b.build();
|
|
817
541
|
};
|
|
818
542
|
exports.se_ListAttachedIndicesCommand = se_ListAttachedIndicesCommand;
|
|
819
543
|
const se_ListDevelopmentSchemaArnsCommand = async (input, context) => {
|
|
820
|
-
const
|
|
544
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
821
545
|
const headers = {
|
|
822
546
|
"content-type": "application/json",
|
|
823
547
|
};
|
|
824
|
-
|
|
825
|
-
"/amazonclouddirectory/2017-01-11/schema/development";
|
|
548
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/development");
|
|
826
549
|
let body;
|
|
827
550
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
828
551
|
MaxResults: [],
|
|
829
552
|
NextToken: [],
|
|
830
553
|
}));
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
hostname,
|
|
834
|
-
port,
|
|
835
|
-
method: "POST",
|
|
836
|
-
headers,
|
|
837
|
-
path: resolvedPath,
|
|
838
|
-
body,
|
|
839
|
-
});
|
|
554
|
+
b.m("POST").h(headers).b(body);
|
|
555
|
+
return b.build();
|
|
840
556
|
};
|
|
841
557
|
exports.se_ListDevelopmentSchemaArnsCommand = se_ListDevelopmentSchemaArnsCommand;
|
|
842
558
|
const se_ListDirectoriesCommand = async (input, context) => {
|
|
843
|
-
const
|
|
559
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
844
560
|
const headers = {
|
|
845
561
|
"content-type": "application/json",
|
|
846
562
|
};
|
|
847
|
-
|
|
848
|
-
"/amazonclouddirectory/2017-01-11/directory/list";
|
|
563
|
+
b.bp("/amazonclouddirectory/2017-01-11/directory/list");
|
|
849
564
|
let body;
|
|
850
565
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
851
566
|
MaxResults: [],
|
|
852
567
|
NextToken: [],
|
|
853
568
|
state: [],
|
|
854
569
|
}));
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
hostname,
|
|
858
|
-
port,
|
|
859
|
-
method: "POST",
|
|
860
|
-
headers,
|
|
861
|
-
path: resolvedPath,
|
|
862
|
-
body,
|
|
863
|
-
});
|
|
570
|
+
b.m("POST").h(headers).b(body);
|
|
571
|
+
return b.build();
|
|
864
572
|
};
|
|
865
573
|
exports.se_ListDirectoriesCommand = se_ListDirectoriesCommand;
|
|
866
574
|
const se_ListFacetAttributesCommand = async (input, context) => {
|
|
867
|
-
const
|
|
575
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
868
576
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
869
577
|
"content-type": "application/json",
|
|
870
|
-
|
|
578
|
+
[_xadp]: input[_SA],
|
|
871
579
|
});
|
|
872
|
-
|
|
873
|
-
"/amazonclouddirectory/2017-01-11/facet/attributes";
|
|
580
|
+
b.bp("/amazonclouddirectory/2017-01-11/facet/attributes");
|
|
874
581
|
let body;
|
|
875
582
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
876
583
|
MaxResults: [],
|
|
877
584
|
Name: [],
|
|
878
585
|
NextToken: [],
|
|
879
586
|
}));
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
hostname,
|
|
883
|
-
port,
|
|
884
|
-
method: "POST",
|
|
885
|
-
headers,
|
|
886
|
-
path: resolvedPath,
|
|
887
|
-
body,
|
|
888
|
-
});
|
|
587
|
+
b.m("POST").h(headers).b(body);
|
|
588
|
+
return b.build();
|
|
889
589
|
};
|
|
890
590
|
exports.se_ListFacetAttributesCommand = se_ListFacetAttributesCommand;
|
|
891
591
|
const se_ListFacetNamesCommand = async (input, context) => {
|
|
892
|
-
const
|
|
592
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
893
593
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
894
594
|
"content-type": "application/json",
|
|
895
|
-
|
|
595
|
+
[_xadp]: input[_SA],
|
|
896
596
|
});
|
|
897
|
-
|
|
898
|
-
"/amazonclouddirectory/2017-01-11/facet/list";
|
|
597
|
+
b.bp("/amazonclouddirectory/2017-01-11/facet/list");
|
|
899
598
|
let body;
|
|
900
599
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
901
600
|
MaxResults: [],
|
|
902
601
|
NextToken: [],
|
|
903
602
|
}));
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
hostname,
|
|
907
|
-
port,
|
|
908
|
-
method: "POST",
|
|
909
|
-
headers,
|
|
910
|
-
path: resolvedPath,
|
|
911
|
-
body,
|
|
912
|
-
});
|
|
603
|
+
b.m("POST").h(headers).b(body);
|
|
604
|
+
return b.build();
|
|
913
605
|
};
|
|
914
606
|
exports.se_ListFacetNamesCommand = se_ListFacetNamesCommand;
|
|
915
607
|
const se_ListIncomingTypedLinksCommand = async (input, context) => {
|
|
916
|
-
const
|
|
608
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
917
609
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
918
610
|
"content-type": "application/json",
|
|
919
|
-
|
|
611
|
+
[_xadp]: input[_DA],
|
|
920
612
|
});
|
|
921
|
-
|
|
922
|
-
"/amazonclouddirectory/2017-01-11/typedlink/incoming";
|
|
613
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/incoming");
|
|
923
614
|
let body;
|
|
924
615
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
925
616
|
ConsistencyLevel: [],
|
|
@@ -929,26 +620,18 @@ const se_ListIncomingTypedLinksCommand = async (input, context) => {
|
|
|
929
620
|
NextToken: [],
|
|
930
621
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
931
622
|
}));
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
hostname,
|
|
935
|
-
port,
|
|
936
|
-
method: "POST",
|
|
937
|
-
headers,
|
|
938
|
-
path: resolvedPath,
|
|
939
|
-
body,
|
|
940
|
-
});
|
|
623
|
+
b.m("POST").h(headers).b(body);
|
|
624
|
+
return b.build();
|
|
941
625
|
};
|
|
942
626
|
exports.se_ListIncomingTypedLinksCommand = se_ListIncomingTypedLinksCommand;
|
|
943
627
|
const se_ListIndexCommand = async (input, context) => {
|
|
944
|
-
const
|
|
628
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
945
629
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
946
630
|
"content-type": "application/json",
|
|
947
|
-
|
|
948
|
-
|
|
631
|
+
[_xadp]: input[_DA],
|
|
632
|
+
[_xacl]: input[_CL],
|
|
949
633
|
});
|
|
950
|
-
|
|
951
|
-
"/amazonclouddirectory/2017-01-11/index/targets";
|
|
634
|
+
b.bp("/amazonclouddirectory/2017-01-11/index/targets");
|
|
952
635
|
let body;
|
|
953
636
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
954
637
|
IndexReference: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -956,50 +639,34 @@ const se_ListIndexCommand = async (input, context) => {
|
|
|
956
639
|
NextToken: [],
|
|
957
640
|
RangesOnIndexedValues: (_) => se_ObjectAttributeRangeList(_, context),
|
|
958
641
|
}));
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
hostname,
|
|
962
|
-
port,
|
|
963
|
-
method: "POST",
|
|
964
|
-
headers,
|
|
965
|
-
path: resolvedPath,
|
|
966
|
-
body,
|
|
967
|
-
});
|
|
642
|
+
b.m("POST").h(headers).b(body);
|
|
643
|
+
return b.build();
|
|
968
644
|
};
|
|
969
645
|
exports.se_ListIndexCommand = se_ListIndexCommand;
|
|
970
646
|
const se_ListManagedSchemaArnsCommand = async (input, context) => {
|
|
971
|
-
const
|
|
647
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
972
648
|
const headers = {
|
|
973
649
|
"content-type": "application/json",
|
|
974
650
|
};
|
|
975
|
-
|
|
976
|
-
"/amazonclouddirectory/2017-01-11/schema/managed";
|
|
651
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/managed");
|
|
977
652
|
let body;
|
|
978
653
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
979
654
|
MaxResults: [],
|
|
980
655
|
NextToken: [],
|
|
981
656
|
SchemaArn: [],
|
|
982
657
|
}));
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
hostname,
|
|
986
|
-
port,
|
|
987
|
-
method: "POST",
|
|
988
|
-
headers,
|
|
989
|
-
path: resolvedPath,
|
|
990
|
-
body,
|
|
991
|
-
});
|
|
658
|
+
b.m("POST").h(headers).b(body);
|
|
659
|
+
return b.build();
|
|
992
660
|
};
|
|
993
661
|
exports.se_ListManagedSchemaArnsCommand = se_ListManagedSchemaArnsCommand;
|
|
994
662
|
const se_ListObjectAttributesCommand = async (input, context) => {
|
|
995
|
-
const
|
|
663
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
996
664
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
997
665
|
"content-type": "application/json",
|
|
998
|
-
|
|
999
|
-
|
|
666
|
+
[_xadp]: input[_DA],
|
|
667
|
+
[_xacl]: input[_CL],
|
|
1000
668
|
});
|
|
1001
|
-
|
|
1002
|
-
"/amazonclouddirectory/2017-01-11/object/attributes";
|
|
669
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/attributes");
|
|
1003
670
|
let body;
|
|
1004
671
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1005
672
|
FacetFilter: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1007,77 +674,53 @@ const se_ListObjectAttributesCommand = async (input, context) => {
|
|
|
1007
674
|
NextToken: [],
|
|
1008
675
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
1009
676
|
}));
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
hostname,
|
|
1013
|
-
port,
|
|
1014
|
-
method: "POST",
|
|
1015
|
-
headers,
|
|
1016
|
-
path: resolvedPath,
|
|
1017
|
-
body,
|
|
1018
|
-
});
|
|
677
|
+
b.m("POST").h(headers).b(body);
|
|
678
|
+
return b.build();
|
|
1019
679
|
};
|
|
1020
680
|
exports.se_ListObjectAttributesCommand = se_ListObjectAttributesCommand;
|
|
1021
681
|
const se_ListObjectChildrenCommand = async (input, context) => {
|
|
1022
|
-
const
|
|
682
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1023
683
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1024
684
|
"content-type": "application/json",
|
|
1025
|
-
|
|
1026
|
-
|
|
685
|
+
[_xadp]: input[_DA],
|
|
686
|
+
[_xacl]: input[_CL],
|
|
1027
687
|
});
|
|
1028
|
-
|
|
1029
|
-
"/amazonclouddirectory/2017-01-11/object/children";
|
|
688
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/children");
|
|
1030
689
|
let body;
|
|
1031
690
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1032
691
|
MaxResults: [],
|
|
1033
692
|
NextToken: [],
|
|
1034
693
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
1035
694
|
}));
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
hostname,
|
|
1039
|
-
port,
|
|
1040
|
-
method: "POST",
|
|
1041
|
-
headers,
|
|
1042
|
-
path: resolvedPath,
|
|
1043
|
-
body,
|
|
1044
|
-
});
|
|
695
|
+
b.m("POST").h(headers).b(body);
|
|
696
|
+
return b.build();
|
|
1045
697
|
};
|
|
1046
698
|
exports.se_ListObjectChildrenCommand = se_ListObjectChildrenCommand;
|
|
1047
699
|
const se_ListObjectParentPathsCommand = async (input, context) => {
|
|
1048
|
-
const
|
|
700
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1049
701
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1050
702
|
"content-type": "application/json",
|
|
1051
|
-
|
|
703
|
+
[_xadp]: input[_DA],
|
|
1052
704
|
});
|
|
1053
|
-
|
|
1054
|
-
"/amazonclouddirectory/2017-01-11/object/parentpaths";
|
|
705
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/parentpaths");
|
|
1055
706
|
let body;
|
|
1056
707
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1057
708
|
MaxResults: [],
|
|
1058
709
|
NextToken: [],
|
|
1059
710
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
1060
711
|
}));
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
hostname,
|
|
1064
|
-
port,
|
|
1065
|
-
method: "POST",
|
|
1066
|
-
headers,
|
|
1067
|
-
path: resolvedPath,
|
|
1068
|
-
body,
|
|
1069
|
-
});
|
|
712
|
+
b.m("POST").h(headers).b(body);
|
|
713
|
+
return b.build();
|
|
1070
714
|
};
|
|
1071
715
|
exports.se_ListObjectParentPathsCommand = se_ListObjectParentPathsCommand;
|
|
1072
716
|
const se_ListObjectParentsCommand = async (input, context) => {
|
|
1073
|
-
const
|
|
717
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1074
718
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1075
719
|
"content-type": "application/json",
|
|
1076
|
-
|
|
1077
|
-
|
|
720
|
+
[_xadp]: input[_DA],
|
|
721
|
+
[_xacl]: input[_CL],
|
|
1078
722
|
});
|
|
1079
|
-
|
|
1080
|
-
"/amazonclouddirectory/2017-01-11/object/parent";
|
|
723
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/parent");
|
|
1081
724
|
let body;
|
|
1082
725
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1083
726
|
IncludeAllLinksToEachParent: [],
|
|
@@ -1085,51 +728,35 @@ const se_ListObjectParentsCommand = async (input, context) => {
|
|
|
1085
728
|
NextToken: [],
|
|
1086
729
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
1087
730
|
}));
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
hostname,
|
|
1091
|
-
port,
|
|
1092
|
-
method: "POST",
|
|
1093
|
-
headers,
|
|
1094
|
-
path: resolvedPath,
|
|
1095
|
-
body,
|
|
1096
|
-
});
|
|
731
|
+
b.m("POST").h(headers).b(body);
|
|
732
|
+
return b.build();
|
|
1097
733
|
};
|
|
1098
734
|
exports.se_ListObjectParentsCommand = se_ListObjectParentsCommand;
|
|
1099
735
|
const se_ListObjectPoliciesCommand = async (input, context) => {
|
|
1100
|
-
const
|
|
736
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1101
737
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1102
738
|
"content-type": "application/json",
|
|
1103
|
-
|
|
1104
|
-
|
|
739
|
+
[_xadp]: input[_DA],
|
|
740
|
+
[_xacl]: input[_CL],
|
|
1105
741
|
});
|
|
1106
|
-
|
|
1107
|
-
"/amazonclouddirectory/2017-01-11/object/policy";
|
|
742
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/policy");
|
|
1108
743
|
let body;
|
|
1109
744
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1110
745
|
MaxResults: [],
|
|
1111
746
|
NextToken: [],
|
|
1112
747
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
1113
748
|
}));
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
hostname,
|
|
1117
|
-
port,
|
|
1118
|
-
method: "POST",
|
|
1119
|
-
headers,
|
|
1120
|
-
path: resolvedPath,
|
|
1121
|
-
body,
|
|
1122
|
-
});
|
|
749
|
+
b.m("POST").h(headers).b(body);
|
|
750
|
+
return b.build();
|
|
1123
751
|
};
|
|
1124
752
|
exports.se_ListObjectPoliciesCommand = se_ListObjectPoliciesCommand;
|
|
1125
753
|
const se_ListOutgoingTypedLinksCommand = async (input, context) => {
|
|
1126
|
-
const
|
|
754
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1127
755
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1128
756
|
"content-type": "application/json",
|
|
1129
|
-
|
|
757
|
+
[_xadp]: input[_DA],
|
|
1130
758
|
});
|
|
1131
|
-
|
|
1132
|
-
"/amazonclouddirectory/2017-01-11/typedlink/outgoing";
|
|
759
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/outgoing");
|
|
1133
760
|
let body;
|
|
1134
761
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1135
762
|
ConsistencyLevel: [],
|
|
@@ -1139,432 +766,291 @@ const se_ListOutgoingTypedLinksCommand = async (input, context) => {
|
|
|
1139
766
|
NextToken: [],
|
|
1140
767
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
1141
768
|
}));
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
hostname,
|
|
1145
|
-
port,
|
|
1146
|
-
method: "POST",
|
|
1147
|
-
headers,
|
|
1148
|
-
path: resolvedPath,
|
|
1149
|
-
body,
|
|
1150
|
-
});
|
|
769
|
+
b.m("POST").h(headers).b(body);
|
|
770
|
+
return b.build();
|
|
1151
771
|
};
|
|
1152
772
|
exports.se_ListOutgoingTypedLinksCommand = se_ListOutgoingTypedLinksCommand;
|
|
1153
773
|
const se_ListPolicyAttachmentsCommand = async (input, context) => {
|
|
1154
|
-
const
|
|
774
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1155
775
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1156
776
|
"content-type": "application/json",
|
|
1157
|
-
|
|
1158
|
-
|
|
777
|
+
[_xadp]: input[_DA],
|
|
778
|
+
[_xacl]: input[_CL],
|
|
1159
779
|
});
|
|
1160
|
-
|
|
1161
|
-
"/amazonclouddirectory/2017-01-11/policy/attachment";
|
|
780
|
+
b.bp("/amazonclouddirectory/2017-01-11/policy/attachment");
|
|
1162
781
|
let body;
|
|
1163
782
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1164
783
|
MaxResults: [],
|
|
1165
784
|
NextToken: [],
|
|
1166
785
|
PolicyReference: (_) => (0, smithy_client_1._json)(_),
|
|
1167
786
|
}));
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
hostname,
|
|
1171
|
-
port,
|
|
1172
|
-
method: "POST",
|
|
1173
|
-
headers,
|
|
1174
|
-
path: resolvedPath,
|
|
1175
|
-
body,
|
|
1176
|
-
});
|
|
787
|
+
b.m("POST").h(headers).b(body);
|
|
788
|
+
return b.build();
|
|
1177
789
|
};
|
|
1178
790
|
exports.se_ListPolicyAttachmentsCommand = se_ListPolicyAttachmentsCommand;
|
|
1179
791
|
const se_ListPublishedSchemaArnsCommand = async (input, context) => {
|
|
1180
|
-
const
|
|
792
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1181
793
|
const headers = {
|
|
1182
794
|
"content-type": "application/json",
|
|
1183
795
|
};
|
|
1184
|
-
|
|
1185
|
-
"/amazonclouddirectory/2017-01-11/schema/published";
|
|
796
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/published");
|
|
1186
797
|
let body;
|
|
1187
798
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1188
799
|
MaxResults: [],
|
|
1189
800
|
NextToken: [],
|
|
1190
801
|
SchemaArn: [],
|
|
1191
802
|
}));
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
hostname,
|
|
1195
|
-
port,
|
|
1196
|
-
method: "POST",
|
|
1197
|
-
headers,
|
|
1198
|
-
path: resolvedPath,
|
|
1199
|
-
body,
|
|
1200
|
-
});
|
|
803
|
+
b.m("POST").h(headers).b(body);
|
|
804
|
+
return b.build();
|
|
1201
805
|
};
|
|
1202
806
|
exports.se_ListPublishedSchemaArnsCommand = se_ListPublishedSchemaArnsCommand;
|
|
1203
807
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
1204
|
-
const
|
|
808
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1205
809
|
const headers = {
|
|
1206
810
|
"content-type": "application/json",
|
|
1207
811
|
};
|
|
1208
|
-
|
|
812
|
+
b.bp("/amazonclouddirectory/2017-01-11/tags");
|
|
1209
813
|
let body;
|
|
1210
814
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1211
815
|
MaxResults: [],
|
|
1212
816
|
NextToken: [],
|
|
1213
817
|
ResourceArn: [],
|
|
1214
818
|
}));
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
hostname,
|
|
1218
|
-
port,
|
|
1219
|
-
method: "POST",
|
|
1220
|
-
headers,
|
|
1221
|
-
path: resolvedPath,
|
|
1222
|
-
body,
|
|
1223
|
-
});
|
|
819
|
+
b.m("POST").h(headers).b(body);
|
|
820
|
+
return b.build();
|
|
1224
821
|
};
|
|
1225
822
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
1226
823
|
const se_ListTypedLinkFacetAttributesCommand = async (input, context) => {
|
|
1227
|
-
const
|
|
824
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1228
825
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1229
826
|
"content-type": "application/json",
|
|
1230
|
-
|
|
827
|
+
[_xadp]: input[_SA],
|
|
1231
828
|
});
|
|
1232
|
-
|
|
1233
|
-
"/amazonclouddirectory/2017-01-11/typedlink/facet/attributes";
|
|
829
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet/attributes");
|
|
1234
830
|
let body;
|
|
1235
831
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1236
832
|
MaxResults: [],
|
|
1237
833
|
Name: [],
|
|
1238
834
|
NextToken: [],
|
|
1239
835
|
}));
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
hostname,
|
|
1243
|
-
port,
|
|
1244
|
-
method: "POST",
|
|
1245
|
-
headers,
|
|
1246
|
-
path: resolvedPath,
|
|
1247
|
-
body,
|
|
1248
|
-
});
|
|
836
|
+
b.m("POST").h(headers).b(body);
|
|
837
|
+
return b.build();
|
|
1249
838
|
};
|
|
1250
839
|
exports.se_ListTypedLinkFacetAttributesCommand = se_ListTypedLinkFacetAttributesCommand;
|
|
1251
840
|
const se_ListTypedLinkFacetNamesCommand = async (input, context) => {
|
|
1252
|
-
const
|
|
841
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1253
842
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1254
843
|
"content-type": "application/json",
|
|
1255
|
-
|
|
844
|
+
[_xadp]: input[_SA],
|
|
1256
845
|
});
|
|
1257
|
-
|
|
1258
|
-
"/amazonclouddirectory/2017-01-11/typedlink/facet/list";
|
|
846
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet/list");
|
|
1259
847
|
let body;
|
|
1260
848
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1261
849
|
MaxResults: [],
|
|
1262
850
|
NextToken: [],
|
|
1263
851
|
}));
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
hostname,
|
|
1267
|
-
port,
|
|
1268
|
-
method: "POST",
|
|
1269
|
-
headers,
|
|
1270
|
-
path: resolvedPath,
|
|
1271
|
-
body,
|
|
1272
|
-
});
|
|
852
|
+
b.m("POST").h(headers).b(body);
|
|
853
|
+
return b.build();
|
|
1273
854
|
};
|
|
1274
855
|
exports.se_ListTypedLinkFacetNamesCommand = se_ListTypedLinkFacetNamesCommand;
|
|
1275
856
|
const se_LookupPolicyCommand = async (input, context) => {
|
|
1276
|
-
const
|
|
857
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1277
858
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1278
859
|
"content-type": "application/json",
|
|
1279
|
-
|
|
860
|
+
[_xadp]: input[_DA],
|
|
1280
861
|
});
|
|
1281
|
-
|
|
1282
|
-
"/amazonclouddirectory/2017-01-11/policy/lookup";
|
|
862
|
+
b.bp("/amazonclouddirectory/2017-01-11/policy/lookup");
|
|
1283
863
|
let body;
|
|
1284
864
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1285
865
|
MaxResults: [],
|
|
1286
866
|
NextToken: [],
|
|
1287
867
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
1288
868
|
}));
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
hostname,
|
|
1292
|
-
port,
|
|
1293
|
-
method: "POST",
|
|
1294
|
-
headers,
|
|
1295
|
-
path: resolvedPath,
|
|
1296
|
-
body,
|
|
1297
|
-
});
|
|
869
|
+
b.m("POST").h(headers).b(body);
|
|
870
|
+
return b.build();
|
|
1298
871
|
};
|
|
1299
872
|
exports.se_LookupPolicyCommand = se_LookupPolicyCommand;
|
|
1300
873
|
const se_PublishSchemaCommand = async (input, context) => {
|
|
1301
|
-
const
|
|
874
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1302
875
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1303
876
|
"content-type": "application/json",
|
|
1304
|
-
|
|
877
|
+
[_xadp]: input[_DSA],
|
|
1305
878
|
});
|
|
1306
|
-
|
|
1307
|
-
"/amazonclouddirectory/2017-01-11/schema/publish";
|
|
879
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/publish");
|
|
1308
880
|
let body;
|
|
1309
881
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1310
882
|
MinorVersion: [],
|
|
1311
883
|
Name: [],
|
|
1312
884
|
Version: [],
|
|
1313
885
|
}));
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
hostname,
|
|
1317
|
-
port,
|
|
1318
|
-
method: "PUT",
|
|
1319
|
-
headers,
|
|
1320
|
-
path: resolvedPath,
|
|
1321
|
-
body,
|
|
1322
|
-
});
|
|
886
|
+
b.m("PUT").h(headers).b(body);
|
|
887
|
+
return b.build();
|
|
1323
888
|
};
|
|
1324
889
|
exports.se_PublishSchemaCommand = se_PublishSchemaCommand;
|
|
1325
890
|
const se_PutSchemaFromJsonCommand = async (input, context) => {
|
|
1326
|
-
const
|
|
891
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1327
892
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1328
893
|
"content-type": "application/json",
|
|
1329
|
-
|
|
894
|
+
[_xadp]: input[_SA],
|
|
1330
895
|
});
|
|
1331
|
-
|
|
1332
|
-
"/amazonclouddirectory/2017-01-11/schema/json";
|
|
896
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/json");
|
|
1333
897
|
let body;
|
|
1334
898
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1335
899
|
Document: [],
|
|
1336
900
|
}));
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
hostname,
|
|
1340
|
-
port,
|
|
1341
|
-
method: "PUT",
|
|
1342
|
-
headers,
|
|
1343
|
-
path: resolvedPath,
|
|
1344
|
-
body,
|
|
1345
|
-
});
|
|
901
|
+
b.m("PUT").h(headers).b(body);
|
|
902
|
+
return b.build();
|
|
1346
903
|
};
|
|
1347
904
|
exports.se_PutSchemaFromJsonCommand = se_PutSchemaFromJsonCommand;
|
|
1348
905
|
const se_RemoveFacetFromObjectCommand = async (input, context) => {
|
|
1349
|
-
const
|
|
906
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1350
907
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1351
908
|
"content-type": "application/json",
|
|
1352
|
-
|
|
909
|
+
[_xadp]: input[_DA],
|
|
1353
910
|
});
|
|
1354
|
-
|
|
1355
|
-
"/amazonclouddirectory/2017-01-11/object/facets/delete";
|
|
911
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/facets/delete");
|
|
1356
912
|
let body;
|
|
1357
913
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1358
914
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
1359
915
|
SchemaFacet: (_) => (0, smithy_client_1._json)(_),
|
|
1360
916
|
}));
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
hostname,
|
|
1364
|
-
port,
|
|
1365
|
-
method: "PUT",
|
|
1366
|
-
headers,
|
|
1367
|
-
path: resolvedPath,
|
|
1368
|
-
body,
|
|
1369
|
-
});
|
|
917
|
+
b.m("PUT").h(headers).b(body);
|
|
918
|
+
return b.build();
|
|
1370
919
|
};
|
|
1371
920
|
exports.se_RemoveFacetFromObjectCommand = se_RemoveFacetFromObjectCommand;
|
|
1372
921
|
const se_TagResourceCommand = async (input, context) => {
|
|
1373
|
-
const
|
|
922
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1374
923
|
const headers = {
|
|
1375
924
|
"content-type": "application/json",
|
|
1376
925
|
};
|
|
1377
|
-
|
|
926
|
+
b.bp("/amazonclouddirectory/2017-01-11/tags/add");
|
|
1378
927
|
let body;
|
|
1379
928
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1380
929
|
ResourceArn: [],
|
|
1381
930
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
1382
931
|
}));
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
hostname,
|
|
1386
|
-
port,
|
|
1387
|
-
method: "PUT",
|
|
1388
|
-
headers,
|
|
1389
|
-
path: resolvedPath,
|
|
1390
|
-
body,
|
|
1391
|
-
});
|
|
932
|
+
b.m("PUT").h(headers).b(body);
|
|
933
|
+
return b.build();
|
|
1392
934
|
};
|
|
1393
935
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
1394
936
|
const se_UntagResourceCommand = async (input, context) => {
|
|
1395
|
-
const
|
|
937
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1396
938
|
const headers = {
|
|
1397
939
|
"content-type": "application/json",
|
|
1398
940
|
};
|
|
1399
|
-
|
|
1400
|
-
"/amazonclouddirectory/2017-01-11/tags/remove";
|
|
941
|
+
b.bp("/amazonclouddirectory/2017-01-11/tags/remove");
|
|
1401
942
|
let body;
|
|
1402
943
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1403
944
|
ResourceArn: [],
|
|
1404
945
|
TagKeys: (_) => (0, smithy_client_1._json)(_),
|
|
1405
946
|
}));
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
hostname,
|
|
1409
|
-
port,
|
|
1410
|
-
method: "PUT",
|
|
1411
|
-
headers,
|
|
1412
|
-
path: resolvedPath,
|
|
1413
|
-
body,
|
|
1414
|
-
});
|
|
947
|
+
b.m("PUT").h(headers).b(body);
|
|
948
|
+
return b.build();
|
|
1415
949
|
};
|
|
1416
950
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
1417
951
|
const se_UpdateFacetCommand = async (input, context) => {
|
|
1418
|
-
const
|
|
952
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1419
953
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1420
954
|
"content-type": "application/json",
|
|
1421
|
-
|
|
955
|
+
[_xadp]: input[_SA],
|
|
1422
956
|
});
|
|
1423
|
-
|
|
957
|
+
b.bp("/amazonclouddirectory/2017-01-11/facet");
|
|
1424
958
|
let body;
|
|
1425
959
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1426
960
|
AttributeUpdates: (_) => se_FacetAttributeUpdateList(_, context),
|
|
1427
961
|
Name: [],
|
|
1428
962
|
ObjectType: [],
|
|
1429
963
|
}));
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
hostname,
|
|
1433
|
-
port,
|
|
1434
|
-
method: "PUT",
|
|
1435
|
-
headers,
|
|
1436
|
-
path: resolvedPath,
|
|
1437
|
-
body,
|
|
1438
|
-
});
|
|
964
|
+
b.m("PUT").h(headers).b(body);
|
|
965
|
+
return b.build();
|
|
1439
966
|
};
|
|
1440
967
|
exports.se_UpdateFacetCommand = se_UpdateFacetCommand;
|
|
1441
968
|
const se_UpdateLinkAttributesCommand = async (input, context) => {
|
|
1442
|
-
const
|
|
969
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1443
970
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1444
971
|
"content-type": "application/json",
|
|
1445
|
-
|
|
972
|
+
[_xadp]: input[_DA],
|
|
1446
973
|
});
|
|
1447
|
-
|
|
1448
|
-
"/amazonclouddirectory/2017-01-11/typedlink/attributes/update";
|
|
974
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/attributes/update");
|
|
1449
975
|
let body;
|
|
1450
976
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1451
977
|
AttributeUpdates: (_) => se_LinkAttributeUpdateList(_, context),
|
|
1452
978
|
TypedLinkSpecifier: (_) => se_TypedLinkSpecifier(_, context),
|
|
1453
979
|
}));
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
hostname,
|
|
1457
|
-
port,
|
|
1458
|
-
method: "POST",
|
|
1459
|
-
headers,
|
|
1460
|
-
path: resolvedPath,
|
|
1461
|
-
body,
|
|
1462
|
-
});
|
|
980
|
+
b.m("POST").h(headers).b(body);
|
|
981
|
+
return b.build();
|
|
1463
982
|
};
|
|
1464
983
|
exports.se_UpdateLinkAttributesCommand = se_UpdateLinkAttributesCommand;
|
|
1465
984
|
const se_UpdateObjectAttributesCommand = async (input, context) => {
|
|
1466
|
-
const
|
|
985
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1467
986
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1468
987
|
"content-type": "application/json",
|
|
1469
|
-
|
|
988
|
+
[_xadp]: input[_DA],
|
|
1470
989
|
});
|
|
1471
|
-
|
|
1472
|
-
"/amazonclouddirectory/2017-01-11/object/update";
|
|
990
|
+
b.bp("/amazonclouddirectory/2017-01-11/object/update");
|
|
1473
991
|
let body;
|
|
1474
992
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1475
993
|
AttributeUpdates: (_) => se_ObjectAttributeUpdateList(_, context),
|
|
1476
994
|
ObjectReference: (_) => (0, smithy_client_1._json)(_),
|
|
1477
995
|
}));
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
hostname,
|
|
1481
|
-
port,
|
|
1482
|
-
method: "PUT",
|
|
1483
|
-
headers,
|
|
1484
|
-
path: resolvedPath,
|
|
1485
|
-
body,
|
|
1486
|
-
});
|
|
996
|
+
b.m("PUT").h(headers).b(body);
|
|
997
|
+
return b.build();
|
|
1487
998
|
};
|
|
1488
999
|
exports.se_UpdateObjectAttributesCommand = se_UpdateObjectAttributesCommand;
|
|
1489
1000
|
const se_UpdateSchemaCommand = async (input, context) => {
|
|
1490
|
-
const
|
|
1001
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1491
1002
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1492
1003
|
"content-type": "application/json",
|
|
1493
|
-
|
|
1004
|
+
[_xadp]: input[_SA],
|
|
1494
1005
|
});
|
|
1495
|
-
|
|
1496
|
-
"/amazonclouddirectory/2017-01-11/schema/update";
|
|
1006
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/update");
|
|
1497
1007
|
let body;
|
|
1498
1008
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1499
1009
|
Name: [],
|
|
1500
1010
|
}));
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
hostname,
|
|
1504
|
-
port,
|
|
1505
|
-
method: "PUT",
|
|
1506
|
-
headers,
|
|
1507
|
-
path: resolvedPath,
|
|
1508
|
-
body,
|
|
1509
|
-
});
|
|
1011
|
+
b.m("PUT").h(headers).b(body);
|
|
1012
|
+
return b.build();
|
|
1510
1013
|
};
|
|
1511
1014
|
exports.se_UpdateSchemaCommand = se_UpdateSchemaCommand;
|
|
1512
1015
|
const se_UpdateTypedLinkFacetCommand = async (input, context) => {
|
|
1513
|
-
const
|
|
1016
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1514
1017
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
1515
1018
|
"content-type": "application/json",
|
|
1516
|
-
|
|
1019
|
+
[_xadp]: input[_SA],
|
|
1517
1020
|
});
|
|
1518
|
-
|
|
1519
|
-
"/amazonclouddirectory/2017-01-11/typedlink/facet";
|
|
1021
|
+
b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet");
|
|
1520
1022
|
let body;
|
|
1521
1023
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1522
1024
|
AttributeUpdates: (_) => se_TypedLinkFacetAttributeUpdateList(_, context),
|
|
1523
1025
|
IdentityAttributeOrder: (_) => (0, smithy_client_1._json)(_),
|
|
1524
1026
|
Name: [],
|
|
1525
1027
|
}));
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
hostname,
|
|
1529
|
-
port,
|
|
1530
|
-
method: "PUT",
|
|
1531
|
-
headers,
|
|
1532
|
-
path: resolvedPath,
|
|
1533
|
-
body,
|
|
1534
|
-
});
|
|
1028
|
+
b.m("PUT").h(headers).b(body);
|
|
1029
|
+
return b.build();
|
|
1535
1030
|
};
|
|
1536
1031
|
exports.se_UpdateTypedLinkFacetCommand = se_UpdateTypedLinkFacetCommand;
|
|
1537
1032
|
const se_UpgradeAppliedSchemaCommand = async (input, context) => {
|
|
1538
|
-
const
|
|
1033
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1539
1034
|
const headers = {
|
|
1540
1035
|
"content-type": "application/json",
|
|
1541
1036
|
};
|
|
1542
|
-
|
|
1543
|
-
"/amazonclouddirectory/2017-01-11/schema/upgradeapplied";
|
|
1037
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/upgradeapplied");
|
|
1544
1038
|
let body;
|
|
1545
1039
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1546
1040
|
DirectoryArn: [],
|
|
1547
1041
|
DryRun: [],
|
|
1548
1042
|
PublishedSchemaArn: [],
|
|
1549
1043
|
}));
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
hostname,
|
|
1553
|
-
port,
|
|
1554
|
-
method: "PUT",
|
|
1555
|
-
headers,
|
|
1556
|
-
path: resolvedPath,
|
|
1557
|
-
body,
|
|
1558
|
-
});
|
|
1044
|
+
b.m("PUT").h(headers).b(body);
|
|
1045
|
+
return b.build();
|
|
1559
1046
|
};
|
|
1560
1047
|
exports.se_UpgradeAppliedSchemaCommand = se_UpgradeAppliedSchemaCommand;
|
|
1561
1048
|
const se_UpgradePublishedSchemaCommand = async (input, context) => {
|
|
1562
|
-
const
|
|
1049
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1563
1050
|
const headers = {
|
|
1564
1051
|
"content-type": "application/json",
|
|
1565
1052
|
};
|
|
1566
|
-
|
|
1567
|
-
"/amazonclouddirectory/2017-01-11/schema/upgradepublished";
|
|
1053
|
+
b.bp("/amazonclouddirectory/2017-01-11/schema/upgradepublished");
|
|
1568
1054
|
let body;
|
|
1569
1055
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1570
1056
|
DevelopmentSchemaArn: [],
|
|
@@ -1572,15 +1058,8 @@ const se_UpgradePublishedSchemaCommand = async (input, context) => {
|
|
|
1572
1058
|
MinorVersion: [],
|
|
1573
1059
|
PublishedSchemaArn: [],
|
|
1574
1060
|
}));
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
hostname,
|
|
1578
|
-
port,
|
|
1579
|
-
method: "PUT",
|
|
1580
|
-
headers,
|
|
1581
|
-
path: resolvedPath,
|
|
1582
|
-
body,
|
|
1583
|
-
});
|
|
1061
|
+
b.m("PUT").h(headers).b(body);
|
|
1062
|
+
return b.build();
|
|
1584
1063
|
};
|
|
1585
1064
|
exports.se_UpgradePublishedSchemaCommand = se_UpgradePublishedSchemaCommand;
|
|
1586
1065
|
const de_AddFacetToObjectCommand = async (output, context) => {
|
|
@@ -6372,6 +5851,12 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
6372
5851
|
value !== "" &&
|
|
6373
5852
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
6374
5853
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
5854
|
+
const _CL = "ConsistencyLevel";
|
|
5855
|
+
const _DA = "DirectoryArn";
|
|
5856
|
+
const _DSA = "DevelopmentSchemaArn";
|
|
5857
|
+
const _SA = "SchemaArn";
|
|
5858
|
+
const _xacl = "x-amz-consistency-level";
|
|
5859
|
+
const _xadp = "x-amz-data-partition";
|
|
6375
5860
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
6376
5861
|
if (encoded.length) {
|
|
6377
5862
|
return JSON.parse(encoded);
|