@aws-sdk/client-ram 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1907 -2013
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/RAMClient.js +2 -0
- package/dist-es/commands/AcceptResourceShareInvitationCommand.js +3 -9
- package/dist-es/commands/AssociateResourceShareCommand.js +3 -9
- package/dist-es/commands/AssociateResourceSharePermissionCommand.js +3 -9
- package/dist-es/commands/CreatePermissionCommand.js +3 -9
- package/dist-es/commands/CreatePermissionVersionCommand.js +3 -9
- package/dist-es/commands/CreateResourceShareCommand.js +3 -9
- package/dist-es/commands/DeletePermissionCommand.js +3 -9
- package/dist-es/commands/DeletePermissionVersionCommand.js +3 -9
- package/dist-es/commands/DeleteResourceShareCommand.js +3 -9
- package/dist-es/commands/DisassociateResourceShareCommand.js +3 -9
- package/dist-es/commands/DisassociateResourceSharePermissionCommand.js +3 -9
- package/dist-es/commands/EnableSharingWithAwsOrganizationCommand.js +3 -9
- package/dist-es/commands/GetPermissionCommand.js +3 -9
- package/dist-es/commands/GetResourcePoliciesCommand.js +3 -9
- package/dist-es/commands/GetResourceShareAssociationsCommand.js +3 -9
- package/dist-es/commands/GetResourceShareInvitationsCommand.js +3 -9
- package/dist-es/commands/GetResourceSharesCommand.js +3 -9
- package/dist-es/commands/ListPendingInvitationResourcesCommand.js +3 -9
- package/dist-es/commands/ListPermissionAssociationsCommand.js +3 -9
- package/dist-es/commands/ListPermissionVersionsCommand.js +3 -9
- package/dist-es/commands/ListPermissionsCommand.js +3 -9
- package/dist-es/commands/ListPrincipalsCommand.js +3 -9
- package/dist-es/commands/ListReplacePermissionAssociationsWorkCommand.js +3 -9
- package/dist-es/commands/ListResourceSharePermissionsCommand.js +3 -9
- package/dist-es/commands/ListResourceTypesCommand.js +3 -9
- package/dist-es/commands/ListResourcesCommand.js +3 -9
- package/dist-es/commands/PromotePermissionCreatedFromPolicyCommand.js +3 -9
- package/dist-es/commands/PromoteResourceShareCreatedFromPolicyCommand.js +3 -9
- package/dist-es/commands/RejectResourceShareInvitationCommand.js +3 -9
- package/dist-es/commands/ReplacePermissionAssociationsCommand.js +3 -9
- package/dist-es/commands/SetDefaultPermissionVersionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateResourceShareCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1760 -0
- package/dist-types/RAMClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +166 -0
- package/dist-types/ts3.4/RAMClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +171 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -1696
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -308
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -413
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class RAMClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,12 +110,12 @@ class RAMClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class RAMServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let RAMServiceException$1 = class RAMServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, RAMServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
120
|
const ResourceShareAssociationType = {
|
|
121
121
|
PRINCIPAL: "PRINCIPAL",
|
|
@@ -134,7 +134,7 @@ const ResourceShareInvitationStatus = {
|
|
|
134
134
|
PENDING: "PENDING",
|
|
135
135
|
REJECTED: "REJECTED",
|
|
136
136
|
};
|
|
137
|
-
class IdempotentParameterMismatchException extends RAMServiceException {
|
|
137
|
+
let IdempotentParameterMismatchException$1 = class IdempotentParameterMismatchException extends RAMServiceException$1 {
|
|
138
138
|
name = "IdempotentParameterMismatchException";
|
|
139
139
|
$fault = "client";
|
|
140
140
|
constructor(opts) {
|
|
@@ -145,8 +145,8 @@ class IdempotentParameterMismatchException extends RAMServiceException {
|
|
|
145
145
|
});
|
|
146
146
|
Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
|
|
147
147
|
}
|
|
148
|
-
}
|
|
149
|
-
class InvalidClientTokenException extends RAMServiceException {
|
|
148
|
+
};
|
|
149
|
+
let InvalidClientTokenException$1 = class InvalidClientTokenException extends RAMServiceException$1 {
|
|
150
150
|
name = "InvalidClientTokenException";
|
|
151
151
|
$fault = "client";
|
|
152
152
|
constructor(opts) {
|
|
@@ -157,8 +157,8 @@ class InvalidClientTokenException extends RAMServiceException {
|
|
|
157
157
|
});
|
|
158
158
|
Object.setPrototypeOf(this, InvalidClientTokenException.prototype);
|
|
159
159
|
}
|
|
160
|
-
}
|
|
161
|
-
class MalformedArnException extends RAMServiceException {
|
|
160
|
+
};
|
|
161
|
+
let MalformedArnException$1 = class MalformedArnException extends RAMServiceException$1 {
|
|
162
162
|
name = "MalformedArnException";
|
|
163
163
|
$fault = "client";
|
|
164
164
|
constructor(opts) {
|
|
@@ -169,8 +169,8 @@ class MalformedArnException extends RAMServiceException {
|
|
|
169
169
|
});
|
|
170
170
|
Object.setPrototypeOf(this, MalformedArnException.prototype);
|
|
171
171
|
}
|
|
172
|
-
}
|
|
173
|
-
class OperationNotPermittedException extends RAMServiceException {
|
|
172
|
+
};
|
|
173
|
+
let OperationNotPermittedException$1 = class OperationNotPermittedException extends RAMServiceException$1 {
|
|
174
174
|
name = "OperationNotPermittedException";
|
|
175
175
|
$fault = "client";
|
|
176
176
|
constructor(opts) {
|
|
@@ -181,8 +181,8 @@ class OperationNotPermittedException extends RAMServiceException {
|
|
|
181
181
|
});
|
|
182
182
|
Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
|
|
183
183
|
}
|
|
184
|
-
}
|
|
185
|
-
class ResourceShareInvitationAlreadyAcceptedException extends RAMServiceException {
|
|
184
|
+
};
|
|
185
|
+
let ResourceShareInvitationAlreadyAcceptedException$1 = class ResourceShareInvitationAlreadyAcceptedException extends RAMServiceException$1 {
|
|
186
186
|
name = "ResourceShareInvitationAlreadyAcceptedException";
|
|
187
187
|
$fault = "client";
|
|
188
188
|
constructor(opts) {
|
|
@@ -193,8 +193,8 @@ class ResourceShareInvitationAlreadyAcceptedException extends RAMServiceExceptio
|
|
|
193
193
|
});
|
|
194
194
|
Object.setPrototypeOf(this, ResourceShareInvitationAlreadyAcceptedException.prototype);
|
|
195
195
|
}
|
|
196
|
-
}
|
|
197
|
-
class ResourceShareInvitationAlreadyRejectedException extends RAMServiceException {
|
|
196
|
+
};
|
|
197
|
+
let ResourceShareInvitationAlreadyRejectedException$1 = class ResourceShareInvitationAlreadyRejectedException extends RAMServiceException$1 {
|
|
198
198
|
name = "ResourceShareInvitationAlreadyRejectedException";
|
|
199
199
|
$fault = "client";
|
|
200
200
|
constructor(opts) {
|
|
@@ -205,8 +205,8 @@ class ResourceShareInvitationAlreadyRejectedException extends RAMServiceExceptio
|
|
|
205
205
|
});
|
|
206
206
|
Object.setPrototypeOf(this, ResourceShareInvitationAlreadyRejectedException.prototype);
|
|
207
207
|
}
|
|
208
|
-
}
|
|
209
|
-
class ResourceShareInvitationArnNotFoundException extends RAMServiceException {
|
|
208
|
+
};
|
|
209
|
+
let ResourceShareInvitationArnNotFoundException$1 = class ResourceShareInvitationArnNotFoundException extends RAMServiceException$1 {
|
|
210
210
|
name = "ResourceShareInvitationArnNotFoundException";
|
|
211
211
|
$fault = "client";
|
|
212
212
|
constructor(opts) {
|
|
@@ -217,8 +217,8 @@ class ResourceShareInvitationArnNotFoundException extends RAMServiceException {
|
|
|
217
217
|
});
|
|
218
218
|
Object.setPrototypeOf(this, ResourceShareInvitationArnNotFoundException.prototype);
|
|
219
219
|
}
|
|
220
|
-
}
|
|
221
|
-
class ResourceShareInvitationExpiredException extends RAMServiceException {
|
|
220
|
+
};
|
|
221
|
+
let ResourceShareInvitationExpiredException$1 = class ResourceShareInvitationExpiredException extends RAMServiceException$1 {
|
|
222
222
|
name = "ResourceShareInvitationExpiredException";
|
|
223
223
|
$fault = "client";
|
|
224
224
|
constructor(opts) {
|
|
@@ -229,8 +229,8 @@ class ResourceShareInvitationExpiredException extends RAMServiceException {
|
|
|
229
229
|
});
|
|
230
230
|
Object.setPrototypeOf(this, ResourceShareInvitationExpiredException.prototype);
|
|
231
231
|
}
|
|
232
|
-
}
|
|
233
|
-
class ServerInternalException extends RAMServiceException {
|
|
232
|
+
};
|
|
233
|
+
let ServerInternalException$1 = class ServerInternalException extends RAMServiceException$1 {
|
|
234
234
|
name = "ServerInternalException";
|
|
235
235
|
$fault = "server";
|
|
236
236
|
constructor(opts) {
|
|
@@ -241,8 +241,8 @@ class ServerInternalException extends RAMServiceException {
|
|
|
241
241
|
});
|
|
242
242
|
Object.setPrototypeOf(this, ServerInternalException.prototype);
|
|
243
243
|
}
|
|
244
|
-
}
|
|
245
|
-
class ServiceUnavailableException extends RAMServiceException {
|
|
244
|
+
};
|
|
245
|
+
let ServiceUnavailableException$1 = class ServiceUnavailableException extends RAMServiceException$1 {
|
|
246
246
|
name = "ServiceUnavailableException";
|
|
247
247
|
$fault = "server";
|
|
248
248
|
constructor(opts) {
|
|
@@ -253,8 +253,8 @@ class ServiceUnavailableException extends RAMServiceException {
|
|
|
253
253
|
});
|
|
254
254
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
255
255
|
}
|
|
256
|
-
}
|
|
257
|
-
class InvalidParameterException extends RAMServiceException {
|
|
256
|
+
};
|
|
257
|
+
let InvalidParameterException$1 = class InvalidParameterException extends RAMServiceException$1 {
|
|
258
258
|
name = "InvalidParameterException";
|
|
259
259
|
$fault = "client";
|
|
260
260
|
constructor(opts) {
|
|
@@ -265,8 +265,8 @@ class InvalidParameterException extends RAMServiceException {
|
|
|
265
265
|
});
|
|
266
266
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
267
267
|
}
|
|
268
|
-
}
|
|
269
|
-
class InvalidStateTransitionException extends RAMServiceException {
|
|
268
|
+
};
|
|
269
|
+
let InvalidStateTransitionException$1 = class InvalidStateTransitionException extends RAMServiceException$1 {
|
|
270
270
|
name = "InvalidStateTransitionException";
|
|
271
271
|
$fault = "client";
|
|
272
272
|
constructor(opts) {
|
|
@@ -277,8 +277,8 @@ class InvalidStateTransitionException extends RAMServiceException {
|
|
|
277
277
|
});
|
|
278
278
|
Object.setPrototypeOf(this, InvalidStateTransitionException.prototype);
|
|
279
279
|
}
|
|
280
|
-
}
|
|
281
|
-
class ResourceShareLimitExceededException extends RAMServiceException {
|
|
280
|
+
};
|
|
281
|
+
let ResourceShareLimitExceededException$1 = class ResourceShareLimitExceededException extends RAMServiceException$1 {
|
|
282
282
|
name = "ResourceShareLimitExceededException";
|
|
283
283
|
$fault = "client";
|
|
284
284
|
constructor(opts) {
|
|
@@ -289,8 +289,8 @@ class ResourceShareLimitExceededException extends RAMServiceException {
|
|
|
289
289
|
});
|
|
290
290
|
Object.setPrototypeOf(this, ResourceShareLimitExceededException.prototype);
|
|
291
291
|
}
|
|
292
|
-
}
|
|
293
|
-
class ThrottlingException extends RAMServiceException {
|
|
292
|
+
};
|
|
293
|
+
let ThrottlingException$1 = class ThrottlingException extends RAMServiceException$1 {
|
|
294
294
|
name = "ThrottlingException";
|
|
295
295
|
$fault = "client";
|
|
296
296
|
constructor(opts) {
|
|
@@ -301,8 +301,8 @@ class ThrottlingException extends RAMServiceException {
|
|
|
301
301
|
});
|
|
302
302
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
303
303
|
}
|
|
304
|
-
}
|
|
305
|
-
class UnknownResourceException extends RAMServiceException {
|
|
304
|
+
};
|
|
305
|
+
let UnknownResourceException$1 = class UnknownResourceException extends RAMServiceException$1 {
|
|
306
306
|
name = "UnknownResourceException";
|
|
307
307
|
$fault = "client";
|
|
308
308
|
constructor(opts) {
|
|
@@ -313,7 +313,7 @@ class UnknownResourceException extends RAMServiceException {
|
|
|
313
313
|
});
|
|
314
314
|
Object.setPrototypeOf(this, UnknownResourceException.prototype);
|
|
315
315
|
}
|
|
316
|
-
}
|
|
316
|
+
};
|
|
317
317
|
const PermissionFeatureSet = {
|
|
318
318
|
CREATED_FROM_POLICY: "CREATED_FROM_POLICY",
|
|
319
319
|
PROMOTING_TO_STANDARD: "PROMOTING_TO_STANDARD",
|
|
@@ -323,7 +323,7 @@ const PermissionType = {
|
|
|
323
323
|
AWS_MANAGED: "AWS_MANAGED",
|
|
324
324
|
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
325
325
|
};
|
|
326
|
-
class InvalidPolicyException extends RAMServiceException {
|
|
326
|
+
let InvalidPolicyException$1 = class InvalidPolicyException extends RAMServiceException$1 {
|
|
327
327
|
name = "InvalidPolicyException";
|
|
328
328
|
$fault = "client";
|
|
329
329
|
constructor(opts) {
|
|
@@ -334,8 +334,8 @@ class InvalidPolicyException extends RAMServiceException {
|
|
|
334
334
|
});
|
|
335
335
|
Object.setPrototypeOf(this, InvalidPolicyException.prototype);
|
|
336
336
|
}
|
|
337
|
-
}
|
|
338
|
-
class MalformedPolicyTemplateException extends RAMServiceException {
|
|
337
|
+
};
|
|
338
|
+
let MalformedPolicyTemplateException$1 = class MalformedPolicyTemplateException extends RAMServiceException$1 {
|
|
339
339
|
name = "MalformedPolicyTemplateException";
|
|
340
340
|
$fault = "client";
|
|
341
341
|
constructor(opts) {
|
|
@@ -346,8 +346,8 @@ class MalformedPolicyTemplateException extends RAMServiceException {
|
|
|
346
346
|
});
|
|
347
347
|
Object.setPrototypeOf(this, MalformedPolicyTemplateException.prototype);
|
|
348
348
|
}
|
|
349
|
-
}
|
|
350
|
-
class PermissionAlreadyExistsException extends RAMServiceException {
|
|
349
|
+
};
|
|
350
|
+
let PermissionAlreadyExistsException$1 = class PermissionAlreadyExistsException extends RAMServiceException$1 {
|
|
351
351
|
name = "PermissionAlreadyExistsException";
|
|
352
352
|
$fault = "client";
|
|
353
353
|
constructor(opts) {
|
|
@@ -358,8 +358,8 @@ class PermissionAlreadyExistsException extends RAMServiceException {
|
|
|
358
358
|
});
|
|
359
359
|
Object.setPrototypeOf(this, PermissionAlreadyExistsException.prototype);
|
|
360
360
|
}
|
|
361
|
-
}
|
|
362
|
-
class PermissionLimitExceededException extends RAMServiceException {
|
|
361
|
+
};
|
|
362
|
+
let PermissionLimitExceededException$1 = class PermissionLimitExceededException extends RAMServiceException$1 {
|
|
363
363
|
name = "PermissionLimitExceededException";
|
|
364
364
|
$fault = "client";
|
|
365
365
|
constructor(opts) {
|
|
@@ -370,14 +370,14 @@ class PermissionLimitExceededException extends RAMServiceException {
|
|
|
370
370
|
});
|
|
371
371
|
Object.setPrototypeOf(this, PermissionLimitExceededException.prototype);
|
|
372
372
|
}
|
|
373
|
-
}
|
|
373
|
+
};
|
|
374
374
|
const PermissionStatus = {
|
|
375
375
|
ATTACHABLE: "ATTACHABLE",
|
|
376
376
|
DELETED: "DELETED",
|
|
377
377
|
DELETING: "DELETING",
|
|
378
378
|
UNATTACHABLE: "UNATTACHABLE",
|
|
379
379
|
};
|
|
380
|
-
class PermissionVersionsLimitExceededException extends RAMServiceException {
|
|
380
|
+
let PermissionVersionsLimitExceededException$1 = class PermissionVersionsLimitExceededException extends RAMServiceException$1 {
|
|
381
381
|
name = "PermissionVersionsLimitExceededException";
|
|
382
382
|
$fault = "client";
|
|
383
383
|
constructor(opts) {
|
|
@@ -388,7 +388,7 @@ class PermissionVersionsLimitExceededException extends RAMServiceException {
|
|
|
388
388
|
});
|
|
389
389
|
Object.setPrototypeOf(this, PermissionVersionsLimitExceededException.prototype);
|
|
390
390
|
}
|
|
391
|
-
}
|
|
391
|
+
};
|
|
392
392
|
const ResourceShareFeatureSet = {
|
|
393
393
|
CREATED_FROM_POLICY: "CREATED_FROM_POLICY",
|
|
394
394
|
PROMOTING_TO_STANDARD: "PROMOTING_TO_STANDARD",
|
|
@@ -401,7 +401,7 @@ const ResourceShareStatus = {
|
|
|
401
401
|
FAILED: "FAILED",
|
|
402
402
|
PENDING: "PENDING",
|
|
403
403
|
};
|
|
404
|
-
class TagLimitExceededException extends RAMServiceException {
|
|
404
|
+
let TagLimitExceededException$1 = class TagLimitExceededException extends RAMServiceException$1 {
|
|
405
405
|
name = "TagLimitExceededException";
|
|
406
406
|
$fault = "client";
|
|
407
407
|
constructor(opts) {
|
|
@@ -412,8 +412,8 @@ class TagLimitExceededException extends RAMServiceException {
|
|
|
412
412
|
});
|
|
413
413
|
Object.setPrototypeOf(this, TagLimitExceededException.prototype);
|
|
414
414
|
}
|
|
415
|
-
}
|
|
416
|
-
class TagPolicyViolationException extends RAMServiceException {
|
|
415
|
+
};
|
|
416
|
+
let TagPolicyViolationException$1 = class TagPolicyViolationException extends RAMServiceException$1 {
|
|
417
417
|
name = "TagPolicyViolationException";
|
|
418
418
|
$fault = "client";
|
|
419
419
|
constructor(opts) {
|
|
@@ -424,8 +424,8 @@ class TagPolicyViolationException extends RAMServiceException {
|
|
|
424
424
|
});
|
|
425
425
|
Object.setPrototypeOf(this, TagPolicyViolationException.prototype);
|
|
426
426
|
}
|
|
427
|
-
}
|
|
428
|
-
class InvalidNextTokenException extends RAMServiceException {
|
|
427
|
+
};
|
|
428
|
+
let InvalidNextTokenException$1 = class InvalidNextTokenException extends RAMServiceException$1 {
|
|
429
429
|
name = "InvalidNextTokenException";
|
|
430
430
|
$fault = "client";
|
|
431
431
|
constructor(opts) {
|
|
@@ -436,8 +436,8 @@ class InvalidNextTokenException extends RAMServiceException {
|
|
|
436
436
|
});
|
|
437
437
|
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
438
438
|
}
|
|
439
|
-
}
|
|
440
|
-
class ResourceArnNotFoundException extends RAMServiceException {
|
|
439
|
+
};
|
|
440
|
+
let ResourceArnNotFoundException$1 = class ResourceArnNotFoundException extends RAMServiceException$1 {
|
|
441
441
|
name = "ResourceArnNotFoundException";
|
|
442
442
|
$fault = "client";
|
|
443
443
|
constructor(opts) {
|
|
@@ -448,8 +448,8 @@ class ResourceArnNotFoundException extends RAMServiceException {
|
|
|
448
448
|
});
|
|
449
449
|
Object.setPrototypeOf(this, ResourceArnNotFoundException.prototype);
|
|
450
450
|
}
|
|
451
|
-
}
|
|
452
|
-
class InvalidMaxResultsException extends RAMServiceException {
|
|
451
|
+
};
|
|
452
|
+
let InvalidMaxResultsException$1 = class InvalidMaxResultsException extends RAMServiceException$1 {
|
|
453
453
|
name = "InvalidMaxResultsException";
|
|
454
454
|
$fault = "client";
|
|
455
455
|
constructor(opts) {
|
|
@@ -460,7 +460,7 @@ class InvalidMaxResultsException extends RAMServiceException {
|
|
|
460
460
|
});
|
|
461
461
|
Object.setPrototypeOf(this, InvalidMaxResultsException.prototype);
|
|
462
462
|
}
|
|
463
|
-
}
|
|
463
|
+
};
|
|
464
464
|
const ResourceOwner = {
|
|
465
465
|
OTHER_ACCOUNTS: "OTHER-ACCOUNTS",
|
|
466
466
|
SELF: "SELF",
|
|
@@ -481,7 +481,7 @@ const ResourceStatus = {
|
|
|
481
481
|
UNAVAILABLE: "UNAVAILABLE",
|
|
482
482
|
ZONAL_RESOURCE_INACCESSIBLE: "ZONAL_RESOURCE_INACCESSIBLE",
|
|
483
483
|
};
|
|
484
|
-
class MissingRequiredParameterException extends RAMServiceException {
|
|
484
|
+
let MissingRequiredParameterException$1 = class MissingRequiredParameterException extends RAMServiceException$1 {
|
|
485
485
|
name = "MissingRequiredParameterException";
|
|
486
486
|
$fault = "client";
|
|
487
487
|
constructor(opts) {
|
|
@@ -492,7 +492,7 @@ class MissingRequiredParameterException extends RAMServiceException {
|
|
|
492
492
|
});
|
|
493
493
|
Object.setPrototypeOf(this, MissingRequiredParameterException.prototype);
|
|
494
494
|
}
|
|
495
|
-
}
|
|
495
|
+
};
|
|
496
496
|
const PermissionTypeFilter = {
|
|
497
497
|
ALL: "ALL",
|
|
498
498
|
AWS_MANAGED: "AWS_MANAGED",
|
|
@@ -503,7 +503,7 @@ const ReplacePermissionAssociationsWorkStatus = {
|
|
|
503
503
|
FAILED: "FAILED",
|
|
504
504
|
IN_PROGRESS: "IN_PROGRESS",
|
|
505
505
|
};
|
|
506
|
-
class InvalidResourceTypeException extends RAMServiceException {
|
|
506
|
+
let InvalidResourceTypeException$1 = class InvalidResourceTypeException extends RAMServiceException$1 {
|
|
507
507
|
name = "InvalidResourceTypeException";
|
|
508
508
|
$fault = "client";
|
|
509
509
|
constructor(opts) {
|
|
@@ -514,8 +514,8 @@ class InvalidResourceTypeException extends RAMServiceException {
|
|
|
514
514
|
});
|
|
515
515
|
Object.setPrototypeOf(this, InvalidResourceTypeException.prototype);
|
|
516
516
|
}
|
|
517
|
-
}
|
|
518
|
-
class UnmatchedPolicyPermissionException extends RAMServiceException {
|
|
517
|
+
};
|
|
518
|
+
let UnmatchedPolicyPermissionException$1 = class UnmatchedPolicyPermissionException extends RAMServiceException$1 {
|
|
519
519
|
name = "UnmatchedPolicyPermissionException";
|
|
520
520
|
$fault = "client";
|
|
521
521
|
constructor(opts) {
|
|
@@ -526,1713 +526,1772 @@ class UnmatchedPolicyPermissionException extends RAMServiceException {
|
|
|
526
526
|
});
|
|
527
527
|
Object.setPrototypeOf(this, UnmatchedPolicyPermissionException.prototype);
|
|
528
528
|
}
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
const se_AcceptResourceShareInvitationCommand = async (input, context) => {
|
|
532
|
-
const b = core.requestBuilder(input, context);
|
|
533
|
-
const headers = {
|
|
534
|
-
"content-type": "application/json",
|
|
535
|
-
};
|
|
536
|
-
b.bp("/acceptresourceshareinvitation");
|
|
537
|
-
let body;
|
|
538
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
539
|
-
clientToken: [],
|
|
540
|
-
resourceShareInvitationArn: [],
|
|
541
|
-
}));
|
|
542
|
-
b.m("POST").h(headers).b(body);
|
|
543
|
-
return b.build();
|
|
544
|
-
};
|
|
545
|
-
const se_AssociateResourceShareCommand = async (input, context) => {
|
|
546
|
-
const b = core.requestBuilder(input, context);
|
|
547
|
-
const headers = {
|
|
548
|
-
"content-type": "application/json",
|
|
549
|
-
};
|
|
550
|
-
b.bp("/associateresourceshare");
|
|
551
|
-
let body;
|
|
552
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
553
|
-
clientToken: [],
|
|
554
|
-
principals: (_) => smithyClient._json(_),
|
|
555
|
-
resourceArns: (_) => smithyClient._json(_),
|
|
556
|
-
resourceShareArn: [],
|
|
557
|
-
sources: (_) => smithyClient._json(_),
|
|
558
|
-
}));
|
|
559
|
-
b.m("POST").h(headers).b(body);
|
|
560
|
-
return b.build();
|
|
561
|
-
};
|
|
562
|
-
const se_AssociateResourceSharePermissionCommand = async (input, context) => {
|
|
563
|
-
const b = core.requestBuilder(input, context);
|
|
564
|
-
const headers = {
|
|
565
|
-
"content-type": "application/json",
|
|
566
|
-
};
|
|
567
|
-
b.bp("/associateresourcesharepermission");
|
|
568
|
-
let body;
|
|
569
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
570
|
-
clientToken: [],
|
|
571
|
-
permissionArn: [],
|
|
572
|
-
permissionVersion: [],
|
|
573
|
-
replace: [],
|
|
574
|
-
resourceShareArn: [],
|
|
575
|
-
}));
|
|
576
|
-
b.m("POST").h(headers).b(body);
|
|
577
|
-
return b.build();
|
|
578
|
-
};
|
|
579
|
-
const se_CreatePermissionCommand = async (input, context) => {
|
|
580
|
-
const b = core.requestBuilder(input, context);
|
|
581
|
-
const headers = {
|
|
582
|
-
"content-type": "application/json",
|
|
583
|
-
};
|
|
584
|
-
b.bp("/createpermission");
|
|
585
|
-
let body;
|
|
586
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
587
|
-
clientToken: [],
|
|
588
|
-
name: [],
|
|
589
|
-
policyTemplate: [],
|
|
590
|
-
resourceType: [],
|
|
591
|
-
tags: (_) => smithyClient._json(_),
|
|
592
|
-
}));
|
|
593
|
-
b.m("POST").h(headers).b(body);
|
|
594
|
-
return b.build();
|
|
595
|
-
};
|
|
596
|
-
const se_CreatePermissionVersionCommand = async (input, context) => {
|
|
597
|
-
const b = core.requestBuilder(input, context);
|
|
598
|
-
const headers = {
|
|
599
|
-
"content-type": "application/json",
|
|
600
|
-
};
|
|
601
|
-
b.bp("/createpermissionversion");
|
|
602
|
-
let body;
|
|
603
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
604
|
-
clientToken: [],
|
|
605
|
-
permissionArn: [],
|
|
606
|
-
policyTemplate: [],
|
|
607
|
-
}));
|
|
608
|
-
b.m("POST").h(headers).b(body);
|
|
609
|
-
return b.build();
|
|
610
|
-
};
|
|
611
|
-
const se_CreateResourceShareCommand = async (input, context) => {
|
|
612
|
-
const b = core.requestBuilder(input, context);
|
|
613
|
-
const headers = {
|
|
614
|
-
"content-type": "application/json",
|
|
615
|
-
};
|
|
616
|
-
b.bp("/createresourceshare");
|
|
617
|
-
let body;
|
|
618
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
619
|
-
allowExternalPrincipals: [],
|
|
620
|
-
clientToken: [],
|
|
621
|
-
name: [],
|
|
622
|
-
permissionArns: (_) => smithyClient._json(_),
|
|
623
|
-
principals: (_) => smithyClient._json(_),
|
|
624
|
-
resourceArns: (_) => smithyClient._json(_),
|
|
625
|
-
sources: (_) => smithyClient._json(_),
|
|
626
|
-
tags: (_) => smithyClient._json(_),
|
|
627
|
-
}));
|
|
628
|
-
b.m("POST").h(headers).b(body);
|
|
629
|
-
return b.build();
|
|
630
|
-
};
|
|
631
|
-
const se_DeletePermissionCommand = async (input, context) => {
|
|
632
|
-
const b = core.requestBuilder(input, context);
|
|
633
|
-
const headers = {};
|
|
634
|
-
b.bp("/deletepermission");
|
|
635
|
-
const query = smithyClient.map({
|
|
636
|
-
[_pA]: [, smithyClient.expectNonNull(input[_pA], `permissionArn`)],
|
|
637
|
-
[_cT]: [, input[_cT]],
|
|
638
|
-
});
|
|
639
|
-
let body;
|
|
640
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
641
|
-
return b.build();
|
|
642
|
-
};
|
|
643
|
-
const se_DeletePermissionVersionCommand = async (input, context) => {
|
|
644
|
-
const b = core.requestBuilder(input, context);
|
|
645
|
-
const headers = {};
|
|
646
|
-
b.bp("/deletepermissionversion");
|
|
647
|
-
const query = smithyClient.map({
|
|
648
|
-
[_pA]: [, smithyClient.expectNonNull(input[_pA], `permissionArn`)],
|
|
649
|
-
[_pV]: [smithyClient.expectNonNull(input.permissionVersion, `permissionVersion`) != null, () => input[_pV].toString()],
|
|
650
|
-
[_cT]: [, input[_cT]],
|
|
651
|
-
});
|
|
652
|
-
let body;
|
|
653
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
654
|
-
return b.build();
|
|
655
|
-
};
|
|
656
|
-
const se_DeleteResourceShareCommand = async (input, context) => {
|
|
657
|
-
const b = core.requestBuilder(input, context);
|
|
658
|
-
const headers = {};
|
|
659
|
-
b.bp("/deleteresourceshare");
|
|
660
|
-
const query = smithyClient.map({
|
|
661
|
-
[_rSA]: [, smithyClient.expectNonNull(input[_rSA], `resourceShareArn`)],
|
|
662
|
-
[_cT]: [, input[_cT]],
|
|
663
|
-
});
|
|
664
|
-
let body;
|
|
665
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
666
|
-
return b.build();
|
|
667
|
-
};
|
|
668
|
-
const se_DisassociateResourceShareCommand = async (input, context) => {
|
|
669
|
-
const b = core.requestBuilder(input, context);
|
|
670
|
-
const headers = {
|
|
671
|
-
"content-type": "application/json",
|
|
672
|
-
};
|
|
673
|
-
b.bp("/disassociateresourceshare");
|
|
674
|
-
let body;
|
|
675
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
676
|
-
clientToken: [],
|
|
677
|
-
principals: (_) => smithyClient._json(_),
|
|
678
|
-
resourceArns: (_) => smithyClient._json(_),
|
|
679
|
-
resourceShareArn: [],
|
|
680
|
-
sources: (_) => smithyClient._json(_),
|
|
681
|
-
}));
|
|
682
|
-
b.m("POST").h(headers).b(body);
|
|
683
|
-
return b.build();
|
|
684
|
-
};
|
|
685
|
-
const se_DisassociateResourceSharePermissionCommand = async (input, context) => {
|
|
686
|
-
const b = core.requestBuilder(input, context);
|
|
687
|
-
const headers = {
|
|
688
|
-
"content-type": "application/json",
|
|
689
|
-
};
|
|
690
|
-
b.bp("/disassociateresourcesharepermission");
|
|
691
|
-
let body;
|
|
692
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
693
|
-
clientToken: [],
|
|
694
|
-
permissionArn: [],
|
|
695
|
-
resourceShareArn: [],
|
|
696
|
-
}));
|
|
697
|
-
b.m("POST").h(headers).b(body);
|
|
698
|
-
return b.build();
|
|
699
|
-
};
|
|
700
|
-
const se_EnableSharingWithAwsOrganizationCommand = async (input, context) => {
|
|
701
|
-
const b = core.requestBuilder(input, context);
|
|
702
|
-
const headers = {};
|
|
703
|
-
b.bp("/enablesharingwithawsorganization");
|
|
704
|
-
let body;
|
|
705
|
-
b.m("POST").h(headers).b(body);
|
|
706
|
-
return b.build();
|
|
707
|
-
};
|
|
708
|
-
const se_GetPermissionCommand = async (input, context) => {
|
|
709
|
-
const b = core.requestBuilder(input, context);
|
|
710
|
-
const headers = {
|
|
711
|
-
"content-type": "application/json",
|
|
712
|
-
};
|
|
713
|
-
b.bp("/getpermission");
|
|
714
|
-
let body;
|
|
715
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
716
|
-
permissionArn: [],
|
|
717
|
-
permissionVersion: [],
|
|
718
|
-
}));
|
|
719
|
-
b.m("POST").h(headers).b(body);
|
|
720
|
-
return b.build();
|
|
721
|
-
};
|
|
722
|
-
const se_GetResourcePoliciesCommand = async (input, context) => {
|
|
723
|
-
const b = core.requestBuilder(input, context);
|
|
724
|
-
const headers = {
|
|
725
|
-
"content-type": "application/json",
|
|
726
|
-
};
|
|
727
|
-
b.bp("/getresourcepolicies");
|
|
728
|
-
let body;
|
|
729
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
730
|
-
maxResults: [],
|
|
731
|
-
nextToken: [],
|
|
732
|
-
principal: [],
|
|
733
|
-
resourceArns: (_) => smithyClient._json(_),
|
|
734
|
-
}));
|
|
735
|
-
b.m("POST").h(headers).b(body);
|
|
736
|
-
return b.build();
|
|
737
|
-
};
|
|
738
|
-
const se_GetResourceShareAssociationsCommand = async (input, context) => {
|
|
739
|
-
const b = core.requestBuilder(input, context);
|
|
740
|
-
const headers = {
|
|
741
|
-
"content-type": "application/json",
|
|
742
|
-
};
|
|
743
|
-
b.bp("/getresourceshareassociations");
|
|
744
|
-
let body;
|
|
745
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
746
|
-
associationStatus: [],
|
|
747
|
-
associationType: [],
|
|
748
|
-
maxResults: [],
|
|
749
|
-
nextToken: [],
|
|
750
|
-
principal: [],
|
|
751
|
-
resourceArn: [],
|
|
752
|
-
resourceShareArns: (_) => smithyClient._json(_),
|
|
753
|
-
}));
|
|
754
|
-
b.m("POST").h(headers).b(body);
|
|
755
|
-
return b.build();
|
|
756
|
-
};
|
|
757
|
-
const se_GetResourceShareInvitationsCommand = async (input, context) => {
|
|
758
|
-
const b = core.requestBuilder(input, context);
|
|
759
|
-
const headers = {
|
|
760
|
-
"content-type": "application/json",
|
|
761
|
-
};
|
|
762
|
-
b.bp("/getresourceshareinvitations");
|
|
763
|
-
let body;
|
|
764
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
765
|
-
maxResults: [],
|
|
766
|
-
nextToken: [],
|
|
767
|
-
resourceShareArns: (_) => smithyClient._json(_),
|
|
768
|
-
resourceShareInvitationArns: (_) => smithyClient._json(_),
|
|
769
|
-
}));
|
|
770
|
-
b.m("POST").h(headers).b(body);
|
|
771
|
-
return b.build();
|
|
772
|
-
};
|
|
773
|
-
const se_GetResourceSharesCommand = async (input, context) => {
|
|
774
|
-
const b = core.requestBuilder(input, context);
|
|
775
|
-
const headers = {
|
|
776
|
-
"content-type": "application/json",
|
|
777
|
-
};
|
|
778
|
-
b.bp("/getresourceshares");
|
|
779
|
-
let body;
|
|
780
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
781
|
-
maxResults: [],
|
|
782
|
-
name: [],
|
|
783
|
-
nextToken: [],
|
|
784
|
-
permissionArn: [],
|
|
785
|
-
permissionVersion: [],
|
|
786
|
-
resourceOwner: [],
|
|
787
|
-
resourceShareArns: (_) => smithyClient._json(_),
|
|
788
|
-
resourceShareStatus: [],
|
|
789
|
-
tagFilters: (_) => smithyClient._json(_),
|
|
790
|
-
}));
|
|
791
|
-
b.m("POST").h(headers).b(body);
|
|
792
|
-
return b.build();
|
|
793
|
-
};
|
|
794
|
-
const se_ListPendingInvitationResourcesCommand = async (input, context) => {
|
|
795
|
-
const b = core.requestBuilder(input, context);
|
|
796
|
-
const headers = {
|
|
797
|
-
"content-type": "application/json",
|
|
798
|
-
};
|
|
799
|
-
b.bp("/listpendinginvitationresources");
|
|
800
|
-
let body;
|
|
801
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
802
|
-
maxResults: [],
|
|
803
|
-
nextToken: [],
|
|
804
|
-
resourceRegionScope: [],
|
|
805
|
-
resourceShareInvitationArn: [],
|
|
806
|
-
}));
|
|
807
|
-
b.m("POST").h(headers).b(body);
|
|
808
|
-
return b.build();
|
|
809
|
-
};
|
|
810
|
-
const se_ListPermissionAssociationsCommand = async (input, context) => {
|
|
811
|
-
const b = core.requestBuilder(input, context);
|
|
812
|
-
const headers = {
|
|
813
|
-
"content-type": "application/json",
|
|
814
|
-
};
|
|
815
|
-
b.bp("/listpermissionassociations");
|
|
816
|
-
let body;
|
|
817
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
818
|
-
associationStatus: [],
|
|
819
|
-
defaultVersion: [],
|
|
820
|
-
featureSet: [],
|
|
821
|
-
maxResults: [],
|
|
822
|
-
nextToken: [],
|
|
823
|
-
permissionArn: [],
|
|
824
|
-
permissionVersion: [],
|
|
825
|
-
resourceType: [],
|
|
826
|
-
}));
|
|
827
|
-
b.m("POST").h(headers).b(body);
|
|
828
|
-
return b.build();
|
|
829
|
-
};
|
|
830
|
-
const se_ListPermissionsCommand = async (input, context) => {
|
|
831
|
-
const b = core.requestBuilder(input, context);
|
|
832
|
-
const headers = {
|
|
833
|
-
"content-type": "application/json",
|
|
834
|
-
};
|
|
835
|
-
b.bp("/listpermissions");
|
|
836
|
-
let body;
|
|
837
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
838
|
-
maxResults: [],
|
|
839
|
-
nextToken: [],
|
|
840
|
-
permissionType: [],
|
|
841
|
-
resourceType: [],
|
|
842
|
-
}));
|
|
843
|
-
b.m("POST").h(headers).b(body);
|
|
844
|
-
return b.build();
|
|
845
|
-
};
|
|
846
|
-
const se_ListPermissionVersionsCommand = async (input, context) => {
|
|
847
|
-
const b = core.requestBuilder(input, context);
|
|
848
|
-
const headers = {
|
|
849
|
-
"content-type": "application/json",
|
|
850
|
-
};
|
|
851
|
-
b.bp("/listpermissionversions");
|
|
852
|
-
let body;
|
|
853
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
854
|
-
maxResults: [],
|
|
855
|
-
nextToken: [],
|
|
856
|
-
permissionArn: [],
|
|
857
|
-
}));
|
|
858
|
-
b.m("POST").h(headers).b(body);
|
|
859
|
-
return b.build();
|
|
860
|
-
};
|
|
861
|
-
const se_ListPrincipalsCommand = async (input, context) => {
|
|
862
|
-
const b = core.requestBuilder(input, context);
|
|
863
|
-
const headers = {
|
|
864
|
-
"content-type": "application/json",
|
|
865
|
-
};
|
|
866
|
-
b.bp("/listprincipals");
|
|
867
|
-
let body;
|
|
868
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
869
|
-
maxResults: [],
|
|
870
|
-
nextToken: [],
|
|
871
|
-
principals: (_) => smithyClient._json(_),
|
|
872
|
-
resourceArn: [],
|
|
873
|
-
resourceOwner: [],
|
|
874
|
-
resourceShareArns: (_) => smithyClient._json(_),
|
|
875
|
-
resourceType: [],
|
|
876
|
-
}));
|
|
877
|
-
b.m("POST").h(headers).b(body);
|
|
878
|
-
return b.build();
|
|
879
|
-
};
|
|
880
|
-
const se_ListReplacePermissionAssociationsWorkCommand = async (input, context) => {
|
|
881
|
-
const b = core.requestBuilder(input, context);
|
|
882
|
-
const headers = {
|
|
883
|
-
"content-type": "application/json",
|
|
884
|
-
};
|
|
885
|
-
b.bp("/listreplacepermissionassociationswork");
|
|
886
|
-
let body;
|
|
887
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
888
|
-
maxResults: [],
|
|
889
|
-
nextToken: [],
|
|
890
|
-
status: [],
|
|
891
|
-
workIds: (_) => smithyClient._json(_),
|
|
892
|
-
}));
|
|
893
|
-
b.m("POST").h(headers).b(body);
|
|
894
|
-
return b.build();
|
|
895
|
-
};
|
|
896
|
-
const se_ListResourcesCommand = async (input, context) => {
|
|
897
|
-
const b = core.requestBuilder(input, context);
|
|
898
|
-
const headers = {
|
|
899
|
-
"content-type": "application/json",
|
|
900
|
-
};
|
|
901
|
-
b.bp("/listresources");
|
|
902
|
-
let body;
|
|
903
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
904
|
-
maxResults: [],
|
|
905
|
-
nextToken: [],
|
|
906
|
-
principal: [],
|
|
907
|
-
resourceArns: (_) => smithyClient._json(_),
|
|
908
|
-
resourceOwner: [],
|
|
909
|
-
resourceRegionScope: [],
|
|
910
|
-
resourceShareArns: (_) => smithyClient._json(_),
|
|
911
|
-
resourceType: [],
|
|
912
|
-
}));
|
|
913
|
-
b.m("POST").h(headers).b(body);
|
|
914
|
-
return b.build();
|
|
915
|
-
};
|
|
916
|
-
const se_ListResourceSharePermissionsCommand = async (input, context) => {
|
|
917
|
-
const b = core.requestBuilder(input, context);
|
|
918
|
-
const headers = {
|
|
919
|
-
"content-type": "application/json",
|
|
920
|
-
};
|
|
921
|
-
b.bp("/listresourcesharepermissions");
|
|
922
|
-
let body;
|
|
923
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
924
|
-
maxResults: [],
|
|
925
|
-
nextToken: [],
|
|
926
|
-
resourceShareArn: [],
|
|
927
|
-
}));
|
|
928
|
-
b.m("POST").h(headers).b(body);
|
|
929
|
-
return b.build();
|
|
930
|
-
};
|
|
931
|
-
const se_ListResourceTypesCommand = async (input, context) => {
|
|
932
|
-
const b = core.requestBuilder(input, context);
|
|
933
|
-
const headers = {
|
|
934
|
-
"content-type": "application/json",
|
|
935
|
-
};
|
|
936
|
-
b.bp("/listresourcetypes");
|
|
937
|
-
let body;
|
|
938
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
939
|
-
maxResults: [],
|
|
940
|
-
nextToken: [],
|
|
941
|
-
resourceRegionScope: [],
|
|
942
|
-
}));
|
|
943
|
-
b.m("POST").h(headers).b(body);
|
|
944
|
-
return b.build();
|
|
945
|
-
};
|
|
946
|
-
const se_PromotePermissionCreatedFromPolicyCommand = async (input, context) => {
|
|
947
|
-
const b = core.requestBuilder(input, context);
|
|
948
|
-
const headers = {
|
|
949
|
-
"content-type": "application/json",
|
|
950
|
-
};
|
|
951
|
-
b.bp("/promotepermissioncreatedfrompolicy");
|
|
952
|
-
let body;
|
|
953
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
954
|
-
clientToken: [],
|
|
955
|
-
name: [],
|
|
956
|
-
permissionArn: [],
|
|
957
|
-
}));
|
|
958
|
-
b.m("POST").h(headers).b(body);
|
|
959
|
-
return b.build();
|
|
960
|
-
};
|
|
961
|
-
const se_PromoteResourceShareCreatedFromPolicyCommand = async (input, context) => {
|
|
962
|
-
const b = core.requestBuilder(input, context);
|
|
963
|
-
const headers = {};
|
|
964
|
-
b.bp("/promoteresourcesharecreatedfrompolicy");
|
|
965
|
-
const query = smithyClient.map({
|
|
966
|
-
[_rSA]: [, smithyClient.expectNonNull(input[_rSA], `resourceShareArn`)],
|
|
967
|
-
});
|
|
968
|
-
let body;
|
|
969
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
970
|
-
return b.build();
|
|
971
|
-
};
|
|
972
|
-
const se_RejectResourceShareInvitationCommand = async (input, context) => {
|
|
973
|
-
const b = core.requestBuilder(input, context);
|
|
974
|
-
const headers = {
|
|
975
|
-
"content-type": "application/json",
|
|
976
|
-
};
|
|
977
|
-
b.bp("/rejectresourceshareinvitation");
|
|
978
|
-
let body;
|
|
979
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
980
|
-
clientToken: [],
|
|
981
|
-
resourceShareInvitationArn: [],
|
|
982
|
-
}));
|
|
983
|
-
b.m("POST").h(headers).b(body);
|
|
984
|
-
return b.build();
|
|
985
|
-
};
|
|
986
|
-
const se_ReplacePermissionAssociationsCommand = async (input, context) => {
|
|
987
|
-
const b = core.requestBuilder(input, context);
|
|
988
|
-
const headers = {
|
|
989
|
-
"content-type": "application/json",
|
|
990
|
-
};
|
|
991
|
-
b.bp("/replacepermissionassociations");
|
|
992
|
-
let body;
|
|
993
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
994
|
-
clientToken: [],
|
|
995
|
-
fromPermissionArn: [],
|
|
996
|
-
fromPermissionVersion: [],
|
|
997
|
-
toPermissionArn: [],
|
|
998
|
-
}));
|
|
999
|
-
b.m("POST").h(headers).b(body);
|
|
1000
|
-
return b.build();
|
|
1001
|
-
};
|
|
1002
|
-
const se_SetDefaultPermissionVersionCommand = async (input, context) => {
|
|
1003
|
-
const b = core.requestBuilder(input, context);
|
|
1004
|
-
const headers = {
|
|
1005
|
-
"content-type": "application/json",
|
|
1006
|
-
};
|
|
1007
|
-
b.bp("/setdefaultpermissionversion");
|
|
1008
|
-
let body;
|
|
1009
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1010
|
-
clientToken: [],
|
|
1011
|
-
permissionArn: [],
|
|
1012
|
-
permissionVersion: [],
|
|
1013
|
-
}));
|
|
1014
|
-
b.m("POST").h(headers).b(body);
|
|
1015
|
-
return b.build();
|
|
1016
|
-
};
|
|
1017
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
1018
|
-
const b = core.requestBuilder(input, context);
|
|
1019
|
-
const headers = {
|
|
1020
|
-
"content-type": "application/json",
|
|
1021
|
-
};
|
|
1022
|
-
b.bp("/tagresource");
|
|
1023
|
-
let body;
|
|
1024
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1025
|
-
resourceArn: [],
|
|
1026
|
-
resourceShareArn: [],
|
|
1027
|
-
tags: (_) => smithyClient._json(_),
|
|
1028
|
-
}));
|
|
1029
|
-
b.m("POST").h(headers).b(body);
|
|
1030
|
-
return b.build();
|
|
1031
|
-
};
|
|
1032
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
1033
|
-
const b = core.requestBuilder(input, context);
|
|
1034
|
-
const headers = {
|
|
1035
|
-
"content-type": "application/json",
|
|
1036
|
-
};
|
|
1037
|
-
b.bp("/untagresource");
|
|
1038
|
-
let body;
|
|
1039
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1040
|
-
resourceArn: [],
|
|
1041
|
-
resourceShareArn: [],
|
|
1042
|
-
tagKeys: (_) => smithyClient._json(_),
|
|
1043
|
-
}));
|
|
1044
|
-
b.m("POST").h(headers).b(body);
|
|
1045
|
-
return b.build();
|
|
1046
|
-
};
|
|
1047
|
-
const se_UpdateResourceShareCommand = async (input, context) => {
|
|
1048
|
-
const b = core.requestBuilder(input, context);
|
|
1049
|
-
const headers = {
|
|
1050
|
-
"content-type": "application/json",
|
|
1051
|
-
};
|
|
1052
|
-
b.bp("/updateresourceshare");
|
|
1053
|
-
let body;
|
|
1054
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1055
|
-
allowExternalPrincipals: [],
|
|
1056
|
-
clientToken: [],
|
|
1057
|
-
name: [],
|
|
1058
|
-
resourceShareArn: [],
|
|
1059
|
-
}));
|
|
1060
|
-
b.m("POST").h(headers).b(body);
|
|
1061
|
-
return b.build();
|
|
1062
|
-
};
|
|
1063
|
-
const de_AcceptResourceShareInvitationCommand = async (output, context) => {
|
|
1064
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1065
|
-
return de_CommandError(output, context);
|
|
1066
|
-
}
|
|
1067
|
-
const contents = smithyClient.map({
|
|
1068
|
-
$metadata: deserializeMetadata(output),
|
|
1069
|
-
});
|
|
1070
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1071
|
-
const doc = smithyClient.take(data, {
|
|
1072
|
-
clientToken: smithyClient.expectString,
|
|
1073
|
-
resourceShareInvitation: (_) => de_ResourceShareInvitation(_),
|
|
1074
|
-
});
|
|
1075
|
-
Object.assign(contents, doc);
|
|
1076
|
-
return contents;
|
|
1077
|
-
};
|
|
1078
|
-
const de_AssociateResourceShareCommand = async (output, context) => {
|
|
1079
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1080
|
-
return de_CommandError(output, context);
|
|
1081
|
-
}
|
|
1082
|
-
const contents = smithyClient.map({
|
|
1083
|
-
$metadata: deserializeMetadata(output),
|
|
1084
|
-
});
|
|
1085
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1086
|
-
const doc = smithyClient.take(data, {
|
|
1087
|
-
clientToken: smithyClient.expectString,
|
|
1088
|
-
resourceShareAssociations: (_) => de_ResourceShareAssociationList(_),
|
|
1089
|
-
});
|
|
1090
|
-
Object.assign(contents, doc);
|
|
1091
|
-
return contents;
|
|
1092
|
-
};
|
|
1093
|
-
const de_AssociateResourceSharePermissionCommand = async (output, context) => {
|
|
1094
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1095
|
-
return de_CommandError(output, context);
|
|
1096
|
-
}
|
|
1097
|
-
const contents = smithyClient.map({
|
|
1098
|
-
$metadata: deserializeMetadata(output),
|
|
1099
|
-
});
|
|
1100
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1101
|
-
const doc = smithyClient.take(data, {
|
|
1102
|
-
clientToken: smithyClient.expectString,
|
|
1103
|
-
returnValue: smithyClient.expectBoolean,
|
|
1104
|
-
});
|
|
1105
|
-
Object.assign(contents, doc);
|
|
1106
|
-
return contents;
|
|
1107
|
-
};
|
|
1108
|
-
const de_CreatePermissionCommand = async (output, context) => {
|
|
1109
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1110
|
-
return de_CommandError(output, context);
|
|
1111
|
-
}
|
|
1112
|
-
const contents = smithyClient.map({
|
|
1113
|
-
$metadata: deserializeMetadata(output),
|
|
1114
|
-
});
|
|
1115
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1116
|
-
const doc = smithyClient.take(data, {
|
|
1117
|
-
clientToken: smithyClient.expectString,
|
|
1118
|
-
permission: (_) => de_ResourceSharePermissionSummary(_),
|
|
1119
|
-
});
|
|
1120
|
-
Object.assign(contents, doc);
|
|
1121
|
-
return contents;
|
|
1122
|
-
};
|
|
1123
|
-
const de_CreatePermissionVersionCommand = async (output, context) => {
|
|
1124
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1125
|
-
return de_CommandError(output, context);
|
|
1126
|
-
}
|
|
1127
|
-
const contents = smithyClient.map({
|
|
1128
|
-
$metadata: deserializeMetadata(output),
|
|
1129
|
-
});
|
|
1130
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1131
|
-
const doc = smithyClient.take(data, {
|
|
1132
|
-
clientToken: smithyClient.expectString,
|
|
1133
|
-
permission: (_) => de_ResourceSharePermissionDetail(_),
|
|
1134
|
-
});
|
|
1135
|
-
Object.assign(contents, doc);
|
|
1136
|
-
return contents;
|
|
1137
|
-
};
|
|
1138
|
-
const de_CreateResourceShareCommand = async (output, context) => {
|
|
1139
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1140
|
-
return de_CommandError(output, context);
|
|
1141
|
-
}
|
|
1142
|
-
const contents = smithyClient.map({
|
|
1143
|
-
$metadata: deserializeMetadata(output),
|
|
1144
|
-
});
|
|
1145
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1146
|
-
const doc = smithyClient.take(data, {
|
|
1147
|
-
clientToken: smithyClient.expectString,
|
|
1148
|
-
resourceShare: (_) => de_ResourceShare(_),
|
|
1149
|
-
});
|
|
1150
|
-
Object.assign(contents, doc);
|
|
1151
|
-
return contents;
|
|
1152
|
-
};
|
|
1153
|
-
const de_DeletePermissionCommand = async (output, context) => {
|
|
1154
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1155
|
-
return de_CommandError(output, context);
|
|
1156
|
-
}
|
|
1157
|
-
const contents = smithyClient.map({
|
|
1158
|
-
$metadata: deserializeMetadata(output),
|
|
1159
|
-
});
|
|
1160
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1161
|
-
const doc = smithyClient.take(data, {
|
|
1162
|
-
clientToken: smithyClient.expectString,
|
|
1163
|
-
permissionStatus: smithyClient.expectString,
|
|
1164
|
-
returnValue: smithyClient.expectBoolean,
|
|
1165
|
-
});
|
|
1166
|
-
Object.assign(contents, doc);
|
|
1167
|
-
return contents;
|
|
1168
|
-
};
|
|
1169
|
-
const de_DeletePermissionVersionCommand = async (output, context) => {
|
|
1170
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1171
|
-
return de_CommandError(output, context);
|
|
1172
|
-
}
|
|
1173
|
-
const contents = smithyClient.map({
|
|
1174
|
-
$metadata: deserializeMetadata(output),
|
|
1175
|
-
});
|
|
1176
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1177
|
-
const doc = smithyClient.take(data, {
|
|
1178
|
-
clientToken: smithyClient.expectString,
|
|
1179
|
-
permissionStatus: smithyClient.expectString,
|
|
1180
|
-
returnValue: smithyClient.expectBoolean,
|
|
1181
|
-
});
|
|
1182
|
-
Object.assign(contents, doc);
|
|
1183
|
-
return contents;
|
|
1184
|
-
};
|
|
1185
|
-
const de_DeleteResourceShareCommand = async (output, context) => {
|
|
1186
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1187
|
-
return de_CommandError(output, context);
|
|
1188
|
-
}
|
|
1189
|
-
const contents = smithyClient.map({
|
|
1190
|
-
$metadata: deserializeMetadata(output),
|
|
1191
|
-
});
|
|
1192
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1193
|
-
const doc = smithyClient.take(data, {
|
|
1194
|
-
clientToken: smithyClient.expectString,
|
|
1195
|
-
returnValue: smithyClient.expectBoolean,
|
|
1196
|
-
});
|
|
1197
|
-
Object.assign(contents, doc);
|
|
1198
|
-
return contents;
|
|
1199
|
-
};
|
|
1200
|
-
const de_DisassociateResourceShareCommand = async (output, context) => {
|
|
1201
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1202
|
-
return de_CommandError(output, context);
|
|
1203
|
-
}
|
|
1204
|
-
const contents = smithyClient.map({
|
|
1205
|
-
$metadata: deserializeMetadata(output),
|
|
1206
|
-
});
|
|
1207
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1208
|
-
const doc = smithyClient.take(data, {
|
|
1209
|
-
clientToken: smithyClient.expectString,
|
|
1210
|
-
resourceShareAssociations: (_) => de_ResourceShareAssociationList(_),
|
|
1211
|
-
});
|
|
1212
|
-
Object.assign(contents, doc);
|
|
1213
|
-
return contents;
|
|
1214
|
-
};
|
|
1215
|
-
const de_DisassociateResourceSharePermissionCommand = async (output, context) => {
|
|
1216
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1217
|
-
return de_CommandError(output, context);
|
|
1218
|
-
}
|
|
1219
|
-
const contents = smithyClient.map({
|
|
1220
|
-
$metadata: deserializeMetadata(output),
|
|
1221
|
-
});
|
|
1222
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1223
|
-
const doc = smithyClient.take(data, {
|
|
1224
|
-
clientToken: smithyClient.expectString,
|
|
1225
|
-
returnValue: smithyClient.expectBoolean,
|
|
1226
|
-
});
|
|
1227
|
-
Object.assign(contents, doc);
|
|
1228
|
-
return contents;
|
|
1229
|
-
};
|
|
1230
|
-
const de_EnableSharingWithAwsOrganizationCommand = async (output, context) => {
|
|
1231
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1232
|
-
return de_CommandError(output, context);
|
|
1233
|
-
}
|
|
1234
|
-
const contents = smithyClient.map({
|
|
1235
|
-
$metadata: deserializeMetadata(output),
|
|
1236
|
-
});
|
|
1237
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1238
|
-
const doc = smithyClient.take(data, {
|
|
1239
|
-
returnValue: smithyClient.expectBoolean,
|
|
1240
|
-
});
|
|
1241
|
-
Object.assign(contents, doc);
|
|
1242
|
-
return contents;
|
|
1243
|
-
};
|
|
1244
|
-
const de_GetPermissionCommand = async (output, context) => {
|
|
1245
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1246
|
-
return de_CommandError(output, context);
|
|
1247
|
-
}
|
|
1248
|
-
const contents = smithyClient.map({
|
|
1249
|
-
$metadata: deserializeMetadata(output),
|
|
1250
|
-
});
|
|
1251
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1252
|
-
const doc = smithyClient.take(data, {
|
|
1253
|
-
permission: (_) => de_ResourceSharePermissionDetail(_),
|
|
1254
|
-
});
|
|
1255
|
-
Object.assign(contents, doc);
|
|
1256
|
-
return contents;
|
|
1257
|
-
};
|
|
1258
|
-
const de_GetResourcePoliciesCommand = async (output, context) => {
|
|
1259
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1260
|
-
return de_CommandError(output, context);
|
|
1261
|
-
}
|
|
1262
|
-
const contents = smithyClient.map({
|
|
1263
|
-
$metadata: deserializeMetadata(output),
|
|
1264
|
-
});
|
|
1265
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1266
|
-
const doc = smithyClient.take(data, {
|
|
1267
|
-
nextToken: smithyClient.expectString,
|
|
1268
|
-
policies: smithyClient._json,
|
|
1269
|
-
});
|
|
1270
|
-
Object.assign(contents, doc);
|
|
1271
|
-
return contents;
|
|
1272
|
-
};
|
|
1273
|
-
const de_GetResourceShareAssociationsCommand = async (output, context) => {
|
|
1274
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1275
|
-
return de_CommandError(output, context);
|
|
1276
|
-
}
|
|
1277
|
-
const contents = smithyClient.map({
|
|
1278
|
-
$metadata: deserializeMetadata(output),
|
|
1279
|
-
});
|
|
1280
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1281
|
-
const doc = smithyClient.take(data, {
|
|
1282
|
-
nextToken: smithyClient.expectString,
|
|
1283
|
-
resourceShareAssociations: (_) => de_ResourceShareAssociationList(_),
|
|
1284
|
-
});
|
|
1285
|
-
Object.assign(contents, doc);
|
|
1286
|
-
return contents;
|
|
1287
|
-
};
|
|
1288
|
-
const de_GetResourceShareInvitationsCommand = async (output, context) => {
|
|
1289
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1290
|
-
return de_CommandError(output, context);
|
|
1291
|
-
}
|
|
1292
|
-
const contents = smithyClient.map({
|
|
1293
|
-
$metadata: deserializeMetadata(output),
|
|
1294
|
-
});
|
|
1295
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1296
|
-
const doc = smithyClient.take(data, {
|
|
1297
|
-
nextToken: smithyClient.expectString,
|
|
1298
|
-
resourceShareInvitations: (_) => de_ResourceShareInvitationList(_),
|
|
1299
|
-
});
|
|
1300
|
-
Object.assign(contents, doc);
|
|
1301
|
-
return contents;
|
|
1302
|
-
};
|
|
1303
|
-
const de_GetResourceSharesCommand = async (output, context) => {
|
|
1304
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1305
|
-
return de_CommandError(output, context);
|
|
1306
|
-
}
|
|
1307
|
-
const contents = smithyClient.map({
|
|
1308
|
-
$metadata: deserializeMetadata(output),
|
|
1309
|
-
});
|
|
1310
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1311
|
-
const doc = smithyClient.take(data, {
|
|
1312
|
-
nextToken: smithyClient.expectString,
|
|
1313
|
-
resourceShares: (_) => de_ResourceShareList(_),
|
|
1314
|
-
});
|
|
1315
|
-
Object.assign(contents, doc);
|
|
1316
|
-
return contents;
|
|
1317
|
-
};
|
|
1318
|
-
const de_ListPendingInvitationResourcesCommand = async (output, context) => {
|
|
1319
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1320
|
-
return de_CommandError(output, context);
|
|
1321
|
-
}
|
|
1322
|
-
const contents = smithyClient.map({
|
|
1323
|
-
$metadata: deserializeMetadata(output),
|
|
1324
|
-
});
|
|
1325
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1326
|
-
const doc = smithyClient.take(data, {
|
|
1327
|
-
nextToken: smithyClient.expectString,
|
|
1328
|
-
resources: (_) => de_ResourceList(_),
|
|
1329
|
-
});
|
|
1330
|
-
Object.assign(contents, doc);
|
|
1331
|
-
return contents;
|
|
1332
|
-
};
|
|
1333
|
-
const de_ListPermissionAssociationsCommand = async (output, context) => {
|
|
1334
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1335
|
-
return de_CommandError(output, context);
|
|
1336
|
-
}
|
|
1337
|
-
const contents = smithyClient.map({
|
|
1338
|
-
$metadata: deserializeMetadata(output),
|
|
1339
|
-
});
|
|
1340
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1341
|
-
const doc = smithyClient.take(data, {
|
|
1342
|
-
nextToken: smithyClient.expectString,
|
|
1343
|
-
permissions: (_) => de_AssociatedPermissionList(_),
|
|
1344
|
-
});
|
|
1345
|
-
Object.assign(contents, doc);
|
|
1346
|
-
return contents;
|
|
1347
|
-
};
|
|
1348
|
-
const de_ListPermissionsCommand = async (output, context) => {
|
|
1349
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1350
|
-
return de_CommandError(output, context);
|
|
1351
|
-
}
|
|
1352
|
-
const contents = smithyClient.map({
|
|
1353
|
-
$metadata: deserializeMetadata(output),
|
|
1354
|
-
});
|
|
1355
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1356
|
-
const doc = smithyClient.take(data, {
|
|
1357
|
-
nextToken: smithyClient.expectString,
|
|
1358
|
-
permissions: (_) => de_ResourceSharePermissionList(_),
|
|
1359
|
-
});
|
|
1360
|
-
Object.assign(contents, doc);
|
|
1361
|
-
return contents;
|
|
1362
|
-
};
|
|
1363
|
-
const de_ListPermissionVersionsCommand = async (output, context) => {
|
|
1364
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1365
|
-
return de_CommandError(output, context);
|
|
1366
|
-
}
|
|
1367
|
-
const contents = smithyClient.map({
|
|
1368
|
-
$metadata: deserializeMetadata(output),
|
|
1369
|
-
});
|
|
1370
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1371
|
-
const doc = smithyClient.take(data, {
|
|
1372
|
-
nextToken: smithyClient.expectString,
|
|
1373
|
-
permissions: (_) => de_ResourceSharePermissionList(_),
|
|
1374
|
-
});
|
|
1375
|
-
Object.assign(contents, doc);
|
|
1376
|
-
return contents;
|
|
1377
|
-
};
|
|
1378
|
-
const de_ListPrincipalsCommand = async (output, context) => {
|
|
1379
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1380
|
-
return de_CommandError(output, context);
|
|
1381
|
-
}
|
|
1382
|
-
const contents = smithyClient.map({
|
|
1383
|
-
$metadata: deserializeMetadata(output),
|
|
1384
|
-
});
|
|
1385
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1386
|
-
const doc = smithyClient.take(data, {
|
|
1387
|
-
nextToken: smithyClient.expectString,
|
|
1388
|
-
principals: (_) => de_PrincipalList(_),
|
|
1389
|
-
});
|
|
1390
|
-
Object.assign(contents, doc);
|
|
1391
|
-
return contents;
|
|
1392
|
-
};
|
|
1393
|
-
const de_ListReplacePermissionAssociationsWorkCommand = async (output, context) => {
|
|
1394
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1395
|
-
return de_CommandError(output, context);
|
|
1396
|
-
}
|
|
1397
|
-
const contents = smithyClient.map({
|
|
1398
|
-
$metadata: deserializeMetadata(output),
|
|
1399
|
-
});
|
|
1400
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1401
|
-
const doc = smithyClient.take(data, {
|
|
1402
|
-
nextToken: smithyClient.expectString,
|
|
1403
|
-
replacePermissionAssociationsWorks: (_) => de_ReplacePermissionAssociationsWorkList(_),
|
|
1404
|
-
});
|
|
1405
|
-
Object.assign(contents, doc);
|
|
1406
|
-
return contents;
|
|
1407
|
-
};
|
|
1408
|
-
const de_ListResourcesCommand = async (output, context) => {
|
|
1409
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1410
|
-
return de_CommandError(output, context);
|
|
1411
|
-
}
|
|
1412
|
-
const contents = smithyClient.map({
|
|
1413
|
-
$metadata: deserializeMetadata(output),
|
|
1414
|
-
});
|
|
1415
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1416
|
-
const doc = smithyClient.take(data, {
|
|
1417
|
-
nextToken: smithyClient.expectString,
|
|
1418
|
-
resources: (_) => de_ResourceList(_),
|
|
1419
|
-
});
|
|
1420
|
-
Object.assign(contents, doc);
|
|
1421
|
-
return contents;
|
|
1422
|
-
};
|
|
1423
|
-
const de_ListResourceSharePermissionsCommand = async (output, context) => {
|
|
1424
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1425
|
-
return de_CommandError(output, context);
|
|
1426
|
-
}
|
|
1427
|
-
const contents = smithyClient.map({
|
|
1428
|
-
$metadata: deserializeMetadata(output),
|
|
1429
|
-
});
|
|
1430
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1431
|
-
const doc = smithyClient.take(data, {
|
|
1432
|
-
nextToken: smithyClient.expectString,
|
|
1433
|
-
permissions: (_) => de_ResourceSharePermissionList(_),
|
|
1434
|
-
});
|
|
1435
|
-
Object.assign(contents, doc);
|
|
1436
|
-
return contents;
|
|
1437
|
-
};
|
|
1438
|
-
const de_ListResourceTypesCommand = async (output, context) => {
|
|
1439
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1440
|
-
return de_CommandError(output, context);
|
|
1441
|
-
}
|
|
1442
|
-
const contents = smithyClient.map({
|
|
1443
|
-
$metadata: deserializeMetadata(output),
|
|
1444
|
-
});
|
|
1445
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1446
|
-
const doc = smithyClient.take(data, {
|
|
1447
|
-
nextToken: smithyClient.expectString,
|
|
1448
|
-
resourceTypes: smithyClient._json,
|
|
1449
|
-
});
|
|
1450
|
-
Object.assign(contents, doc);
|
|
1451
|
-
return contents;
|
|
1452
|
-
};
|
|
1453
|
-
const de_PromotePermissionCreatedFromPolicyCommand = async (output, context) => {
|
|
1454
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1455
|
-
return de_CommandError(output, context);
|
|
1456
|
-
}
|
|
1457
|
-
const contents = smithyClient.map({
|
|
1458
|
-
$metadata: deserializeMetadata(output),
|
|
1459
|
-
});
|
|
1460
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1461
|
-
const doc = smithyClient.take(data, {
|
|
1462
|
-
clientToken: smithyClient.expectString,
|
|
1463
|
-
permission: (_) => de_ResourceSharePermissionSummary(_),
|
|
1464
|
-
});
|
|
1465
|
-
Object.assign(contents, doc);
|
|
1466
|
-
return contents;
|
|
1467
|
-
};
|
|
1468
|
-
const de_PromoteResourceShareCreatedFromPolicyCommand = async (output, context) => {
|
|
1469
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1470
|
-
return de_CommandError(output, context);
|
|
1471
|
-
}
|
|
1472
|
-
const contents = smithyClient.map({
|
|
1473
|
-
$metadata: deserializeMetadata(output),
|
|
1474
|
-
});
|
|
1475
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1476
|
-
const doc = smithyClient.take(data, {
|
|
1477
|
-
returnValue: smithyClient.expectBoolean,
|
|
1478
|
-
});
|
|
1479
|
-
Object.assign(contents, doc);
|
|
1480
|
-
return contents;
|
|
1481
|
-
};
|
|
1482
|
-
const de_RejectResourceShareInvitationCommand = async (output, context) => {
|
|
1483
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1484
|
-
return de_CommandError(output, context);
|
|
1485
|
-
}
|
|
1486
|
-
const contents = smithyClient.map({
|
|
1487
|
-
$metadata: deserializeMetadata(output),
|
|
1488
|
-
});
|
|
1489
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1490
|
-
const doc = smithyClient.take(data, {
|
|
1491
|
-
clientToken: smithyClient.expectString,
|
|
1492
|
-
resourceShareInvitation: (_) => de_ResourceShareInvitation(_),
|
|
1493
|
-
});
|
|
1494
|
-
Object.assign(contents, doc);
|
|
1495
|
-
return contents;
|
|
1496
|
-
};
|
|
1497
|
-
const de_ReplacePermissionAssociationsCommand = async (output, context) => {
|
|
1498
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1499
|
-
return de_CommandError(output, context);
|
|
1500
|
-
}
|
|
1501
|
-
const contents = smithyClient.map({
|
|
1502
|
-
$metadata: deserializeMetadata(output),
|
|
1503
|
-
});
|
|
1504
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1505
|
-
const doc = smithyClient.take(data, {
|
|
1506
|
-
clientToken: smithyClient.expectString,
|
|
1507
|
-
replacePermissionAssociationsWork: (_) => de_ReplacePermissionAssociationsWork(_),
|
|
1508
|
-
});
|
|
1509
|
-
Object.assign(contents, doc);
|
|
1510
|
-
return contents;
|
|
1511
|
-
};
|
|
1512
|
-
const de_SetDefaultPermissionVersionCommand = async (output, context) => {
|
|
1513
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1514
|
-
return de_CommandError(output, context);
|
|
1515
|
-
}
|
|
1516
|
-
const contents = smithyClient.map({
|
|
1517
|
-
$metadata: deserializeMetadata(output),
|
|
1518
|
-
});
|
|
1519
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1520
|
-
const doc = smithyClient.take(data, {
|
|
1521
|
-
clientToken: smithyClient.expectString,
|
|
1522
|
-
returnValue: smithyClient.expectBoolean,
|
|
1523
|
-
});
|
|
1524
|
-
Object.assign(contents, doc);
|
|
1525
|
-
return contents;
|
|
1526
|
-
};
|
|
1527
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
1528
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1529
|
-
return de_CommandError(output, context);
|
|
1530
|
-
}
|
|
1531
|
-
const contents = smithyClient.map({
|
|
1532
|
-
$metadata: deserializeMetadata(output),
|
|
1533
|
-
});
|
|
1534
|
-
await smithyClient.collectBody(output.body, context);
|
|
1535
|
-
return contents;
|
|
1536
|
-
};
|
|
1537
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
1538
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1539
|
-
return de_CommandError(output, context);
|
|
1540
|
-
}
|
|
1541
|
-
const contents = smithyClient.map({
|
|
1542
|
-
$metadata: deserializeMetadata(output),
|
|
1543
|
-
});
|
|
1544
|
-
await smithyClient.collectBody(output.body, context);
|
|
1545
|
-
return contents;
|
|
1546
|
-
};
|
|
1547
|
-
const de_UpdateResourceShareCommand = async (output, context) => {
|
|
1548
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1549
|
-
return de_CommandError(output, context);
|
|
1550
|
-
}
|
|
1551
|
-
const contents = smithyClient.map({
|
|
1552
|
-
$metadata: deserializeMetadata(output),
|
|
1553
|
-
});
|
|
1554
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1555
|
-
const doc = smithyClient.take(data, {
|
|
1556
|
-
clientToken: smithyClient.expectString,
|
|
1557
|
-
resourceShare: (_) => de_ResourceShare(_),
|
|
1558
|
-
});
|
|
1559
|
-
Object.assign(contents, doc);
|
|
1560
|
-
return contents;
|
|
1561
|
-
};
|
|
1562
|
-
const de_CommandError = async (output, context) => {
|
|
1563
|
-
const parsedOutput = {
|
|
1564
|
-
...output,
|
|
1565
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1566
|
-
};
|
|
1567
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1568
|
-
switch (errorCode) {
|
|
1569
|
-
case "IdempotentParameterMismatchException":
|
|
1570
|
-
case "com.amazonaws.ram#IdempotentParameterMismatchException":
|
|
1571
|
-
throw await de_IdempotentParameterMismatchExceptionRes(parsedOutput);
|
|
1572
|
-
case "InvalidClientTokenException":
|
|
1573
|
-
case "com.amazonaws.ram#InvalidClientTokenException":
|
|
1574
|
-
throw await de_InvalidClientTokenExceptionRes(parsedOutput);
|
|
1575
|
-
case "MalformedArnException":
|
|
1576
|
-
case "com.amazonaws.ram#MalformedArnException":
|
|
1577
|
-
throw await de_MalformedArnExceptionRes(parsedOutput);
|
|
1578
|
-
case "OperationNotPermittedException":
|
|
1579
|
-
case "com.amazonaws.ram#OperationNotPermittedException":
|
|
1580
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput);
|
|
1581
|
-
case "ResourceShareInvitationAlreadyAcceptedException":
|
|
1582
|
-
case "com.amazonaws.ram#ResourceShareInvitationAlreadyAcceptedException":
|
|
1583
|
-
throw await de_ResourceShareInvitationAlreadyAcceptedExceptionRes(parsedOutput);
|
|
1584
|
-
case "ResourceShareInvitationAlreadyRejectedException":
|
|
1585
|
-
case "com.amazonaws.ram#ResourceShareInvitationAlreadyRejectedException":
|
|
1586
|
-
throw await de_ResourceShareInvitationAlreadyRejectedExceptionRes(parsedOutput);
|
|
1587
|
-
case "ResourceShareInvitationArnNotFoundException":
|
|
1588
|
-
case "com.amazonaws.ram#ResourceShareInvitationArnNotFoundException":
|
|
1589
|
-
throw await de_ResourceShareInvitationArnNotFoundExceptionRes(parsedOutput);
|
|
1590
|
-
case "ResourceShareInvitationExpiredException":
|
|
1591
|
-
case "com.amazonaws.ram#ResourceShareInvitationExpiredException":
|
|
1592
|
-
throw await de_ResourceShareInvitationExpiredExceptionRes(parsedOutput);
|
|
1593
|
-
case "ServerInternalException":
|
|
1594
|
-
case "com.amazonaws.ram#ServerInternalException":
|
|
1595
|
-
throw await de_ServerInternalExceptionRes(parsedOutput);
|
|
1596
|
-
case "ServiceUnavailableException":
|
|
1597
|
-
case "com.amazonaws.ram#ServiceUnavailableException":
|
|
1598
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput);
|
|
1599
|
-
case "InvalidParameterException":
|
|
1600
|
-
case "com.amazonaws.ram#InvalidParameterException":
|
|
1601
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput);
|
|
1602
|
-
case "InvalidStateTransitionException":
|
|
1603
|
-
case "com.amazonaws.ram#InvalidStateTransitionException":
|
|
1604
|
-
throw await de_InvalidStateTransitionExceptionRes(parsedOutput);
|
|
1605
|
-
case "ResourceShareLimitExceededException":
|
|
1606
|
-
case "com.amazonaws.ram#ResourceShareLimitExceededException":
|
|
1607
|
-
throw await de_ResourceShareLimitExceededExceptionRes(parsedOutput);
|
|
1608
|
-
case "ThrottlingException":
|
|
1609
|
-
case "com.amazonaws.ram#ThrottlingException":
|
|
1610
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1611
|
-
case "UnknownResourceException":
|
|
1612
|
-
case "com.amazonaws.ram#UnknownResourceException":
|
|
1613
|
-
throw await de_UnknownResourceExceptionRes(parsedOutput);
|
|
1614
|
-
case "InvalidPolicyException":
|
|
1615
|
-
case "com.amazonaws.ram#InvalidPolicyException":
|
|
1616
|
-
throw await de_InvalidPolicyExceptionRes(parsedOutput);
|
|
1617
|
-
case "MalformedPolicyTemplateException":
|
|
1618
|
-
case "com.amazonaws.ram#MalformedPolicyTemplateException":
|
|
1619
|
-
throw await de_MalformedPolicyTemplateExceptionRes(parsedOutput);
|
|
1620
|
-
case "PermissionAlreadyExistsException":
|
|
1621
|
-
case "com.amazonaws.ram#PermissionAlreadyExistsException":
|
|
1622
|
-
throw await de_PermissionAlreadyExistsExceptionRes(parsedOutput);
|
|
1623
|
-
case "PermissionLimitExceededException":
|
|
1624
|
-
case "com.amazonaws.ram#PermissionLimitExceededException":
|
|
1625
|
-
throw await de_PermissionLimitExceededExceptionRes(parsedOutput);
|
|
1626
|
-
case "PermissionVersionsLimitExceededException":
|
|
1627
|
-
case "com.amazonaws.ram#PermissionVersionsLimitExceededException":
|
|
1628
|
-
throw await de_PermissionVersionsLimitExceededExceptionRes(parsedOutput);
|
|
1629
|
-
case "TagLimitExceededException":
|
|
1630
|
-
case "com.amazonaws.ram#TagLimitExceededException":
|
|
1631
|
-
throw await de_TagLimitExceededExceptionRes(parsedOutput);
|
|
1632
|
-
case "TagPolicyViolationException":
|
|
1633
|
-
case "com.amazonaws.ram#TagPolicyViolationException":
|
|
1634
|
-
throw await de_TagPolicyViolationExceptionRes(parsedOutput);
|
|
1635
|
-
case "InvalidNextTokenException":
|
|
1636
|
-
case "com.amazonaws.ram#InvalidNextTokenException":
|
|
1637
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput);
|
|
1638
|
-
case "ResourceArnNotFoundException":
|
|
1639
|
-
case "com.amazonaws.ram#ResourceArnNotFoundException":
|
|
1640
|
-
throw await de_ResourceArnNotFoundExceptionRes(parsedOutput);
|
|
1641
|
-
case "InvalidMaxResultsException":
|
|
1642
|
-
case "com.amazonaws.ram#InvalidMaxResultsException":
|
|
1643
|
-
throw await de_InvalidMaxResultsExceptionRes(parsedOutput);
|
|
1644
|
-
case "MissingRequiredParameterException":
|
|
1645
|
-
case "com.amazonaws.ram#MissingRequiredParameterException":
|
|
1646
|
-
throw await de_MissingRequiredParameterExceptionRes(parsedOutput);
|
|
1647
|
-
case "InvalidResourceTypeException":
|
|
1648
|
-
case "com.amazonaws.ram#InvalidResourceTypeException":
|
|
1649
|
-
throw await de_InvalidResourceTypeExceptionRes(parsedOutput);
|
|
1650
|
-
case "UnmatchedPolicyPermissionException":
|
|
1651
|
-
case "com.amazonaws.ram#UnmatchedPolicyPermissionException":
|
|
1652
|
-
throw await de_UnmatchedPolicyPermissionExceptionRes(parsedOutput);
|
|
1653
|
-
default:
|
|
1654
|
-
const parsedBody = parsedOutput.body;
|
|
1655
|
-
return throwDefaultError({
|
|
1656
|
-
output,
|
|
1657
|
-
parsedBody,
|
|
1658
|
-
errorCode,
|
|
1659
|
-
});
|
|
1660
|
-
}
|
|
1661
|
-
};
|
|
1662
|
-
const throwDefaultError = smithyClient.withBaseException(RAMServiceException);
|
|
1663
|
-
const de_IdempotentParameterMismatchExceptionRes = async (parsedOutput, context) => {
|
|
1664
|
-
const contents = smithyClient.map({});
|
|
1665
|
-
const data = parsedOutput.body;
|
|
1666
|
-
const doc = smithyClient.take(data, {
|
|
1667
|
-
message: smithyClient.expectString,
|
|
1668
|
-
});
|
|
1669
|
-
Object.assign(contents, doc);
|
|
1670
|
-
const exception = new IdempotentParameterMismatchException({
|
|
1671
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1672
|
-
...contents,
|
|
1673
|
-
});
|
|
1674
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1675
|
-
};
|
|
1676
|
-
const de_InvalidClientTokenExceptionRes = async (parsedOutput, context) => {
|
|
1677
|
-
const contents = smithyClient.map({});
|
|
1678
|
-
const data = parsedOutput.body;
|
|
1679
|
-
const doc = smithyClient.take(data, {
|
|
1680
|
-
message: smithyClient.expectString,
|
|
1681
|
-
});
|
|
1682
|
-
Object.assign(contents, doc);
|
|
1683
|
-
const exception = new InvalidClientTokenException({
|
|
1684
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1685
|
-
...contents,
|
|
1686
|
-
});
|
|
1687
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1688
|
-
};
|
|
1689
|
-
const de_InvalidMaxResultsExceptionRes = async (parsedOutput, context) => {
|
|
1690
|
-
const contents = smithyClient.map({});
|
|
1691
|
-
const data = parsedOutput.body;
|
|
1692
|
-
const doc = smithyClient.take(data, {
|
|
1693
|
-
message: smithyClient.expectString,
|
|
1694
|
-
});
|
|
1695
|
-
Object.assign(contents, doc);
|
|
1696
|
-
const exception = new InvalidMaxResultsException({
|
|
1697
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1698
|
-
...contents,
|
|
1699
|
-
});
|
|
1700
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1701
|
-
};
|
|
1702
|
-
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
1703
|
-
const contents = smithyClient.map({});
|
|
1704
|
-
const data = parsedOutput.body;
|
|
1705
|
-
const doc = smithyClient.take(data, {
|
|
1706
|
-
message: smithyClient.expectString,
|
|
1707
|
-
});
|
|
1708
|
-
Object.assign(contents, doc);
|
|
1709
|
-
const exception = new InvalidNextTokenException({
|
|
1710
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1711
|
-
...contents,
|
|
1712
|
-
});
|
|
1713
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1714
|
-
};
|
|
1715
|
-
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1716
|
-
const contents = smithyClient.map({});
|
|
1717
|
-
const data = parsedOutput.body;
|
|
1718
|
-
const doc = smithyClient.take(data, {
|
|
1719
|
-
message: smithyClient.expectString,
|
|
1720
|
-
});
|
|
1721
|
-
Object.assign(contents, doc);
|
|
1722
|
-
const exception = new InvalidParameterException({
|
|
1723
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1724
|
-
...contents,
|
|
1725
|
-
});
|
|
1726
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1727
529
|
};
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
const
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
const
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
const
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
const
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
const
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
const
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
const
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
const
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
const
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
const
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
const
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
const
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
const de_ResourceShareInvitationArnNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1898
|
-
const contents = smithyClient.map({});
|
|
1899
|
-
const data = parsedOutput.body;
|
|
1900
|
-
const doc = smithyClient.take(data, {
|
|
1901
|
-
message: smithyClient.expectString,
|
|
1902
|
-
});
|
|
1903
|
-
Object.assign(contents, doc);
|
|
1904
|
-
const exception = new ResourceShareInvitationArnNotFoundException({
|
|
1905
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1906
|
-
...contents,
|
|
1907
|
-
});
|
|
1908
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1909
|
-
};
|
|
1910
|
-
const de_ResourceShareInvitationExpiredExceptionRes = async (parsedOutput, context) => {
|
|
1911
|
-
const contents = smithyClient.map({});
|
|
1912
|
-
const data = parsedOutput.body;
|
|
1913
|
-
const doc = smithyClient.take(data, {
|
|
1914
|
-
message: smithyClient.expectString,
|
|
1915
|
-
});
|
|
1916
|
-
Object.assign(contents, doc);
|
|
1917
|
-
const exception = new ResourceShareInvitationExpiredException({
|
|
1918
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1919
|
-
...contents,
|
|
1920
|
-
});
|
|
1921
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1922
|
-
};
|
|
1923
|
-
const de_ResourceShareLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1924
|
-
const contents = smithyClient.map({});
|
|
1925
|
-
const data = parsedOutput.body;
|
|
1926
|
-
const doc = smithyClient.take(data, {
|
|
1927
|
-
message: smithyClient.expectString,
|
|
1928
|
-
});
|
|
1929
|
-
Object.assign(contents, doc);
|
|
1930
|
-
const exception = new ResourceShareLimitExceededException({
|
|
1931
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1932
|
-
...contents,
|
|
1933
|
-
});
|
|
1934
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1935
|
-
};
|
|
1936
|
-
const de_ServerInternalExceptionRes = async (parsedOutput, context) => {
|
|
1937
|
-
const contents = smithyClient.map({});
|
|
1938
|
-
const data = parsedOutput.body;
|
|
1939
|
-
const doc = smithyClient.take(data, {
|
|
1940
|
-
message: smithyClient.expectString,
|
|
1941
|
-
});
|
|
1942
|
-
Object.assign(contents, doc);
|
|
1943
|
-
const exception = new ServerInternalException({
|
|
1944
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1945
|
-
...contents,
|
|
1946
|
-
});
|
|
1947
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1948
|
-
};
|
|
1949
|
-
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1950
|
-
const contents = smithyClient.map({});
|
|
1951
|
-
const data = parsedOutput.body;
|
|
1952
|
-
const doc = smithyClient.take(data, {
|
|
1953
|
-
message: smithyClient.expectString,
|
|
1954
|
-
});
|
|
1955
|
-
Object.assign(contents, doc);
|
|
1956
|
-
const exception = new ServiceUnavailableException({
|
|
1957
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1958
|
-
...contents,
|
|
1959
|
-
});
|
|
1960
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1961
|
-
};
|
|
1962
|
-
const de_TagLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1963
|
-
const contents = smithyClient.map({});
|
|
1964
|
-
const data = parsedOutput.body;
|
|
1965
|
-
const doc = smithyClient.take(data, {
|
|
1966
|
-
message: smithyClient.expectString,
|
|
1967
|
-
});
|
|
1968
|
-
Object.assign(contents, doc);
|
|
1969
|
-
const exception = new TagLimitExceededException({
|
|
1970
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1971
|
-
...contents,
|
|
1972
|
-
});
|
|
1973
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1974
|
-
};
|
|
1975
|
-
const de_TagPolicyViolationExceptionRes = async (parsedOutput, context) => {
|
|
1976
|
-
const contents = smithyClient.map({});
|
|
1977
|
-
const data = parsedOutput.body;
|
|
1978
|
-
const doc = smithyClient.take(data, {
|
|
1979
|
-
message: smithyClient.expectString,
|
|
1980
|
-
});
|
|
1981
|
-
Object.assign(contents, doc);
|
|
1982
|
-
const exception = new TagPolicyViolationException({
|
|
1983
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1984
|
-
...contents,
|
|
1985
|
-
});
|
|
1986
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1987
|
-
};
|
|
1988
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1989
|
-
const contents = smithyClient.map({});
|
|
1990
|
-
const data = parsedOutput.body;
|
|
1991
|
-
const doc = smithyClient.take(data, {
|
|
1992
|
-
message: smithyClient.expectString,
|
|
1993
|
-
});
|
|
1994
|
-
Object.assign(contents, doc);
|
|
1995
|
-
const exception = new ThrottlingException({
|
|
1996
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1997
|
-
...contents,
|
|
1998
|
-
});
|
|
1999
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2000
|
-
};
|
|
2001
|
-
const de_UnknownResourceExceptionRes = async (parsedOutput, context) => {
|
|
2002
|
-
const contents = smithyClient.map({});
|
|
2003
|
-
const data = parsedOutput.body;
|
|
2004
|
-
const doc = smithyClient.take(data, {
|
|
2005
|
-
message: smithyClient.expectString,
|
|
2006
|
-
});
|
|
2007
|
-
Object.assign(contents, doc);
|
|
2008
|
-
const exception = new UnknownResourceException({
|
|
2009
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2010
|
-
...contents,
|
|
2011
|
-
});
|
|
2012
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2013
|
-
};
|
|
2014
|
-
const de_UnmatchedPolicyPermissionExceptionRes = async (parsedOutput, context) => {
|
|
2015
|
-
const contents = smithyClient.map({});
|
|
2016
|
-
const data = parsedOutput.body;
|
|
2017
|
-
const doc = smithyClient.take(data, {
|
|
2018
|
-
message: smithyClient.expectString,
|
|
2019
|
-
});
|
|
2020
|
-
Object.assign(contents, doc);
|
|
2021
|
-
const exception = new UnmatchedPolicyPermissionException({
|
|
2022
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2023
|
-
...contents,
|
|
2024
|
-
});
|
|
2025
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2026
|
-
};
|
|
2027
|
-
const de_AssociatedPermission = (output, context) => {
|
|
2028
|
-
return smithyClient.take(output, {
|
|
2029
|
-
arn: smithyClient.expectString,
|
|
2030
|
-
defaultVersion: smithyClient.expectBoolean,
|
|
2031
|
-
featureSet: smithyClient.expectString,
|
|
2032
|
-
lastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2033
|
-
permissionVersion: smithyClient.expectString,
|
|
2034
|
-
resourceShareArn: smithyClient.expectString,
|
|
2035
|
-
resourceType: smithyClient.expectString,
|
|
2036
|
-
status: smithyClient.expectString,
|
|
2037
|
-
});
|
|
2038
|
-
};
|
|
2039
|
-
const de_AssociatedPermissionList = (output, context) => {
|
|
2040
|
-
const retVal = (output || [])
|
|
2041
|
-
.filter((e) => e != null)
|
|
2042
|
-
.map((entry) => {
|
|
2043
|
-
return de_AssociatedPermission(entry);
|
|
2044
|
-
});
|
|
2045
|
-
return retVal;
|
|
2046
|
-
};
|
|
2047
|
-
const de_Principal = (output, context) => {
|
|
2048
|
-
return smithyClient.take(output, {
|
|
2049
|
-
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2050
|
-
external: smithyClient.expectBoolean,
|
|
2051
|
-
id: smithyClient.expectString,
|
|
2052
|
-
lastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2053
|
-
resourceShareArn: smithyClient.expectString,
|
|
2054
|
-
});
|
|
2055
|
-
};
|
|
2056
|
-
const de_PrincipalList = (output, context) => {
|
|
2057
|
-
const retVal = (output || [])
|
|
2058
|
-
.filter((e) => e != null)
|
|
2059
|
-
.map((entry) => {
|
|
2060
|
-
return de_Principal(entry);
|
|
2061
|
-
});
|
|
2062
|
-
return retVal;
|
|
2063
|
-
};
|
|
2064
|
-
const de_ReplacePermissionAssociationsWork = (output, context) => {
|
|
2065
|
-
return smithyClient.take(output, {
|
|
2066
|
-
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2067
|
-
fromPermissionArn: smithyClient.expectString,
|
|
2068
|
-
fromPermissionVersion: smithyClient.expectString,
|
|
2069
|
-
id: smithyClient.expectString,
|
|
2070
|
-
lastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2071
|
-
status: smithyClient.expectString,
|
|
2072
|
-
statusMessage: smithyClient.expectString,
|
|
2073
|
-
toPermissionArn: smithyClient.expectString,
|
|
2074
|
-
toPermissionVersion: smithyClient.expectString,
|
|
2075
|
-
});
|
|
2076
|
-
};
|
|
2077
|
-
const de_ReplacePermissionAssociationsWorkList = (output, context) => {
|
|
2078
|
-
const retVal = (output || [])
|
|
2079
|
-
.filter((e) => e != null)
|
|
2080
|
-
.map((entry) => {
|
|
2081
|
-
return de_ReplacePermissionAssociationsWork(entry);
|
|
2082
|
-
});
|
|
2083
|
-
return retVal;
|
|
2084
|
-
};
|
|
2085
|
-
const de_Resource = (output, context) => {
|
|
2086
|
-
return smithyClient.take(output, {
|
|
2087
|
-
arn: smithyClient.expectString,
|
|
2088
|
-
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2089
|
-
lastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2090
|
-
resourceGroupArn: smithyClient.expectString,
|
|
2091
|
-
resourceRegionScope: smithyClient.expectString,
|
|
2092
|
-
resourceShareArn: smithyClient.expectString,
|
|
2093
|
-
status: smithyClient.expectString,
|
|
2094
|
-
statusMessage: smithyClient.expectString,
|
|
2095
|
-
type: smithyClient.expectString,
|
|
2096
|
-
});
|
|
2097
|
-
};
|
|
2098
|
-
const de_ResourceList = (output, context) => {
|
|
2099
|
-
const retVal = (output || [])
|
|
2100
|
-
.filter((e) => e != null)
|
|
2101
|
-
.map((entry) => {
|
|
2102
|
-
return de_Resource(entry);
|
|
2103
|
-
});
|
|
2104
|
-
return retVal;
|
|
2105
|
-
};
|
|
2106
|
-
const de_ResourceShare = (output, context) => {
|
|
2107
|
-
return smithyClient.take(output, {
|
|
2108
|
-
allowExternalPrincipals: smithyClient.expectBoolean,
|
|
2109
|
-
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2110
|
-
featureSet: smithyClient.expectString,
|
|
2111
|
-
lastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2112
|
-
name: smithyClient.expectString,
|
|
2113
|
-
owningAccountId: smithyClient.expectString,
|
|
2114
|
-
resourceShareArn: smithyClient.expectString,
|
|
2115
|
-
status: smithyClient.expectString,
|
|
2116
|
-
statusMessage: smithyClient.expectString,
|
|
2117
|
-
tags: smithyClient._json,
|
|
2118
|
-
});
|
|
2119
|
-
};
|
|
2120
|
-
const de_ResourceShareAssociation = (output, context) => {
|
|
2121
|
-
return smithyClient.take(output, {
|
|
2122
|
-
associatedEntity: smithyClient.expectString,
|
|
2123
|
-
associationType: smithyClient.expectString,
|
|
2124
|
-
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2125
|
-
external: smithyClient.expectBoolean,
|
|
2126
|
-
lastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2127
|
-
resourceShareArn: smithyClient.expectString,
|
|
2128
|
-
resourceShareName: smithyClient.expectString,
|
|
2129
|
-
status: smithyClient.expectString,
|
|
2130
|
-
statusMessage: smithyClient.expectString,
|
|
2131
|
-
});
|
|
2132
|
-
};
|
|
2133
|
-
const de_ResourceShareAssociationList = (output, context) => {
|
|
2134
|
-
const retVal = (output || [])
|
|
2135
|
-
.filter((e) => e != null)
|
|
2136
|
-
.map((entry) => {
|
|
2137
|
-
return de_ResourceShareAssociation(entry);
|
|
2138
|
-
});
|
|
2139
|
-
return retVal;
|
|
2140
|
-
};
|
|
2141
|
-
const de_ResourceShareInvitation = (output, context) => {
|
|
2142
|
-
return smithyClient.take(output, {
|
|
2143
|
-
invitationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2144
|
-
receiverAccountId: smithyClient.expectString,
|
|
2145
|
-
receiverArn: smithyClient.expectString,
|
|
2146
|
-
resourceShareArn: smithyClient.expectString,
|
|
2147
|
-
resourceShareAssociations: (_) => de_ResourceShareAssociationList(_),
|
|
2148
|
-
resourceShareInvitationArn: smithyClient.expectString,
|
|
2149
|
-
resourceShareName: smithyClient.expectString,
|
|
2150
|
-
senderAccountId: smithyClient.expectString,
|
|
2151
|
-
status: smithyClient.expectString,
|
|
2152
|
-
});
|
|
2153
|
-
};
|
|
2154
|
-
const de_ResourceShareInvitationList = (output, context) => {
|
|
2155
|
-
const retVal = (output || [])
|
|
2156
|
-
.filter((e) => e != null)
|
|
2157
|
-
.map((entry) => {
|
|
2158
|
-
return de_ResourceShareInvitation(entry);
|
|
2159
|
-
});
|
|
2160
|
-
return retVal;
|
|
2161
|
-
};
|
|
2162
|
-
const de_ResourceShareList = (output, context) => {
|
|
2163
|
-
const retVal = (output || [])
|
|
2164
|
-
.filter((e) => e != null)
|
|
2165
|
-
.map((entry) => {
|
|
2166
|
-
return de_ResourceShare(entry);
|
|
2167
|
-
});
|
|
2168
|
-
return retVal;
|
|
2169
|
-
};
|
|
2170
|
-
const de_ResourceSharePermissionDetail = (output, context) => {
|
|
2171
|
-
return smithyClient.take(output, {
|
|
2172
|
-
arn: smithyClient.expectString,
|
|
2173
|
-
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2174
|
-
defaultVersion: smithyClient.expectBoolean,
|
|
2175
|
-
featureSet: smithyClient.expectString,
|
|
2176
|
-
isResourceTypeDefault: smithyClient.expectBoolean,
|
|
2177
|
-
lastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2178
|
-
name: smithyClient.expectString,
|
|
2179
|
-
permission: smithyClient.expectString,
|
|
2180
|
-
permissionType: smithyClient.expectString,
|
|
2181
|
-
resourceType: smithyClient.expectString,
|
|
2182
|
-
status: smithyClient.expectString,
|
|
2183
|
-
tags: smithyClient._json,
|
|
2184
|
-
version: smithyClient.expectString,
|
|
2185
|
-
});
|
|
2186
|
-
};
|
|
2187
|
-
const de_ResourceSharePermissionList = (output, context) => {
|
|
2188
|
-
const retVal = (output || [])
|
|
2189
|
-
.filter((e) => e != null)
|
|
2190
|
-
.map((entry) => {
|
|
2191
|
-
return de_ResourceSharePermissionSummary(entry);
|
|
2192
|
-
});
|
|
2193
|
-
return retVal;
|
|
2194
|
-
};
|
|
2195
|
-
const de_ResourceSharePermissionSummary = (output, context) => {
|
|
2196
|
-
return smithyClient.take(output, {
|
|
2197
|
-
arn: smithyClient.expectString,
|
|
2198
|
-
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2199
|
-
defaultVersion: smithyClient.expectBoolean,
|
|
2200
|
-
featureSet: smithyClient.expectString,
|
|
2201
|
-
isResourceTypeDefault: smithyClient.expectBoolean,
|
|
2202
|
-
lastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2203
|
-
name: smithyClient.expectString,
|
|
2204
|
-
permissionType: smithyClient.expectString,
|
|
2205
|
-
resourceType: smithyClient.expectString,
|
|
2206
|
-
status: smithyClient.expectString,
|
|
2207
|
-
tags: smithyClient._json,
|
|
2208
|
-
version: smithyClient.expectString,
|
|
2209
|
-
});
|
|
2210
|
-
};
|
|
2211
|
-
const deserializeMetadata = (output) => ({
|
|
2212
|
-
httpStatusCode: output.statusCode,
|
|
2213
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2214
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2215
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2216
|
-
});
|
|
530
|
+
|
|
531
|
+
const _AP = "AssociatedPermission";
|
|
532
|
+
const _APL = "AssociatedPermissionList";
|
|
533
|
+
const _ARS = "AssociateResourceShare";
|
|
534
|
+
const _ARSI = "AcceptResourceShareInvitation";
|
|
535
|
+
const _ARSIR = "AcceptResourceShareInvitationRequest";
|
|
536
|
+
const _ARSIRc = "AcceptResourceShareInvitationResponse";
|
|
537
|
+
const _ARSP = "AssociateResourceSharePermission";
|
|
538
|
+
const _ARSPR = "AssociateResourceSharePermissionRequest";
|
|
539
|
+
const _ARSPRs = "AssociateResourceSharePermissionResponse";
|
|
540
|
+
const _ARSR = "AssociateResourceShareRequest";
|
|
541
|
+
const _ARSRs = "AssociateResourceShareResponse";
|
|
542
|
+
const _CP = "CreatePermission";
|
|
543
|
+
const _CPR = "CreatePermissionRequest";
|
|
544
|
+
const _CPRr = "CreatePermissionResponse";
|
|
545
|
+
const _CPV = "CreatePermissionVersion";
|
|
546
|
+
const _CPVR = "CreatePermissionVersionRequest";
|
|
547
|
+
const _CPVRr = "CreatePermissionVersionResponse";
|
|
548
|
+
const _CRS = "CreateResourceShare";
|
|
549
|
+
const _CRSR = "CreateResourceShareRequest";
|
|
550
|
+
const _CRSRr = "CreateResourceShareResponse";
|
|
551
|
+
const _DP = "DeletePermission";
|
|
552
|
+
const _DPR = "DeletePermissionRequest";
|
|
553
|
+
const _DPRe = "DeletePermissionResponse";
|
|
554
|
+
const _DPV = "DeletePermissionVersion";
|
|
555
|
+
const _DPVR = "DeletePermissionVersionRequest";
|
|
556
|
+
const _DPVRe = "DeletePermissionVersionResponse";
|
|
557
|
+
const _DRS = "DeleteResourceShare";
|
|
558
|
+
const _DRSP = "DisassociateResourceSharePermission";
|
|
559
|
+
const _DRSPR = "DisassociateResourceSharePermissionRequest";
|
|
560
|
+
const _DRSPRi = "DisassociateResourceSharePermissionResponse";
|
|
561
|
+
const _DRSR = "DeleteResourceShareRequest";
|
|
562
|
+
const _DRSRe = "DeleteResourceShareResponse";
|
|
563
|
+
const _DRSRi = "DisassociateResourceShareRequest";
|
|
564
|
+
const _DRSRis = "DisassociateResourceShareResponse";
|
|
565
|
+
const _DRSi = "DisassociateResourceShare";
|
|
566
|
+
const _ESWAO = "EnableSharingWithAwsOrganization";
|
|
567
|
+
const _ESWAOR = "EnableSharingWithAwsOrganizationRequest";
|
|
568
|
+
const _ESWAORn = "EnableSharingWithAwsOrganizationResponse";
|
|
569
|
+
const _GP = "GetPermission";
|
|
570
|
+
const _GPR = "GetPermissionRequest";
|
|
571
|
+
const _GPRe = "GetPermissionResponse";
|
|
572
|
+
const _GRP = "GetResourcePolicies";
|
|
573
|
+
const _GRPR = "GetResourcePoliciesRequest";
|
|
574
|
+
const _GRPRe = "GetResourcePoliciesResponse";
|
|
575
|
+
const _GRS = "GetResourceShares";
|
|
576
|
+
const _GRSA = "GetResourceShareAssociations";
|
|
577
|
+
const _GRSAR = "GetResourceShareAssociationsRequest";
|
|
578
|
+
const _GRSARe = "GetResourceShareAssociationsResponse";
|
|
579
|
+
const _GRSI = "GetResourceShareInvitations";
|
|
580
|
+
const _GRSIR = "GetResourceShareInvitationsRequest";
|
|
581
|
+
const _GRSIRe = "GetResourceShareInvitationsResponse";
|
|
582
|
+
const _GRSR = "GetResourceSharesRequest";
|
|
583
|
+
const _GRSRe = "GetResourceSharesResponse";
|
|
584
|
+
const _ICTE = "InvalidClientTokenException";
|
|
585
|
+
const _IMRE = "InvalidMaxResultsException";
|
|
586
|
+
const _INTE = "InvalidNextTokenException";
|
|
587
|
+
const _IPE = "InvalidParameterException";
|
|
588
|
+
const _IPEn = "InvalidPolicyException";
|
|
589
|
+
const _IPME = "IdempotentParameterMismatchException";
|
|
590
|
+
const _IRTE = "InvalidResourceTypeException";
|
|
591
|
+
const _ISTE = "InvalidStateTransitionException";
|
|
592
|
+
const _LP = "ListPermissions";
|
|
593
|
+
const _LPA = "ListPermissionAssociations";
|
|
594
|
+
const _LPAR = "ListPermissionAssociationsRequest";
|
|
595
|
+
const _LPARi = "ListPermissionAssociationsResponse";
|
|
596
|
+
const _LPIR = "ListPendingInvitationResources";
|
|
597
|
+
const _LPIRR = "ListPendingInvitationResourcesRequest";
|
|
598
|
+
const _LPIRRi = "ListPendingInvitationResourcesResponse";
|
|
599
|
+
const _LPR = "ListPermissionsRequest";
|
|
600
|
+
const _LPRi = "ListPermissionsResponse";
|
|
601
|
+
const _LPRis = "ListPrincipalsRequest";
|
|
602
|
+
const _LPRist = "ListPrincipalsResponse";
|
|
603
|
+
const _LPV = "ListPermissionVersions";
|
|
604
|
+
const _LPVR = "ListPermissionVersionsRequest";
|
|
605
|
+
const _LPVRi = "ListPermissionVersionsResponse";
|
|
606
|
+
const _LPi = "ListPrincipals";
|
|
607
|
+
const _LR = "ListResources";
|
|
608
|
+
const _LRPAW = "ListReplacePermissionAssociationsWork";
|
|
609
|
+
const _LRPAWR = "ListReplacePermissionAssociationsWorkRequest";
|
|
610
|
+
const _LRPAWRi = "ListReplacePermissionAssociationsWorkResponse";
|
|
611
|
+
const _LRR = "ListResourcesRequest";
|
|
612
|
+
const _LRRi = "ListResourcesResponse";
|
|
613
|
+
const _LRSP = "ListResourceSharePermissions";
|
|
614
|
+
const _LRSPR = "ListResourceSharePermissionsRequest";
|
|
615
|
+
const _LRSPRi = "ListResourceSharePermissionsResponse";
|
|
616
|
+
const _LRT = "ListResourceTypes";
|
|
617
|
+
const _LRTR = "ListResourceTypesRequest";
|
|
618
|
+
const _LRTRi = "ListResourceTypesResponse";
|
|
619
|
+
const _MAE = "MalformedArnException";
|
|
620
|
+
const _MPTE = "MalformedPolicyTemplateException";
|
|
621
|
+
const _MRPE = "MissingRequiredParameterException";
|
|
622
|
+
const _ONPE = "OperationNotPermittedException";
|
|
623
|
+
const _P = "Principal";
|
|
624
|
+
const _PAEE = "PermissionAlreadyExistsException";
|
|
625
|
+
const _PAL = "PermissionArnList";
|
|
626
|
+
const _PAOIL = "PrincipalArnOrIdList";
|
|
627
|
+
const _PL = "PolicyList";
|
|
628
|
+
const _PLEE = "PermissionLimitExceededException";
|
|
629
|
+
const _PLr = "PrincipalList";
|
|
630
|
+
const _PPCFP = "PromotePermissionCreatedFromPolicy";
|
|
631
|
+
const _PPCFPR = "PromotePermissionCreatedFromPolicyRequest";
|
|
632
|
+
const _PPCFPRr = "PromotePermissionCreatedFromPolicyResponse";
|
|
633
|
+
const _PRSCFP = "PromoteResourceShareCreatedFromPolicy";
|
|
634
|
+
const _PRSCFPR = "PromoteResourceShareCreatedFromPolicyRequest";
|
|
635
|
+
const _PRSCFPRr = "PromoteResourceShareCreatedFromPolicyResponse";
|
|
636
|
+
const _PVLEE = "PermissionVersionsLimitExceededException";
|
|
637
|
+
const _R = "Resource";
|
|
638
|
+
const _RAL = "ResourceArnList";
|
|
639
|
+
const _RANFE = "ResourceArnNotFoundException";
|
|
640
|
+
const _RL = "ResourceList";
|
|
641
|
+
const _RPA = "ReplacePermissionAssociations";
|
|
642
|
+
const _RPAR = "ReplacePermissionAssociationsRequest";
|
|
643
|
+
const _RPARe = "ReplacePermissionAssociationsResponse";
|
|
644
|
+
const _RPAW = "ReplacePermissionAssociationsWork";
|
|
645
|
+
const _RPAWIL = "ReplacePermissionAssociationsWorkIdList";
|
|
646
|
+
const _RPAWL = "ReplacePermissionAssociationsWorkList";
|
|
647
|
+
const _RRSI = "RejectResourceShareInvitation";
|
|
648
|
+
const _RRSIR = "RejectResourceShareInvitationRequest";
|
|
649
|
+
const _RRSIRe = "RejectResourceShareInvitationResponse";
|
|
650
|
+
const _RS = "ResourceShare";
|
|
651
|
+
const _RSA = "ResourceShareAssociation";
|
|
652
|
+
const _RSAL = "ResourceShareArnList";
|
|
653
|
+
const _RSALe = "ResourceShareAssociationList";
|
|
654
|
+
const _RSI = "ResourceShareInvitation";
|
|
655
|
+
const _RSIAAE = "ResourceShareInvitationAlreadyAcceptedException";
|
|
656
|
+
const _RSIAL = "ResourceShareInvitationArnList";
|
|
657
|
+
const _RSIANFE = "ResourceShareInvitationArnNotFoundException";
|
|
658
|
+
const _RSIARE = "ResourceShareInvitationAlreadyRejectedException";
|
|
659
|
+
const _RSIEE = "ResourceShareInvitationExpiredException";
|
|
660
|
+
const _RSIL = "ResourceShareInvitationList";
|
|
661
|
+
const _RSL = "ResourceShareList";
|
|
662
|
+
const _RSLEE = "ResourceShareLimitExceededException";
|
|
663
|
+
const _RSPD = "ResourceSharePermissionDetail";
|
|
664
|
+
const _RSPL = "ResourceSharePermissionList";
|
|
665
|
+
const _RSPS = "ResourceSharePermissionSummary";
|
|
666
|
+
const _SAOAL = "SourceArnOrAccountList";
|
|
667
|
+
const _SDPV = "SetDefaultPermissionVersion";
|
|
668
|
+
const _SDPVR = "SetDefaultPermissionVersionRequest";
|
|
669
|
+
const _SDPVRe = "SetDefaultPermissionVersionResponse";
|
|
670
|
+
const _SIE = "ServerInternalException";
|
|
671
|
+
const _SNART = "ServiceNameAndResourceType";
|
|
672
|
+
const _SNARTL = "ServiceNameAndResourceTypeList";
|
|
673
|
+
const _SUE = "ServiceUnavailableException";
|
|
674
|
+
const _T = "Tag";
|
|
675
|
+
const _TE = "ThrottlingException";
|
|
676
|
+
const _TF = "TagFilter";
|
|
677
|
+
const _TFa = "TagFilters";
|
|
678
|
+
const _TL = "TagList";
|
|
679
|
+
const _TLEE = "TagLimitExceededException";
|
|
680
|
+
const _TPVE = "TagPolicyViolationException";
|
|
681
|
+
const _TR = "TagResource";
|
|
682
|
+
const _TRR = "TagResourceRequest";
|
|
683
|
+
const _TRRa = "TagResourceResponse";
|
|
684
|
+
const _UPPE = "UnmatchedPolicyPermissionException";
|
|
685
|
+
const _UR = "UntagResource";
|
|
686
|
+
const _URE = "UnknownResourceException";
|
|
687
|
+
const _URR = "UntagResourceRequest";
|
|
688
|
+
const _URRn = "UntagResourceResponse";
|
|
689
|
+
const _URS = "UpdateResourceShare";
|
|
690
|
+
const _URSR = "UpdateResourceShareRequest";
|
|
691
|
+
const _URSRp = "UpdateResourceShareResponse";
|
|
692
|
+
const _a = "arn";
|
|
693
|
+
const _aE = "associatedEntity";
|
|
694
|
+
const _aEP = "allowExternalPrincipals";
|
|
695
|
+
const _aQE = "awsQueryError";
|
|
696
|
+
const _aS = "associationStatus";
|
|
697
|
+
const _aT = "associationType";
|
|
698
|
+
const _c = "client";
|
|
2217
699
|
const _cT = "clientToken";
|
|
700
|
+
const _cTr = "creationTime";
|
|
701
|
+
const _dV = "defaultVersion";
|
|
702
|
+
const _e = "error";
|
|
703
|
+
const _ex = "external";
|
|
704
|
+
const _fPA = "fromPermissionArn";
|
|
705
|
+
const _fPV = "fromPermissionVersion";
|
|
706
|
+
const _fS = "featureSet";
|
|
707
|
+
const _h = "http";
|
|
708
|
+
const _hE = "httpError";
|
|
709
|
+
const _hQ = "httpQuery";
|
|
710
|
+
const _i = "id";
|
|
711
|
+
const _iRTD = "isResourceTypeDefault";
|
|
712
|
+
const _iT = "invitationTimestamp";
|
|
713
|
+
const _it = "item";
|
|
714
|
+
const _k = "key";
|
|
715
|
+
const _lUT = "lastUpdatedTime";
|
|
716
|
+
const _m = "message";
|
|
717
|
+
const _mR = "maxResults";
|
|
718
|
+
const _n = "name";
|
|
719
|
+
const _nT = "nextToken";
|
|
720
|
+
const _oAI = "owningAccountId";
|
|
721
|
+
const _p = "principals";
|
|
2218
722
|
const _pA = "permissionArn";
|
|
723
|
+
const _pAe = "permissionArns";
|
|
724
|
+
const _pS = "permissionStatus";
|
|
725
|
+
const _pT = "policyTemplate";
|
|
726
|
+
const _pTe = "permissionType";
|
|
2219
727
|
const _pV = "permissionVersion";
|
|
728
|
+
const _pe = "permission";
|
|
729
|
+
const _per = "permissions";
|
|
730
|
+
const _po = "policies";
|
|
731
|
+
const _pr = "principal";
|
|
732
|
+
const _r = "replace";
|
|
733
|
+
const _rA = "resourceArns";
|
|
734
|
+
const _rAI = "receiverAccountId";
|
|
735
|
+
const _rAe = "resourceArn";
|
|
736
|
+
const _rAec = "receiverArn";
|
|
737
|
+
const _rGA = "resourceGroupArn";
|
|
738
|
+
const _rO = "resourceOwner";
|
|
739
|
+
const _rPAW = "replacePermissionAssociationsWorks";
|
|
740
|
+
const _rPAWe = "replacePermissionAssociationsWork";
|
|
741
|
+
const _rRS = "resourceRegionScope";
|
|
742
|
+
const _rS = "resourceShare";
|
|
2220
743
|
const _rSA = "resourceShareArn";
|
|
744
|
+
const _rSAe = "resourceShareAssociations";
|
|
745
|
+
const _rSAes = "resourceShareArns";
|
|
746
|
+
const _rSI = "resourceShareInvitation";
|
|
747
|
+
const _rSIA = "resourceShareInvitationArn";
|
|
748
|
+
const _rSIAe = "resourceShareInvitationArns";
|
|
749
|
+
const _rSIe = "resourceShareInvitations";
|
|
750
|
+
const _rSN = "resourceShareName";
|
|
751
|
+
const _rSS = "resourceShareStatus";
|
|
752
|
+
const _rSe = "resourceShares";
|
|
753
|
+
const _rT = "resourceType";
|
|
754
|
+
const _rTe = "resourceTypes";
|
|
755
|
+
const _rV = "returnValue";
|
|
756
|
+
const _re = "return";
|
|
757
|
+
const _res = "resources";
|
|
758
|
+
const _s = "status";
|
|
759
|
+
const _sAI = "senderAccountId";
|
|
760
|
+
const _sM = "statusMessage";
|
|
761
|
+
const _sN = "serviceName";
|
|
762
|
+
const _se = "server";
|
|
763
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ram";
|
|
764
|
+
const _so = "sources";
|
|
765
|
+
const _t = "tags";
|
|
766
|
+
const _tF = "tagFilters";
|
|
767
|
+
const _tK = "tagKey";
|
|
768
|
+
const _tKa = "tagKeys";
|
|
769
|
+
const _tPA = "toPermissionArn";
|
|
770
|
+
const _tPV = "toPermissionVersion";
|
|
771
|
+
const _tV = "tagValues";
|
|
772
|
+
const _ty = "type";
|
|
773
|
+
const _v = "version";
|
|
774
|
+
const _va = "value";
|
|
775
|
+
const _wI = "workIds";
|
|
776
|
+
const _xN = "xmlName";
|
|
777
|
+
const n0 = "com.amazonaws.ram";
|
|
778
|
+
var AcceptResourceShareInvitationRequest = [3, n0, _ARSIR, 0, [_rSIA, _cT], [0, 0]];
|
|
779
|
+
var AcceptResourceShareInvitationResponse = [
|
|
780
|
+
3,
|
|
781
|
+
n0,
|
|
782
|
+
_ARSIRc,
|
|
783
|
+
0,
|
|
784
|
+
[_rSI, _cT],
|
|
785
|
+
[[() => ResourceShareInvitation, 0], 0],
|
|
786
|
+
];
|
|
787
|
+
var AssociatedPermission = [
|
|
788
|
+
3,
|
|
789
|
+
n0,
|
|
790
|
+
_AP,
|
|
791
|
+
0,
|
|
792
|
+
[_a, _pV, _dV, _rT, _s, _fS, _lUT, _rSA],
|
|
793
|
+
[0, 0, 2, 0, 0, 0, 4, 0],
|
|
794
|
+
];
|
|
795
|
+
var AssociateResourceSharePermissionRequest = [
|
|
796
|
+
3,
|
|
797
|
+
n0,
|
|
798
|
+
_ARSPR,
|
|
799
|
+
0,
|
|
800
|
+
[_rSA, _pA, _r, _cT, _pV],
|
|
801
|
+
[0, 0, 2, 0, 1],
|
|
802
|
+
];
|
|
803
|
+
var AssociateResourceSharePermissionResponse = [3, n0, _ARSPRs, 0, [_rV, _cT], [2, 0]];
|
|
804
|
+
var AssociateResourceShareRequest = [
|
|
805
|
+
3,
|
|
806
|
+
n0,
|
|
807
|
+
_ARSR,
|
|
808
|
+
0,
|
|
809
|
+
[_rSA, _rA, _p, _cT, _so],
|
|
810
|
+
[0, [() => ResourceArnList, 0], [() => PrincipalArnOrIdList, 0], 0, [() => SourceArnOrAccountList, 0]],
|
|
811
|
+
];
|
|
812
|
+
var AssociateResourceShareResponse = [
|
|
813
|
+
3,
|
|
814
|
+
n0,
|
|
815
|
+
_ARSRs,
|
|
816
|
+
0,
|
|
817
|
+
[_rSAe, _cT],
|
|
818
|
+
[[() => ResourceShareAssociationList, 0], 0],
|
|
819
|
+
];
|
|
820
|
+
var CreatePermissionRequest = [
|
|
821
|
+
3,
|
|
822
|
+
n0,
|
|
823
|
+
_CPR,
|
|
824
|
+
0,
|
|
825
|
+
[_n, _rT, _pT, _cT, _t],
|
|
826
|
+
[0, 0, 0, 0, () => TagList],
|
|
827
|
+
];
|
|
828
|
+
var CreatePermissionResponse = [
|
|
829
|
+
3,
|
|
830
|
+
n0,
|
|
831
|
+
_CPRr,
|
|
832
|
+
0,
|
|
833
|
+
[_pe, _cT],
|
|
834
|
+
[() => ResourceSharePermissionSummary, 0],
|
|
835
|
+
];
|
|
836
|
+
var CreatePermissionVersionRequest = [3, n0, _CPVR, 0, [_pA, _pT, _cT], [0, 0, 0]];
|
|
837
|
+
var CreatePermissionVersionResponse = [
|
|
838
|
+
3,
|
|
839
|
+
n0,
|
|
840
|
+
_CPVRr,
|
|
841
|
+
0,
|
|
842
|
+
[_pe, _cT],
|
|
843
|
+
[() => ResourceSharePermissionDetail, 0],
|
|
844
|
+
];
|
|
845
|
+
var CreateResourceShareRequest = [
|
|
846
|
+
3,
|
|
847
|
+
n0,
|
|
848
|
+
_CRSR,
|
|
849
|
+
0,
|
|
850
|
+
[_n, _rA, _p, _t, _aEP, _cT, _pAe, _so],
|
|
851
|
+
[
|
|
852
|
+
0,
|
|
853
|
+
[() => ResourceArnList, 0],
|
|
854
|
+
[() => PrincipalArnOrIdList, 0],
|
|
855
|
+
() => TagList,
|
|
856
|
+
2,
|
|
857
|
+
0,
|
|
858
|
+
[() => PermissionArnList, 0],
|
|
859
|
+
[() => SourceArnOrAccountList, 0],
|
|
860
|
+
],
|
|
861
|
+
];
|
|
862
|
+
var CreateResourceShareResponse = [
|
|
863
|
+
3,
|
|
864
|
+
n0,
|
|
865
|
+
_CRSRr,
|
|
866
|
+
0,
|
|
867
|
+
[_rS, _cT],
|
|
868
|
+
[() => ResourceShare, 0],
|
|
869
|
+
];
|
|
870
|
+
var DeletePermissionRequest = [
|
|
871
|
+
3,
|
|
872
|
+
n0,
|
|
873
|
+
_DPR,
|
|
874
|
+
0,
|
|
875
|
+
[_pA, _cT],
|
|
876
|
+
[
|
|
877
|
+
[
|
|
878
|
+
0,
|
|
879
|
+
{
|
|
880
|
+
[_hQ]: _pA,
|
|
881
|
+
},
|
|
882
|
+
],
|
|
883
|
+
[
|
|
884
|
+
0,
|
|
885
|
+
{
|
|
886
|
+
[_hQ]: _cT,
|
|
887
|
+
},
|
|
888
|
+
],
|
|
889
|
+
],
|
|
890
|
+
];
|
|
891
|
+
var DeletePermissionResponse = [
|
|
892
|
+
3,
|
|
893
|
+
n0,
|
|
894
|
+
_DPRe,
|
|
895
|
+
0,
|
|
896
|
+
[_rV, _cT, _pS],
|
|
897
|
+
[
|
|
898
|
+
[
|
|
899
|
+
2,
|
|
900
|
+
{
|
|
901
|
+
[_xN]: _re,
|
|
902
|
+
},
|
|
903
|
+
],
|
|
904
|
+
0,
|
|
905
|
+
0,
|
|
906
|
+
],
|
|
907
|
+
];
|
|
908
|
+
var DeletePermissionVersionRequest = [
|
|
909
|
+
3,
|
|
910
|
+
n0,
|
|
911
|
+
_DPVR,
|
|
912
|
+
0,
|
|
913
|
+
[_pA, _pV, _cT],
|
|
914
|
+
[
|
|
915
|
+
[
|
|
916
|
+
0,
|
|
917
|
+
{
|
|
918
|
+
[_hQ]: _pA,
|
|
919
|
+
},
|
|
920
|
+
],
|
|
921
|
+
[
|
|
922
|
+
1,
|
|
923
|
+
{
|
|
924
|
+
[_hQ]: _pV,
|
|
925
|
+
},
|
|
926
|
+
],
|
|
927
|
+
[
|
|
928
|
+
0,
|
|
929
|
+
{
|
|
930
|
+
[_hQ]: _cT,
|
|
931
|
+
},
|
|
932
|
+
],
|
|
933
|
+
],
|
|
934
|
+
];
|
|
935
|
+
var DeletePermissionVersionResponse = [
|
|
936
|
+
3,
|
|
937
|
+
n0,
|
|
938
|
+
_DPVRe,
|
|
939
|
+
0,
|
|
940
|
+
[_rV, _cT, _pS],
|
|
941
|
+
[
|
|
942
|
+
[
|
|
943
|
+
2,
|
|
944
|
+
{
|
|
945
|
+
[_xN]: _re,
|
|
946
|
+
},
|
|
947
|
+
],
|
|
948
|
+
0,
|
|
949
|
+
0,
|
|
950
|
+
],
|
|
951
|
+
];
|
|
952
|
+
var DeleteResourceShareRequest = [
|
|
953
|
+
3,
|
|
954
|
+
n0,
|
|
955
|
+
_DRSR,
|
|
956
|
+
0,
|
|
957
|
+
[_rSA, _cT],
|
|
958
|
+
[
|
|
959
|
+
[
|
|
960
|
+
0,
|
|
961
|
+
{
|
|
962
|
+
[_hQ]: _rSA,
|
|
963
|
+
},
|
|
964
|
+
],
|
|
965
|
+
[
|
|
966
|
+
0,
|
|
967
|
+
{
|
|
968
|
+
[_hQ]: _cT,
|
|
969
|
+
},
|
|
970
|
+
],
|
|
971
|
+
],
|
|
972
|
+
];
|
|
973
|
+
var DeleteResourceShareResponse = [
|
|
974
|
+
3,
|
|
975
|
+
n0,
|
|
976
|
+
_DRSRe,
|
|
977
|
+
0,
|
|
978
|
+
[_rV, _cT],
|
|
979
|
+
[
|
|
980
|
+
[
|
|
981
|
+
2,
|
|
982
|
+
{
|
|
983
|
+
[_xN]: _re,
|
|
984
|
+
},
|
|
985
|
+
],
|
|
986
|
+
0,
|
|
987
|
+
],
|
|
988
|
+
];
|
|
989
|
+
var DisassociateResourceSharePermissionRequest = [
|
|
990
|
+
3,
|
|
991
|
+
n0,
|
|
992
|
+
_DRSPR,
|
|
993
|
+
0,
|
|
994
|
+
[_rSA, _pA, _cT],
|
|
995
|
+
[0, 0, 0],
|
|
996
|
+
];
|
|
997
|
+
var DisassociateResourceSharePermissionResponse = [3, n0, _DRSPRi, 0, [_rV, _cT], [2, 0]];
|
|
998
|
+
var DisassociateResourceShareRequest = [
|
|
999
|
+
3,
|
|
1000
|
+
n0,
|
|
1001
|
+
_DRSRi,
|
|
1002
|
+
0,
|
|
1003
|
+
[_rSA, _rA, _p, _cT, _so],
|
|
1004
|
+
[0, [() => ResourceArnList, 0], [() => PrincipalArnOrIdList, 0], 0, [() => SourceArnOrAccountList, 0]],
|
|
1005
|
+
];
|
|
1006
|
+
var DisassociateResourceShareResponse = [
|
|
1007
|
+
3,
|
|
1008
|
+
n0,
|
|
1009
|
+
_DRSRis,
|
|
1010
|
+
0,
|
|
1011
|
+
[_rSAe, _cT],
|
|
1012
|
+
[[() => ResourceShareAssociationList, 0], 0],
|
|
1013
|
+
];
|
|
1014
|
+
var EnableSharingWithAwsOrganizationRequest = [3, n0, _ESWAOR, 0, [], []];
|
|
1015
|
+
var EnableSharingWithAwsOrganizationResponse = [
|
|
1016
|
+
3,
|
|
1017
|
+
n0,
|
|
1018
|
+
_ESWAORn,
|
|
1019
|
+
0,
|
|
1020
|
+
[_rV],
|
|
1021
|
+
[
|
|
1022
|
+
[
|
|
1023
|
+
2,
|
|
1024
|
+
{
|
|
1025
|
+
[_xN]: _re,
|
|
1026
|
+
},
|
|
1027
|
+
],
|
|
1028
|
+
],
|
|
1029
|
+
];
|
|
1030
|
+
var GetPermissionRequest = [3, n0, _GPR, 0, [_pA, _pV], [0, 1]];
|
|
1031
|
+
var GetPermissionResponse = [
|
|
1032
|
+
3,
|
|
1033
|
+
n0,
|
|
1034
|
+
_GPRe,
|
|
1035
|
+
0,
|
|
1036
|
+
[_pe],
|
|
1037
|
+
[() => ResourceSharePermissionDetail],
|
|
1038
|
+
];
|
|
1039
|
+
var GetResourcePoliciesRequest = [
|
|
1040
|
+
3,
|
|
1041
|
+
n0,
|
|
1042
|
+
_GRPR,
|
|
1043
|
+
0,
|
|
1044
|
+
[_rA, _pr, _nT, _mR],
|
|
1045
|
+
[[() => ResourceArnList, 0], 0, 0, 1],
|
|
1046
|
+
];
|
|
1047
|
+
var GetResourcePoliciesResponse = [
|
|
1048
|
+
3,
|
|
1049
|
+
n0,
|
|
1050
|
+
_GRPRe,
|
|
1051
|
+
0,
|
|
1052
|
+
[_po, _nT],
|
|
1053
|
+
[[() => PolicyList, 0], 0],
|
|
1054
|
+
];
|
|
1055
|
+
var GetResourceShareAssociationsRequest = [
|
|
1056
|
+
3,
|
|
1057
|
+
n0,
|
|
1058
|
+
_GRSAR,
|
|
1059
|
+
0,
|
|
1060
|
+
[_aT, _rSAes, _rAe, _pr, _aS, _nT, _mR],
|
|
1061
|
+
[0, [() => ResourceShareArnList, 0], 0, 0, 0, 0, 1],
|
|
1062
|
+
];
|
|
1063
|
+
var GetResourceShareAssociationsResponse = [
|
|
1064
|
+
3,
|
|
1065
|
+
n0,
|
|
1066
|
+
_GRSARe,
|
|
1067
|
+
0,
|
|
1068
|
+
[_rSAe, _nT],
|
|
1069
|
+
[[() => ResourceShareAssociationList, 0], 0],
|
|
1070
|
+
];
|
|
1071
|
+
var GetResourceShareInvitationsRequest = [
|
|
1072
|
+
3,
|
|
1073
|
+
n0,
|
|
1074
|
+
_GRSIR,
|
|
1075
|
+
0,
|
|
1076
|
+
[_rSIAe, _rSAes, _nT, _mR],
|
|
1077
|
+
[[() => ResourceShareInvitationArnList, 0], [() => ResourceShareArnList, 0], 0, 1],
|
|
1078
|
+
];
|
|
1079
|
+
var GetResourceShareInvitationsResponse = [
|
|
1080
|
+
3,
|
|
1081
|
+
n0,
|
|
1082
|
+
_GRSIRe,
|
|
1083
|
+
0,
|
|
1084
|
+
[_rSIe, _nT],
|
|
1085
|
+
[[() => ResourceShareInvitationList, 0], 0],
|
|
1086
|
+
];
|
|
1087
|
+
var GetResourceSharesRequest = [
|
|
1088
|
+
3,
|
|
1089
|
+
n0,
|
|
1090
|
+
_GRSR,
|
|
1091
|
+
0,
|
|
1092
|
+
[_rSAes, _rSS, _rO, _n, _tF, _nT, _mR, _pA, _pV],
|
|
1093
|
+
[[() => ResourceShareArnList, 0], 0, 0, 0, () => TagFilters, 0, 1, 0, 1],
|
|
1094
|
+
];
|
|
1095
|
+
var GetResourceSharesResponse = [
|
|
1096
|
+
3,
|
|
1097
|
+
n0,
|
|
1098
|
+
_GRSRe,
|
|
1099
|
+
0,
|
|
1100
|
+
[_rSe, _nT],
|
|
1101
|
+
[[() => ResourceShareList, 0], 0],
|
|
1102
|
+
];
|
|
1103
|
+
var IdempotentParameterMismatchException = [
|
|
1104
|
+
-3,
|
|
1105
|
+
n0,
|
|
1106
|
+
_IPME,
|
|
1107
|
+
{
|
|
1108
|
+
[_e]: _c,
|
|
1109
|
+
[_hE]: 400,
|
|
1110
|
+
[_aQE]: [`IdempotentParameterMismatch`, 400],
|
|
1111
|
+
},
|
|
1112
|
+
[_m],
|
|
1113
|
+
[0],
|
|
1114
|
+
];
|
|
1115
|
+
schema.TypeRegistry.for(n0).registerError(IdempotentParameterMismatchException, IdempotentParameterMismatchException$1);
|
|
1116
|
+
var InvalidClientTokenException = [
|
|
1117
|
+
-3,
|
|
1118
|
+
n0,
|
|
1119
|
+
_ICTE,
|
|
1120
|
+
{
|
|
1121
|
+
[_e]: _c,
|
|
1122
|
+
[_hE]: 400,
|
|
1123
|
+
[_aQE]: [`InvalidClientToken`, 400],
|
|
1124
|
+
},
|
|
1125
|
+
[_m],
|
|
1126
|
+
[0],
|
|
1127
|
+
];
|
|
1128
|
+
schema.TypeRegistry.for(n0).registerError(InvalidClientTokenException, InvalidClientTokenException$1);
|
|
1129
|
+
var InvalidMaxResultsException = [
|
|
1130
|
+
-3,
|
|
1131
|
+
n0,
|
|
1132
|
+
_IMRE,
|
|
1133
|
+
{
|
|
1134
|
+
[_e]: _c,
|
|
1135
|
+
[_hE]: 400,
|
|
1136
|
+
[_aQE]: [`InvalidMaxResults`, 400],
|
|
1137
|
+
},
|
|
1138
|
+
[_m],
|
|
1139
|
+
[0],
|
|
1140
|
+
];
|
|
1141
|
+
schema.TypeRegistry.for(n0).registerError(InvalidMaxResultsException, InvalidMaxResultsException$1);
|
|
1142
|
+
var InvalidNextTokenException = [
|
|
1143
|
+
-3,
|
|
1144
|
+
n0,
|
|
1145
|
+
_INTE,
|
|
1146
|
+
{
|
|
1147
|
+
[_e]: _c,
|
|
1148
|
+
[_hE]: 400,
|
|
1149
|
+
[_aQE]: [`InvalidNextToken`, 400],
|
|
1150
|
+
},
|
|
1151
|
+
[_m],
|
|
1152
|
+
[0],
|
|
1153
|
+
];
|
|
1154
|
+
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
|
|
1155
|
+
var InvalidParameterException = [
|
|
1156
|
+
-3,
|
|
1157
|
+
n0,
|
|
1158
|
+
_IPE,
|
|
1159
|
+
{
|
|
1160
|
+
[_e]: _c,
|
|
1161
|
+
[_hE]: 400,
|
|
1162
|
+
[_aQE]: [`InvalidParameter`, 400],
|
|
1163
|
+
},
|
|
1164
|
+
[_m],
|
|
1165
|
+
[0],
|
|
1166
|
+
];
|
|
1167
|
+
schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
|
|
1168
|
+
var InvalidPolicyException = [
|
|
1169
|
+
-3,
|
|
1170
|
+
n0,
|
|
1171
|
+
_IPEn,
|
|
1172
|
+
{
|
|
1173
|
+
[_e]: _c,
|
|
1174
|
+
[_hE]: 400,
|
|
1175
|
+
[_aQE]: [`InvalidPolicy`, 400],
|
|
1176
|
+
},
|
|
1177
|
+
[_m],
|
|
1178
|
+
[0],
|
|
1179
|
+
];
|
|
1180
|
+
schema.TypeRegistry.for(n0).registerError(InvalidPolicyException, InvalidPolicyException$1);
|
|
1181
|
+
var InvalidResourceTypeException = [
|
|
1182
|
+
-3,
|
|
1183
|
+
n0,
|
|
1184
|
+
_IRTE,
|
|
1185
|
+
{
|
|
1186
|
+
[_e]: _c,
|
|
1187
|
+
[_hE]: 400,
|
|
1188
|
+
[_aQE]: [`InvalidResourceType.Unknown`, 400],
|
|
1189
|
+
},
|
|
1190
|
+
[_m],
|
|
1191
|
+
[0],
|
|
1192
|
+
];
|
|
1193
|
+
schema.TypeRegistry.for(n0).registerError(InvalidResourceTypeException, InvalidResourceTypeException$1);
|
|
1194
|
+
var InvalidStateTransitionException = [
|
|
1195
|
+
-3,
|
|
1196
|
+
n0,
|
|
1197
|
+
_ISTE,
|
|
1198
|
+
{
|
|
1199
|
+
[_e]: _c,
|
|
1200
|
+
[_hE]: 400,
|
|
1201
|
+
[_aQE]: [`InvalidStateTransitionException.Unknown`, 400],
|
|
1202
|
+
},
|
|
1203
|
+
[_m],
|
|
1204
|
+
[0],
|
|
1205
|
+
];
|
|
1206
|
+
schema.TypeRegistry.for(n0).registerError(InvalidStateTransitionException, InvalidStateTransitionException$1);
|
|
1207
|
+
var ListPendingInvitationResourcesRequest = [
|
|
1208
|
+
3,
|
|
1209
|
+
n0,
|
|
1210
|
+
_LPIRR,
|
|
1211
|
+
0,
|
|
1212
|
+
[_rSIA, _nT, _mR, _rRS],
|
|
1213
|
+
[0, 0, 1, 0],
|
|
1214
|
+
];
|
|
1215
|
+
var ListPendingInvitationResourcesResponse = [
|
|
1216
|
+
3,
|
|
1217
|
+
n0,
|
|
1218
|
+
_LPIRRi,
|
|
1219
|
+
0,
|
|
1220
|
+
[_res, _nT],
|
|
1221
|
+
[[() => ResourceList, 0], 0],
|
|
1222
|
+
];
|
|
1223
|
+
var ListPermissionAssociationsRequest = [
|
|
1224
|
+
3,
|
|
1225
|
+
n0,
|
|
1226
|
+
_LPAR,
|
|
1227
|
+
0,
|
|
1228
|
+
[_pA, _pV, _aS, _rT, _fS, _dV, _nT, _mR],
|
|
1229
|
+
[0, 1, 0, 0, 0, 2, 0, 1],
|
|
1230
|
+
];
|
|
1231
|
+
var ListPermissionAssociationsResponse = [
|
|
1232
|
+
3,
|
|
1233
|
+
n0,
|
|
1234
|
+
_LPARi,
|
|
1235
|
+
0,
|
|
1236
|
+
[_per, _nT],
|
|
1237
|
+
[[() => AssociatedPermissionList, 0], 0],
|
|
1238
|
+
];
|
|
1239
|
+
var ListPermissionsRequest = [3, n0, _LPR, 0, [_rT, _nT, _mR, _pTe], [0, 0, 1, 0]];
|
|
1240
|
+
var ListPermissionsResponse = [
|
|
1241
|
+
3,
|
|
1242
|
+
n0,
|
|
1243
|
+
_LPRi,
|
|
1244
|
+
0,
|
|
1245
|
+
[_per, _nT],
|
|
1246
|
+
[[() => ResourceSharePermissionList, 0], 0],
|
|
1247
|
+
];
|
|
1248
|
+
var ListPermissionVersionsRequest = [3, n0, _LPVR, 0, [_pA, _nT, _mR], [0, 0, 1]];
|
|
1249
|
+
var ListPermissionVersionsResponse = [
|
|
1250
|
+
3,
|
|
1251
|
+
n0,
|
|
1252
|
+
_LPVRi,
|
|
1253
|
+
0,
|
|
1254
|
+
[_per, _nT],
|
|
1255
|
+
[[() => ResourceSharePermissionList, 0], 0],
|
|
1256
|
+
];
|
|
1257
|
+
var ListPrincipalsRequest = [
|
|
1258
|
+
3,
|
|
1259
|
+
n0,
|
|
1260
|
+
_LPRis,
|
|
1261
|
+
0,
|
|
1262
|
+
[_rO, _rAe, _p, _rT, _rSAes, _nT, _mR],
|
|
1263
|
+
[0, 0, [() => PrincipalArnOrIdList, 0], 0, [() => ResourceShareArnList, 0], 0, 1],
|
|
1264
|
+
];
|
|
1265
|
+
var ListPrincipalsResponse = [
|
|
1266
|
+
3,
|
|
1267
|
+
n0,
|
|
1268
|
+
_LPRist,
|
|
1269
|
+
0,
|
|
1270
|
+
[_p, _nT],
|
|
1271
|
+
[[() => PrincipalList, 0], 0],
|
|
1272
|
+
];
|
|
1273
|
+
var ListReplacePermissionAssociationsWorkRequest = [
|
|
1274
|
+
3,
|
|
1275
|
+
n0,
|
|
1276
|
+
_LRPAWR,
|
|
1277
|
+
0,
|
|
1278
|
+
[_wI, _s, _nT, _mR],
|
|
1279
|
+
[[() => ReplacePermissionAssociationsWorkIdList, 0], 0, 0, 1],
|
|
1280
|
+
];
|
|
1281
|
+
var ListReplacePermissionAssociationsWorkResponse = [
|
|
1282
|
+
3,
|
|
1283
|
+
n0,
|
|
1284
|
+
_LRPAWRi,
|
|
1285
|
+
0,
|
|
1286
|
+
[_rPAW, _nT],
|
|
1287
|
+
[[() => ReplacePermissionAssociationsWorkList, 0], 0],
|
|
1288
|
+
];
|
|
1289
|
+
var ListResourceSharePermissionsRequest = [3, n0, _LRSPR, 0, [_rSA, _nT, _mR], [0, 0, 1]];
|
|
1290
|
+
var ListResourceSharePermissionsResponse = [
|
|
1291
|
+
3,
|
|
1292
|
+
n0,
|
|
1293
|
+
_LRSPRi,
|
|
1294
|
+
0,
|
|
1295
|
+
[_per, _nT],
|
|
1296
|
+
[[() => ResourceSharePermissionList, 0], 0],
|
|
1297
|
+
];
|
|
1298
|
+
var ListResourcesRequest = [
|
|
1299
|
+
3,
|
|
1300
|
+
n0,
|
|
1301
|
+
_LRR,
|
|
1302
|
+
0,
|
|
1303
|
+
[_rO, _pr, _rT, _rA, _rSAes, _nT, _mR, _rRS],
|
|
1304
|
+
[0, 0, 0, [() => ResourceArnList, 0], [() => ResourceShareArnList, 0], 0, 1, 0],
|
|
1305
|
+
];
|
|
1306
|
+
var ListResourcesResponse = [3, n0, _LRRi, 0, [_res, _nT], [[() => ResourceList, 0], 0]];
|
|
1307
|
+
var ListResourceTypesRequest = [3, n0, _LRTR, 0, [_nT, _mR, _rRS], [0, 1, 0]];
|
|
1308
|
+
var ListResourceTypesResponse = [
|
|
1309
|
+
3,
|
|
1310
|
+
n0,
|
|
1311
|
+
_LRTRi,
|
|
1312
|
+
0,
|
|
1313
|
+
[_rTe, _nT],
|
|
1314
|
+
[[() => ServiceNameAndResourceTypeList, 0], 0],
|
|
1315
|
+
];
|
|
1316
|
+
var MalformedArnException = [
|
|
1317
|
+
-3,
|
|
1318
|
+
n0,
|
|
1319
|
+
_MAE,
|
|
1320
|
+
{
|
|
1321
|
+
[_e]: _c,
|
|
1322
|
+
[_hE]: 400,
|
|
1323
|
+
[_aQE]: [`InvalidArn.Malformed`, 400],
|
|
1324
|
+
},
|
|
1325
|
+
[_m],
|
|
1326
|
+
[0],
|
|
1327
|
+
];
|
|
1328
|
+
schema.TypeRegistry.for(n0).registerError(MalformedArnException, MalformedArnException$1);
|
|
1329
|
+
var MalformedPolicyTemplateException = [
|
|
1330
|
+
-3,
|
|
1331
|
+
n0,
|
|
1332
|
+
_MPTE,
|
|
1333
|
+
{
|
|
1334
|
+
[_e]: _c,
|
|
1335
|
+
[_hE]: 400,
|
|
1336
|
+
[_aQE]: [`MalformedPolicyTemplateException`, 400],
|
|
1337
|
+
},
|
|
1338
|
+
[_m],
|
|
1339
|
+
[0],
|
|
1340
|
+
];
|
|
1341
|
+
schema.TypeRegistry.for(n0).registerError(MalformedPolicyTemplateException, MalformedPolicyTemplateException$1);
|
|
1342
|
+
var MissingRequiredParameterException = [
|
|
1343
|
+
-3,
|
|
1344
|
+
n0,
|
|
1345
|
+
_MRPE,
|
|
1346
|
+
{
|
|
1347
|
+
[_e]: _c,
|
|
1348
|
+
[_hE]: 400,
|
|
1349
|
+
[_aQE]: [`MissingRequiredParameter`, 400],
|
|
1350
|
+
},
|
|
1351
|
+
[_m],
|
|
1352
|
+
[0],
|
|
1353
|
+
];
|
|
1354
|
+
schema.TypeRegistry.for(n0).registerError(MissingRequiredParameterException, MissingRequiredParameterException$1);
|
|
1355
|
+
var OperationNotPermittedException = [
|
|
1356
|
+
-3,
|
|
1357
|
+
n0,
|
|
1358
|
+
_ONPE,
|
|
1359
|
+
{
|
|
1360
|
+
[_e]: _c,
|
|
1361
|
+
[_hE]: 400,
|
|
1362
|
+
[_aQE]: [`OperationNotPermitted`, 400],
|
|
1363
|
+
},
|
|
1364
|
+
[_m],
|
|
1365
|
+
[0],
|
|
1366
|
+
];
|
|
1367
|
+
schema.TypeRegistry.for(n0).registerError(OperationNotPermittedException, OperationNotPermittedException$1);
|
|
1368
|
+
var PermissionAlreadyExistsException = [
|
|
1369
|
+
-3,
|
|
1370
|
+
n0,
|
|
1371
|
+
_PAEE,
|
|
1372
|
+
{
|
|
1373
|
+
[_e]: _c,
|
|
1374
|
+
[_hE]: 409,
|
|
1375
|
+
[_aQE]: [`PermissionAlreadyExistsException`, 409],
|
|
1376
|
+
},
|
|
1377
|
+
[_m],
|
|
1378
|
+
[0],
|
|
1379
|
+
];
|
|
1380
|
+
schema.TypeRegistry.for(n0).registerError(PermissionAlreadyExistsException, PermissionAlreadyExistsException$1);
|
|
1381
|
+
var PermissionLimitExceededException = [
|
|
1382
|
+
-3,
|
|
1383
|
+
n0,
|
|
1384
|
+
_PLEE,
|
|
1385
|
+
{
|
|
1386
|
+
[_e]: _c,
|
|
1387
|
+
[_hE]: 400,
|
|
1388
|
+
[_aQE]: [`PermissionLimitExceededException`, 400],
|
|
1389
|
+
},
|
|
1390
|
+
[_m],
|
|
1391
|
+
[0],
|
|
1392
|
+
];
|
|
1393
|
+
schema.TypeRegistry.for(n0).registerError(PermissionLimitExceededException, PermissionLimitExceededException$1);
|
|
1394
|
+
var PermissionVersionsLimitExceededException = [
|
|
1395
|
+
-3,
|
|
1396
|
+
n0,
|
|
1397
|
+
_PVLEE,
|
|
1398
|
+
{
|
|
1399
|
+
[_e]: _c,
|
|
1400
|
+
[_hE]: 400,
|
|
1401
|
+
[_aQE]: [`PermissionVersionsLimitExceededException`, 400],
|
|
1402
|
+
},
|
|
1403
|
+
[_m],
|
|
1404
|
+
[0],
|
|
1405
|
+
];
|
|
1406
|
+
schema.TypeRegistry.for(n0).registerError(PermissionVersionsLimitExceededException, PermissionVersionsLimitExceededException$1);
|
|
1407
|
+
var Principal = [3, n0, _P, 0, [_i, _rSA, _cTr, _lUT, _ex], [0, 0, 4, 4, 2]];
|
|
1408
|
+
var PromotePermissionCreatedFromPolicyRequest = [
|
|
1409
|
+
3,
|
|
1410
|
+
n0,
|
|
1411
|
+
_PPCFPR,
|
|
1412
|
+
0,
|
|
1413
|
+
[_pA, _n, _cT],
|
|
1414
|
+
[0, 0, 0],
|
|
1415
|
+
];
|
|
1416
|
+
var PromotePermissionCreatedFromPolicyResponse = [
|
|
1417
|
+
3,
|
|
1418
|
+
n0,
|
|
1419
|
+
_PPCFPRr,
|
|
1420
|
+
0,
|
|
1421
|
+
[_pe, _cT],
|
|
1422
|
+
[() => ResourceSharePermissionSummary, 0],
|
|
1423
|
+
];
|
|
1424
|
+
var PromoteResourceShareCreatedFromPolicyRequest = [
|
|
1425
|
+
3,
|
|
1426
|
+
n0,
|
|
1427
|
+
_PRSCFPR,
|
|
1428
|
+
0,
|
|
1429
|
+
[_rSA],
|
|
1430
|
+
[
|
|
1431
|
+
[
|
|
1432
|
+
0,
|
|
1433
|
+
{
|
|
1434
|
+
[_hQ]: _rSA,
|
|
1435
|
+
},
|
|
1436
|
+
],
|
|
1437
|
+
],
|
|
1438
|
+
];
|
|
1439
|
+
var PromoteResourceShareCreatedFromPolicyResponse = [
|
|
1440
|
+
3,
|
|
1441
|
+
n0,
|
|
1442
|
+
_PRSCFPRr,
|
|
1443
|
+
0,
|
|
1444
|
+
[_rV],
|
|
1445
|
+
[
|
|
1446
|
+
[
|
|
1447
|
+
2,
|
|
1448
|
+
{
|
|
1449
|
+
[_xN]: _re,
|
|
1450
|
+
},
|
|
1451
|
+
],
|
|
1452
|
+
],
|
|
1453
|
+
];
|
|
1454
|
+
var RejectResourceShareInvitationRequest = [3, n0, _RRSIR, 0, [_rSIA, _cT], [0, 0]];
|
|
1455
|
+
var RejectResourceShareInvitationResponse = [
|
|
1456
|
+
3,
|
|
1457
|
+
n0,
|
|
1458
|
+
_RRSIRe,
|
|
1459
|
+
0,
|
|
1460
|
+
[_rSI, _cT],
|
|
1461
|
+
[[() => ResourceShareInvitation, 0], 0],
|
|
1462
|
+
];
|
|
1463
|
+
var ReplacePermissionAssociationsRequest = [
|
|
1464
|
+
3,
|
|
1465
|
+
n0,
|
|
1466
|
+
_RPAR,
|
|
1467
|
+
0,
|
|
1468
|
+
[_fPA, _fPV, _tPA, _cT],
|
|
1469
|
+
[0, 1, 0, 0],
|
|
1470
|
+
];
|
|
1471
|
+
var ReplacePermissionAssociationsResponse = [
|
|
1472
|
+
3,
|
|
1473
|
+
n0,
|
|
1474
|
+
_RPARe,
|
|
1475
|
+
0,
|
|
1476
|
+
[_rPAWe, _cT],
|
|
1477
|
+
[() => ReplacePermissionAssociationsWork, 0],
|
|
1478
|
+
];
|
|
1479
|
+
var ReplacePermissionAssociationsWork = [
|
|
1480
|
+
3,
|
|
1481
|
+
n0,
|
|
1482
|
+
_RPAW,
|
|
1483
|
+
0,
|
|
1484
|
+
[_i, _fPA, _fPV, _tPA, _tPV, _s, _sM, _cTr, _lUT],
|
|
1485
|
+
[0, 0, 0, 0, 0, 0, 0, 4, 4],
|
|
1486
|
+
];
|
|
1487
|
+
var Resource = [
|
|
1488
|
+
3,
|
|
1489
|
+
n0,
|
|
1490
|
+
_R,
|
|
1491
|
+
0,
|
|
1492
|
+
[_a, _ty, _rSA, _rGA, _s, _sM, _cTr, _lUT, _rRS],
|
|
1493
|
+
[0, 0, 0, 0, 0, 0, 4, 4, 0],
|
|
1494
|
+
];
|
|
1495
|
+
var ResourceArnNotFoundException = [
|
|
1496
|
+
-3,
|
|
1497
|
+
n0,
|
|
1498
|
+
_RANFE,
|
|
1499
|
+
{
|
|
1500
|
+
[_e]: _c,
|
|
1501
|
+
[_hE]: 400,
|
|
1502
|
+
[_aQE]: [`InvalidResourceArn.NotFound`, 400],
|
|
1503
|
+
},
|
|
1504
|
+
[_m],
|
|
1505
|
+
[0],
|
|
1506
|
+
];
|
|
1507
|
+
schema.TypeRegistry.for(n0).registerError(ResourceArnNotFoundException, ResourceArnNotFoundException$1);
|
|
1508
|
+
var ResourceShare = [
|
|
1509
|
+
3,
|
|
1510
|
+
n0,
|
|
1511
|
+
_RS,
|
|
1512
|
+
0,
|
|
1513
|
+
[_rSA, _n, _oAI, _aEP, _s, _sM, _t, _cTr, _lUT, _fS],
|
|
1514
|
+
[0, 0, 0, 2, 0, 0, () => TagList, 4, 4, 0],
|
|
1515
|
+
];
|
|
1516
|
+
var ResourceShareAssociation = [
|
|
1517
|
+
3,
|
|
1518
|
+
n0,
|
|
1519
|
+
_RSA,
|
|
1520
|
+
0,
|
|
1521
|
+
[_rSA, _rSN, _aE, _aT, _s, _sM, _cTr, _lUT, _ex],
|
|
1522
|
+
[0, 0, 0, 0, 0, 0, 4, 4, 2],
|
|
1523
|
+
];
|
|
1524
|
+
var ResourceShareInvitation = [
|
|
1525
|
+
3,
|
|
1526
|
+
n0,
|
|
1527
|
+
_RSI,
|
|
1528
|
+
0,
|
|
1529
|
+
[_rSIA, _rSN, _rSA, _sAI, _rAI, _iT, _s, _rSAe, _rAec],
|
|
1530
|
+
[0, 0, 0, 0, 0, 4, 0, [() => ResourceShareAssociationList, 0], 0],
|
|
1531
|
+
];
|
|
1532
|
+
var ResourceShareInvitationAlreadyAcceptedException = [
|
|
1533
|
+
-3,
|
|
1534
|
+
n0,
|
|
1535
|
+
_RSIAAE,
|
|
1536
|
+
{
|
|
1537
|
+
[_e]: _c,
|
|
1538
|
+
[_hE]: 400,
|
|
1539
|
+
[_aQE]: [`InvalidResourceShareInvitationArn.AlreadyAccepted`, 400],
|
|
1540
|
+
},
|
|
1541
|
+
[_m],
|
|
1542
|
+
[0],
|
|
1543
|
+
];
|
|
1544
|
+
schema.TypeRegistry.for(n0).registerError(ResourceShareInvitationAlreadyAcceptedException, ResourceShareInvitationAlreadyAcceptedException$1);
|
|
1545
|
+
var ResourceShareInvitationAlreadyRejectedException = [
|
|
1546
|
+
-3,
|
|
1547
|
+
n0,
|
|
1548
|
+
_RSIARE,
|
|
1549
|
+
{
|
|
1550
|
+
[_e]: _c,
|
|
1551
|
+
[_hE]: 400,
|
|
1552
|
+
[_aQE]: [`InvalidResourceShareInvitationArn.AlreadyRejected`, 400],
|
|
1553
|
+
},
|
|
1554
|
+
[_m],
|
|
1555
|
+
[0],
|
|
1556
|
+
];
|
|
1557
|
+
schema.TypeRegistry.for(n0).registerError(ResourceShareInvitationAlreadyRejectedException, ResourceShareInvitationAlreadyRejectedException$1);
|
|
1558
|
+
var ResourceShareInvitationArnNotFoundException = [
|
|
1559
|
+
-3,
|
|
1560
|
+
n0,
|
|
1561
|
+
_RSIANFE,
|
|
1562
|
+
{
|
|
1563
|
+
[_e]: _c,
|
|
1564
|
+
[_hE]: 400,
|
|
1565
|
+
[_aQE]: [`InvalidResourceShareInvitationArn.NotFound`, 400],
|
|
1566
|
+
},
|
|
1567
|
+
[_m],
|
|
1568
|
+
[0],
|
|
1569
|
+
];
|
|
1570
|
+
schema.TypeRegistry.for(n0).registerError(ResourceShareInvitationArnNotFoundException, ResourceShareInvitationArnNotFoundException$1);
|
|
1571
|
+
var ResourceShareInvitationExpiredException = [
|
|
1572
|
+
-3,
|
|
1573
|
+
n0,
|
|
1574
|
+
_RSIEE,
|
|
1575
|
+
{
|
|
1576
|
+
[_e]: _c,
|
|
1577
|
+
[_hE]: 400,
|
|
1578
|
+
[_aQE]: [`InvalidResourceShareInvitationArn.Expired`, 400],
|
|
1579
|
+
},
|
|
1580
|
+
[_m],
|
|
1581
|
+
[0],
|
|
1582
|
+
];
|
|
1583
|
+
schema.TypeRegistry.for(n0).registerError(ResourceShareInvitationExpiredException, ResourceShareInvitationExpiredException$1);
|
|
1584
|
+
var ResourceShareLimitExceededException = [
|
|
1585
|
+
-3,
|
|
1586
|
+
n0,
|
|
1587
|
+
_RSLEE,
|
|
1588
|
+
{
|
|
1589
|
+
[_e]: _c,
|
|
1590
|
+
[_hE]: 400,
|
|
1591
|
+
[_aQE]: [`ResourceShareLimitExceeded`, 400],
|
|
1592
|
+
},
|
|
1593
|
+
[_m],
|
|
1594
|
+
[0],
|
|
1595
|
+
];
|
|
1596
|
+
schema.TypeRegistry.for(n0).registerError(ResourceShareLimitExceededException, ResourceShareLimitExceededException$1);
|
|
1597
|
+
var ResourceSharePermissionDetail = [
|
|
1598
|
+
3,
|
|
1599
|
+
n0,
|
|
1600
|
+
_RSPD,
|
|
1601
|
+
0,
|
|
1602
|
+
[_a, _v, _dV, _n, _rT, _pe, _cTr, _lUT, _iRTD, _pTe, _fS, _s, _t],
|
|
1603
|
+
[0, 0, 2, 0, 0, 0, 4, 4, 2, 0, 0, 0, () => TagList],
|
|
1604
|
+
];
|
|
1605
|
+
var ResourceSharePermissionSummary = [
|
|
1606
|
+
3,
|
|
1607
|
+
n0,
|
|
1608
|
+
_RSPS,
|
|
1609
|
+
0,
|
|
1610
|
+
[_a, _v, _dV, _n, _rT, _s, _cTr, _lUT, _iRTD, _pTe, _fS, _t],
|
|
1611
|
+
[0, 0, 2, 0, 0, 0, 4, 4, 2, 0, 0, () => TagList],
|
|
1612
|
+
];
|
|
1613
|
+
var ServerInternalException = [
|
|
1614
|
+
-3,
|
|
1615
|
+
n0,
|
|
1616
|
+
_SIE,
|
|
1617
|
+
{
|
|
1618
|
+
[_e]: _se,
|
|
1619
|
+
[_hE]: 500,
|
|
1620
|
+
[_aQE]: [`InternalError`, 500],
|
|
1621
|
+
},
|
|
1622
|
+
[_m],
|
|
1623
|
+
[0],
|
|
1624
|
+
];
|
|
1625
|
+
schema.TypeRegistry.for(n0).registerError(ServerInternalException, ServerInternalException$1);
|
|
1626
|
+
var ServiceNameAndResourceType = [3, n0, _SNART, 0, [_rT, _sN, _rRS], [0, 0, 0]];
|
|
1627
|
+
var ServiceUnavailableException = [
|
|
1628
|
+
-3,
|
|
1629
|
+
n0,
|
|
1630
|
+
_SUE,
|
|
1631
|
+
{
|
|
1632
|
+
[_e]: _se,
|
|
1633
|
+
[_hE]: 503,
|
|
1634
|
+
[_aQE]: [`Unavailable`, 503],
|
|
1635
|
+
},
|
|
1636
|
+
[_m],
|
|
1637
|
+
[0],
|
|
1638
|
+
];
|
|
1639
|
+
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
|
|
1640
|
+
var SetDefaultPermissionVersionRequest = [3, n0, _SDPVR, 0, [_pA, _pV, _cT], [0, 1, 0]];
|
|
1641
|
+
var SetDefaultPermissionVersionResponse = [
|
|
1642
|
+
3,
|
|
1643
|
+
n0,
|
|
1644
|
+
_SDPVRe,
|
|
1645
|
+
0,
|
|
1646
|
+
[_rV, _cT],
|
|
1647
|
+
[
|
|
1648
|
+
[
|
|
1649
|
+
2,
|
|
1650
|
+
{
|
|
1651
|
+
[_xN]: _re,
|
|
1652
|
+
},
|
|
1653
|
+
],
|
|
1654
|
+
0,
|
|
1655
|
+
],
|
|
1656
|
+
];
|
|
1657
|
+
var Tag = [3, n0, _T, 0, [_k, _va], [0, 0]];
|
|
1658
|
+
var TagFilter = [3, n0, _TF, 0, [_tK, _tV], [0, 64 | 0]];
|
|
1659
|
+
var TagLimitExceededException = [
|
|
1660
|
+
-3,
|
|
1661
|
+
n0,
|
|
1662
|
+
_TLEE,
|
|
1663
|
+
{
|
|
1664
|
+
[_e]: _c,
|
|
1665
|
+
[_hE]: 400,
|
|
1666
|
+
[_aQE]: [`TagLimitExceeded`, 400],
|
|
1667
|
+
},
|
|
1668
|
+
[_m],
|
|
1669
|
+
[0],
|
|
1670
|
+
];
|
|
1671
|
+
schema.TypeRegistry.for(n0).registerError(TagLimitExceededException, TagLimitExceededException$1);
|
|
1672
|
+
var TagPolicyViolationException = [
|
|
1673
|
+
-3,
|
|
1674
|
+
n0,
|
|
1675
|
+
_TPVE,
|
|
1676
|
+
{
|
|
1677
|
+
[_e]: _c,
|
|
1678
|
+
[_hE]: 400,
|
|
1679
|
+
[_aQE]: [`TagPolicyViolation`, 400],
|
|
1680
|
+
},
|
|
1681
|
+
[_m],
|
|
1682
|
+
[0],
|
|
1683
|
+
];
|
|
1684
|
+
schema.TypeRegistry.for(n0).registerError(TagPolicyViolationException, TagPolicyViolationException$1);
|
|
1685
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_rSA, _t, _rAe], [0, () => TagList, 0]];
|
|
1686
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
1687
|
+
var ThrottlingException = [
|
|
1688
|
+
-3,
|
|
1689
|
+
n0,
|
|
1690
|
+
_TE,
|
|
1691
|
+
{
|
|
1692
|
+
[_e]: _c,
|
|
1693
|
+
[_hE]: 429,
|
|
1694
|
+
[_aQE]: [`ThrottlingException`, 429],
|
|
1695
|
+
},
|
|
1696
|
+
[_m],
|
|
1697
|
+
[0],
|
|
1698
|
+
];
|
|
1699
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
1700
|
+
var UnknownResourceException = [
|
|
1701
|
+
-3,
|
|
1702
|
+
n0,
|
|
1703
|
+
_URE,
|
|
1704
|
+
{
|
|
1705
|
+
[_e]: _c,
|
|
1706
|
+
[_hE]: 400,
|
|
1707
|
+
[_aQE]: [`InvalidResourceShareArn.NotFound`, 400],
|
|
1708
|
+
},
|
|
1709
|
+
[_m],
|
|
1710
|
+
[0],
|
|
1711
|
+
];
|
|
1712
|
+
schema.TypeRegistry.for(n0).registerError(UnknownResourceException, UnknownResourceException$1);
|
|
1713
|
+
var UnmatchedPolicyPermissionException = [
|
|
1714
|
+
-3,
|
|
1715
|
+
n0,
|
|
1716
|
+
_UPPE,
|
|
1717
|
+
{
|
|
1718
|
+
[_e]: _c,
|
|
1719
|
+
[_hE]: 400,
|
|
1720
|
+
[_aQE]: [`UnmatchedPolicyPermissionException`, 400],
|
|
1721
|
+
},
|
|
1722
|
+
[_m],
|
|
1723
|
+
[0],
|
|
1724
|
+
];
|
|
1725
|
+
schema.TypeRegistry.for(n0).registerError(UnmatchedPolicyPermissionException, UnmatchedPolicyPermissionException$1);
|
|
1726
|
+
var UntagResourceRequest = [3, n0, _URR, 0, [_rSA, _tKa, _rAe], [0, 64 | 0, 0]];
|
|
1727
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
1728
|
+
var UpdateResourceShareRequest = [3, n0, _URSR, 0, [_rSA, _n, _aEP, _cT], [0, 0, 2, 0]];
|
|
1729
|
+
var UpdateResourceShareResponse = [
|
|
1730
|
+
3,
|
|
1731
|
+
n0,
|
|
1732
|
+
_URSRp,
|
|
1733
|
+
0,
|
|
1734
|
+
[_rS, _cT],
|
|
1735
|
+
[() => ResourceShare, 0],
|
|
1736
|
+
];
|
|
1737
|
+
var RAMServiceException = [-3, _sm, "RAMServiceException", 0, [], []];
|
|
1738
|
+
schema.TypeRegistry.for(_sm).registerError(RAMServiceException, RAMServiceException$1);
|
|
1739
|
+
var AssociatedPermissionList = [
|
|
1740
|
+
1,
|
|
1741
|
+
n0,
|
|
1742
|
+
_APL,
|
|
1743
|
+
0,
|
|
1744
|
+
[
|
|
1745
|
+
() => AssociatedPermission,
|
|
1746
|
+
{
|
|
1747
|
+
[_xN]: _it,
|
|
1748
|
+
},
|
|
1749
|
+
],
|
|
1750
|
+
];
|
|
1751
|
+
var PermissionArnList = [
|
|
1752
|
+
1,
|
|
1753
|
+
n0,
|
|
1754
|
+
_PAL,
|
|
1755
|
+
0,
|
|
1756
|
+
[
|
|
1757
|
+
0,
|
|
1758
|
+
{
|
|
1759
|
+
[_xN]: _it,
|
|
1760
|
+
},
|
|
1761
|
+
],
|
|
1762
|
+
];
|
|
1763
|
+
var PolicyList = [
|
|
1764
|
+
1,
|
|
1765
|
+
n0,
|
|
1766
|
+
_PL,
|
|
1767
|
+
0,
|
|
1768
|
+
[
|
|
1769
|
+
0,
|
|
1770
|
+
{
|
|
1771
|
+
[_xN]: _it,
|
|
1772
|
+
},
|
|
1773
|
+
],
|
|
1774
|
+
];
|
|
1775
|
+
var PrincipalArnOrIdList = [
|
|
1776
|
+
1,
|
|
1777
|
+
n0,
|
|
1778
|
+
_PAOIL,
|
|
1779
|
+
0,
|
|
1780
|
+
[
|
|
1781
|
+
0,
|
|
1782
|
+
{
|
|
1783
|
+
[_xN]: _it,
|
|
1784
|
+
},
|
|
1785
|
+
],
|
|
1786
|
+
];
|
|
1787
|
+
var PrincipalList = [
|
|
1788
|
+
1,
|
|
1789
|
+
n0,
|
|
1790
|
+
_PLr,
|
|
1791
|
+
0,
|
|
1792
|
+
[
|
|
1793
|
+
() => Principal,
|
|
1794
|
+
{
|
|
1795
|
+
[_xN]: _it,
|
|
1796
|
+
},
|
|
1797
|
+
],
|
|
1798
|
+
];
|
|
1799
|
+
var ReplacePermissionAssociationsWorkIdList = [
|
|
1800
|
+
1,
|
|
1801
|
+
n0,
|
|
1802
|
+
_RPAWIL,
|
|
1803
|
+
0,
|
|
1804
|
+
[
|
|
1805
|
+
0,
|
|
1806
|
+
{
|
|
1807
|
+
[_xN]: _it,
|
|
1808
|
+
},
|
|
1809
|
+
],
|
|
1810
|
+
];
|
|
1811
|
+
var ReplacePermissionAssociationsWorkList = [
|
|
1812
|
+
1,
|
|
1813
|
+
n0,
|
|
1814
|
+
_RPAWL,
|
|
1815
|
+
0,
|
|
1816
|
+
[
|
|
1817
|
+
() => ReplacePermissionAssociationsWork,
|
|
1818
|
+
{
|
|
1819
|
+
[_xN]: _it,
|
|
1820
|
+
},
|
|
1821
|
+
],
|
|
1822
|
+
];
|
|
1823
|
+
var ResourceArnList = [
|
|
1824
|
+
1,
|
|
1825
|
+
n0,
|
|
1826
|
+
_RAL,
|
|
1827
|
+
0,
|
|
1828
|
+
[
|
|
1829
|
+
0,
|
|
1830
|
+
{
|
|
1831
|
+
[_xN]: _it,
|
|
1832
|
+
},
|
|
1833
|
+
],
|
|
1834
|
+
];
|
|
1835
|
+
var ResourceList = [
|
|
1836
|
+
1,
|
|
1837
|
+
n0,
|
|
1838
|
+
_RL,
|
|
1839
|
+
0,
|
|
1840
|
+
[
|
|
1841
|
+
() => Resource,
|
|
1842
|
+
{
|
|
1843
|
+
[_xN]: _it,
|
|
1844
|
+
},
|
|
1845
|
+
],
|
|
1846
|
+
];
|
|
1847
|
+
var ResourceShareArnList = [
|
|
1848
|
+
1,
|
|
1849
|
+
n0,
|
|
1850
|
+
_RSAL,
|
|
1851
|
+
0,
|
|
1852
|
+
[
|
|
1853
|
+
0,
|
|
1854
|
+
{
|
|
1855
|
+
[_xN]: _it,
|
|
1856
|
+
},
|
|
1857
|
+
],
|
|
1858
|
+
];
|
|
1859
|
+
var ResourceShareAssociationList = [
|
|
1860
|
+
1,
|
|
1861
|
+
n0,
|
|
1862
|
+
_RSALe,
|
|
1863
|
+
0,
|
|
1864
|
+
[
|
|
1865
|
+
() => ResourceShareAssociation,
|
|
1866
|
+
{
|
|
1867
|
+
[_xN]: _it,
|
|
1868
|
+
},
|
|
1869
|
+
],
|
|
1870
|
+
];
|
|
1871
|
+
var ResourceShareInvitationArnList = [
|
|
1872
|
+
1,
|
|
1873
|
+
n0,
|
|
1874
|
+
_RSIAL,
|
|
1875
|
+
0,
|
|
1876
|
+
[
|
|
1877
|
+
0,
|
|
1878
|
+
{
|
|
1879
|
+
[_xN]: _it,
|
|
1880
|
+
},
|
|
1881
|
+
],
|
|
1882
|
+
];
|
|
1883
|
+
var ResourceShareInvitationList = [
|
|
1884
|
+
1,
|
|
1885
|
+
n0,
|
|
1886
|
+
_RSIL,
|
|
1887
|
+
0,
|
|
1888
|
+
[
|
|
1889
|
+
() => ResourceShareInvitation,
|
|
1890
|
+
{
|
|
1891
|
+
[_xN]: _it,
|
|
1892
|
+
},
|
|
1893
|
+
],
|
|
1894
|
+
];
|
|
1895
|
+
var ResourceShareList = [
|
|
1896
|
+
1,
|
|
1897
|
+
n0,
|
|
1898
|
+
_RSL,
|
|
1899
|
+
0,
|
|
1900
|
+
[
|
|
1901
|
+
() => ResourceShare,
|
|
1902
|
+
{
|
|
1903
|
+
[_xN]: _it,
|
|
1904
|
+
},
|
|
1905
|
+
],
|
|
1906
|
+
];
|
|
1907
|
+
var ResourceSharePermissionList = [
|
|
1908
|
+
1,
|
|
1909
|
+
n0,
|
|
1910
|
+
_RSPL,
|
|
1911
|
+
0,
|
|
1912
|
+
[
|
|
1913
|
+
() => ResourceSharePermissionSummary,
|
|
1914
|
+
{
|
|
1915
|
+
[_xN]: _it,
|
|
1916
|
+
},
|
|
1917
|
+
],
|
|
1918
|
+
];
|
|
1919
|
+
var ServiceNameAndResourceTypeList = [
|
|
1920
|
+
1,
|
|
1921
|
+
n0,
|
|
1922
|
+
_SNARTL,
|
|
1923
|
+
0,
|
|
1924
|
+
[
|
|
1925
|
+
() => ServiceNameAndResourceType,
|
|
1926
|
+
{
|
|
1927
|
+
[_xN]: _it,
|
|
1928
|
+
},
|
|
1929
|
+
],
|
|
1930
|
+
];
|
|
1931
|
+
var SourceArnOrAccountList = [
|
|
1932
|
+
1,
|
|
1933
|
+
n0,
|
|
1934
|
+
_SAOAL,
|
|
1935
|
+
0,
|
|
1936
|
+
[
|
|
1937
|
+
0,
|
|
1938
|
+
{
|
|
1939
|
+
[_xN]: _it,
|
|
1940
|
+
},
|
|
1941
|
+
],
|
|
1942
|
+
];
|
|
1943
|
+
var TagFilters = [1, n0, _TFa, 0, () => TagFilter];
|
|
1944
|
+
var TagList = [1, n0, _TL, 0, () => Tag];
|
|
1945
|
+
var AcceptResourceShareInvitation = [
|
|
1946
|
+
9,
|
|
1947
|
+
n0,
|
|
1948
|
+
_ARSI,
|
|
1949
|
+
{
|
|
1950
|
+
[_h]: ["POST", "/acceptresourceshareinvitation", 200],
|
|
1951
|
+
},
|
|
1952
|
+
() => AcceptResourceShareInvitationRequest,
|
|
1953
|
+
() => AcceptResourceShareInvitationResponse,
|
|
1954
|
+
];
|
|
1955
|
+
var AssociateResourceShare = [
|
|
1956
|
+
9,
|
|
1957
|
+
n0,
|
|
1958
|
+
_ARS,
|
|
1959
|
+
{
|
|
1960
|
+
[_h]: ["POST", "/associateresourceshare", 200],
|
|
1961
|
+
},
|
|
1962
|
+
() => AssociateResourceShareRequest,
|
|
1963
|
+
() => AssociateResourceShareResponse,
|
|
1964
|
+
];
|
|
1965
|
+
var AssociateResourceSharePermission = [
|
|
1966
|
+
9,
|
|
1967
|
+
n0,
|
|
1968
|
+
_ARSP,
|
|
1969
|
+
{
|
|
1970
|
+
[_h]: ["POST", "/associateresourcesharepermission", 200],
|
|
1971
|
+
},
|
|
1972
|
+
() => AssociateResourceSharePermissionRequest,
|
|
1973
|
+
() => AssociateResourceSharePermissionResponse,
|
|
1974
|
+
];
|
|
1975
|
+
var CreatePermission = [
|
|
1976
|
+
9,
|
|
1977
|
+
n0,
|
|
1978
|
+
_CP,
|
|
1979
|
+
{
|
|
1980
|
+
[_h]: ["POST", "/createpermission", 200],
|
|
1981
|
+
},
|
|
1982
|
+
() => CreatePermissionRequest,
|
|
1983
|
+
() => CreatePermissionResponse,
|
|
1984
|
+
];
|
|
1985
|
+
var CreatePermissionVersion = [
|
|
1986
|
+
9,
|
|
1987
|
+
n0,
|
|
1988
|
+
_CPV,
|
|
1989
|
+
{
|
|
1990
|
+
[_h]: ["POST", "/createpermissionversion", 200],
|
|
1991
|
+
},
|
|
1992
|
+
() => CreatePermissionVersionRequest,
|
|
1993
|
+
() => CreatePermissionVersionResponse,
|
|
1994
|
+
];
|
|
1995
|
+
var CreateResourceShare = [
|
|
1996
|
+
9,
|
|
1997
|
+
n0,
|
|
1998
|
+
_CRS,
|
|
1999
|
+
{
|
|
2000
|
+
[_h]: ["POST", "/createresourceshare", 200],
|
|
2001
|
+
},
|
|
2002
|
+
() => CreateResourceShareRequest,
|
|
2003
|
+
() => CreateResourceShareResponse,
|
|
2004
|
+
];
|
|
2005
|
+
var DeletePermission = [
|
|
2006
|
+
9,
|
|
2007
|
+
n0,
|
|
2008
|
+
_DP,
|
|
2009
|
+
{
|
|
2010
|
+
[_h]: ["DELETE", "/deletepermission", 200],
|
|
2011
|
+
},
|
|
2012
|
+
() => DeletePermissionRequest,
|
|
2013
|
+
() => DeletePermissionResponse,
|
|
2014
|
+
];
|
|
2015
|
+
var DeletePermissionVersion = [
|
|
2016
|
+
9,
|
|
2017
|
+
n0,
|
|
2018
|
+
_DPV,
|
|
2019
|
+
{
|
|
2020
|
+
[_h]: ["DELETE", "/deletepermissionversion", 200],
|
|
2021
|
+
},
|
|
2022
|
+
() => DeletePermissionVersionRequest,
|
|
2023
|
+
() => DeletePermissionVersionResponse,
|
|
2024
|
+
];
|
|
2025
|
+
var DeleteResourceShare = [
|
|
2026
|
+
9,
|
|
2027
|
+
n0,
|
|
2028
|
+
_DRS,
|
|
2029
|
+
{
|
|
2030
|
+
[_h]: ["DELETE", "/deleteresourceshare", 200],
|
|
2031
|
+
},
|
|
2032
|
+
() => DeleteResourceShareRequest,
|
|
2033
|
+
() => DeleteResourceShareResponse,
|
|
2034
|
+
];
|
|
2035
|
+
var DisassociateResourceShare = [
|
|
2036
|
+
9,
|
|
2037
|
+
n0,
|
|
2038
|
+
_DRSi,
|
|
2039
|
+
{
|
|
2040
|
+
[_h]: ["POST", "/disassociateresourceshare", 200],
|
|
2041
|
+
},
|
|
2042
|
+
() => DisassociateResourceShareRequest,
|
|
2043
|
+
() => DisassociateResourceShareResponse,
|
|
2044
|
+
];
|
|
2045
|
+
var DisassociateResourceSharePermission = [
|
|
2046
|
+
9,
|
|
2047
|
+
n0,
|
|
2048
|
+
_DRSP,
|
|
2049
|
+
{
|
|
2050
|
+
[_h]: ["POST", "/disassociateresourcesharepermission", 200],
|
|
2051
|
+
},
|
|
2052
|
+
() => DisassociateResourceSharePermissionRequest,
|
|
2053
|
+
() => DisassociateResourceSharePermissionResponse,
|
|
2054
|
+
];
|
|
2055
|
+
var EnableSharingWithAwsOrganization = [
|
|
2056
|
+
9,
|
|
2057
|
+
n0,
|
|
2058
|
+
_ESWAO,
|
|
2059
|
+
{
|
|
2060
|
+
[_h]: ["POST", "/enablesharingwithawsorganization", 200],
|
|
2061
|
+
},
|
|
2062
|
+
() => EnableSharingWithAwsOrganizationRequest,
|
|
2063
|
+
() => EnableSharingWithAwsOrganizationResponse,
|
|
2064
|
+
];
|
|
2065
|
+
var GetPermission = [
|
|
2066
|
+
9,
|
|
2067
|
+
n0,
|
|
2068
|
+
_GP,
|
|
2069
|
+
{
|
|
2070
|
+
[_h]: ["POST", "/getpermission", 200],
|
|
2071
|
+
},
|
|
2072
|
+
() => GetPermissionRequest,
|
|
2073
|
+
() => GetPermissionResponse,
|
|
2074
|
+
];
|
|
2075
|
+
var GetResourcePolicies = [
|
|
2076
|
+
9,
|
|
2077
|
+
n0,
|
|
2078
|
+
_GRP,
|
|
2079
|
+
{
|
|
2080
|
+
[_h]: ["POST", "/getresourcepolicies", 200],
|
|
2081
|
+
},
|
|
2082
|
+
() => GetResourcePoliciesRequest,
|
|
2083
|
+
() => GetResourcePoliciesResponse,
|
|
2084
|
+
];
|
|
2085
|
+
var GetResourceShareAssociations = [
|
|
2086
|
+
9,
|
|
2087
|
+
n0,
|
|
2088
|
+
_GRSA,
|
|
2089
|
+
{
|
|
2090
|
+
[_h]: ["POST", "/getresourceshareassociations", 200],
|
|
2091
|
+
},
|
|
2092
|
+
() => GetResourceShareAssociationsRequest,
|
|
2093
|
+
() => GetResourceShareAssociationsResponse,
|
|
2094
|
+
];
|
|
2095
|
+
var GetResourceShareInvitations = [
|
|
2096
|
+
9,
|
|
2097
|
+
n0,
|
|
2098
|
+
_GRSI,
|
|
2099
|
+
{
|
|
2100
|
+
[_h]: ["POST", "/getresourceshareinvitations", 200],
|
|
2101
|
+
},
|
|
2102
|
+
() => GetResourceShareInvitationsRequest,
|
|
2103
|
+
() => GetResourceShareInvitationsResponse,
|
|
2104
|
+
];
|
|
2105
|
+
var GetResourceShares = [
|
|
2106
|
+
9,
|
|
2107
|
+
n0,
|
|
2108
|
+
_GRS,
|
|
2109
|
+
{
|
|
2110
|
+
[_h]: ["POST", "/getresourceshares", 200],
|
|
2111
|
+
},
|
|
2112
|
+
() => GetResourceSharesRequest,
|
|
2113
|
+
() => GetResourceSharesResponse,
|
|
2114
|
+
];
|
|
2115
|
+
var ListPendingInvitationResources = [
|
|
2116
|
+
9,
|
|
2117
|
+
n0,
|
|
2118
|
+
_LPIR,
|
|
2119
|
+
{
|
|
2120
|
+
[_h]: ["POST", "/listpendinginvitationresources", 200],
|
|
2121
|
+
},
|
|
2122
|
+
() => ListPendingInvitationResourcesRequest,
|
|
2123
|
+
() => ListPendingInvitationResourcesResponse,
|
|
2124
|
+
];
|
|
2125
|
+
var ListPermissionAssociations = [
|
|
2126
|
+
9,
|
|
2127
|
+
n0,
|
|
2128
|
+
_LPA,
|
|
2129
|
+
{
|
|
2130
|
+
[_h]: ["POST", "/listpermissionassociations", 200],
|
|
2131
|
+
},
|
|
2132
|
+
() => ListPermissionAssociationsRequest,
|
|
2133
|
+
() => ListPermissionAssociationsResponse,
|
|
2134
|
+
];
|
|
2135
|
+
var ListPermissions = [
|
|
2136
|
+
9,
|
|
2137
|
+
n0,
|
|
2138
|
+
_LP,
|
|
2139
|
+
{
|
|
2140
|
+
[_h]: ["POST", "/listpermissions", 200],
|
|
2141
|
+
},
|
|
2142
|
+
() => ListPermissionsRequest,
|
|
2143
|
+
() => ListPermissionsResponse,
|
|
2144
|
+
];
|
|
2145
|
+
var ListPermissionVersions = [
|
|
2146
|
+
9,
|
|
2147
|
+
n0,
|
|
2148
|
+
_LPV,
|
|
2149
|
+
{
|
|
2150
|
+
[_h]: ["POST", "/listpermissionversions", 200],
|
|
2151
|
+
},
|
|
2152
|
+
() => ListPermissionVersionsRequest,
|
|
2153
|
+
() => ListPermissionVersionsResponse,
|
|
2154
|
+
];
|
|
2155
|
+
var ListPrincipals = [
|
|
2156
|
+
9,
|
|
2157
|
+
n0,
|
|
2158
|
+
_LPi,
|
|
2159
|
+
{
|
|
2160
|
+
[_h]: ["POST", "/listprincipals", 200],
|
|
2161
|
+
},
|
|
2162
|
+
() => ListPrincipalsRequest,
|
|
2163
|
+
() => ListPrincipalsResponse,
|
|
2164
|
+
];
|
|
2165
|
+
var ListReplacePermissionAssociationsWork = [
|
|
2166
|
+
9,
|
|
2167
|
+
n0,
|
|
2168
|
+
_LRPAW,
|
|
2169
|
+
{
|
|
2170
|
+
[_h]: ["POST", "/listreplacepermissionassociationswork", 200],
|
|
2171
|
+
},
|
|
2172
|
+
() => ListReplacePermissionAssociationsWorkRequest,
|
|
2173
|
+
() => ListReplacePermissionAssociationsWorkResponse,
|
|
2174
|
+
];
|
|
2175
|
+
var ListResources = [
|
|
2176
|
+
9,
|
|
2177
|
+
n0,
|
|
2178
|
+
_LR,
|
|
2179
|
+
{
|
|
2180
|
+
[_h]: ["POST", "/listresources", 200],
|
|
2181
|
+
},
|
|
2182
|
+
() => ListResourcesRequest,
|
|
2183
|
+
() => ListResourcesResponse,
|
|
2184
|
+
];
|
|
2185
|
+
var ListResourceSharePermissions = [
|
|
2186
|
+
9,
|
|
2187
|
+
n0,
|
|
2188
|
+
_LRSP,
|
|
2189
|
+
{
|
|
2190
|
+
[_h]: ["POST", "/listresourcesharepermissions", 200],
|
|
2191
|
+
},
|
|
2192
|
+
() => ListResourceSharePermissionsRequest,
|
|
2193
|
+
() => ListResourceSharePermissionsResponse,
|
|
2194
|
+
];
|
|
2195
|
+
var ListResourceTypes = [
|
|
2196
|
+
9,
|
|
2197
|
+
n0,
|
|
2198
|
+
_LRT,
|
|
2199
|
+
{
|
|
2200
|
+
[_h]: ["POST", "/listresourcetypes", 200],
|
|
2201
|
+
},
|
|
2202
|
+
() => ListResourceTypesRequest,
|
|
2203
|
+
() => ListResourceTypesResponse,
|
|
2204
|
+
];
|
|
2205
|
+
var PromotePermissionCreatedFromPolicy = [
|
|
2206
|
+
9,
|
|
2207
|
+
n0,
|
|
2208
|
+
_PPCFP,
|
|
2209
|
+
{
|
|
2210
|
+
[_h]: ["POST", "/promotepermissioncreatedfrompolicy", 200],
|
|
2211
|
+
},
|
|
2212
|
+
() => PromotePermissionCreatedFromPolicyRequest,
|
|
2213
|
+
() => PromotePermissionCreatedFromPolicyResponse,
|
|
2214
|
+
];
|
|
2215
|
+
var PromoteResourceShareCreatedFromPolicy = [
|
|
2216
|
+
9,
|
|
2217
|
+
n0,
|
|
2218
|
+
_PRSCFP,
|
|
2219
|
+
{
|
|
2220
|
+
[_h]: ["POST", "/promoteresourcesharecreatedfrompolicy", 200],
|
|
2221
|
+
},
|
|
2222
|
+
() => PromoteResourceShareCreatedFromPolicyRequest,
|
|
2223
|
+
() => PromoteResourceShareCreatedFromPolicyResponse,
|
|
2224
|
+
];
|
|
2225
|
+
var RejectResourceShareInvitation = [
|
|
2226
|
+
9,
|
|
2227
|
+
n0,
|
|
2228
|
+
_RRSI,
|
|
2229
|
+
{
|
|
2230
|
+
[_h]: ["POST", "/rejectresourceshareinvitation", 200],
|
|
2231
|
+
},
|
|
2232
|
+
() => RejectResourceShareInvitationRequest,
|
|
2233
|
+
() => RejectResourceShareInvitationResponse,
|
|
2234
|
+
];
|
|
2235
|
+
var ReplacePermissionAssociations = [
|
|
2236
|
+
9,
|
|
2237
|
+
n0,
|
|
2238
|
+
_RPA,
|
|
2239
|
+
{
|
|
2240
|
+
[_h]: ["POST", "/replacepermissionassociations", 200],
|
|
2241
|
+
},
|
|
2242
|
+
() => ReplacePermissionAssociationsRequest,
|
|
2243
|
+
() => ReplacePermissionAssociationsResponse,
|
|
2244
|
+
];
|
|
2245
|
+
var SetDefaultPermissionVersion = [
|
|
2246
|
+
9,
|
|
2247
|
+
n0,
|
|
2248
|
+
_SDPV,
|
|
2249
|
+
{
|
|
2250
|
+
[_h]: ["POST", "/setdefaultpermissionversion", 200],
|
|
2251
|
+
},
|
|
2252
|
+
() => SetDefaultPermissionVersionRequest,
|
|
2253
|
+
() => SetDefaultPermissionVersionResponse,
|
|
2254
|
+
];
|
|
2255
|
+
var TagResource = [
|
|
2256
|
+
9,
|
|
2257
|
+
n0,
|
|
2258
|
+
_TR,
|
|
2259
|
+
{
|
|
2260
|
+
[_h]: ["POST", "/tagresource", 200],
|
|
2261
|
+
},
|
|
2262
|
+
() => TagResourceRequest,
|
|
2263
|
+
() => TagResourceResponse,
|
|
2264
|
+
];
|
|
2265
|
+
var UntagResource = [
|
|
2266
|
+
9,
|
|
2267
|
+
n0,
|
|
2268
|
+
_UR,
|
|
2269
|
+
{
|
|
2270
|
+
[_h]: ["POST", "/untagresource", 200],
|
|
2271
|
+
},
|
|
2272
|
+
() => UntagResourceRequest,
|
|
2273
|
+
() => UntagResourceResponse,
|
|
2274
|
+
];
|
|
2275
|
+
var UpdateResourceShare = [
|
|
2276
|
+
9,
|
|
2277
|
+
n0,
|
|
2278
|
+
_URS,
|
|
2279
|
+
{
|
|
2280
|
+
[_h]: ["POST", "/updateresourceshare", 200],
|
|
2281
|
+
},
|
|
2282
|
+
() => UpdateResourceShareRequest,
|
|
2283
|
+
() => UpdateResourceShareResponse,
|
|
2284
|
+
];
|
|
2221
2285
|
|
|
2222
2286
|
class AcceptResourceShareInvitationCommand extends smithyClient.Command
|
|
2223
2287
|
.classBuilder()
|
|
2224
2288
|
.ep(commonParams)
|
|
2225
2289
|
.m(function (Command, cs, config, o) {
|
|
2226
|
-
return [
|
|
2227
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2228
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2229
|
-
];
|
|
2290
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2230
2291
|
})
|
|
2231
2292
|
.s("AmazonResourceSharing", "AcceptResourceShareInvitation", {})
|
|
2232
2293
|
.n("RAMClient", "AcceptResourceShareInvitationCommand")
|
|
2233
|
-
.
|
|
2234
|
-
.ser(se_AcceptResourceShareInvitationCommand)
|
|
2235
|
-
.de(de_AcceptResourceShareInvitationCommand)
|
|
2294
|
+
.sc(AcceptResourceShareInvitation)
|
|
2236
2295
|
.build() {
|
|
2237
2296
|
}
|
|
2238
2297
|
|
|
@@ -2240,16 +2299,11 @@ class AssociateResourceShareCommand extends smithyClient.Command
|
|
|
2240
2299
|
.classBuilder()
|
|
2241
2300
|
.ep(commonParams)
|
|
2242
2301
|
.m(function (Command, cs, config, o) {
|
|
2243
|
-
return [
|
|
2244
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2245
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2246
|
-
];
|
|
2302
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2247
2303
|
})
|
|
2248
2304
|
.s("AmazonResourceSharing", "AssociateResourceShare", {})
|
|
2249
2305
|
.n("RAMClient", "AssociateResourceShareCommand")
|
|
2250
|
-
.
|
|
2251
|
-
.ser(se_AssociateResourceShareCommand)
|
|
2252
|
-
.de(de_AssociateResourceShareCommand)
|
|
2306
|
+
.sc(AssociateResourceShare)
|
|
2253
2307
|
.build() {
|
|
2254
2308
|
}
|
|
2255
2309
|
|
|
@@ -2257,16 +2311,11 @@ class AssociateResourceSharePermissionCommand extends smithyClient.Command
|
|
|
2257
2311
|
.classBuilder()
|
|
2258
2312
|
.ep(commonParams)
|
|
2259
2313
|
.m(function (Command, cs, config, o) {
|
|
2260
|
-
return [
|
|
2261
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2262
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2263
|
-
];
|
|
2314
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2264
2315
|
})
|
|
2265
2316
|
.s("AmazonResourceSharing", "AssociateResourceSharePermission", {})
|
|
2266
2317
|
.n("RAMClient", "AssociateResourceSharePermissionCommand")
|
|
2267
|
-
.
|
|
2268
|
-
.ser(se_AssociateResourceSharePermissionCommand)
|
|
2269
|
-
.de(de_AssociateResourceSharePermissionCommand)
|
|
2318
|
+
.sc(AssociateResourceSharePermission)
|
|
2270
2319
|
.build() {
|
|
2271
2320
|
}
|
|
2272
2321
|
|
|
@@ -2274,16 +2323,11 @@ class CreatePermissionCommand extends smithyClient.Command
|
|
|
2274
2323
|
.classBuilder()
|
|
2275
2324
|
.ep(commonParams)
|
|
2276
2325
|
.m(function (Command, cs, config, o) {
|
|
2277
|
-
return [
|
|
2278
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2279
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2280
|
-
];
|
|
2326
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2281
2327
|
})
|
|
2282
2328
|
.s("AmazonResourceSharing", "CreatePermission", {})
|
|
2283
2329
|
.n("RAMClient", "CreatePermissionCommand")
|
|
2284
|
-
.
|
|
2285
|
-
.ser(se_CreatePermissionCommand)
|
|
2286
|
-
.de(de_CreatePermissionCommand)
|
|
2330
|
+
.sc(CreatePermission)
|
|
2287
2331
|
.build() {
|
|
2288
2332
|
}
|
|
2289
2333
|
|
|
@@ -2291,16 +2335,11 @@ class CreatePermissionVersionCommand extends smithyClient.Command
|
|
|
2291
2335
|
.classBuilder()
|
|
2292
2336
|
.ep(commonParams)
|
|
2293
2337
|
.m(function (Command, cs, config, o) {
|
|
2294
|
-
return [
|
|
2295
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2296
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2297
|
-
];
|
|
2338
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2298
2339
|
})
|
|
2299
2340
|
.s("AmazonResourceSharing", "CreatePermissionVersion", {})
|
|
2300
2341
|
.n("RAMClient", "CreatePermissionVersionCommand")
|
|
2301
|
-
.
|
|
2302
|
-
.ser(se_CreatePermissionVersionCommand)
|
|
2303
|
-
.de(de_CreatePermissionVersionCommand)
|
|
2342
|
+
.sc(CreatePermissionVersion)
|
|
2304
2343
|
.build() {
|
|
2305
2344
|
}
|
|
2306
2345
|
|
|
@@ -2308,16 +2347,11 @@ class CreateResourceShareCommand extends smithyClient.Command
|
|
|
2308
2347
|
.classBuilder()
|
|
2309
2348
|
.ep(commonParams)
|
|
2310
2349
|
.m(function (Command, cs, config, o) {
|
|
2311
|
-
return [
|
|
2312
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2313
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2314
|
-
];
|
|
2350
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2315
2351
|
})
|
|
2316
2352
|
.s("AmazonResourceSharing", "CreateResourceShare", {})
|
|
2317
2353
|
.n("RAMClient", "CreateResourceShareCommand")
|
|
2318
|
-
.
|
|
2319
|
-
.ser(se_CreateResourceShareCommand)
|
|
2320
|
-
.de(de_CreateResourceShareCommand)
|
|
2354
|
+
.sc(CreateResourceShare)
|
|
2321
2355
|
.build() {
|
|
2322
2356
|
}
|
|
2323
2357
|
|
|
@@ -2325,16 +2359,11 @@ class DeletePermissionCommand extends smithyClient.Command
|
|
|
2325
2359
|
.classBuilder()
|
|
2326
2360
|
.ep(commonParams)
|
|
2327
2361
|
.m(function (Command, cs, config, o) {
|
|
2328
|
-
return [
|
|
2329
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2330
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2331
|
-
];
|
|
2362
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2332
2363
|
})
|
|
2333
2364
|
.s("AmazonResourceSharing", "DeletePermission", {})
|
|
2334
2365
|
.n("RAMClient", "DeletePermissionCommand")
|
|
2335
|
-
.
|
|
2336
|
-
.ser(se_DeletePermissionCommand)
|
|
2337
|
-
.de(de_DeletePermissionCommand)
|
|
2366
|
+
.sc(DeletePermission)
|
|
2338
2367
|
.build() {
|
|
2339
2368
|
}
|
|
2340
2369
|
|
|
@@ -2342,16 +2371,11 @@ class DeletePermissionVersionCommand extends smithyClient.Command
|
|
|
2342
2371
|
.classBuilder()
|
|
2343
2372
|
.ep(commonParams)
|
|
2344
2373
|
.m(function (Command, cs, config, o) {
|
|
2345
|
-
return [
|
|
2346
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2347
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2348
|
-
];
|
|
2374
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2349
2375
|
})
|
|
2350
2376
|
.s("AmazonResourceSharing", "DeletePermissionVersion", {})
|
|
2351
2377
|
.n("RAMClient", "DeletePermissionVersionCommand")
|
|
2352
|
-
.
|
|
2353
|
-
.ser(se_DeletePermissionVersionCommand)
|
|
2354
|
-
.de(de_DeletePermissionVersionCommand)
|
|
2378
|
+
.sc(DeletePermissionVersion)
|
|
2355
2379
|
.build() {
|
|
2356
2380
|
}
|
|
2357
2381
|
|
|
@@ -2359,16 +2383,11 @@ class DeleteResourceShareCommand extends smithyClient.Command
|
|
|
2359
2383
|
.classBuilder()
|
|
2360
2384
|
.ep(commonParams)
|
|
2361
2385
|
.m(function (Command, cs, config, o) {
|
|
2362
|
-
return [
|
|
2363
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2364
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2365
|
-
];
|
|
2386
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2366
2387
|
})
|
|
2367
2388
|
.s("AmazonResourceSharing", "DeleteResourceShare", {})
|
|
2368
2389
|
.n("RAMClient", "DeleteResourceShareCommand")
|
|
2369
|
-
.
|
|
2370
|
-
.ser(se_DeleteResourceShareCommand)
|
|
2371
|
-
.de(de_DeleteResourceShareCommand)
|
|
2390
|
+
.sc(DeleteResourceShare)
|
|
2372
2391
|
.build() {
|
|
2373
2392
|
}
|
|
2374
2393
|
|
|
@@ -2376,16 +2395,11 @@ class DisassociateResourceShareCommand extends smithyClient.Command
|
|
|
2376
2395
|
.classBuilder()
|
|
2377
2396
|
.ep(commonParams)
|
|
2378
2397
|
.m(function (Command, cs, config, o) {
|
|
2379
|
-
return [
|
|
2380
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2381
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2382
|
-
];
|
|
2398
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2383
2399
|
})
|
|
2384
2400
|
.s("AmazonResourceSharing", "DisassociateResourceShare", {})
|
|
2385
2401
|
.n("RAMClient", "DisassociateResourceShareCommand")
|
|
2386
|
-
.
|
|
2387
|
-
.ser(se_DisassociateResourceShareCommand)
|
|
2388
|
-
.de(de_DisassociateResourceShareCommand)
|
|
2402
|
+
.sc(DisassociateResourceShare)
|
|
2389
2403
|
.build() {
|
|
2390
2404
|
}
|
|
2391
2405
|
|
|
@@ -2393,16 +2407,11 @@ class DisassociateResourceSharePermissionCommand extends smithyClient.Command
|
|
|
2393
2407
|
.classBuilder()
|
|
2394
2408
|
.ep(commonParams)
|
|
2395
2409
|
.m(function (Command, cs, config, o) {
|
|
2396
|
-
return [
|
|
2397
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2398
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2399
|
-
];
|
|
2410
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2400
2411
|
})
|
|
2401
2412
|
.s("AmazonResourceSharing", "DisassociateResourceSharePermission", {})
|
|
2402
2413
|
.n("RAMClient", "DisassociateResourceSharePermissionCommand")
|
|
2403
|
-
.
|
|
2404
|
-
.ser(se_DisassociateResourceSharePermissionCommand)
|
|
2405
|
-
.de(de_DisassociateResourceSharePermissionCommand)
|
|
2414
|
+
.sc(DisassociateResourceSharePermission)
|
|
2406
2415
|
.build() {
|
|
2407
2416
|
}
|
|
2408
2417
|
|
|
@@ -2410,16 +2419,11 @@ class EnableSharingWithAwsOrganizationCommand extends smithyClient.Command
|
|
|
2410
2419
|
.classBuilder()
|
|
2411
2420
|
.ep(commonParams)
|
|
2412
2421
|
.m(function (Command, cs, config, o) {
|
|
2413
|
-
return [
|
|
2414
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2415
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2416
|
-
];
|
|
2422
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2417
2423
|
})
|
|
2418
2424
|
.s("AmazonResourceSharing", "EnableSharingWithAwsOrganization", {})
|
|
2419
2425
|
.n("RAMClient", "EnableSharingWithAwsOrganizationCommand")
|
|
2420
|
-
.
|
|
2421
|
-
.ser(se_EnableSharingWithAwsOrganizationCommand)
|
|
2422
|
-
.de(de_EnableSharingWithAwsOrganizationCommand)
|
|
2426
|
+
.sc(EnableSharingWithAwsOrganization)
|
|
2423
2427
|
.build() {
|
|
2424
2428
|
}
|
|
2425
2429
|
|
|
@@ -2427,16 +2431,11 @@ class GetPermissionCommand extends smithyClient.Command
|
|
|
2427
2431
|
.classBuilder()
|
|
2428
2432
|
.ep(commonParams)
|
|
2429
2433
|
.m(function (Command, cs, config, o) {
|
|
2430
|
-
return [
|
|
2431
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2432
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2433
|
-
];
|
|
2434
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2434
2435
|
})
|
|
2435
2436
|
.s("AmazonResourceSharing", "GetPermission", {})
|
|
2436
2437
|
.n("RAMClient", "GetPermissionCommand")
|
|
2437
|
-
.
|
|
2438
|
-
.ser(se_GetPermissionCommand)
|
|
2439
|
-
.de(de_GetPermissionCommand)
|
|
2438
|
+
.sc(GetPermission)
|
|
2440
2439
|
.build() {
|
|
2441
2440
|
}
|
|
2442
2441
|
|
|
@@ -2444,16 +2443,11 @@ class GetResourcePoliciesCommand extends smithyClient.Command
|
|
|
2444
2443
|
.classBuilder()
|
|
2445
2444
|
.ep(commonParams)
|
|
2446
2445
|
.m(function (Command, cs, config, o) {
|
|
2447
|
-
return [
|
|
2448
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2449
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2450
|
-
];
|
|
2446
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2451
2447
|
})
|
|
2452
2448
|
.s("AmazonResourceSharing", "GetResourcePolicies", {})
|
|
2453
2449
|
.n("RAMClient", "GetResourcePoliciesCommand")
|
|
2454
|
-
.
|
|
2455
|
-
.ser(se_GetResourcePoliciesCommand)
|
|
2456
|
-
.de(de_GetResourcePoliciesCommand)
|
|
2450
|
+
.sc(GetResourcePolicies)
|
|
2457
2451
|
.build() {
|
|
2458
2452
|
}
|
|
2459
2453
|
|
|
@@ -2461,16 +2455,11 @@ class GetResourceShareAssociationsCommand extends smithyClient.Command
|
|
|
2461
2455
|
.classBuilder()
|
|
2462
2456
|
.ep(commonParams)
|
|
2463
2457
|
.m(function (Command, cs, config, o) {
|
|
2464
|
-
return [
|
|
2465
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2466
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2467
|
-
];
|
|
2458
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2468
2459
|
})
|
|
2469
2460
|
.s("AmazonResourceSharing", "GetResourceShareAssociations", {})
|
|
2470
2461
|
.n("RAMClient", "GetResourceShareAssociationsCommand")
|
|
2471
|
-
.
|
|
2472
|
-
.ser(se_GetResourceShareAssociationsCommand)
|
|
2473
|
-
.de(de_GetResourceShareAssociationsCommand)
|
|
2462
|
+
.sc(GetResourceShareAssociations)
|
|
2474
2463
|
.build() {
|
|
2475
2464
|
}
|
|
2476
2465
|
|
|
@@ -2478,16 +2467,11 @@ class GetResourceShareInvitationsCommand extends smithyClient.Command
|
|
|
2478
2467
|
.classBuilder()
|
|
2479
2468
|
.ep(commonParams)
|
|
2480
2469
|
.m(function (Command, cs, config, o) {
|
|
2481
|
-
return [
|
|
2482
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2483
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2484
|
-
];
|
|
2470
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2485
2471
|
})
|
|
2486
2472
|
.s("AmazonResourceSharing", "GetResourceShareInvitations", {})
|
|
2487
2473
|
.n("RAMClient", "GetResourceShareInvitationsCommand")
|
|
2488
|
-
.
|
|
2489
|
-
.ser(se_GetResourceShareInvitationsCommand)
|
|
2490
|
-
.de(de_GetResourceShareInvitationsCommand)
|
|
2474
|
+
.sc(GetResourceShareInvitations)
|
|
2491
2475
|
.build() {
|
|
2492
2476
|
}
|
|
2493
2477
|
|
|
@@ -2495,16 +2479,11 @@ class GetResourceSharesCommand extends smithyClient.Command
|
|
|
2495
2479
|
.classBuilder()
|
|
2496
2480
|
.ep(commonParams)
|
|
2497
2481
|
.m(function (Command, cs, config, o) {
|
|
2498
|
-
return [
|
|
2499
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2500
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2501
|
-
];
|
|
2482
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2502
2483
|
})
|
|
2503
2484
|
.s("AmazonResourceSharing", "GetResourceShares", {})
|
|
2504
2485
|
.n("RAMClient", "GetResourceSharesCommand")
|
|
2505
|
-
.
|
|
2506
|
-
.ser(se_GetResourceSharesCommand)
|
|
2507
|
-
.de(de_GetResourceSharesCommand)
|
|
2486
|
+
.sc(GetResourceShares)
|
|
2508
2487
|
.build() {
|
|
2509
2488
|
}
|
|
2510
2489
|
|
|
@@ -2512,16 +2491,11 @@ class ListPendingInvitationResourcesCommand extends smithyClient.Command
|
|
|
2512
2491
|
.classBuilder()
|
|
2513
2492
|
.ep(commonParams)
|
|
2514
2493
|
.m(function (Command, cs, config, o) {
|
|
2515
|
-
return [
|
|
2516
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2517
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2518
|
-
];
|
|
2494
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2519
2495
|
})
|
|
2520
2496
|
.s("AmazonResourceSharing", "ListPendingInvitationResources", {})
|
|
2521
2497
|
.n("RAMClient", "ListPendingInvitationResourcesCommand")
|
|
2522
|
-
.
|
|
2523
|
-
.ser(se_ListPendingInvitationResourcesCommand)
|
|
2524
|
-
.de(de_ListPendingInvitationResourcesCommand)
|
|
2498
|
+
.sc(ListPendingInvitationResources)
|
|
2525
2499
|
.build() {
|
|
2526
2500
|
}
|
|
2527
2501
|
|
|
@@ -2529,16 +2503,11 @@ class ListPermissionAssociationsCommand extends smithyClient.Command
|
|
|
2529
2503
|
.classBuilder()
|
|
2530
2504
|
.ep(commonParams)
|
|
2531
2505
|
.m(function (Command, cs, config, o) {
|
|
2532
|
-
return [
|
|
2533
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2534
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2535
|
-
];
|
|
2506
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2536
2507
|
})
|
|
2537
2508
|
.s("AmazonResourceSharing", "ListPermissionAssociations", {})
|
|
2538
2509
|
.n("RAMClient", "ListPermissionAssociationsCommand")
|
|
2539
|
-
.
|
|
2540
|
-
.ser(se_ListPermissionAssociationsCommand)
|
|
2541
|
-
.de(de_ListPermissionAssociationsCommand)
|
|
2510
|
+
.sc(ListPermissionAssociations)
|
|
2542
2511
|
.build() {
|
|
2543
2512
|
}
|
|
2544
2513
|
|
|
@@ -2546,16 +2515,11 @@ class ListPermissionsCommand extends smithyClient.Command
|
|
|
2546
2515
|
.classBuilder()
|
|
2547
2516
|
.ep(commonParams)
|
|
2548
2517
|
.m(function (Command, cs, config, o) {
|
|
2549
|
-
return [
|
|
2550
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2551
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2552
|
-
];
|
|
2518
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2553
2519
|
})
|
|
2554
2520
|
.s("AmazonResourceSharing", "ListPermissions", {})
|
|
2555
2521
|
.n("RAMClient", "ListPermissionsCommand")
|
|
2556
|
-
.
|
|
2557
|
-
.ser(se_ListPermissionsCommand)
|
|
2558
|
-
.de(de_ListPermissionsCommand)
|
|
2522
|
+
.sc(ListPermissions)
|
|
2559
2523
|
.build() {
|
|
2560
2524
|
}
|
|
2561
2525
|
|
|
@@ -2563,16 +2527,11 @@ class ListPermissionVersionsCommand extends smithyClient.Command
|
|
|
2563
2527
|
.classBuilder()
|
|
2564
2528
|
.ep(commonParams)
|
|
2565
2529
|
.m(function (Command, cs, config, o) {
|
|
2566
|
-
return [
|
|
2567
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2568
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2569
|
-
];
|
|
2530
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2570
2531
|
})
|
|
2571
2532
|
.s("AmazonResourceSharing", "ListPermissionVersions", {})
|
|
2572
2533
|
.n("RAMClient", "ListPermissionVersionsCommand")
|
|
2573
|
-
.
|
|
2574
|
-
.ser(se_ListPermissionVersionsCommand)
|
|
2575
|
-
.de(de_ListPermissionVersionsCommand)
|
|
2534
|
+
.sc(ListPermissionVersions)
|
|
2576
2535
|
.build() {
|
|
2577
2536
|
}
|
|
2578
2537
|
|
|
@@ -2580,16 +2539,11 @@ class ListPrincipalsCommand extends smithyClient.Command
|
|
|
2580
2539
|
.classBuilder()
|
|
2581
2540
|
.ep(commonParams)
|
|
2582
2541
|
.m(function (Command, cs, config, o) {
|
|
2583
|
-
return [
|
|
2584
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2585
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2586
|
-
];
|
|
2542
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2587
2543
|
})
|
|
2588
2544
|
.s("AmazonResourceSharing", "ListPrincipals", {})
|
|
2589
2545
|
.n("RAMClient", "ListPrincipalsCommand")
|
|
2590
|
-
.
|
|
2591
|
-
.ser(se_ListPrincipalsCommand)
|
|
2592
|
-
.de(de_ListPrincipalsCommand)
|
|
2546
|
+
.sc(ListPrincipals)
|
|
2593
2547
|
.build() {
|
|
2594
2548
|
}
|
|
2595
2549
|
|
|
@@ -2597,16 +2551,11 @@ class ListReplacePermissionAssociationsWorkCommand extends smithyClient.Command
|
|
|
2597
2551
|
.classBuilder()
|
|
2598
2552
|
.ep(commonParams)
|
|
2599
2553
|
.m(function (Command, cs, config, o) {
|
|
2600
|
-
return [
|
|
2601
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2602
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2603
|
-
];
|
|
2554
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2604
2555
|
})
|
|
2605
2556
|
.s("AmazonResourceSharing", "ListReplacePermissionAssociationsWork", {})
|
|
2606
2557
|
.n("RAMClient", "ListReplacePermissionAssociationsWorkCommand")
|
|
2607
|
-
.
|
|
2608
|
-
.ser(se_ListReplacePermissionAssociationsWorkCommand)
|
|
2609
|
-
.de(de_ListReplacePermissionAssociationsWorkCommand)
|
|
2558
|
+
.sc(ListReplacePermissionAssociationsWork)
|
|
2610
2559
|
.build() {
|
|
2611
2560
|
}
|
|
2612
2561
|
|
|
@@ -2614,16 +2563,11 @@ class ListResourcesCommand extends smithyClient.Command
|
|
|
2614
2563
|
.classBuilder()
|
|
2615
2564
|
.ep(commonParams)
|
|
2616
2565
|
.m(function (Command, cs, config, o) {
|
|
2617
|
-
return [
|
|
2618
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2619
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2620
|
-
];
|
|
2566
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2621
2567
|
})
|
|
2622
2568
|
.s("AmazonResourceSharing", "ListResources", {})
|
|
2623
2569
|
.n("RAMClient", "ListResourcesCommand")
|
|
2624
|
-
.
|
|
2625
|
-
.ser(se_ListResourcesCommand)
|
|
2626
|
-
.de(de_ListResourcesCommand)
|
|
2570
|
+
.sc(ListResources)
|
|
2627
2571
|
.build() {
|
|
2628
2572
|
}
|
|
2629
2573
|
|
|
@@ -2631,16 +2575,11 @@ class ListResourceSharePermissionsCommand extends smithyClient.Command
|
|
|
2631
2575
|
.classBuilder()
|
|
2632
2576
|
.ep(commonParams)
|
|
2633
2577
|
.m(function (Command, cs, config, o) {
|
|
2634
|
-
return [
|
|
2635
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2636
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2637
|
-
];
|
|
2578
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2638
2579
|
})
|
|
2639
2580
|
.s("AmazonResourceSharing", "ListResourceSharePermissions", {})
|
|
2640
2581
|
.n("RAMClient", "ListResourceSharePermissionsCommand")
|
|
2641
|
-
.
|
|
2642
|
-
.ser(se_ListResourceSharePermissionsCommand)
|
|
2643
|
-
.de(de_ListResourceSharePermissionsCommand)
|
|
2582
|
+
.sc(ListResourceSharePermissions)
|
|
2644
2583
|
.build() {
|
|
2645
2584
|
}
|
|
2646
2585
|
|
|
@@ -2648,16 +2587,11 @@ class ListResourceTypesCommand extends smithyClient.Command
|
|
|
2648
2587
|
.classBuilder()
|
|
2649
2588
|
.ep(commonParams)
|
|
2650
2589
|
.m(function (Command, cs, config, o) {
|
|
2651
|
-
return [
|
|
2652
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2653
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2654
|
-
];
|
|
2590
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2655
2591
|
})
|
|
2656
2592
|
.s("AmazonResourceSharing", "ListResourceTypes", {})
|
|
2657
2593
|
.n("RAMClient", "ListResourceTypesCommand")
|
|
2658
|
-
.
|
|
2659
|
-
.ser(se_ListResourceTypesCommand)
|
|
2660
|
-
.de(de_ListResourceTypesCommand)
|
|
2594
|
+
.sc(ListResourceTypes)
|
|
2661
2595
|
.build() {
|
|
2662
2596
|
}
|
|
2663
2597
|
|
|
@@ -2665,16 +2599,11 @@ class PromotePermissionCreatedFromPolicyCommand extends smithyClient.Command
|
|
|
2665
2599
|
.classBuilder()
|
|
2666
2600
|
.ep(commonParams)
|
|
2667
2601
|
.m(function (Command, cs, config, o) {
|
|
2668
|
-
return [
|
|
2669
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2670
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2671
|
-
];
|
|
2602
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2672
2603
|
})
|
|
2673
2604
|
.s("AmazonResourceSharing", "PromotePermissionCreatedFromPolicy", {})
|
|
2674
2605
|
.n("RAMClient", "PromotePermissionCreatedFromPolicyCommand")
|
|
2675
|
-
.
|
|
2676
|
-
.ser(se_PromotePermissionCreatedFromPolicyCommand)
|
|
2677
|
-
.de(de_PromotePermissionCreatedFromPolicyCommand)
|
|
2606
|
+
.sc(PromotePermissionCreatedFromPolicy)
|
|
2678
2607
|
.build() {
|
|
2679
2608
|
}
|
|
2680
2609
|
|
|
@@ -2682,16 +2611,11 @@ class PromoteResourceShareCreatedFromPolicyCommand extends smithyClient.Command
|
|
|
2682
2611
|
.classBuilder()
|
|
2683
2612
|
.ep(commonParams)
|
|
2684
2613
|
.m(function (Command, cs, config, o) {
|
|
2685
|
-
return [
|
|
2686
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2687
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2688
|
-
];
|
|
2614
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2689
2615
|
})
|
|
2690
2616
|
.s("AmazonResourceSharing", "PromoteResourceShareCreatedFromPolicy", {})
|
|
2691
2617
|
.n("RAMClient", "PromoteResourceShareCreatedFromPolicyCommand")
|
|
2692
|
-
.
|
|
2693
|
-
.ser(se_PromoteResourceShareCreatedFromPolicyCommand)
|
|
2694
|
-
.de(de_PromoteResourceShareCreatedFromPolicyCommand)
|
|
2618
|
+
.sc(PromoteResourceShareCreatedFromPolicy)
|
|
2695
2619
|
.build() {
|
|
2696
2620
|
}
|
|
2697
2621
|
|
|
@@ -2699,16 +2623,11 @@ class RejectResourceShareInvitationCommand extends smithyClient.Command
|
|
|
2699
2623
|
.classBuilder()
|
|
2700
2624
|
.ep(commonParams)
|
|
2701
2625
|
.m(function (Command, cs, config, o) {
|
|
2702
|
-
return [
|
|
2703
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2704
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2705
|
-
];
|
|
2626
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2706
2627
|
})
|
|
2707
2628
|
.s("AmazonResourceSharing", "RejectResourceShareInvitation", {})
|
|
2708
2629
|
.n("RAMClient", "RejectResourceShareInvitationCommand")
|
|
2709
|
-
.
|
|
2710
|
-
.ser(se_RejectResourceShareInvitationCommand)
|
|
2711
|
-
.de(de_RejectResourceShareInvitationCommand)
|
|
2630
|
+
.sc(RejectResourceShareInvitation)
|
|
2712
2631
|
.build() {
|
|
2713
2632
|
}
|
|
2714
2633
|
|
|
@@ -2716,16 +2635,11 @@ class ReplacePermissionAssociationsCommand extends smithyClient.Command
|
|
|
2716
2635
|
.classBuilder()
|
|
2717
2636
|
.ep(commonParams)
|
|
2718
2637
|
.m(function (Command, cs, config, o) {
|
|
2719
|
-
return [
|
|
2720
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2721
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2722
|
-
];
|
|
2638
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2723
2639
|
})
|
|
2724
2640
|
.s("AmazonResourceSharing", "ReplacePermissionAssociations", {})
|
|
2725
2641
|
.n("RAMClient", "ReplacePermissionAssociationsCommand")
|
|
2726
|
-
.
|
|
2727
|
-
.ser(se_ReplacePermissionAssociationsCommand)
|
|
2728
|
-
.de(de_ReplacePermissionAssociationsCommand)
|
|
2642
|
+
.sc(ReplacePermissionAssociations)
|
|
2729
2643
|
.build() {
|
|
2730
2644
|
}
|
|
2731
2645
|
|
|
@@ -2733,16 +2647,11 @@ class SetDefaultPermissionVersionCommand extends smithyClient.Command
|
|
|
2733
2647
|
.classBuilder()
|
|
2734
2648
|
.ep(commonParams)
|
|
2735
2649
|
.m(function (Command, cs, config, o) {
|
|
2736
|
-
return [
|
|
2737
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2738
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2739
|
-
];
|
|
2650
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2740
2651
|
})
|
|
2741
2652
|
.s("AmazonResourceSharing", "SetDefaultPermissionVersion", {})
|
|
2742
2653
|
.n("RAMClient", "SetDefaultPermissionVersionCommand")
|
|
2743
|
-
.
|
|
2744
|
-
.ser(se_SetDefaultPermissionVersionCommand)
|
|
2745
|
-
.de(de_SetDefaultPermissionVersionCommand)
|
|
2654
|
+
.sc(SetDefaultPermissionVersion)
|
|
2746
2655
|
.build() {
|
|
2747
2656
|
}
|
|
2748
2657
|
|
|
@@ -2750,16 +2659,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
2750
2659
|
.classBuilder()
|
|
2751
2660
|
.ep(commonParams)
|
|
2752
2661
|
.m(function (Command, cs, config, o) {
|
|
2753
|
-
return [
|
|
2754
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2755
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2756
|
-
];
|
|
2662
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2757
2663
|
})
|
|
2758
2664
|
.s("AmazonResourceSharing", "TagResource", {})
|
|
2759
2665
|
.n("RAMClient", "TagResourceCommand")
|
|
2760
|
-
.
|
|
2761
|
-
.ser(se_TagResourceCommand)
|
|
2762
|
-
.de(de_TagResourceCommand)
|
|
2666
|
+
.sc(TagResource)
|
|
2763
2667
|
.build() {
|
|
2764
2668
|
}
|
|
2765
2669
|
|
|
@@ -2767,16 +2671,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
2767
2671
|
.classBuilder()
|
|
2768
2672
|
.ep(commonParams)
|
|
2769
2673
|
.m(function (Command, cs, config, o) {
|
|
2770
|
-
return [
|
|
2771
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2772
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2773
|
-
];
|
|
2674
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2774
2675
|
})
|
|
2775
2676
|
.s("AmazonResourceSharing", "UntagResource", {})
|
|
2776
2677
|
.n("RAMClient", "UntagResourceCommand")
|
|
2777
|
-
.
|
|
2778
|
-
.ser(se_UntagResourceCommand)
|
|
2779
|
-
.de(de_UntagResourceCommand)
|
|
2678
|
+
.sc(UntagResource)
|
|
2780
2679
|
.build() {
|
|
2781
2680
|
}
|
|
2782
2681
|
|
|
@@ -2784,16 +2683,11 @@ class UpdateResourceShareCommand extends smithyClient.Command
|
|
|
2784
2683
|
.classBuilder()
|
|
2785
2684
|
.ep(commonParams)
|
|
2786
2685
|
.m(function (Command, cs, config, o) {
|
|
2787
|
-
return [
|
|
2788
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2789
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2790
|
-
];
|
|
2686
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2791
2687
|
})
|
|
2792
2688
|
.s("AmazonResourceSharing", "UpdateResourceShare", {})
|
|
2793
2689
|
.n("RAMClient", "UpdateResourceShareCommand")
|
|
2794
|
-
.
|
|
2795
|
-
.ser(se_UpdateResourceShareCommand)
|
|
2796
|
-
.de(de_UpdateResourceShareCommand)
|
|
2690
|
+
.sc(UpdateResourceShare)
|
|
2797
2691
|
.build() {
|
|
2798
2692
|
}
|
|
2799
2693
|
|
|
@@ -2888,14 +2782,14 @@ exports.GetResourcePoliciesCommand = GetResourcePoliciesCommand;
|
|
|
2888
2782
|
exports.GetResourceShareAssociationsCommand = GetResourceShareAssociationsCommand;
|
|
2889
2783
|
exports.GetResourceShareInvitationsCommand = GetResourceShareInvitationsCommand;
|
|
2890
2784
|
exports.GetResourceSharesCommand = GetResourceSharesCommand;
|
|
2891
|
-
exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
|
|
2892
|
-
exports.InvalidClientTokenException = InvalidClientTokenException;
|
|
2893
|
-
exports.InvalidMaxResultsException = InvalidMaxResultsException;
|
|
2894
|
-
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
2895
|
-
exports.InvalidParameterException = InvalidParameterException;
|
|
2896
|
-
exports.InvalidPolicyException = InvalidPolicyException;
|
|
2897
|
-
exports.InvalidResourceTypeException = InvalidResourceTypeException;
|
|
2898
|
-
exports.InvalidStateTransitionException = InvalidStateTransitionException;
|
|
2785
|
+
exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException$1;
|
|
2786
|
+
exports.InvalidClientTokenException = InvalidClientTokenException$1;
|
|
2787
|
+
exports.InvalidMaxResultsException = InvalidMaxResultsException$1;
|
|
2788
|
+
exports.InvalidNextTokenException = InvalidNextTokenException$1;
|
|
2789
|
+
exports.InvalidParameterException = InvalidParameterException$1;
|
|
2790
|
+
exports.InvalidPolicyException = InvalidPolicyException$1;
|
|
2791
|
+
exports.InvalidResourceTypeException = InvalidResourceTypeException$1;
|
|
2792
|
+
exports.InvalidStateTransitionException = InvalidStateTransitionException$1;
|
|
2899
2793
|
exports.ListPendingInvitationResourcesCommand = ListPendingInvitationResourcesCommand;
|
|
2900
2794
|
exports.ListPermissionAssociationsCommand = ListPermissionAssociationsCommand;
|
|
2901
2795
|
exports.ListPermissionVersionsCommand = ListPermissionVersionsCommand;
|
|
@@ -2905,49 +2799,49 @@ exports.ListReplacePermissionAssociationsWorkCommand = ListReplacePermissionAsso
|
|
|
2905
2799
|
exports.ListResourceSharePermissionsCommand = ListResourceSharePermissionsCommand;
|
|
2906
2800
|
exports.ListResourceTypesCommand = ListResourceTypesCommand;
|
|
2907
2801
|
exports.ListResourcesCommand = ListResourcesCommand;
|
|
2908
|
-
exports.MalformedArnException = MalformedArnException;
|
|
2909
|
-
exports.MalformedPolicyTemplateException = MalformedPolicyTemplateException;
|
|
2910
|
-
exports.MissingRequiredParameterException = MissingRequiredParameterException;
|
|
2911
|
-
exports.OperationNotPermittedException = OperationNotPermittedException;
|
|
2912
|
-
exports.PermissionAlreadyExistsException = PermissionAlreadyExistsException;
|
|
2802
|
+
exports.MalformedArnException = MalformedArnException$1;
|
|
2803
|
+
exports.MalformedPolicyTemplateException = MalformedPolicyTemplateException$1;
|
|
2804
|
+
exports.MissingRequiredParameterException = MissingRequiredParameterException$1;
|
|
2805
|
+
exports.OperationNotPermittedException = OperationNotPermittedException$1;
|
|
2806
|
+
exports.PermissionAlreadyExistsException = PermissionAlreadyExistsException$1;
|
|
2913
2807
|
exports.PermissionFeatureSet = PermissionFeatureSet;
|
|
2914
|
-
exports.PermissionLimitExceededException = PermissionLimitExceededException;
|
|
2808
|
+
exports.PermissionLimitExceededException = PermissionLimitExceededException$1;
|
|
2915
2809
|
exports.PermissionStatus = PermissionStatus;
|
|
2916
2810
|
exports.PermissionType = PermissionType;
|
|
2917
2811
|
exports.PermissionTypeFilter = PermissionTypeFilter;
|
|
2918
|
-
exports.PermissionVersionsLimitExceededException = PermissionVersionsLimitExceededException;
|
|
2812
|
+
exports.PermissionVersionsLimitExceededException = PermissionVersionsLimitExceededException$1;
|
|
2919
2813
|
exports.PromotePermissionCreatedFromPolicyCommand = PromotePermissionCreatedFromPolicyCommand;
|
|
2920
2814
|
exports.PromoteResourceShareCreatedFromPolicyCommand = PromoteResourceShareCreatedFromPolicyCommand;
|
|
2921
2815
|
exports.RAM = RAM;
|
|
2922
2816
|
exports.RAMClient = RAMClient;
|
|
2923
|
-
exports.RAMServiceException = RAMServiceException;
|
|
2817
|
+
exports.RAMServiceException = RAMServiceException$1;
|
|
2924
2818
|
exports.RejectResourceShareInvitationCommand = RejectResourceShareInvitationCommand;
|
|
2925
2819
|
exports.ReplacePermissionAssociationsCommand = ReplacePermissionAssociationsCommand;
|
|
2926
2820
|
exports.ReplacePermissionAssociationsWorkStatus = ReplacePermissionAssociationsWorkStatus;
|
|
2927
|
-
exports.ResourceArnNotFoundException = ResourceArnNotFoundException;
|
|
2821
|
+
exports.ResourceArnNotFoundException = ResourceArnNotFoundException$1;
|
|
2928
2822
|
exports.ResourceOwner = ResourceOwner;
|
|
2929
2823
|
exports.ResourceRegionScope = ResourceRegionScope;
|
|
2930
2824
|
exports.ResourceRegionScopeFilter = ResourceRegionScopeFilter;
|
|
2931
2825
|
exports.ResourceShareAssociationStatus = ResourceShareAssociationStatus;
|
|
2932
2826
|
exports.ResourceShareAssociationType = ResourceShareAssociationType;
|
|
2933
2827
|
exports.ResourceShareFeatureSet = ResourceShareFeatureSet;
|
|
2934
|
-
exports.ResourceShareInvitationAlreadyAcceptedException = ResourceShareInvitationAlreadyAcceptedException;
|
|
2935
|
-
exports.ResourceShareInvitationAlreadyRejectedException = ResourceShareInvitationAlreadyRejectedException;
|
|
2936
|
-
exports.ResourceShareInvitationArnNotFoundException = ResourceShareInvitationArnNotFoundException;
|
|
2937
|
-
exports.ResourceShareInvitationExpiredException = ResourceShareInvitationExpiredException;
|
|
2828
|
+
exports.ResourceShareInvitationAlreadyAcceptedException = ResourceShareInvitationAlreadyAcceptedException$1;
|
|
2829
|
+
exports.ResourceShareInvitationAlreadyRejectedException = ResourceShareInvitationAlreadyRejectedException$1;
|
|
2830
|
+
exports.ResourceShareInvitationArnNotFoundException = ResourceShareInvitationArnNotFoundException$1;
|
|
2831
|
+
exports.ResourceShareInvitationExpiredException = ResourceShareInvitationExpiredException$1;
|
|
2938
2832
|
exports.ResourceShareInvitationStatus = ResourceShareInvitationStatus;
|
|
2939
|
-
exports.ResourceShareLimitExceededException = ResourceShareLimitExceededException;
|
|
2833
|
+
exports.ResourceShareLimitExceededException = ResourceShareLimitExceededException$1;
|
|
2940
2834
|
exports.ResourceShareStatus = ResourceShareStatus;
|
|
2941
2835
|
exports.ResourceStatus = ResourceStatus;
|
|
2942
|
-
exports.ServerInternalException = ServerInternalException;
|
|
2943
|
-
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
2836
|
+
exports.ServerInternalException = ServerInternalException$1;
|
|
2837
|
+
exports.ServiceUnavailableException = ServiceUnavailableException$1;
|
|
2944
2838
|
exports.SetDefaultPermissionVersionCommand = SetDefaultPermissionVersionCommand;
|
|
2945
|
-
exports.TagLimitExceededException = TagLimitExceededException;
|
|
2946
|
-
exports.TagPolicyViolationException = TagPolicyViolationException;
|
|
2839
|
+
exports.TagLimitExceededException = TagLimitExceededException$1;
|
|
2840
|
+
exports.TagPolicyViolationException = TagPolicyViolationException$1;
|
|
2947
2841
|
exports.TagResourceCommand = TagResourceCommand;
|
|
2948
|
-
exports.ThrottlingException = ThrottlingException;
|
|
2949
|
-
exports.UnknownResourceException = UnknownResourceException;
|
|
2950
|
-
exports.UnmatchedPolicyPermissionException = UnmatchedPolicyPermissionException;
|
|
2842
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
2843
|
+
exports.UnknownResourceException = UnknownResourceException$1;
|
|
2844
|
+
exports.UnmatchedPolicyPermissionException = UnmatchedPolicyPermissionException$1;
|
|
2951
2845
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2952
2846
|
exports.UpdateResourceShareCommand = UpdateResourceShareCommand;
|
|
2953
2847
|
exports.paginateGetResourcePolicies = paginateGetResourcePolicies;
|