@aws-sdk/client-ram 3.474.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 +149 -390
- package/dist-es/protocols/Aws_restJson1.js +149 -390
- package/package.json +5 -4
|
@@ -2,38 +2,31 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_GetResourceShareInvitationsCommand = exports.de_GetResourceShareAssociationsCommand = exports.de_GetResourcePoliciesCommand = exports.de_GetPermissionCommand = exports.de_EnableSharingWithAwsOrganizationCommand = exports.de_DisassociateResourceSharePermissionCommand = exports.de_DisassociateResourceShareCommand = exports.de_DeleteResourceShareCommand = exports.de_DeletePermissionVersionCommand = exports.de_DeletePermissionCommand = exports.de_CreateResourceShareCommand = exports.de_CreatePermissionVersionCommand = exports.de_CreatePermissionCommand = exports.de_AssociateResourceSharePermissionCommand = exports.de_AssociateResourceShareCommand = exports.de_AcceptResourceShareInvitationCommand = exports.se_UpdateResourceShareCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_SetDefaultPermissionVersionCommand = exports.se_ReplacePermissionAssociationsCommand = exports.se_RejectResourceShareInvitationCommand = exports.se_PromoteResourceShareCreatedFromPolicyCommand = exports.se_PromotePermissionCreatedFromPolicyCommand = exports.se_ListResourceTypesCommand = exports.se_ListResourceSharePermissionsCommand = exports.se_ListResourcesCommand = exports.se_ListReplacePermissionAssociationsWorkCommand = exports.se_ListPrincipalsCommand = exports.se_ListPermissionVersionsCommand = exports.se_ListPermissionsCommand = exports.se_ListPermissionAssociationsCommand = exports.se_ListPendingInvitationResourcesCommand = exports.se_GetResourceSharesCommand = exports.se_GetResourceShareInvitationsCommand = exports.se_GetResourceShareAssociationsCommand = exports.se_GetResourcePoliciesCommand = exports.se_GetPermissionCommand = exports.se_EnableSharingWithAwsOrganizationCommand = exports.se_DisassociateResourceSharePermissionCommand = exports.se_DisassociateResourceShareCommand = exports.se_DeleteResourceShareCommand = exports.se_DeletePermissionVersionCommand = exports.se_DeletePermissionCommand = exports.se_CreateResourceShareCommand = exports.se_CreatePermissionVersionCommand = exports.se_CreatePermissionCommand = exports.se_AssociateResourceSharePermissionCommand = exports.se_AssociateResourceShareCommand = exports.se_AcceptResourceShareInvitationCommand = void 0;
|
|
4
4
|
exports.de_UpdateResourceShareCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_SetDefaultPermissionVersionCommand = exports.de_ReplacePermissionAssociationsCommand = exports.de_RejectResourceShareInvitationCommand = exports.de_PromoteResourceShareCreatedFromPolicyCommand = exports.de_PromotePermissionCreatedFromPolicyCommand = exports.de_ListResourceTypesCommand = exports.de_ListResourceSharePermissionsCommand = exports.de_ListResourcesCommand = exports.de_ListReplacePermissionAssociationsWorkCommand = exports.de_ListPrincipalsCommand = exports.de_ListPermissionVersionsCommand = exports.de_ListPermissionsCommand = exports.de_ListPermissionAssociationsCommand = exports.de_ListPendingInvitationResourcesCommand = exports.de_GetResourceSharesCommand = void 0;
|
|
5
|
-
const
|
|
5
|
+
const core_1 = require("@smithy/core");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const RAMServiceException_1 = require("../models/RAMServiceException");
|
|
9
9
|
const se_AcceptResourceShareInvitationCommand = async (input, context) => {
|
|
10
|
-
const
|
|
10
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
11
11
|
const headers = {
|
|
12
12
|
"content-type": "application/json",
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
b.bp("/acceptresourceshareinvitation");
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
17
|
clientToken: [],
|
|
18
18
|
resourceShareInvitationArn: [],
|
|
19
19
|
}));
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
hostname,
|
|
23
|
-
port,
|
|
24
|
-
method: "POST",
|
|
25
|
-
headers,
|
|
26
|
-
path: resolvedPath,
|
|
27
|
-
body,
|
|
28
|
-
});
|
|
20
|
+
b.m("POST").h(headers).b(body);
|
|
21
|
+
return b.build();
|
|
29
22
|
};
|
|
30
23
|
exports.se_AcceptResourceShareInvitationCommand = se_AcceptResourceShareInvitationCommand;
|
|
31
24
|
const se_AssociateResourceShareCommand = async (input, context) => {
|
|
32
|
-
const
|
|
25
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
33
26
|
const headers = {
|
|
34
27
|
"content-type": "application/json",
|
|
35
28
|
};
|
|
36
|
-
|
|
29
|
+
b.bp("/associateresourceshare");
|
|
37
30
|
let body;
|
|
38
31
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
39
32
|
clientToken: [],
|
|
@@ -42,23 +35,16 @@ const se_AssociateResourceShareCommand = async (input, context) => {
|
|
|
42
35
|
resourceShareArn: [],
|
|
43
36
|
sources: (_) => (0, smithy_client_1._json)(_),
|
|
44
37
|
}));
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
hostname,
|
|
48
|
-
port,
|
|
49
|
-
method: "POST",
|
|
50
|
-
headers,
|
|
51
|
-
path: resolvedPath,
|
|
52
|
-
body,
|
|
53
|
-
});
|
|
38
|
+
b.m("POST").h(headers).b(body);
|
|
39
|
+
return b.build();
|
|
54
40
|
};
|
|
55
41
|
exports.se_AssociateResourceShareCommand = se_AssociateResourceShareCommand;
|
|
56
42
|
const se_AssociateResourceSharePermissionCommand = async (input, context) => {
|
|
57
|
-
const
|
|
43
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
58
44
|
const headers = {
|
|
59
45
|
"content-type": "application/json",
|
|
60
46
|
};
|
|
61
|
-
|
|
47
|
+
b.bp("/associateresourcesharepermission");
|
|
62
48
|
let body;
|
|
63
49
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
64
50
|
clientToken: [],
|
|
@@ -67,23 +53,16 @@ const se_AssociateResourceSharePermissionCommand = async (input, context) => {
|
|
|
67
53
|
replace: [],
|
|
68
54
|
resourceShareArn: [],
|
|
69
55
|
}));
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
hostname,
|
|
73
|
-
port,
|
|
74
|
-
method: "POST",
|
|
75
|
-
headers,
|
|
76
|
-
path: resolvedPath,
|
|
77
|
-
body,
|
|
78
|
-
});
|
|
56
|
+
b.m("POST").h(headers).b(body);
|
|
57
|
+
return b.build();
|
|
79
58
|
};
|
|
80
59
|
exports.se_AssociateResourceSharePermissionCommand = se_AssociateResourceSharePermissionCommand;
|
|
81
60
|
const se_CreatePermissionCommand = async (input, context) => {
|
|
82
|
-
const
|
|
61
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
83
62
|
const headers = {
|
|
84
63
|
"content-type": "application/json",
|
|
85
64
|
};
|
|
86
|
-
|
|
65
|
+
b.bp("/createpermission");
|
|
87
66
|
let body;
|
|
88
67
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
89
68
|
clientToken: [],
|
|
@@ -92,46 +71,32 @@ const se_CreatePermissionCommand = async (input, context) => {
|
|
|
92
71
|
resourceType: [],
|
|
93
72
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
94
73
|
}));
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
hostname,
|
|
98
|
-
port,
|
|
99
|
-
method: "POST",
|
|
100
|
-
headers,
|
|
101
|
-
path: resolvedPath,
|
|
102
|
-
body,
|
|
103
|
-
});
|
|
74
|
+
b.m("POST").h(headers).b(body);
|
|
75
|
+
return b.build();
|
|
104
76
|
};
|
|
105
77
|
exports.se_CreatePermissionCommand = se_CreatePermissionCommand;
|
|
106
78
|
const se_CreatePermissionVersionCommand = async (input, context) => {
|
|
107
|
-
const
|
|
79
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
108
80
|
const headers = {
|
|
109
81
|
"content-type": "application/json",
|
|
110
82
|
};
|
|
111
|
-
|
|
83
|
+
b.bp("/createpermissionversion");
|
|
112
84
|
let body;
|
|
113
85
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
114
86
|
clientToken: [],
|
|
115
87
|
permissionArn: [],
|
|
116
88
|
policyTemplate: [],
|
|
117
89
|
}));
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
hostname,
|
|
121
|
-
port,
|
|
122
|
-
method: "POST",
|
|
123
|
-
headers,
|
|
124
|
-
path: resolvedPath,
|
|
125
|
-
body,
|
|
126
|
-
});
|
|
90
|
+
b.m("POST").h(headers).b(body);
|
|
91
|
+
return b.build();
|
|
127
92
|
};
|
|
128
93
|
exports.se_CreatePermissionVersionCommand = se_CreatePermissionVersionCommand;
|
|
129
94
|
const se_CreateResourceShareCommand = async (input, context) => {
|
|
130
|
-
const
|
|
95
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
131
96
|
const headers = {
|
|
132
97
|
"content-type": "application/json",
|
|
133
98
|
};
|
|
134
|
-
|
|
99
|
+
b.bp("/createresourceshare");
|
|
135
100
|
let body;
|
|
136
101
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
137
102
|
allowExternalPrincipals: [],
|
|
@@ -143,90 +108,56 @@ const se_CreateResourceShareCommand = async (input, context) => {
|
|
|
143
108
|
sources: (_) => (0, smithy_client_1._json)(_),
|
|
144
109
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
145
110
|
}));
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
hostname,
|
|
149
|
-
port,
|
|
150
|
-
method: "POST",
|
|
151
|
-
headers,
|
|
152
|
-
path: resolvedPath,
|
|
153
|
-
body,
|
|
154
|
-
});
|
|
111
|
+
b.m("POST").h(headers).b(body);
|
|
112
|
+
return b.build();
|
|
155
113
|
};
|
|
156
114
|
exports.se_CreateResourceShareCommand = se_CreateResourceShareCommand;
|
|
157
115
|
const se_DeletePermissionCommand = async (input, context) => {
|
|
158
|
-
const
|
|
116
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
159
117
|
const headers = {};
|
|
160
|
-
|
|
118
|
+
b.bp("/deletepermission");
|
|
161
119
|
const query = (0, smithy_client_1.map)({
|
|
162
|
-
|
|
163
|
-
|
|
120
|
+
[_pA]: [, (0, smithy_client_1.expectNonNull)(input[_pA], `permissionArn`)],
|
|
121
|
+
[_cT]: [, input[_cT]],
|
|
164
122
|
});
|
|
165
123
|
let body;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
hostname,
|
|
169
|
-
port,
|
|
170
|
-
method: "DELETE",
|
|
171
|
-
headers,
|
|
172
|
-
path: resolvedPath,
|
|
173
|
-
query,
|
|
174
|
-
body,
|
|
175
|
-
});
|
|
124
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
125
|
+
return b.build();
|
|
176
126
|
};
|
|
177
127
|
exports.se_DeletePermissionCommand = se_DeletePermissionCommand;
|
|
178
128
|
const se_DeletePermissionVersionCommand = async (input, context) => {
|
|
179
|
-
const
|
|
129
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
180
130
|
const headers = {};
|
|
181
|
-
|
|
131
|
+
b.bp("/deletepermissionversion");
|
|
182
132
|
const query = (0, smithy_client_1.map)({
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
() => input.permissionVersion.toString(),
|
|
187
|
-
],
|
|
188
|
-
clientToken: [, input.clientToken],
|
|
133
|
+
[_pA]: [, (0, smithy_client_1.expectNonNull)(input[_pA], `permissionArn`)],
|
|
134
|
+
[_pV]: [(0, smithy_client_1.expectNonNull)(input.permissionVersion, `permissionVersion`) != null, () => input[_pV].toString()],
|
|
135
|
+
[_cT]: [, input[_cT]],
|
|
189
136
|
});
|
|
190
137
|
let body;
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
hostname,
|
|
194
|
-
port,
|
|
195
|
-
method: "DELETE",
|
|
196
|
-
headers,
|
|
197
|
-
path: resolvedPath,
|
|
198
|
-
query,
|
|
199
|
-
body,
|
|
200
|
-
});
|
|
138
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
139
|
+
return b.build();
|
|
201
140
|
};
|
|
202
141
|
exports.se_DeletePermissionVersionCommand = se_DeletePermissionVersionCommand;
|
|
203
142
|
const se_DeleteResourceShareCommand = async (input, context) => {
|
|
204
|
-
const
|
|
143
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
205
144
|
const headers = {};
|
|
206
|
-
|
|
145
|
+
b.bp("/deleteresourceshare");
|
|
207
146
|
const query = (0, smithy_client_1.map)({
|
|
208
|
-
|
|
209
|
-
|
|
147
|
+
[_rSA]: [, (0, smithy_client_1.expectNonNull)(input[_rSA], `resourceShareArn`)],
|
|
148
|
+
[_cT]: [, input[_cT]],
|
|
210
149
|
});
|
|
211
150
|
let body;
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
hostname,
|
|
215
|
-
port,
|
|
216
|
-
method: "DELETE",
|
|
217
|
-
headers,
|
|
218
|
-
path: resolvedPath,
|
|
219
|
-
query,
|
|
220
|
-
body,
|
|
221
|
-
});
|
|
151
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
152
|
+
return b.build();
|
|
222
153
|
};
|
|
223
154
|
exports.se_DeleteResourceShareCommand = se_DeleteResourceShareCommand;
|
|
224
155
|
const se_DisassociateResourceShareCommand = async (input, context) => {
|
|
225
|
-
const
|
|
156
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
226
157
|
const headers = {
|
|
227
158
|
"content-type": "application/json",
|
|
228
159
|
};
|
|
229
|
-
|
|
160
|
+
b.bp("/disassociateresourceshare");
|
|
230
161
|
let body;
|
|
231
162
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
232
163
|
clientToken: [],
|
|
@@ -235,87 +166,59 @@ const se_DisassociateResourceShareCommand = async (input, context) => {
|
|
|
235
166
|
resourceShareArn: [],
|
|
236
167
|
sources: (_) => (0, smithy_client_1._json)(_),
|
|
237
168
|
}));
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
hostname,
|
|
241
|
-
port,
|
|
242
|
-
method: "POST",
|
|
243
|
-
headers,
|
|
244
|
-
path: resolvedPath,
|
|
245
|
-
body,
|
|
246
|
-
});
|
|
169
|
+
b.m("POST").h(headers).b(body);
|
|
170
|
+
return b.build();
|
|
247
171
|
};
|
|
248
172
|
exports.se_DisassociateResourceShareCommand = se_DisassociateResourceShareCommand;
|
|
249
173
|
const se_DisassociateResourceSharePermissionCommand = async (input, context) => {
|
|
250
|
-
const
|
|
174
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
251
175
|
const headers = {
|
|
252
176
|
"content-type": "application/json",
|
|
253
177
|
};
|
|
254
|
-
|
|
178
|
+
b.bp("/disassociateresourcesharepermission");
|
|
255
179
|
let body;
|
|
256
180
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
257
181
|
clientToken: [],
|
|
258
182
|
permissionArn: [],
|
|
259
183
|
resourceShareArn: [],
|
|
260
184
|
}));
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
hostname,
|
|
264
|
-
port,
|
|
265
|
-
method: "POST",
|
|
266
|
-
headers,
|
|
267
|
-
path: resolvedPath,
|
|
268
|
-
body,
|
|
269
|
-
});
|
|
185
|
+
b.m("POST").h(headers).b(body);
|
|
186
|
+
return b.build();
|
|
270
187
|
};
|
|
271
188
|
exports.se_DisassociateResourceSharePermissionCommand = se_DisassociateResourceSharePermissionCommand;
|
|
272
189
|
const se_EnableSharingWithAwsOrganizationCommand = async (input, context) => {
|
|
273
|
-
const
|
|
190
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
274
191
|
const headers = {
|
|
275
192
|
"content-type": "application/json",
|
|
276
193
|
};
|
|
277
|
-
|
|
194
|
+
b.bp("/enablesharingwithawsorganization");
|
|
278
195
|
let body;
|
|
279
196
|
body = "";
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
hostname,
|
|
283
|
-
port,
|
|
284
|
-
method: "POST",
|
|
285
|
-
headers,
|
|
286
|
-
path: resolvedPath,
|
|
287
|
-
body,
|
|
288
|
-
});
|
|
197
|
+
b.m("POST").h(headers).b(body);
|
|
198
|
+
return b.build();
|
|
289
199
|
};
|
|
290
200
|
exports.se_EnableSharingWithAwsOrganizationCommand = se_EnableSharingWithAwsOrganizationCommand;
|
|
291
201
|
const se_GetPermissionCommand = async (input, context) => {
|
|
292
|
-
const
|
|
202
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
293
203
|
const headers = {
|
|
294
204
|
"content-type": "application/json",
|
|
295
205
|
};
|
|
296
|
-
|
|
206
|
+
b.bp("/getpermission");
|
|
297
207
|
let body;
|
|
298
208
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
299
209
|
permissionArn: [],
|
|
300
210
|
permissionVersion: [],
|
|
301
211
|
}));
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
hostname,
|
|
305
|
-
port,
|
|
306
|
-
method: "POST",
|
|
307
|
-
headers,
|
|
308
|
-
path: resolvedPath,
|
|
309
|
-
body,
|
|
310
|
-
});
|
|
212
|
+
b.m("POST").h(headers).b(body);
|
|
213
|
+
return b.build();
|
|
311
214
|
};
|
|
312
215
|
exports.se_GetPermissionCommand = se_GetPermissionCommand;
|
|
313
216
|
const se_GetResourcePoliciesCommand = async (input, context) => {
|
|
314
|
-
const
|
|
217
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
315
218
|
const headers = {
|
|
316
219
|
"content-type": "application/json",
|
|
317
220
|
};
|
|
318
|
-
|
|
221
|
+
b.bp("/getresourcepolicies");
|
|
319
222
|
let body;
|
|
320
223
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
321
224
|
maxResults: [],
|
|
@@ -323,23 +226,16 @@ const se_GetResourcePoliciesCommand = async (input, context) => {
|
|
|
323
226
|
principal: [],
|
|
324
227
|
resourceArns: (_) => (0, smithy_client_1._json)(_),
|
|
325
228
|
}));
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
hostname,
|
|
329
|
-
port,
|
|
330
|
-
method: "POST",
|
|
331
|
-
headers,
|
|
332
|
-
path: resolvedPath,
|
|
333
|
-
body,
|
|
334
|
-
});
|
|
229
|
+
b.m("POST").h(headers).b(body);
|
|
230
|
+
return b.build();
|
|
335
231
|
};
|
|
336
232
|
exports.se_GetResourcePoliciesCommand = se_GetResourcePoliciesCommand;
|
|
337
233
|
const se_GetResourceShareAssociationsCommand = async (input, context) => {
|
|
338
|
-
const
|
|
234
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
339
235
|
const headers = {
|
|
340
236
|
"content-type": "application/json",
|
|
341
237
|
};
|
|
342
|
-
|
|
238
|
+
b.bp("/getresourceshareassociations");
|
|
343
239
|
let body;
|
|
344
240
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
345
241
|
associationStatus: [],
|
|
@@ -350,23 +246,16 @@ const se_GetResourceShareAssociationsCommand = async (input, context) => {
|
|
|
350
246
|
resourceArn: [],
|
|
351
247
|
resourceShareArns: (_) => (0, smithy_client_1._json)(_),
|
|
352
248
|
}));
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
hostname,
|
|
356
|
-
port,
|
|
357
|
-
method: "POST",
|
|
358
|
-
headers,
|
|
359
|
-
path: resolvedPath,
|
|
360
|
-
body,
|
|
361
|
-
});
|
|
249
|
+
b.m("POST").h(headers).b(body);
|
|
250
|
+
return b.build();
|
|
362
251
|
};
|
|
363
252
|
exports.se_GetResourceShareAssociationsCommand = se_GetResourceShareAssociationsCommand;
|
|
364
253
|
const se_GetResourceShareInvitationsCommand = async (input, context) => {
|
|
365
|
-
const
|
|
254
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
366
255
|
const headers = {
|
|
367
256
|
"content-type": "application/json",
|
|
368
257
|
};
|
|
369
|
-
|
|
258
|
+
b.bp("/getresourceshareinvitations");
|
|
370
259
|
let body;
|
|
371
260
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
372
261
|
maxResults: [],
|
|
@@ -374,23 +263,16 @@ const se_GetResourceShareInvitationsCommand = async (input, context) => {
|
|
|
374
263
|
resourceShareArns: (_) => (0, smithy_client_1._json)(_),
|
|
375
264
|
resourceShareInvitationArns: (_) => (0, smithy_client_1._json)(_),
|
|
376
265
|
}));
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
hostname,
|
|
380
|
-
port,
|
|
381
|
-
method: "POST",
|
|
382
|
-
headers,
|
|
383
|
-
path: resolvedPath,
|
|
384
|
-
body,
|
|
385
|
-
});
|
|
266
|
+
b.m("POST").h(headers).b(body);
|
|
267
|
+
return b.build();
|
|
386
268
|
};
|
|
387
269
|
exports.se_GetResourceShareInvitationsCommand = se_GetResourceShareInvitationsCommand;
|
|
388
270
|
const se_GetResourceSharesCommand = async (input, context) => {
|
|
389
|
-
const
|
|
271
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
390
272
|
const headers = {
|
|
391
273
|
"content-type": "application/json",
|
|
392
274
|
};
|
|
393
|
-
|
|
275
|
+
b.bp("/getresourceshares");
|
|
394
276
|
let body;
|
|
395
277
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
396
278
|
maxResults: [],
|
|
@@ -403,23 +285,16 @@ const se_GetResourceSharesCommand = async (input, context) => {
|
|
|
403
285
|
resourceShareStatus: [],
|
|
404
286
|
tagFilters: (_) => (0, smithy_client_1._json)(_),
|
|
405
287
|
}));
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
hostname,
|
|
409
|
-
port,
|
|
410
|
-
method: "POST",
|
|
411
|
-
headers,
|
|
412
|
-
path: resolvedPath,
|
|
413
|
-
body,
|
|
414
|
-
});
|
|
288
|
+
b.m("POST").h(headers).b(body);
|
|
289
|
+
return b.build();
|
|
415
290
|
};
|
|
416
291
|
exports.se_GetResourceSharesCommand = se_GetResourceSharesCommand;
|
|
417
292
|
const se_ListPendingInvitationResourcesCommand = async (input, context) => {
|
|
418
|
-
const
|
|
293
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
419
294
|
const headers = {
|
|
420
295
|
"content-type": "application/json",
|
|
421
296
|
};
|
|
422
|
-
|
|
297
|
+
b.bp("/listpendinginvitationresources");
|
|
423
298
|
let body;
|
|
424
299
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
425
300
|
maxResults: [],
|
|
@@ -427,23 +302,16 @@ const se_ListPendingInvitationResourcesCommand = async (input, context) => {
|
|
|
427
302
|
resourceRegionScope: [],
|
|
428
303
|
resourceShareInvitationArn: [],
|
|
429
304
|
}));
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
hostname,
|
|
433
|
-
port,
|
|
434
|
-
method: "POST",
|
|
435
|
-
headers,
|
|
436
|
-
path: resolvedPath,
|
|
437
|
-
body,
|
|
438
|
-
});
|
|
305
|
+
b.m("POST").h(headers).b(body);
|
|
306
|
+
return b.build();
|
|
439
307
|
};
|
|
440
308
|
exports.se_ListPendingInvitationResourcesCommand = se_ListPendingInvitationResourcesCommand;
|
|
441
309
|
const se_ListPermissionAssociationsCommand = async (input, context) => {
|
|
442
|
-
const
|
|
310
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
443
311
|
const headers = {
|
|
444
312
|
"content-type": "application/json",
|
|
445
313
|
};
|
|
446
|
-
|
|
314
|
+
b.bp("/listpermissionassociations");
|
|
447
315
|
let body;
|
|
448
316
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
449
317
|
associationStatus: [],
|
|
@@ -455,23 +323,16 @@ const se_ListPermissionAssociationsCommand = async (input, context) => {
|
|
|
455
323
|
permissionVersion: [],
|
|
456
324
|
resourceType: [],
|
|
457
325
|
}));
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
hostname,
|
|
461
|
-
port,
|
|
462
|
-
method: "POST",
|
|
463
|
-
headers,
|
|
464
|
-
path: resolvedPath,
|
|
465
|
-
body,
|
|
466
|
-
});
|
|
326
|
+
b.m("POST").h(headers).b(body);
|
|
327
|
+
return b.build();
|
|
467
328
|
};
|
|
468
329
|
exports.se_ListPermissionAssociationsCommand = se_ListPermissionAssociationsCommand;
|
|
469
330
|
const se_ListPermissionsCommand = async (input, context) => {
|
|
470
|
-
const
|
|
331
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
471
332
|
const headers = {
|
|
472
333
|
"content-type": "application/json",
|
|
473
334
|
};
|
|
474
|
-
|
|
335
|
+
b.bp("/listpermissions");
|
|
475
336
|
let body;
|
|
476
337
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
477
338
|
maxResults: [],
|
|
@@ -479,46 +340,32 @@ const se_ListPermissionsCommand = async (input, context) => {
|
|
|
479
340
|
permissionType: [],
|
|
480
341
|
resourceType: [],
|
|
481
342
|
}));
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
hostname,
|
|
485
|
-
port,
|
|
486
|
-
method: "POST",
|
|
487
|
-
headers,
|
|
488
|
-
path: resolvedPath,
|
|
489
|
-
body,
|
|
490
|
-
});
|
|
343
|
+
b.m("POST").h(headers).b(body);
|
|
344
|
+
return b.build();
|
|
491
345
|
};
|
|
492
346
|
exports.se_ListPermissionsCommand = se_ListPermissionsCommand;
|
|
493
347
|
const se_ListPermissionVersionsCommand = async (input, context) => {
|
|
494
|
-
const
|
|
348
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
495
349
|
const headers = {
|
|
496
350
|
"content-type": "application/json",
|
|
497
351
|
};
|
|
498
|
-
|
|
352
|
+
b.bp("/listpermissionversions");
|
|
499
353
|
let body;
|
|
500
354
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
501
355
|
maxResults: [],
|
|
502
356
|
nextToken: [],
|
|
503
357
|
permissionArn: [],
|
|
504
358
|
}));
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
hostname,
|
|
508
|
-
port,
|
|
509
|
-
method: "POST",
|
|
510
|
-
headers,
|
|
511
|
-
path: resolvedPath,
|
|
512
|
-
body,
|
|
513
|
-
});
|
|
359
|
+
b.m("POST").h(headers).b(body);
|
|
360
|
+
return b.build();
|
|
514
361
|
};
|
|
515
362
|
exports.se_ListPermissionVersionsCommand = se_ListPermissionVersionsCommand;
|
|
516
363
|
const se_ListPrincipalsCommand = async (input, context) => {
|
|
517
|
-
const
|
|
364
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
518
365
|
const headers = {
|
|
519
366
|
"content-type": "application/json",
|
|
520
367
|
};
|
|
521
|
-
|
|
368
|
+
b.bp("/listprincipals");
|
|
522
369
|
let body;
|
|
523
370
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
524
371
|
maxResults: [],
|
|
@@ -529,23 +376,16 @@ const se_ListPrincipalsCommand = async (input, context) => {
|
|
|
529
376
|
resourceShareArns: (_) => (0, smithy_client_1._json)(_),
|
|
530
377
|
resourceType: [],
|
|
531
378
|
}));
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
hostname,
|
|
535
|
-
port,
|
|
536
|
-
method: "POST",
|
|
537
|
-
headers,
|
|
538
|
-
path: resolvedPath,
|
|
539
|
-
body,
|
|
540
|
-
});
|
|
379
|
+
b.m("POST").h(headers).b(body);
|
|
380
|
+
return b.build();
|
|
541
381
|
};
|
|
542
382
|
exports.se_ListPrincipalsCommand = se_ListPrincipalsCommand;
|
|
543
383
|
const se_ListReplacePermissionAssociationsWorkCommand = async (input, context) => {
|
|
544
|
-
const
|
|
384
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
545
385
|
const headers = {
|
|
546
386
|
"content-type": "application/json",
|
|
547
387
|
};
|
|
548
|
-
|
|
388
|
+
b.bp("/listreplacepermissionassociationswork");
|
|
549
389
|
let body;
|
|
550
390
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
551
391
|
maxResults: [],
|
|
@@ -553,23 +393,16 @@ const se_ListReplacePermissionAssociationsWorkCommand = async (input, context) =
|
|
|
553
393
|
status: [],
|
|
554
394
|
workIds: (_) => (0, smithy_client_1._json)(_),
|
|
555
395
|
}));
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
hostname,
|
|
559
|
-
port,
|
|
560
|
-
method: "POST",
|
|
561
|
-
headers,
|
|
562
|
-
path: resolvedPath,
|
|
563
|
-
body,
|
|
564
|
-
});
|
|
396
|
+
b.m("POST").h(headers).b(body);
|
|
397
|
+
return b.build();
|
|
565
398
|
};
|
|
566
399
|
exports.se_ListReplacePermissionAssociationsWorkCommand = se_ListReplacePermissionAssociationsWorkCommand;
|
|
567
400
|
const se_ListResourcesCommand = async (input, context) => {
|
|
568
|
-
const
|
|
401
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
569
402
|
const headers = {
|
|
570
403
|
"content-type": "application/json",
|
|
571
404
|
};
|
|
572
|
-
|
|
405
|
+
b.bp("/listresources");
|
|
573
406
|
let body;
|
|
574
407
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
575
408
|
maxResults: [],
|
|
@@ -581,134 +414,91 @@ const se_ListResourcesCommand = async (input, context) => {
|
|
|
581
414
|
resourceShareArns: (_) => (0, smithy_client_1._json)(_),
|
|
582
415
|
resourceType: [],
|
|
583
416
|
}));
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
hostname,
|
|
587
|
-
port,
|
|
588
|
-
method: "POST",
|
|
589
|
-
headers,
|
|
590
|
-
path: resolvedPath,
|
|
591
|
-
body,
|
|
592
|
-
});
|
|
417
|
+
b.m("POST").h(headers).b(body);
|
|
418
|
+
return b.build();
|
|
593
419
|
};
|
|
594
420
|
exports.se_ListResourcesCommand = se_ListResourcesCommand;
|
|
595
421
|
const se_ListResourceSharePermissionsCommand = async (input, context) => {
|
|
596
|
-
const
|
|
422
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
597
423
|
const headers = {
|
|
598
424
|
"content-type": "application/json",
|
|
599
425
|
};
|
|
600
|
-
|
|
426
|
+
b.bp("/listresourcesharepermissions");
|
|
601
427
|
let body;
|
|
602
428
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
603
429
|
maxResults: [],
|
|
604
430
|
nextToken: [],
|
|
605
431
|
resourceShareArn: [],
|
|
606
432
|
}));
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
hostname,
|
|
610
|
-
port,
|
|
611
|
-
method: "POST",
|
|
612
|
-
headers,
|
|
613
|
-
path: resolvedPath,
|
|
614
|
-
body,
|
|
615
|
-
});
|
|
433
|
+
b.m("POST").h(headers).b(body);
|
|
434
|
+
return b.build();
|
|
616
435
|
};
|
|
617
436
|
exports.se_ListResourceSharePermissionsCommand = se_ListResourceSharePermissionsCommand;
|
|
618
437
|
const se_ListResourceTypesCommand = async (input, context) => {
|
|
619
|
-
const
|
|
438
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
620
439
|
const headers = {
|
|
621
440
|
"content-type": "application/json",
|
|
622
441
|
};
|
|
623
|
-
|
|
442
|
+
b.bp("/listresourcetypes");
|
|
624
443
|
let body;
|
|
625
444
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
626
445
|
maxResults: [],
|
|
627
446
|
nextToken: [],
|
|
628
447
|
resourceRegionScope: [],
|
|
629
448
|
}));
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
hostname,
|
|
633
|
-
port,
|
|
634
|
-
method: "POST",
|
|
635
|
-
headers,
|
|
636
|
-
path: resolvedPath,
|
|
637
|
-
body,
|
|
638
|
-
});
|
|
449
|
+
b.m("POST").h(headers).b(body);
|
|
450
|
+
return b.build();
|
|
639
451
|
};
|
|
640
452
|
exports.se_ListResourceTypesCommand = se_ListResourceTypesCommand;
|
|
641
453
|
const se_PromotePermissionCreatedFromPolicyCommand = async (input, context) => {
|
|
642
|
-
const
|
|
454
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
643
455
|
const headers = {
|
|
644
456
|
"content-type": "application/json",
|
|
645
457
|
};
|
|
646
|
-
|
|
458
|
+
b.bp("/promotepermissioncreatedfrompolicy");
|
|
647
459
|
let body;
|
|
648
460
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
649
461
|
clientToken: [],
|
|
650
462
|
name: [],
|
|
651
463
|
permissionArn: [],
|
|
652
464
|
}));
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
hostname,
|
|
656
|
-
port,
|
|
657
|
-
method: "POST",
|
|
658
|
-
headers,
|
|
659
|
-
path: resolvedPath,
|
|
660
|
-
body,
|
|
661
|
-
});
|
|
465
|
+
b.m("POST").h(headers).b(body);
|
|
466
|
+
return b.build();
|
|
662
467
|
};
|
|
663
468
|
exports.se_PromotePermissionCreatedFromPolicyCommand = se_PromotePermissionCreatedFromPolicyCommand;
|
|
664
469
|
const se_PromoteResourceShareCreatedFromPolicyCommand = async (input, context) => {
|
|
665
|
-
const
|
|
470
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
666
471
|
const headers = {};
|
|
667
|
-
|
|
472
|
+
b.bp("/promoteresourcesharecreatedfrompolicy");
|
|
668
473
|
const query = (0, smithy_client_1.map)({
|
|
669
|
-
|
|
474
|
+
[_rSA]: [, (0, smithy_client_1.expectNonNull)(input[_rSA], `resourceShareArn`)],
|
|
670
475
|
});
|
|
671
476
|
let body;
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
hostname,
|
|
675
|
-
port,
|
|
676
|
-
method: "POST",
|
|
677
|
-
headers,
|
|
678
|
-
path: resolvedPath,
|
|
679
|
-
query,
|
|
680
|
-
body,
|
|
681
|
-
});
|
|
477
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
478
|
+
return b.build();
|
|
682
479
|
};
|
|
683
480
|
exports.se_PromoteResourceShareCreatedFromPolicyCommand = se_PromoteResourceShareCreatedFromPolicyCommand;
|
|
684
481
|
const se_RejectResourceShareInvitationCommand = async (input, context) => {
|
|
685
|
-
const
|
|
482
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
686
483
|
const headers = {
|
|
687
484
|
"content-type": "application/json",
|
|
688
485
|
};
|
|
689
|
-
|
|
486
|
+
b.bp("/rejectresourceshareinvitation");
|
|
690
487
|
let body;
|
|
691
488
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
692
489
|
clientToken: [],
|
|
693
490
|
resourceShareInvitationArn: [],
|
|
694
491
|
}));
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
hostname,
|
|
698
|
-
port,
|
|
699
|
-
method: "POST",
|
|
700
|
-
headers,
|
|
701
|
-
path: resolvedPath,
|
|
702
|
-
body,
|
|
703
|
-
});
|
|
492
|
+
b.m("POST").h(headers).b(body);
|
|
493
|
+
return b.build();
|
|
704
494
|
};
|
|
705
495
|
exports.se_RejectResourceShareInvitationCommand = se_RejectResourceShareInvitationCommand;
|
|
706
496
|
const se_ReplacePermissionAssociationsCommand = async (input, context) => {
|
|
707
|
-
const
|
|
497
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
708
498
|
const headers = {
|
|
709
499
|
"content-type": "application/json",
|
|
710
500
|
};
|
|
711
|
-
|
|
501
|
+
b.bp("/replacepermissionassociations");
|
|
712
502
|
let body;
|
|
713
503
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
714
504
|
clientToken: [],
|
|
@@ -716,92 +506,64 @@ const se_ReplacePermissionAssociationsCommand = async (input, context) => {
|
|
|
716
506
|
fromPermissionVersion: [],
|
|
717
507
|
toPermissionArn: [],
|
|
718
508
|
}));
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
hostname,
|
|
722
|
-
port,
|
|
723
|
-
method: "POST",
|
|
724
|
-
headers,
|
|
725
|
-
path: resolvedPath,
|
|
726
|
-
body,
|
|
727
|
-
});
|
|
509
|
+
b.m("POST").h(headers).b(body);
|
|
510
|
+
return b.build();
|
|
728
511
|
};
|
|
729
512
|
exports.se_ReplacePermissionAssociationsCommand = se_ReplacePermissionAssociationsCommand;
|
|
730
513
|
const se_SetDefaultPermissionVersionCommand = async (input, context) => {
|
|
731
|
-
const
|
|
514
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
732
515
|
const headers = {
|
|
733
516
|
"content-type": "application/json",
|
|
734
517
|
};
|
|
735
|
-
|
|
518
|
+
b.bp("/setdefaultpermissionversion");
|
|
736
519
|
let body;
|
|
737
520
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
738
521
|
clientToken: [],
|
|
739
522
|
permissionArn: [],
|
|
740
523
|
permissionVersion: [],
|
|
741
524
|
}));
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
hostname,
|
|
745
|
-
port,
|
|
746
|
-
method: "POST",
|
|
747
|
-
headers,
|
|
748
|
-
path: resolvedPath,
|
|
749
|
-
body,
|
|
750
|
-
});
|
|
525
|
+
b.m("POST").h(headers).b(body);
|
|
526
|
+
return b.build();
|
|
751
527
|
};
|
|
752
528
|
exports.se_SetDefaultPermissionVersionCommand = se_SetDefaultPermissionVersionCommand;
|
|
753
529
|
const se_TagResourceCommand = async (input, context) => {
|
|
754
|
-
const
|
|
530
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
755
531
|
const headers = {
|
|
756
532
|
"content-type": "application/json",
|
|
757
533
|
};
|
|
758
|
-
|
|
534
|
+
b.bp("/tagresource");
|
|
759
535
|
let body;
|
|
760
536
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
761
537
|
resourceArn: [],
|
|
762
538
|
resourceShareArn: [],
|
|
763
539
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
764
540
|
}));
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
hostname,
|
|
768
|
-
port,
|
|
769
|
-
method: "POST",
|
|
770
|
-
headers,
|
|
771
|
-
path: resolvedPath,
|
|
772
|
-
body,
|
|
773
|
-
});
|
|
541
|
+
b.m("POST").h(headers).b(body);
|
|
542
|
+
return b.build();
|
|
774
543
|
};
|
|
775
544
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
776
545
|
const se_UntagResourceCommand = async (input, context) => {
|
|
777
|
-
const
|
|
546
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
778
547
|
const headers = {
|
|
779
548
|
"content-type": "application/json",
|
|
780
549
|
};
|
|
781
|
-
|
|
550
|
+
b.bp("/untagresource");
|
|
782
551
|
let body;
|
|
783
552
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
784
553
|
resourceArn: [],
|
|
785
554
|
resourceShareArn: [],
|
|
786
555
|
tagKeys: (_) => (0, smithy_client_1._json)(_),
|
|
787
556
|
}));
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
hostname,
|
|
791
|
-
port,
|
|
792
|
-
method: "POST",
|
|
793
|
-
headers,
|
|
794
|
-
path: resolvedPath,
|
|
795
|
-
body,
|
|
796
|
-
});
|
|
557
|
+
b.m("POST").h(headers).b(body);
|
|
558
|
+
return b.build();
|
|
797
559
|
};
|
|
798
560
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
799
561
|
const se_UpdateResourceShareCommand = async (input, context) => {
|
|
800
|
-
const
|
|
562
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
801
563
|
const headers = {
|
|
802
564
|
"content-type": "application/json",
|
|
803
565
|
};
|
|
804
|
-
|
|
566
|
+
b.bp("/updateresourceshare");
|
|
805
567
|
let body;
|
|
806
568
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
807
569
|
allowExternalPrincipals: [],
|
|
@@ -809,15 +571,8 @@ const se_UpdateResourceShareCommand = async (input, context) => {
|
|
|
809
571
|
name: [],
|
|
810
572
|
resourceShareArn: [],
|
|
811
573
|
}));
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
hostname,
|
|
815
|
-
port,
|
|
816
|
-
method: "POST",
|
|
817
|
-
headers,
|
|
818
|
-
path: resolvedPath,
|
|
819
|
-
body,
|
|
820
|
-
});
|
|
574
|
+
b.m("POST").h(headers).b(body);
|
|
575
|
+
return b.build();
|
|
821
576
|
};
|
|
822
577
|
exports.se_UpdateResourceShareCommand = se_UpdateResourceShareCommand;
|
|
823
578
|
const de_AcceptResourceShareInvitationCommand = async (output, context) => {
|
|
@@ -3226,6 +2981,10 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
3226
2981
|
value !== "" &&
|
|
3227
2982
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
3228
2983
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
2984
|
+
const _cT = "clientToken";
|
|
2985
|
+
const _pA = "permissionArn";
|
|
2986
|
+
const _pV = "permissionVersion";
|
|
2987
|
+
const _rSA = "resourceShareArn";
|
|
3229
2988
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3230
2989
|
if (encoded.length) {
|
|
3231
2990
|
return JSON.parse(encoded);
|