@aws-sdk/client-route53profiles 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 +671 -805
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/Route53ProfilesClient.js +2 -0
- package/dist-es/commands/AssociateProfileCommand.js +3 -9
- package/dist-es/commands/AssociateResourceToProfileCommand.js +3 -9
- package/dist-es/commands/CreateProfileCommand.js +3 -9
- package/dist-es/commands/DeleteProfileCommand.js +3 -9
- package/dist-es/commands/DisassociateProfileCommand.js +3 -9
- package/dist-es/commands/DisassociateResourceFromProfileCommand.js +3 -9
- package/dist-es/commands/GetProfileAssociationCommand.js +3 -9
- package/dist-es/commands/GetProfileCommand.js +3 -9
- package/dist-es/commands/GetProfileResourceAssociationCommand.js +3 -9
- package/dist-es/commands/ListProfileAssociationsCommand.js +3 -9
- package/dist-es/commands/ListProfileResourceAssociationsCommand.js +3 -9
- package/dist-es/commands/ListProfilesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateProfileResourceAssociationCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +622 -0
- package/dist-types/Route53ProfilesClient.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 +72 -0
- package/dist-types/ts3.4/Route53ProfilesClient.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 +77 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -676
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -146
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -197
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,9 +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
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class Route53ProfilesClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,14 +110,14 @@ class Route53ProfilesClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class Route53ProfilesServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let Route53ProfilesServiceException$1 = class Route53ProfilesServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, Route53ProfilesServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
|
-
class AccessDeniedException extends Route53ProfilesServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends Route53ProfilesServiceException$1 {
|
|
122
121
|
name = "AccessDeniedException";
|
|
123
122
|
$fault = "client";
|
|
124
123
|
Message;
|
|
@@ -131,7 +130,7 @@ class AccessDeniedException extends Route53ProfilesServiceException {
|
|
|
131
130
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
132
131
|
this.Message = opts.Message;
|
|
133
132
|
}
|
|
134
|
-
}
|
|
133
|
+
};
|
|
135
134
|
const ProfileStatus = {
|
|
136
135
|
COMPLETE: "COMPLETE",
|
|
137
136
|
CREATING: "CREATING",
|
|
@@ -140,7 +139,7 @@ const ProfileStatus = {
|
|
|
140
139
|
FAILED: "FAILED",
|
|
141
140
|
UPDATING: "UPDATING",
|
|
142
141
|
};
|
|
143
|
-
class ConflictException extends Route53ProfilesServiceException {
|
|
142
|
+
let ConflictException$1 = class ConflictException extends Route53ProfilesServiceException$1 {
|
|
144
143
|
name = "ConflictException";
|
|
145
144
|
$fault = "client";
|
|
146
145
|
Message;
|
|
@@ -153,8 +152,8 @@ class ConflictException extends Route53ProfilesServiceException {
|
|
|
153
152
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
154
153
|
this.Message = opts.Message;
|
|
155
154
|
}
|
|
156
|
-
}
|
|
157
|
-
class InvalidParameterException extends Route53ProfilesServiceException {
|
|
155
|
+
};
|
|
156
|
+
let InvalidParameterException$1 = class InvalidParameterException extends Route53ProfilesServiceException$1 {
|
|
158
157
|
name = "InvalidParameterException";
|
|
159
158
|
$fault = "client";
|
|
160
159
|
Message;
|
|
@@ -169,8 +168,8 @@ class InvalidParameterException extends Route53ProfilesServiceException {
|
|
|
169
168
|
this.Message = opts.Message;
|
|
170
169
|
this.FieldName = opts.FieldName;
|
|
171
170
|
}
|
|
172
|
-
}
|
|
173
|
-
class LimitExceededException extends Route53ProfilesServiceException {
|
|
171
|
+
};
|
|
172
|
+
let LimitExceededException$1 = class LimitExceededException extends Route53ProfilesServiceException$1 {
|
|
174
173
|
name = "LimitExceededException";
|
|
175
174
|
$fault = "client";
|
|
176
175
|
Message;
|
|
@@ -185,8 +184,8 @@ class LimitExceededException extends Route53ProfilesServiceException {
|
|
|
185
184
|
this.Message = opts.Message;
|
|
186
185
|
this.ResourceType = opts.ResourceType;
|
|
187
186
|
}
|
|
188
|
-
}
|
|
189
|
-
class ResourceExistsException extends Route53ProfilesServiceException {
|
|
187
|
+
};
|
|
188
|
+
let ResourceExistsException$1 = class ResourceExistsException extends Route53ProfilesServiceException$1 {
|
|
190
189
|
name = "ResourceExistsException";
|
|
191
190
|
$fault = "client";
|
|
192
191
|
Message;
|
|
@@ -201,8 +200,8 @@ class ResourceExistsException extends Route53ProfilesServiceException {
|
|
|
201
200
|
this.Message = opts.Message;
|
|
202
201
|
this.ResourceType = opts.ResourceType;
|
|
203
202
|
}
|
|
204
|
-
}
|
|
205
|
-
class ResourceNotFoundException extends Route53ProfilesServiceException {
|
|
203
|
+
};
|
|
204
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends Route53ProfilesServiceException$1 {
|
|
206
205
|
name = "ResourceNotFoundException";
|
|
207
206
|
$fault = "client";
|
|
208
207
|
Message;
|
|
@@ -217,8 +216,8 @@ class ResourceNotFoundException extends Route53ProfilesServiceException {
|
|
|
217
216
|
this.Message = opts.Message;
|
|
218
217
|
this.ResourceType = opts.ResourceType;
|
|
219
218
|
}
|
|
220
|
-
}
|
|
221
|
-
class ThrottlingException extends Route53ProfilesServiceException {
|
|
219
|
+
};
|
|
220
|
+
let ThrottlingException$1 = class ThrottlingException extends Route53ProfilesServiceException$1 {
|
|
222
221
|
name = "ThrottlingException";
|
|
223
222
|
$fault = "client";
|
|
224
223
|
Message;
|
|
@@ -231,8 +230,8 @@ class ThrottlingException extends Route53ProfilesServiceException {
|
|
|
231
230
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
232
231
|
this.Message = opts.Message;
|
|
233
232
|
}
|
|
234
|
-
}
|
|
235
|
-
class ValidationException extends Route53ProfilesServiceException {
|
|
233
|
+
};
|
|
234
|
+
let ValidationException$1 = class ValidationException extends Route53ProfilesServiceException$1 {
|
|
236
235
|
name = "ValidationException";
|
|
237
236
|
$fault = "client";
|
|
238
237
|
Message;
|
|
@@ -245,8 +244,8 @@ class ValidationException extends Route53ProfilesServiceException {
|
|
|
245
244
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
246
245
|
this.Message = opts.Message;
|
|
247
246
|
}
|
|
248
|
-
}
|
|
249
|
-
class InternalServiceErrorException extends Route53ProfilesServiceException {
|
|
247
|
+
};
|
|
248
|
+
let InternalServiceErrorException$1 = class InternalServiceErrorException extends Route53ProfilesServiceException$1 {
|
|
250
249
|
name = "InternalServiceErrorException";
|
|
251
250
|
$fault = "client";
|
|
252
251
|
Message;
|
|
@@ -259,13 +258,13 @@ class InternalServiceErrorException extends Route53ProfilesServiceException {
|
|
|
259
258
|
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
260
259
|
this.Message = opts.Message;
|
|
261
260
|
}
|
|
262
|
-
}
|
|
261
|
+
};
|
|
263
262
|
const ShareStatus = {
|
|
264
263
|
NOT_SHARED: "NOT_SHARED",
|
|
265
264
|
SHARED_BY_ME: "SHARED_BY_ME",
|
|
266
265
|
SHARED_WITH_ME: "SHARED_WITH_ME",
|
|
267
266
|
};
|
|
268
|
-
class InvalidNextTokenException extends Route53ProfilesServiceException {
|
|
267
|
+
let InvalidNextTokenException$1 = class InvalidNextTokenException extends Route53ProfilesServiceException$1 {
|
|
269
268
|
name = "InvalidNextTokenException";
|
|
270
269
|
$fault = "client";
|
|
271
270
|
Message;
|
|
@@ -278,692 +277,634 @@ class InvalidNextTokenException extends Route53ProfilesServiceException {
|
|
|
278
277
|
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
279
278
|
this.Message = opts.Message;
|
|
280
279
|
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
const se_AssociateProfileCommand = async (input, context) => {
|
|
284
|
-
const b = core.requestBuilder(input, context);
|
|
285
|
-
const headers = {
|
|
286
|
-
"content-type": "application/json",
|
|
287
|
-
};
|
|
288
|
-
b.bp("/profileassociation");
|
|
289
|
-
let body;
|
|
290
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
291
|
-
Name: [],
|
|
292
|
-
ProfileId: [],
|
|
293
|
-
ResourceId: [],
|
|
294
|
-
Tags: (_) => smithyClient._json(_),
|
|
295
|
-
}));
|
|
296
|
-
b.m("POST").h(headers).b(body);
|
|
297
|
-
return b.build();
|
|
298
|
-
};
|
|
299
|
-
const se_AssociateResourceToProfileCommand = async (input, context) => {
|
|
300
|
-
const b = core.requestBuilder(input, context);
|
|
301
|
-
const headers = {
|
|
302
|
-
"content-type": "application/json",
|
|
303
|
-
};
|
|
304
|
-
b.bp("/profileresourceassociation");
|
|
305
|
-
let body;
|
|
306
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
307
|
-
Name: [],
|
|
308
|
-
ProfileId: [],
|
|
309
|
-
ResourceArn: [],
|
|
310
|
-
ResourceProperties: [],
|
|
311
|
-
}));
|
|
312
|
-
b.m("POST").h(headers).b(body);
|
|
313
|
-
return b.build();
|
|
314
|
-
};
|
|
315
|
-
const se_CreateProfileCommand = async (input, context) => {
|
|
316
|
-
const b = core.requestBuilder(input, context);
|
|
317
|
-
const headers = {
|
|
318
|
-
"content-type": "application/json",
|
|
319
|
-
};
|
|
320
|
-
b.bp("/profile");
|
|
321
|
-
let body;
|
|
322
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
323
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
324
|
-
Name: [],
|
|
325
|
-
Tags: (_) => smithyClient._json(_),
|
|
326
|
-
}));
|
|
327
|
-
b.m("POST").h(headers).b(body);
|
|
328
|
-
return b.build();
|
|
329
|
-
};
|
|
330
|
-
const se_DeleteProfileCommand = async (input, context) => {
|
|
331
|
-
const b = core.requestBuilder(input, context);
|
|
332
|
-
const headers = {};
|
|
333
|
-
b.bp("/profile/{ProfileId}");
|
|
334
|
-
b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
|
|
335
|
-
let body;
|
|
336
|
-
b.m("DELETE").h(headers).b(body);
|
|
337
|
-
return b.build();
|
|
338
|
-
};
|
|
339
|
-
const se_DisassociateProfileCommand = async (input, context) => {
|
|
340
|
-
const b = core.requestBuilder(input, context);
|
|
341
|
-
const headers = {};
|
|
342
|
-
b.bp("/profileassociation/Profileid/{ProfileId}/resourceid/{ResourceId}");
|
|
343
|
-
b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
|
|
344
|
-
b.p("ResourceId", () => input.ResourceId, "{ResourceId}", false);
|
|
345
|
-
let body;
|
|
346
|
-
b.m("DELETE").h(headers).b(body);
|
|
347
|
-
return b.build();
|
|
348
|
-
};
|
|
349
|
-
const se_DisassociateResourceFromProfileCommand = async (input, context) => {
|
|
350
|
-
const b = core.requestBuilder(input, context);
|
|
351
|
-
const headers = {};
|
|
352
|
-
b.bp("/profileresourceassociation/profileid/{ProfileId}/resourcearn/{ResourceArn}");
|
|
353
|
-
b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
|
|
354
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
355
|
-
let body;
|
|
356
|
-
b.m("DELETE").h(headers).b(body);
|
|
357
|
-
return b.build();
|
|
358
|
-
};
|
|
359
|
-
const se_GetProfileCommand = async (input, context) => {
|
|
360
|
-
const b = core.requestBuilder(input, context);
|
|
361
|
-
const headers = {};
|
|
362
|
-
b.bp("/profile/{ProfileId}");
|
|
363
|
-
b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
|
|
364
|
-
let body;
|
|
365
|
-
b.m("GET").h(headers).b(body);
|
|
366
|
-
return b.build();
|
|
367
|
-
};
|
|
368
|
-
const se_GetProfileAssociationCommand = async (input, context) => {
|
|
369
|
-
const b = core.requestBuilder(input, context);
|
|
370
|
-
const headers = {};
|
|
371
|
-
b.bp("/profileassociation/{ProfileAssociationId}");
|
|
372
|
-
b.p("ProfileAssociationId", () => input.ProfileAssociationId, "{ProfileAssociationId}", false);
|
|
373
|
-
let body;
|
|
374
|
-
b.m("GET").h(headers).b(body);
|
|
375
|
-
return b.build();
|
|
376
|
-
};
|
|
377
|
-
const se_GetProfileResourceAssociationCommand = async (input, context) => {
|
|
378
|
-
const b = core.requestBuilder(input, context);
|
|
379
|
-
const headers = {};
|
|
380
|
-
b.bp("/profileresourceassociation/{ProfileResourceAssociationId}");
|
|
381
|
-
b.p("ProfileResourceAssociationId", () => input.ProfileResourceAssociationId, "{ProfileResourceAssociationId}", false);
|
|
382
|
-
let body;
|
|
383
|
-
b.m("GET").h(headers).b(body);
|
|
384
|
-
return b.build();
|
|
385
|
-
};
|
|
386
|
-
const se_ListProfileAssociationsCommand = async (input, context) => {
|
|
387
|
-
const b = core.requestBuilder(input, context);
|
|
388
|
-
const headers = {};
|
|
389
|
-
b.bp("/profileassociations");
|
|
390
|
-
const query = smithyClient.map({
|
|
391
|
-
[_rI]: [, input[_RI]],
|
|
392
|
-
[_pI]: [, input[_PI]],
|
|
393
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
394
|
-
[_nT]: [, input[_NT]],
|
|
395
|
-
});
|
|
396
|
-
let body;
|
|
397
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
398
|
-
return b.build();
|
|
399
|
-
};
|
|
400
|
-
const se_ListProfileResourceAssociationsCommand = async (input, context) => {
|
|
401
|
-
const b = core.requestBuilder(input, context);
|
|
402
|
-
const headers = {};
|
|
403
|
-
b.bp("/profileresourceassociations/profileid/{ProfileId}");
|
|
404
|
-
b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
|
|
405
|
-
const query = smithyClient.map({
|
|
406
|
-
[_rT]: [, input[_RT]],
|
|
407
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
408
|
-
[_nT]: [, input[_NT]],
|
|
409
|
-
});
|
|
410
|
-
let body;
|
|
411
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
412
|
-
return b.build();
|
|
413
|
-
};
|
|
414
|
-
const se_ListProfilesCommand = async (input, context) => {
|
|
415
|
-
const b = core.requestBuilder(input, context);
|
|
416
|
-
const headers = {};
|
|
417
|
-
b.bp("/profiles");
|
|
418
|
-
const query = smithyClient.map({
|
|
419
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
420
|
-
[_nT]: [, input[_NT]],
|
|
421
|
-
});
|
|
422
|
-
let body;
|
|
423
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
424
|
-
return b.build();
|
|
425
280
|
};
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
const
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
const
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
const
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
const
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
}
|
|
480
|
-
const contents = smithyClient.map({
|
|
481
|
-
$metadata: deserializeMetadata(output),
|
|
482
|
-
});
|
|
483
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
484
|
-
const doc = smithyClient.take(data, {
|
|
485
|
-
ProfileAssociation: (_) => de_ProfileAssociation(_),
|
|
486
|
-
});
|
|
487
|
-
Object.assign(contents, doc);
|
|
488
|
-
return contents;
|
|
489
|
-
};
|
|
490
|
-
const de_AssociateResourceToProfileCommand = async (output, context) => {
|
|
491
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
492
|
-
return de_CommandError(output, context);
|
|
493
|
-
}
|
|
494
|
-
const contents = smithyClient.map({
|
|
495
|
-
$metadata: deserializeMetadata(output),
|
|
496
|
-
});
|
|
497
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
498
|
-
const doc = smithyClient.take(data, {
|
|
499
|
-
ProfileResourceAssociation: (_) => de_ProfileResourceAssociation(_),
|
|
500
|
-
});
|
|
501
|
-
Object.assign(contents, doc);
|
|
502
|
-
return contents;
|
|
503
|
-
};
|
|
504
|
-
const de_CreateProfileCommand = async (output, context) => {
|
|
505
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
506
|
-
return de_CommandError(output, context);
|
|
507
|
-
}
|
|
508
|
-
const contents = smithyClient.map({
|
|
509
|
-
$metadata: deserializeMetadata(output),
|
|
510
|
-
});
|
|
511
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
512
|
-
const doc = smithyClient.take(data, {
|
|
513
|
-
Profile: (_) => de_Profile(_),
|
|
514
|
-
});
|
|
515
|
-
Object.assign(contents, doc);
|
|
516
|
-
return contents;
|
|
517
|
-
};
|
|
518
|
-
const de_DeleteProfileCommand = async (output, context) => {
|
|
519
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
520
|
-
return de_CommandError(output, context);
|
|
521
|
-
}
|
|
522
|
-
const contents = smithyClient.map({
|
|
523
|
-
$metadata: deserializeMetadata(output),
|
|
524
|
-
});
|
|
525
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
526
|
-
const doc = smithyClient.take(data, {
|
|
527
|
-
Profile: (_) => de_Profile(_),
|
|
528
|
-
});
|
|
529
|
-
Object.assign(contents, doc);
|
|
530
|
-
return contents;
|
|
531
|
-
};
|
|
532
|
-
const de_DisassociateProfileCommand = async (output, context) => {
|
|
533
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
534
|
-
return de_CommandError(output, context);
|
|
535
|
-
}
|
|
536
|
-
const contents = smithyClient.map({
|
|
537
|
-
$metadata: deserializeMetadata(output),
|
|
538
|
-
});
|
|
539
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
540
|
-
const doc = smithyClient.take(data, {
|
|
541
|
-
ProfileAssociation: (_) => de_ProfileAssociation(_),
|
|
542
|
-
});
|
|
543
|
-
Object.assign(contents, doc);
|
|
544
|
-
return contents;
|
|
545
|
-
};
|
|
546
|
-
const de_DisassociateResourceFromProfileCommand = async (output, context) => {
|
|
547
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
548
|
-
return de_CommandError(output, context);
|
|
549
|
-
}
|
|
550
|
-
const contents = smithyClient.map({
|
|
551
|
-
$metadata: deserializeMetadata(output),
|
|
552
|
-
});
|
|
553
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
554
|
-
const doc = smithyClient.take(data, {
|
|
555
|
-
ProfileResourceAssociation: (_) => de_ProfileResourceAssociation(_),
|
|
556
|
-
});
|
|
557
|
-
Object.assign(contents, doc);
|
|
558
|
-
return contents;
|
|
559
|
-
};
|
|
560
|
-
const de_GetProfileCommand = async (output, context) => {
|
|
561
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
562
|
-
return de_CommandError(output, context);
|
|
563
|
-
}
|
|
564
|
-
const contents = smithyClient.map({
|
|
565
|
-
$metadata: deserializeMetadata(output),
|
|
566
|
-
});
|
|
567
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
568
|
-
const doc = smithyClient.take(data, {
|
|
569
|
-
Profile: (_) => de_Profile(_),
|
|
570
|
-
});
|
|
571
|
-
Object.assign(contents, doc);
|
|
572
|
-
return contents;
|
|
573
|
-
};
|
|
574
|
-
const de_GetProfileAssociationCommand = async (output, context) => {
|
|
575
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
576
|
-
return de_CommandError(output, context);
|
|
577
|
-
}
|
|
578
|
-
const contents = smithyClient.map({
|
|
579
|
-
$metadata: deserializeMetadata(output),
|
|
580
|
-
});
|
|
581
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
582
|
-
const doc = smithyClient.take(data, {
|
|
583
|
-
ProfileAssociation: (_) => de_ProfileAssociation(_),
|
|
584
|
-
});
|
|
585
|
-
Object.assign(contents, doc);
|
|
586
|
-
return contents;
|
|
587
|
-
};
|
|
588
|
-
const de_GetProfileResourceAssociationCommand = async (output, context) => {
|
|
589
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
590
|
-
return de_CommandError(output, context);
|
|
591
|
-
}
|
|
592
|
-
const contents = smithyClient.map({
|
|
593
|
-
$metadata: deserializeMetadata(output),
|
|
594
|
-
});
|
|
595
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
596
|
-
const doc = smithyClient.take(data, {
|
|
597
|
-
ProfileResourceAssociation: (_) => de_ProfileResourceAssociation(_),
|
|
598
|
-
});
|
|
599
|
-
Object.assign(contents, doc);
|
|
600
|
-
return contents;
|
|
601
|
-
};
|
|
602
|
-
const de_ListProfileAssociationsCommand = async (output, context) => {
|
|
603
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
604
|
-
return de_CommandError(output, context);
|
|
605
|
-
}
|
|
606
|
-
const contents = smithyClient.map({
|
|
607
|
-
$metadata: deserializeMetadata(output),
|
|
608
|
-
});
|
|
609
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
610
|
-
const doc = smithyClient.take(data, {
|
|
611
|
-
NextToken: smithyClient.expectString,
|
|
612
|
-
ProfileAssociations: (_) => de_ProfileAssociations(_),
|
|
613
|
-
});
|
|
614
|
-
Object.assign(contents, doc);
|
|
615
|
-
return contents;
|
|
616
|
-
};
|
|
617
|
-
const de_ListProfileResourceAssociationsCommand = async (output, context) => {
|
|
618
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
619
|
-
return de_CommandError(output, context);
|
|
620
|
-
}
|
|
621
|
-
const contents = smithyClient.map({
|
|
622
|
-
$metadata: deserializeMetadata(output),
|
|
623
|
-
});
|
|
624
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
625
|
-
const doc = smithyClient.take(data, {
|
|
626
|
-
NextToken: smithyClient.expectString,
|
|
627
|
-
ProfileResourceAssociations: (_) => de_ProfileResourceAssociations(_),
|
|
628
|
-
});
|
|
629
|
-
Object.assign(contents, doc);
|
|
630
|
-
return contents;
|
|
631
|
-
};
|
|
632
|
-
const de_ListProfilesCommand = async (output, context) => {
|
|
633
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
634
|
-
return de_CommandError(output, context);
|
|
635
|
-
}
|
|
636
|
-
const contents = smithyClient.map({
|
|
637
|
-
$metadata: deserializeMetadata(output),
|
|
638
|
-
});
|
|
639
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
640
|
-
const doc = smithyClient.take(data, {
|
|
641
|
-
NextToken: smithyClient.expectString,
|
|
642
|
-
ProfileSummaries: smithyClient._json,
|
|
643
|
-
});
|
|
644
|
-
Object.assign(contents, doc);
|
|
645
|
-
return contents;
|
|
646
|
-
};
|
|
647
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
648
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
649
|
-
return de_CommandError(output, context);
|
|
650
|
-
}
|
|
651
|
-
const contents = smithyClient.map({
|
|
652
|
-
$metadata: deserializeMetadata(output),
|
|
653
|
-
});
|
|
654
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
655
|
-
const doc = smithyClient.take(data, {
|
|
656
|
-
Tags: smithyClient._json,
|
|
657
|
-
});
|
|
658
|
-
Object.assign(contents, doc);
|
|
659
|
-
return contents;
|
|
660
|
-
};
|
|
661
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
662
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
663
|
-
return de_CommandError(output, context);
|
|
664
|
-
}
|
|
665
|
-
const contents = smithyClient.map({
|
|
666
|
-
$metadata: deserializeMetadata(output),
|
|
667
|
-
});
|
|
668
|
-
await smithyClient.collectBody(output.body, context);
|
|
669
|
-
return contents;
|
|
670
|
-
};
|
|
671
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
672
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
673
|
-
return de_CommandError(output, context);
|
|
674
|
-
}
|
|
675
|
-
const contents = smithyClient.map({
|
|
676
|
-
$metadata: deserializeMetadata(output),
|
|
677
|
-
});
|
|
678
|
-
await smithyClient.collectBody(output.body, context);
|
|
679
|
-
return contents;
|
|
680
|
-
};
|
|
681
|
-
const de_UpdateProfileResourceAssociationCommand = async (output, context) => {
|
|
682
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
683
|
-
return de_CommandError(output, context);
|
|
684
|
-
}
|
|
685
|
-
const contents = smithyClient.map({
|
|
686
|
-
$metadata: deserializeMetadata(output),
|
|
687
|
-
});
|
|
688
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
689
|
-
const doc = smithyClient.take(data, {
|
|
690
|
-
ProfileResourceAssociation: (_) => de_ProfileResourceAssociation(_),
|
|
691
|
-
});
|
|
692
|
-
Object.assign(contents, doc);
|
|
693
|
-
return contents;
|
|
694
|
-
};
|
|
695
|
-
const de_CommandError = async (output, context) => {
|
|
696
|
-
const parsedOutput = {
|
|
697
|
-
...output,
|
|
698
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
699
|
-
};
|
|
700
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
701
|
-
switch (errorCode) {
|
|
702
|
-
case "AccessDeniedException":
|
|
703
|
-
case "com.amazonaws.route53profiles#AccessDeniedException":
|
|
704
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
705
|
-
case "ConflictException":
|
|
706
|
-
case "com.amazonaws.route53profiles#ConflictException":
|
|
707
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
708
|
-
case "InvalidParameterException":
|
|
709
|
-
case "com.amazonaws.route53profiles#InvalidParameterException":
|
|
710
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput);
|
|
711
|
-
case "LimitExceededException":
|
|
712
|
-
case "com.amazonaws.route53profiles#LimitExceededException":
|
|
713
|
-
throw await de_LimitExceededExceptionRes(parsedOutput);
|
|
714
|
-
case "ResourceExistsException":
|
|
715
|
-
case "com.amazonaws.route53profiles#ResourceExistsException":
|
|
716
|
-
throw await de_ResourceExistsExceptionRes(parsedOutput);
|
|
717
|
-
case "ResourceNotFoundException":
|
|
718
|
-
case "com.amazonaws.route53profiles#ResourceNotFoundException":
|
|
719
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
720
|
-
case "ThrottlingException":
|
|
721
|
-
case "com.amazonaws.route53profiles#ThrottlingException":
|
|
722
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
723
|
-
case "ValidationException":
|
|
724
|
-
case "com.amazonaws.route53profiles#ValidationException":
|
|
725
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
726
|
-
case "InternalServiceErrorException":
|
|
727
|
-
case "com.amazonaws.route53profiles#InternalServiceErrorException":
|
|
728
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput);
|
|
729
|
-
case "InvalidNextTokenException":
|
|
730
|
-
case "com.amazonaws.route53profiles#InvalidNextTokenException":
|
|
731
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput);
|
|
732
|
-
default:
|
|
733
|
-
const parsedBody = parsedOutput.body;
|
|
734
|
-
return throwDefaultError({
|
|
735
|
-
output,
|
|
736
|
-
parsedBody,
|
|
737
|
-
errorCode,
|
|
738
|
-
});
|
|
739
|
-
}
|
|
740
|
-
};
|
|
741
|
-
const throwDefaultError = smithyClient.withBaseException(Route53ProfilesServiceException);
|
|
742
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
743
|
-
const contents = smithyClient.map({});
|
|
744
|
-
const data = parsedOutput.body;
|
|
745
|
-
const doc = smithyClient.take(data, {
|
|
746
|
-
Message: smithyClient.expectString,
|
|
747
|
-
});
|
|
748
|
-
Object.assign(contents, doc);
|
|
749
|
-
const exception = new AccessDeniedException({
|
|
750
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
751
|
-
...contents,
|
|
752
|
-
});
|
|
753
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
754
|
-
};
|
|
755
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
756
|
-
const contents = smithyClient.map({});
|
|
757
|
-
const data = parsedOutput.body;
|
|
758
|
-
const doc = smithyClient.take(data, {
|
|
759
|
-
Message: smithyClient.expectString,
|
|
760
|
-
});
|
|
761
|
-
Object.assign(contents, doc);
|
|
762
|
-
const exception = new ConflictException({
|
|
763
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
764
|
-
...contents,
|
|
765
|
-
});
|
|
766
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
767
|
-
};
|
|
768
|
-
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
769
|
-
const contents = smithyClient.map({});
|
|
770
|
-
const data = parsedOutput.body;
|
|
771
|
-
const doc = smithyClient.take(data, {
|
|
772
|
-
Message: smithyClient.expectString,
|
|
773
|
-
});
|
|
774
|
-
Object.assign(contents, doc);
|
|
775
|
-
const exception = new InternalServiceErrorException({
|
|
776
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
777
|
-
...contents,
|
|
778
|
-
});
|
|
779
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
780
|
-
};
|
|
781
|
-
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
782
|
-
const contents = smithyClient.map({});
|
|
783
|
-
const data = parsedOutput.body;
|
|
784
|
-
const doc = smithyClient.take(data, {
|
|
785
|
-
Message: smithyClient.expectString,
|
|
786
|
-
});
|
|
787
|
-
Object.assign(contents, doc);
|
|
788
|
-
const exception = new InvalidNextTokenException({
|
|
789
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
790
|
-
...contents,
|
|
791
|
-
});
|
|
792
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
793
|
-
};
|
|
794
|
-
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
795
|
-
const contents = smithyClient.map({});
|
|
796
|
-
const data = parsedOutput.body;
|
|
797
|
-
const doc = smithyClient.take(data, {
|
|
798
|
-
FieldName: smithyClient.expectString,
|
|
799
|
-
Message: smithyClient.expectString,
|
|
800
|
-
});
|
|
801
|
-
Object.assign(contents, doc);
|
|
802
|
-
const exception = new InvalidParameterException({
|
|
803
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
804
|
-
...contents,
|
|
805
|
-
});
|
|
806
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
807
|
-
};
|
|
808
|
-
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
809
|
-
const contents = smithyClient.map({});
|
|
810
|
-
const data = parsedOutput.body;
|
|
811
|
-
const doc = smithyClient.take(data, {
|
|
812
|
-
Message: smithyClient.expectString,
|
|
813
|
-
ResourceType: smithyClient.expectString,
|
|
814
|
-
});
|
|
815
|
-
Object.assign(contents, doc);
|
|
816
|
-
const exception = new LimitExceededException({
|
|
817
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
818
|
-
...contents,
|
|
819
|
-
});
|
|
820
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
821
|
-
};
|
|
822
|
-
const de_ResourceExistsExceptionRes = async (parsedOutput, context) => {
|
|
823
|
-
const contents = smithyClient.map({});
|
|
824
|
-
const data = parsedOutput.body;
|
|
825
|
-
const doc = smithyClient.take(data, {
|
|
826
|
-
Message: smithyClient.expectString,
|
|
827
|
-
ResourceType: smithyClient.expectString,
|
|
828
|
-
});
|
|
829
|
-
Object.assign(contents, doc);
|
|
830
|
-
const exception = new ResourceExistsException({
|
|
831
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
832
|
-
...contents,
|
|
833
|
-
});
|
|
834
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
835
|
-
};
|
|
836
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
837
|
-
const contents = smithyClient.map({});
|
|
838
|
-
const data = parsedOutput.body;
|
|
839
|
-
const doc = smithyClient.take(data, {
|
|
840
|
-
Message: smithyClient.expectString,
|
|
841
|
-
ResourceType: smithyClient.expectString,
|
|
842
|
-
});
|
|
843
|
-
Object.assign(contents, doc);
|
|
844
|
-
const exception = new ResourceNotFoundException({
|
|
845
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
846
|
-
...contents,
|
|
847
|
-
});
|
|
848
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
849
|
-
};
|
|
850
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
851
|
-
const contents = smithyClient.map({});
|
|
852
|
-
const data = parsedOutput.body;
|
|
853
|
-
const doc = smithyClient.take(data, {
|
|
854
|
-
Message: smithyClient.expectString,
|
|
855
|
-
});
|
|
856
|
-
Object.assign(contents, doc);
|
|
857
|
-
const exception = new ThrottlingException({
|
|
858
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
859
|
-
...contents,
|
|
860
|
-
});
|
|
861
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
862
|
-
};
|
|
863
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
864
|
-
const contents = smithyClient.map({});
|
|
865
|
-
const data = parsedOutput.body;
|
|
866
|
-
const doc = smithyClient.take(data, {
|
|
867
|
-
Message: smithyClient.expectString,
|
|
868
|
-
});
|
|
869
|
-
Object.assign(contents, doc);
|
|
870
|
-
const exception = new ValidationException({
|
|
871
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
872
|
-
...contents,
|
|
873
|
-
});
|
|
874
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
875
|
-
};
|
|
876
|
-
const de_Profile = (output, context) => {
|
|
877
|
-
return smithyClient.take(output, {
|
|
878
|
-
Arn: smithyClient.expectString,
|
|
879
|
-
ClientToken: smithyClient.expectString,
|
|
880
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
881
|
-
Id: smithyClient.expectString,
|
|
882
|
-
ModificationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
883
|
-
Name: smithyClient.expectString,
|
|
884
|
-
OwnerId: smithyClient.expectString,
|
|
885
|
-
ShareStatus: smithyClient.expectString,
|
|
886
|
-
Status: smithyClient.expectString,
|
|
887
|
-
StatusMessage: smithyClient.expectString,
|
|
888
|
-
});
|
|
889
|
-
};
|
|
890
|
-
const de_ProfileAssociation = (output, context) => {
|
|
891
|
-
return smithyClient.take(output, {
|
|
892
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
893
|
-
Id: smithyClient.expectString,
|
|
894
|
-
ModificationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
895
|
-
Name: smithyClient.expectString,
|
|
896
|
-
OwnerId: smithyClient.expectString,
|
|
897
|
-
ProfileId: smithyClient.expectString,
|
|
898
|
-
ResourceId: smithyClient.expectString,
|
|
899
|
-
Status: smithyClient.expectString,
|
|
900
|
-
StatusMessage: smithyClient.expectString,
|
|
901
|
-
});
|
|
902
|
-
};
|
|
903
|
-
const de_ProfileAssociations = (output, context) => {
|
|
904
|
-
const retVal = (output || [])
|
|
905
|
-
.filter((e) => e != null)
|
|
906
|
-
.map((entry) => {
|
|
907
|
-
return de_ProfileAssociation(entry);
|
|
908
|
-
});
|
|
909
|
-
return retVal;
|
|
910
|
-
};
|
|
911
|
-
const de_ProfileResourceAssociation = (output, context) => {
|
|
912
|
-
return smithyClient.take(output, {
|
|
913
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
914
|
-
Id: smithyClient.expectString,
|
|
915
|
-
ModificationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
916
|
-
Name: smithyClient.expectString,
|
|
917
|
-
OwnerId: smithyClient.expectString,
|
|
918
|
-
ProfileId: smithyClient.expectString,
|
|
919
|
-
ResourceArn: smithyClient.expectString,
|
|
920
|
-
ResourceProperties: smithyClient.expectString,
|
|
921
|
-
ResourceType: smithyClient.expectString,
|
|
922
|
-
Status: smithyClient.expectString,
|
|
923
|
-
StatusMessage: smithyClient.expectString,
|
|
924
|
-
});
|
|
925
|
-
};
|
|
926
|
-
const de_ProfileResourceAssociations = (output, context) => {
|
|
927
|
-
const retVal = (output || [])
|
|
928
|
-
.filter((e) => e != null)
|
|
929
|
-
.map((entry) => {
|
|
930
|
-
return de_ProfileResourceAssociation(entry);
|
|
931
|
-
});
|
|
932
|
-
return retVal;
|
|
933
|
-
};
|
|
934
|
-
const deserializeMetadata = (output) => ({
|
|
935
|
-
httpStatusCode: output.statusCode,
|
|
936
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
937
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
938
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
939
|
-
});
|
|
281
|
+
|
|
282
|
+
const _A = "Arn";
|
|
283
|
+
const _ADE = "AccessDeniedException";
|
|
284
|
+
const _AP = "AssociateProfile";
|
|
285
|
+
const _APR = "AssociateProfileRequest";
|
|
286
|
+
const _APRs = "AssociateProfileResponse";
|
|
287
|
+
const _ARTP = "AssociateResourceToProfile";
|
|
288
|
+
const _ARTPR = "AssociateResourceToProfileRequest";
|
|
289
|
+
const _ARTPRs = "AssociateResourceToProfileResponse";
|
|
290
|
+
const _CE = "ConflictException";
|
|
291
|
+
const _CP = "CreateProfile";
|
|
292
|
+
const _CPR = "CreateProfileRequest";
|
|
293
|
+
const _CPRr = "CreateProfileResponse";
|
|
294
|
+
const _CT = "ClientToken";
|
|
295
|
+
const _CTr = "CreationTime";
|
|
296
|
+
const _DP = "DeleteProfile";
|
|
297
|
+
const _DPR = "DeleteProfileRequest";
|
|
298
|
+
const _DPRe = "DeleteProfileResponse";
|
|
299
|
+
const _DPRi = "DisassociateProfileRequest";
|
|
300
|
+
const _DPRis = "DisassociateProfileResponse";
|
|
301
|
+
const _DPi = "DisassociateProfile";
|
|
302
|
+
const _DRFP = "DisassociateResourceFromProfile";
|
|
303
|
+
const _DRFPR = "DisassociateResourceFromProfileRequest";
|
|
304
|
+
const _DRFPRi = "DisassociateResourceFromProfileResponse";
|
|
305
|
+
const _FN = "FieldName";
|
|
306
|
+
const _GP = "GetProfile";
|
|
307
|
+
const _GPA = "GetProfileAssociation";
|
|
308
|
+
const _GPAR = "GetProfileAssociationRequest";
|
|
309
|
+
const _GPARe = "GetProfileAssociationResponse";
|
|
310
|
+
const _GPR = "GetProfileRequest";
|
|
311
|
+
const _GPRA = "GetProfileResourceAssociation";
|
|
312
|
+
const _GPRAR = "GetProfileResourceAssociationRequest";
|
|
313
|
+
const _GPRARe = "GetProfileResourceAssociationResponse";
|
|
314
|
+
const _GPRe = "GetProfileResponse";
|
|
315
|
+
const _I = "Id";
|
|
316
|
+
const _INTE = "InvalidNextTokenException";
|
|
317
|
+
const _IPE = "InvalidParameterException";
|
|
318
|
+
const _ISEE = "InternalServiceErrorException";
|
|
319
|
+
const _K = "Key";
|
|
320
|
+
const _LEE = "LimitExceededException";
|
|
321
|
+
const _LP = "ListProfiles";
|
|
322
|
+
const _LPA = "ListProfileAssociations";
|
|
323
|
+
const _LPAR = "ListProfileAssociationsRequest";
|
|
324
|
+
const _LPARi = "ListProfileAssociationsResponse";
|
|
325
|
+
const _LPR = "ListProfilesRequest";
|
|
326
|
+
const _LPRA = "ListProfileResourceAssociations";
|
|
327
|
+
const _LPRAR = "ListProfileResourceAssociationsRequest";
|
|
328
|
+
const _LPRARi = "ListProfileResourceAssociationsResponse";
|
|
329
|
+
const _LPRi = "ListProfilesResponse";
|
|
330
|
+
const _LTFR = "ListTagsForResource";
|
|
331
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
332
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
333
|
+
const _M = "Message";
|
|
940
334
|
const _MR = "MaxResults";
|
|
335
|
+
const _MT = "ModificationTime";
|
|
336
|
+
const _N = "Name";
|
|
941
337
|
const _NT = "NextToken";
|
|
338
|
+
const _OI = "OwnerId";
|
|
339
|
+
const _P = "Profile";
|
|
340
|
+
const _PA = "ProfileAssociation";
|
|
341
|
+
const _PAI = "ProfileAssociationId";
|
|
342
|
+
const _PAr = "ProfileAssociations";
|
|
942
343
|
const _PI = "ProfileId";
|
|
344
|
+
const _PRA = "ProfileResourceAssociation";
|
|
345
|
+
const _PRAI = "ProfileResourceAssociationId";
|
|
346
|
+
const _PRAr = "ProfileResourceAssociations";
|
|
347
|
+
const _PS = "ProfileSummaries";
|
|
348
|
+
const _PSL = "ProfileSummaryList";
|
|
349
|
+
const _PSr = "ProfileSummary";
|
|
350
|
+
const _RA = "ResourceArn";
|
|
351
|
+
const _REE = "ResourceExistsException";
|
|
943
352
|
const _RI = "ResourceId";
|
|
353
|
+
const _RNFE = "ResourceNotFoundException";
|
|
354
|
+
const _RP = "ResourceProperties";
|
|
944
355
|
const _RT = "ResourceType";
|
|
356
|
+
const _S = "Status";
|
|
357
|
+
const _SM = "StatusMessage";
|
|
358
|
+
const _SS = "ShareStatus";
|
|
359
|
+
const _T = "Tags";
|
|
360
|
+
const _TE = "ThrottlingException";
|
|
945
361
|
const _TK = "TagKeys";
|
|
362
|
+
const _TL = "TagList";
|
|
363
|
+
const _TR = "TagResource";
|
|
364
|
+
const _TRR = "TagResourceRequest";
|
|
365
|
+
const _TRRa = "TagResourceResponse";
|
|
366
|
+
const _Ta = "Tag";
|
|
367
|
+
const _UPRA = "UpdateProfileResourceAssociation";
|
|
368
|
+
const _UPRAR = "UpdateProfileResourceAssociationRequest";
|
|
369
|
+
const _UPRARp = "UpdateProfileResourceAssociationResponse";
|
|
370
|
+
const _UR = "UntagResource";
|
|
371
|
+
const _URR = "UntagResourceRequest";
|
|
372
|
+
const _URRn = "UntagResourceResponse";
|
|
373
|
+
const _V = "Value";
|
|
374
|
+
const _VE = "ValidationException";
|
|
375
|
+
const _c = "client";
|
|
376
|
+
const _e = "error";
|
|
377
|
+
const _h = "http";
|
|
378
|
+
const _hQ = "httpQuery";
|
|
946
379
|
const _mR = "maxResults";
|
|
947
380
|
const _nT = "nextToken";
|
|
948
381
|
const _pI = "profileId";
|
|
949
382
|
const _rI = "resourceId";
|
|
950
383
|
const _rT = "resourceType";
|
|
384
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.route53profiles";
|
|
951
385
|
const _tK = "tagKeys";
|
|
386
|
+
const n0 = "com.amazonaws.route53profiles";
|
|
387
|
+
var AccessDeniedException = [
|
|
388
|
+
-3,
|
|
389
|
+
n0,
|
|
390
|
+
_ADE,
|
|
391
|
+
{
|
|
392
|
+
[_e]: _c,
|
|
393
|
+
},
|
|
394
|
+
[_M],
|
|
395
|
+
[0],
|
|
396
|
+
];
|
|
397
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
398
|
+
var AssociateProfileRequest = [
|
|
399
|
+
3,
|
|
400
|
+
n0,
|
|
401
|
+
_APR,
|
|
402
|
+
0,
|
|
403
|
+
[_PI, _RI, _N, _T],
|
|
404
|
+
[0, 0, 0, () => TagList],
|
|
405
|
+
];
|
|
406
|
+
var AssociateProfileResponse = [3, n0, _APRs, 0, [_PA], [() => ProfileAssociation]];
|
|
407
|
+
var AssociateResourceToProfileRequest = [
|
|
408
|
+
3,
|
|
409
|
+
n0,
|
|
410
|
+
_ARTPR,
|
|
411
|
+
0,
|
|
412
|
+
[_PI, _RA, _N, _RP],
|
|
413
|
+
[0, 0, 0, 0],
|
|
414
|
+
];
|
|
415
|
+
var AssociateResourceToProfileResponse = [
|
|
416
|
+
3,
|
|
417
|
+
n0,
|
|
418
|
+
_ARTPRs,
|
|
419
|
+
0,
|
|
420
|
+
[_PRA],
|
|
421
|
+
[() => ProfileResourceAssociation],
|
|
422
|
+
];
|
|
423
|
+
var ConflictException = [
|
|
424
|
+
-3,
|
|
425
|
+
n0,
|
|
426
|
+
_CE,
|
|
427
|
+
{
|
|
428
|
+
[_e]: _c,
|
|
429
|
+
},
|
|
430
|
+
[_M],
|
|
431
|
+
[0],
|
|
432
|
+
];
|
|
433
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
434
|
+
var CreateProfileRequest = [3, n0, _CPR, 0, [_N, _CT, _T], [0, [0, 4], () => TagList]];
|
|
435
|
+
var CreateProfileResponse = [3, n0, _CPRr, 0, [_P], [() => Profile]];
|
|
436
|
+
var DeleteProfileRequest = [3, n0, _DPR, 0, [_PI], [[0, 1]]];
|
|
437
|
+
var DeleteProfileResponse = [3, n0, _DPRe, 0, [_P], [() => Profile]];
|
|
438
|
+
var DisassociateProfileRequest = [
|
|
439
|
+
3,
|
|
440
|
+
n0,
|
|
441
|
+
_DPRi,
|
|
442
|
+
0,
|
|
443
|
+
[_PI, _RI],
|
|
444
|
+
[
|
|
445
|
+
[0, 1],
|
|
446
|
+
[0, 1],
|
|
447
|
+
],
|
|
448
|
+
];
|
|
449
|
+
var DisassociateProfileResponse = [3, n0, _DPRis, 0, [_PA], [() => ProfileAssociation]];
|
|
450
|
+
var DisassociateResourceFromProfileRequest = [
|
|
451
|
+
3,
|
|
452
|
+
n0,
|
|
453
|
+
_DRFPR,
|
|
454
|
+
0,
|
|
455
|
+
[_PI, _RA],
|
|
456
|
+
[
|
|
457
|
+
[0, 1],
|
|
458
|
+
[0, 1],
|
|
459
|
+
],
|
|
460
|
+
];
|
|
461
|
+
var DisassociateResourceFromProfileResponse = [
|
|
462
|
+
3,
|
|
463
|
+
n0,
|
|
464
|
+
_DRFPRi,
|
|
465
|
+
0,
|
|
466
|
+
[_PRA],
|
|
467
|
+
[() => ProfileResourceAssociation],
|
|
468
|
+
];
|
|
469
|
+
var GetProfileAssociationRequest = [3, n0, _GPAR, 0, [_PAI], [[0, 1]]];
|
|
470
|
+
var GetProfileAssociationResponse = [3, n0, _GPARe, 0, [_PA], [() => ProfileAssociation]];
|
|
471
|
+
var GetProfileRequest = [3, n0, _GPR, 0, [_PI], [[0, 1]]];
|
|
472
|
+
var GetProfileResourceAssociationRequest = [3, n0, _GPRAR, 0, [_PRAI], [[0, 1]]];
|
|
473
|
+
var GetProfileResourceAssociationResponse = [
|
|
474
|
+
3,
|
|
475
|
+
n0,
|
|
476
|
+
_GPRARe,
|
|
477
|
+
0,
|
|
478
|
+
[_PRA],
|
|
479
|
+
[() => ProfileResourceAssociation],
|
|
480
|
+
];
|
|
481
|
+
var GetProfileResponse = [3, n0, _GPRe, 0, [_P], [() => Profile]];
|
|
482
|
+
var InternalServiceErrorException = [
|
|
483
|
+
-3,
|
|
484
|
+
n0,
|
|
485
|
+
_ISEE,
|
|
486
|
+
{
|
|
487
|
+
[_e]: _c,
|
|
488
|
+
},
|
|
489
|
+
[_M],
|
|
490
|
+
[0],
|
|
491
|
+
];
|
|
492
|
+
schema.TypeRegistry.for(n0).registerError(InternalServiceErrorException, InternalServiceErrorException$1);
|
|
493
|
+
var InvalidNextTokenException = [
|
|
494
|
+
-3,
|
|
495
|
+
n0,
|
|
496
|
+
_INTE,
|
|
497
|
+
{
|
|
498
|
+
[_e]: _c,
|
|
499
|
+
},
|
|
500
|
+
[_M],
|
|
501
|
+
[0],
|
|
502
|
+
];
|
|
503
|
+
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
|
|
504
|
+
var InvalidParameterException = [
|
|
505
|
+
-3,
|
|
506
|
+
n0,
|
|
507
|
+
_IPE,
|
|
508
|
+
{
|
|
509
|
+
[_e]: _c,
|
|
510
|
+
},
|
|
511
|
+
[_M, _FN],
|
|
512
|
+
[0, 0],
|
|
513
|
+
];
|
|
514
|
+
schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
|
|
515
|
+
var LimitExceededException = [
|
|
516
|
+
-3,
|
|
517
|
+
n0,
|
|
518
|
+
_LEE,
|
|
519
|
+
{
|
|
520
|
+
[_e]: _c,
|
|
521
|
+
},
|
|
522
|
+
[_M, _RT],
|
|
523
|
+
[0, 0],
|
|
524
|
+
];
|
|
525
|
+
schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
|
|
526
|
+
var ListProfileAssociationsRequest = [
|
|
527
|
+
3,
|
|
528
|
+
n0,
|
|
529
|
+
_LPAR,
|
|
530
|
+
0,
|
|
531
|
+
[_RI, _PI, _MR, _NT],
|
|
532
|
+
[
|
|
533
|
+
[
|
|
534
|
+
0,
|
|
535
|
+
{
|
|
536
|
+
[_hQ]: _rI,
|
|
537
|
+
},
|
|
538
|
+
],
|
|
539
|
+
[
|
|
540
|
+
0,
|
|
541
|
+
{
|
|
542
|
+
[_hQ]: _pI,
|
|
543
|
+
},
|
|
544
|
+
],
|
|
545
|
+
[
|
|
546
|
+
1,
|
|
547
|
+
{
|
|
548
|
+
[_hQ]: _mR,
|
|
549
|
+
},
|
|
550
|
+
],
|
|
551
|
+
[
|
|
552
|
+
0,
|
|
553
|
+
{
|
|
554
|
+
[_hQ]: _nT,
|
|
555
|
+
},
|
|
556
|
+
],
|
|
557
|
+
],
|
|
558
|
+
];
|
|
559
|
+
var ListProfileAssociationsResponse = [
|
|
560
|
+
3,
|
|
561
|
+
n0,
|
|
562
|
+
_LPARi,
|
|
563
|
+
0,
|
|
564
|
+
[_PAr, _NT],
|
|
565
|
+
[() => ProfileAssociations, 0],
|
|
566
|
+
];
|
|
567
|
+
var ListProfileResourceAssociationsRequest = [
|
|
568
|
+
3,
|
|
569
|
+
n0,
|
|
570
|
+
_LPRAR,
|
|
571
|
+
0,
|
|
572
|
+
[_PI, _RT, _MR, _NT],
|
|
573
|
+
[
|
|
574
|
+
[0, 1],
|
|
575
|
+
[
|
|
576
|
+
0,
|
|
577
|
+
{
|
|
578
|
+
[_hQ]: _rT,
|
|
579
|
+
},
|
|
580
|
+
],
|
|
581
|
+
[
|
|
582
|
+
1,
|
|
583
|
+
{
|
|
584
|
+
[_hQ]: _mR,
|
|
585
|
+
},
|
|
586
|
+
],
|
|
587
|
+
[
|
|
588
|
+
0,
|
|
589
|
+
{
|
|
590
|
+
[_hQ]: _nT,
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
],
|
|
594
|
+
];
|
|
595
|
+
var ListProfileResourceAssociationsResponse = [
|
|
596
|
+
3,
|
|
597
|
+
n0,
|
|
598
|
+
_LPRARi,
|
|
599
|
+
0,
|
|
600
|
+
[_PRAr, _NT],
|
|
601
|
+
[() => ProfileResourceAssociations, 0],
|
|
602
|
+
];
|
|
603
|
+
var ListProfilesRequest = [
|
|
604
|
+
3,
|
|
605
|
+
n0,
|
|
606
|
+
_LPR,
|
|
607
|
+
0,
|
|
608
|
+
[_MR, _NT],
|
|
609
|
+
[
|
|
610
|
+
[
|
|
611
|
+
1,
|
|
612
|
+
{
|
|
613
|
+
[_hQ]: _mR,
|
|
614
|
+
},
|
|
615
|
+
],
|
|
616
|
+
[
|
|
617
|
+
0,
|
|
618
|
+
{
|
|
619
|
+
[_hQ]: _nT,
|
|
620
|
+
},
|
|
621
|
+
],
|
|
622
|
+
],
|
|
623
|
+
];
|
|
624
|
+
var ListProfilesResponse = [3, n0, _LPRi, 0, [_PS, _NT], [() => ProfileSummaryList, 0]];
|
|
625
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
|
|
626
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [128 | 0]];
|
|
627
|
+
var Profile = [
|
|
628
|
+
3,
|
|
629
|
+
n0,
|
|
630
|
+
_P,
|
|
631
|
+
0,
|
|
632
|
+
[_I, _A, _N, _OI, _S, _SM, _SS, _CTr, _MT, _CT],
|
|
633
|
+
[0, 0, 0, 0, 0, 0, 0, 4, 4, 0],
|
|
634
|
+
];
|
|
635
|
+
var ProfileAssociation = [
|
|
636
|
+
3,
|
|
637
|
+
n0,
|
|
638
|
+
_PA,
|
|
639
|
+
0,
|
|
640
|
+
[_I, _N, _OI, _PI, _RI, _S, _SM, _CTr, _MT],
|
|
641
|
+
[0, 0, 0, 0, 0, 0, 0, 4, 4],
|
|
642
|
+
];
|
|
643
|
+
var ProfileResourceAssociation = [
|
|
644
|
+
3,
|
|
645
|
+
n0,
|
|
646
|
+
_PRA,
|
|
647
|
+
0,
|
|
648
|
+
[_I, _N, _OI, _PI, _RA, _RT, _RP, _S, _SM, _CTr, _MT],
|
|
649
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4],
|
|
650
|
+
];
|
|
651
|
+
var ProfileSummary = [3, n0, _PSr, 0, [_I, _A, _N, _SS], [0, 0, 0, 0]];
|
|
652
|
+
var ResourceExistsException = [
|
|
653
|
+
-3,
|
|
654
|
+
n0,
|
|
655
|
+
_REE,
|
|
656
|
+
{
|
|
657
|
+
[_e]: _c,
|
|
658
|
+
},
|
|
659
|
+
[_M, _RT],
|
|
660
|
+
[0, 0],
|
|
661
|
+
];
|
|
662
|
+
schema.TypeRegistry.for(n0).registerError(ResourceExistsException, ResourceExistsException$1);
|
|
663
|
+
var ResourceNotFoundException = [
|
|
664
|
+
-3,
|
|
665
|
+
n0,
|
|
666
|
+
_RNFE,
|
|
667
|
+
{
|
|
668
|
+
[_e]: _c,
|
|
669
|
+
},
|
|
670
|
+
[_M, _RT],
|
|
671
|
+
[0, 0],
|
|
672
|
+
];
|
|
673
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
674
|
+
var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
675
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_RA, _T], [[0, 1], 128 | 0]];
|
|
676
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
677
|
+
var ThrottlingException = [
|
|
678
|
+
-3,
|
|
679
|
+
n0,
|
|
680
|
+
_TE,
|
|
681
|
+
{
|
|
682
|
+
[_e]: _c,
|
|
683
|
+
},
|
|
684
|
+
[_M],
|
|
685
|
+
[0],
|
|
686
|
+
];
|
|
687
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
688
|
+
var UntagResourceRequest = [
|
|
689
|
+
3,
|
|
690
|
+
n0,
|
|
691
|
+
_URR,
|
|
692
|
+
0,
|
|
693
|
+
[_RA, _TK],
|
|
694
|
+
[
|
|
695
|
+
[0, 1],
|
|
696
|
+
[
|
|
697
|
+
64 | 0,
|
|
698
|
+
{
|
|
699
|
+
[_hQ]: _tK,
|
|
700
|
+
},
|
|
701
|
+
],
|
|
702
|
+
],
|
|
703
|
+
];
|
|
704
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
705
|
+
var UpdateProfileResourceAssociationRequest = [
|
|
706
|
+
3,
|
|
707
|
+
n0,
|
|
708
|
+
_UPRAR,
|
|
709
|
+
0,
|
|
710
|
+
[_PRAI, _N, _RP],
|
|
711
|
+
[[0, 1], 0, 0],
|
|
712
|
+
];
|
|
713
|
+
var UpdateProfileResourceAssociationResponse = [
|
|
714
|
+
3,
|
|
715
|
+
n0,
|
|
716
|
+
_UPRARp,
|
|
717
|
+
0,
|
|
718
|
+
[_PRA],
|
|
719
|
+
[() => ProfileResourceAssociation],
|
|
720
|
+
];
|
|
721
|
+
var ValidationException = [
|
|
722
|
+
-3,
|
|
723
|
+
n0,
|
|
724
|
+
_VE,
|
|
725
|
+
{
|
|
726
|
+
[_e]: _c,
|
|
727
|
+
},
|
|
728
|
+
[_M],
|
|
729
|
+
[0],
|
|
730
|
+
];
|
|
731
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
732
|
+
var Route53ProfilesServiceException = [-3, _s, "Route53ProfilesServiceException", 0, [], []];
|
|
733
|
+
schema.TypeRegistry.for(_s).registerError(Route53ProfilesServiceException, Route53ProfilesServiceException$1);
|
|
734
|
+
var ProfileAssociations = [1, n0, _PAr, 0, () => ProfileAssociation];
|
|
735
|
+
var ProfileResourceAssociations = [1, n0, _PRAr, 0, () => ProfileResourceAssociation];
|
|
736
|
+
var ProfileSummaryList = [1, n0, _PSL, 0, () => ProfileSummary];
|
|
737
|
+
var TagList = [1, n0, _TL, 0, () => Tag];
|
|
738
|
+
var AssociateProfile = [
|
|
739
|
+
9,
|
|
740
|
+
n0,
|
|
741
|
+
_AP,
|
|
742
|
+
{
|
|
743
|
+
[_h]: ["POST", "/profileassociation", 200],
|
|
744
|
+
},
|
|
745
|
+
() => AssociateProfileRequest,
|
|
746
|
+
() => AssociateProfileResponse,
|
|
747
|
+
];
|
|
748
|
+
var AssociateResourceToProfile = [
|
|
749
|
+
9,
|
|
750
|
+
n0,
|
|
751
|
+
_ARTP,
|
|
752
|
+
{
|
|
753
|
+
[_h]: ["POST", "/profileresourceassociation", 200],
|
|
754
|
+
},
|
|
755
|
+
() => AssociateResourceToProfileRequest,
|
|
756
|
+
() => AssociateResourceToProfileResponse,
|
|
757
|
+
];
|
|
758
|
+
var CreateProfile = [
|
|
759
|
+
9,
|
|
760
|
+
n0,
|
|
761
|
+
_CP,
|
|
762
|
+
{
|
|
763
|
+
[_h]: ["POST", "/profile", 200],
|
|
764
|
+
},
|
|
765
|
+
() => CreateProfileRequest,
|
|
766
|
+
() => CreateProfileResponse,
|
|
767
|
+
];
|
|
768
|
+
var DeleteProfile = [
|
|
769
|
+
9,
|
|
770
|
+
n0,
|
|
771
|
+
_DP,
|
|
772
|
+
{
|
|
773
|
+
[_h]: ["DELETE", "/profile/{ProfileId}", 200],
|
|
774
|
+
},
|
|
775
|
+
() => DeleteProfileRequest,
|
|
776
|
+
() => DeleteProfileResponse,
|
|
777
|
+
];
|
|
778
|
+
var DisassociateProfile = [
|
|
779
|
+
9,
|
|
780
|
+
n0,
|
|
781
|
+
_DPi,
|
|
782
|
+
{
|
|
783
|
+
[_h]: ["DELETE", "/profileassociation/Profileid/{ProfileId}/resourceid/{ResourceId}", 200],
|
|
784
|
+
},
|
|
785
|
+
() => DisassociateProfileRequest,
|
|
786
|
+
() => DisassociateProfileResponse,
|
|
787
|
+
];
|
|
788
|
+
var DisassociateResourceFromProfile = [
|
|
789
|
+
9,
|
|
790
|
+
n0,
|
|
791
|
+
_DRFP,
|
|
792
|
+
{
|
|
793
|
+
[_h]: ["DELETE", "/profileresourceassociation/profileid/{ProfileId}/resourcearn/{ResourceArn}", 200],
|
|
794
|
+
},
|
|
795
|
+
() => DisassociateResourceFromProfileRequest,
|
|
796
|
+
() => DisassociateResourceFromProfileResponse,
|
|
797
|
+
];
|
|
798
|
+
var GetProfile = [
|
|
799
|
+
9,
|
|
800
|
+
n0,
|
|
801
|
+
_GP,
|
|
802
|
+
{
|
|
803
|
+
[_h]: ["GET", "/profile/{ProfileId}", 200],
|
|
804
|
+
},
|
|
805
|
+
() => GetProfileRequest,
|
|
806
|
+
() => GetProfileResponse,
|
|
807
|
+
];
|
|
808
|
+
var GetProfileAssociation = [
|
|
809
|
+
9,
|
|
810
|
+
n0,
|
|
811
|
+
_GPA,
|
|
812
|
+
{
|
|
813
|
+
[_h]: ["GET", "/profileassociation/{ProfileAssociationId}", 200],
|
|
814
|
+
},
|
|
815
|
+
() => GetProfileAssociationRequest,
|
|
816
|
+
() => GetProfileAssociationResponse,
|
|
817
|
+
];
|
|
818
|
+
var GetProfileResourceAssociation = [
|
|
819
|
+
9,
|
|
820
|
+
n0,
|
|
821
|
+
_GPRA,
|
|
822
|
+
{
|
|
823
|
+
[_h]: ["GET", "/profileresourceassociation/{ProfileResourceAssociationId}", 200],
|
|
824
|
+
},
|
|
825
|
+
() => GetProfileResourceAssociationRequest,
|
|
826
|
+
() => GetProfileResourceAssociationResponse,
|
|
827
|
+
];
|
|
828
|
+
var ListProfileAssociations = [
|
|
829
|
+
9,
|
|
830
|
+
n0,
|
|
831
|
+
_LPA,
|
|
832
|
+
{
|
|
833
|
+
[_h]: ["GET", "/profileassociations", 200],
|
|
834
|
+
},
|
|
835
|
+
() => ListProfileAssociationsRequest,
|
|
836
|
+
() => ListProfileAssociationsResponse,
|
|
837
|
+
];
|
|
838
|
+
var ListProfileResourceAssociations = [
|
|
839
|
+
9,
|
|
840
|
+
n0,
|
|
841
|
+
_LPRA,
|
|
842
|
+
{
|
|
843
|
+
[_h]: ["GET", "/profileresourceassociations/profileid/{ProfileId}", 200],
|
|
844
|
+
},
|
|
845
|
+
() => ListProfileResourceAssociationsRequest,
|
|
846
|
+
() => ListProfileResourceAssociationsResponse,
|
|
847
|
+
];
|
|
848
|
+
var ListProfiles = [
|
|
849
|
+
9,
|
|
850
|
+
n0,
|
|
851
|
+
_LP,
|
|
852
|
+
{
|
|
853
|
+
[_h]: ["GET", "/profiles", 200],
|
|
854
|
+
},
|
|
855
|
+
() => ListProfilesRequest,
|
|
856
|
+
() => ListProfilesResponse,
|
|
857
|
+
];
|
|
858
|
+
var ListTagsForResource = [
|
|
859
|
+
9,
|
|
860
|
+
n0,
|
|
861
|
+
_LTFR,
|
|
862
|
+
{
|
|
863
|
+
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
864
|
+
},
|
|
865
|
+
() => ListTagsForResourceRequest,
|
|
866
|
+
() => ListTagsForResourceResponse,
|
|
867
|
+
];
|
|
868
|
+
var TagResource = [
|
|
869
|
+
9,
|
|
870
|
+
n0,
|
|
871
|
+
_TR,
|
|
872
|
+
{
|
|
873
|
+
[_h]: ["POST", "/tags/{ResourceArn}", 204],
|
|
874
|
+
},
|
|
875
|
+
() => TagResourceRequest,
|
|
876
|
+
() => TagResourceResponse,
|
|
877
|
+
];
|
|
878
|
+
var UntagResource = [
|
|
879
|
+
9,
|
|
880
|
+
n0,
|
|
881
|
+
_UR,
|
|
882
|
+
{
|
|
883
|
+
[_h]: ["DELETE", "/tags/{ResourceArn}", 204],
|
|
884
|
+
},
|
|
885
|
+
() => UntagResourceRequest,
|
|
886
|
+
() => UntagResourceResponse,
|
|
887
|
+
];
|
|
888
|
+
var UpdateProfileResourceAssociation = [
|
|
889
|
+
9,
|
|
890
|
+
n0,
|
|
891
|
+
_UPRA,
|
|
892
|
+
{
|
|
893
|
+
[_h]: ["PATCH", "/profileresourceassociation/{ProfileResourceAssociationId}", 200],
|
|
894
|
+
},
|
|
895
|
+
() => UpdateProfileResourceAssociationRequest,
|
|
896
|
+
() => UpdateProfileResourceAssociationResponse,
|
|
897
|
+
];
|
|
952
898
|
|
|
953
899
|
class AssociateProfileCommand extends smithyClient.Command
|
|
954
900
|
.classBuilder()
|
|
955
901
|
.ep(commonParams)
|
|
956
902
|
.m(function (Command, cs, config, o) {
|
|
957
|
-
return [
|
|
958
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
959
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
960
|
-
];
|
|
903
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
961
904
|
})
|
|
962
905
|
.s("Route53Profiles", "AssociateProfile", {})
|
|
963
906
|
.n("Route53ProfilesClient", "AssociateProfileCommand")
|
|
964
|
-
.
|
|
965
|
-
.ser(se_AssociateProfileCommand)
|
|
966
|
-
.de(de_AssociateProfileCommand)
|
|
907
|
+
.sc(AssociateProfile)
|
|
967
908
|
.build() {
|
|
968
909
|
}
|
|
969
910
|
|
|
@@ -971,16 +912,11 @@ class AssociateResourceToProfileCommand extends smithyClient.Command
|
|
|
971
912
|
.classBuilder()
|
|
972
913
|
.ep(commonParams)
|
|
973
914
|
.m(function (Command, cs, config, o) {
|
|
974
|
-
return [
|
|
975
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
976
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
977
|
-
];
|
|
915
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
978
916
|
})
|
|
979
917
|
.s("Route53Profiles", "AssociateResourceToProfile", {})
|
|
980
918
|
.n("Route53ProfilesClient", "AssociateResourceToProfileCommand")
|
|
981
|
-
.
|
|
982
|
-
.ser(se_AssociateResourceToProfileCommand)
|
|
983
|
-
.de(de_AssociateResourceToProfileCommand)
|
|
919
|
+
.sc(AssociateResourceToProfile)
|
|
984
920
|
.build() {
|
|
985
921
|
}
|
|
986
922
|
|
|
@@ -988,16 +924,11 @@ class CreateProfileCommand extends smithyClient.Command
|
|
|
988
924
|
.classBuilder()
|
|
989
925
|
.ep(commonParams)
|
|
990
926
|
.m(function (Command, cs, config, o) {
|
|
991
|
-
return [
|
|
992
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
993
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
994
|
-
];
|
|
927
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
995
928
|
})
|
|
996
929
|
.s("Route53Profiles", "CreateProfile", {})
|
|
997
930
|
.n("Route53ProfilesClient", "CreateProfileCommand")
|
|
998
|
-
.
|
|
999
|
-
.ser(se_CreateProfileCommand)
|
|
1000
|
-
.de(de_CreateProfileCommand)
|
|
931
|
+
.sc(CreateProfile)
|
|
1001
932
|
.build() {
|
|
1002
933
|
}
|
|
1003
934
|
|
|
@@ -1005,16 +936,11 @@ class DeleteProfileCommand extends smithyClient.Command
|
|
|
1005
936
|
.classBuilder()
|
|
1006
937
|
.ep(commonParams)
|
|
1007
938
|
.m(function (Command, cs, config, o) {
|
|
1008
|
-
return [
|
|
1009
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1010
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1011
|
-
];
|
|
939
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1012
940
|
})
|
|
1013
941
|
.s("Route53Profiles", "DeleteProfile", {})
|
|
1014
942
|
.n("Route53ProfilesClient", "DeleteProfileCommand")
|
|
1015
|
-
.
|
|
1016
|
-
.ser(se_DeleteProfileCommand)
|
|
1017
|
-
.de(de_DeleteProfileCommand)
|
|
943
|
+
.sc(DeleteProfile)
|
|
1018
944
|
.build() {
|
|
1019
945
|
}
|
|
1020
946
|
|
|
@@ -1022,16 +948,11 @@ class DisassociateProfileCommand extends smithyClient.Command
|
|
|
1022
948
|
.classBuilder()
|
|
1023
949
|
.ep(commonParams)
|
|
1024
950
|
.m(function (Command, cs, config, o) {
|
|
1025
|
-
return [
|
|
1026
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1027
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1028
|
-
];
|
|
951
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1029
952
|
})
|
|
1030
953
|
.s("Route53Profiles", "DisassociateProfile", {})
|
|
1031
954
|
.n("Route53ProfilesClient", "DisassociateProfileCommand")
|
|
1032
|
-
.
|
|
1033
|
-
.ser(se_DisassociateProfileCommand)
|
|
1034
|
-
.de(de_DisassociateProfileCommand)
|
|
955
|
+
.sc(DisassociateProfile)
|
|
1035
956
|
.build() {
|
|
1036
957
|
}
|
|
1037
958
|
|
|
@@ -1039,16 +960,11 @@ class DisassociateResourceFromProfileCommand extends smithyClient.Command
|
|
|
1039
960
|
.classBuilder()
|
|
1040
961
|
.ep(commonParams)
|
|
1041
962
|
.m(function (Command, cs, config, o) {
|
|
1042
|
-
return [
|
|
1043
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1044
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1045
|
-
];
|
|
963
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1046
964
|
})
|
|
1047
965
|
.s("Route53Profiles", "DisassociateResourceFromProfile", {})
|
|
1048
966
|
.n("Route53ProfilesClient", "DisassociateResourceFromProfileCommand")
|
|
1049
|
-
.
|
|
1050
|
-
.ser(se_DisassociateResourceFromProfileCommand)
|
|
1051
|
-
.de(de_DisassociateResourceFromProfileCommand)
|
|
967
|
+
.sc(DisassociateResourceFromProfile)
|
|
1052
968
|
.build() {
|
|
1053
969
|
}
|
|
1054
970
|
|
|
@@ -1056,16 +972,11 @@ class GetProfileAssociationCommand extends smithyClient.Command
|
|
|
1056
972
|
.classBuilder()
|
|
1057
973
|
.ep(commonParams)
|
|
1058
974
|
.m(function (Command, cs, config, o) {
|
|
1059
|
-
return [
|
|
1060
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1061
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1062
|
-
];
|
|
975
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1063
976
|
})
|
|
1064
977
|
.s("Route53Profiles", "GetProfileAssociation", {})
|
|
1065
978
|
.n("Route53ProfilesClient", "GetProfileAssociationCommand")
|
|
1066
|
-
.
|
|
1067
|
-
.ser(se_GetProfileAssociationCommand)
|
|
1068
|
-
.de(de_GetProfileAssociationCommand)
|
|
979
|
+
.sc(GetProfileAssociation)
|
|
1069
980
|
.build() {
|
|
1070
981
|
}
|
|
1071
982
|
|
|
@@ -1073,16 +984,11 @@ class GetProfileCommand extends smithyClient.Command
|
|
|
1073
984
|
.classBuilder()
|
|
1074
985
|
.ep(commonParams)
|
|
1075
986
|
.m(function (Command, cs, config, o) {
|
|
1076
|
-
return [
|
|
1077
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1078
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1079
|
-
];
|
|
987
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1080
988
|
})
|
|
1081
989
|
.s("Route53Profiles", "GetProfile", {})
|
|
1082
990
|
.n("Route53ProfilesClient", "GetProfileCommand")
|
|
1083
|
-
.
|
|
1084
|
-
.ser(se_GetProfileCommand)
|
|
1085
|
-
.de(de_GetProfileCommand)
|
|
991
|
+
.sc(GetProfile)
|
|
1086
992
|
.build() {
|
|
1087
993
|
}
|
|
1088
994
|
|
|
@@ -1090,16 +996,11 @@ class GetProfileResourceAssociationCommand extends smithyClient.Command
|
|
|
1090
996
|
.classBuilder()
|
|
1091
997
|
.ep(commonParams)
|
|
1092
998
|
.m(function (Command, cs, config, o) {
|
|
1093
|
-
return [
|
|
1094
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1095
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1096
|
-
];
|
|
999
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1097
1000
|
})
|
|
1098
1001
|
.s("Route53Profiles", "GetProfileResourceAssociation", {})
|
|
1099
1002
|
.n("Route53ProfilesClient", "GetProfileResourceAssociationCommand")
|
|
1100
|
-
.
|
|
1101
|
-
.ser(se_GetProfileResourceAssociationCommand)
|
|
1102
|
-
.de(de_GetProfileResourceAssociationCommand)
|
|
1003
|
+
.sc(GetProfileResourceAssociation)
|
|
1103
1004
|
.build() {
|
|
1104
1005
|
}
|
|
1105
1006
|
|
|
@@ -1107,16 +1008,11 @@ class ListProfileAssociationsCommand extends smithyClient.Command
|
|
|
1107
1008
|
.classBuilder()
|
|
1108
1009
|
.ep(commonParams)
|
|
1109
1010
|
.m(function (Command, cs, config, o) {
|
|
1110
|
-
return [
|
|
1111
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1112
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1113
|
-
];
|
|
1011
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1114
1012
|
})
|
|
1115
1013
|
.s("Route53Profiles", "ListProfileAssociations", {})
|
|
1116
1014
|
.n("Route53ProfilesClient", "ListProfileAssociationsCommand")
|
|
1117
|
-
.
|
|
1118
|
-
.ser(se_ListProfileAssociationsCommand)
|
|
1119
|
-
.de(de_ListProfileAssociationsCommand)
|
|
1015
|
+
.sc(ListProfileAssociations)
|
|
1120
1016
|
.build() {
|
|
1121
1017
|
}
|
|
1122
1018
|
|
|
@@ -1124,16 +1020,11 @@ class ListProfileResourceAssociationsCommand extends smithyClient.Command
|
|
|
1124
1020
|
.classBuilder()
|
|
1125
1021
|
.ep(commonParams)
|
|
1126
1022
|
.m(function (Command, cs, config, o) {
|
|
1127
|
-
return [
|
|
1128
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1129
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1130
|
-
];
|
|
1023
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1131
1024
|
})
|
|
1132
1025
|
.s("Route53Profiles", "ListProfileResourceAssociations", {})
|
|
1133
1026
|
.n("Route53ProfilesClient", "ListProfileResourceAssociationsCommand")
|
|
1134
|
-
.
|
|
1135
|
-
.ser(se_ListProfileResourceAssociationsCommand)
|
|
1136
|
-
.de(de_ListProfileResourceAssociationsCommand)
|
|
1027
|
+
.sc(ListProfileResourceAssociations)
|
|
1137
1028
|
.build() {
|
|
1138
1029
|
}
|
|
1139
1030
|
|
|
@@ -1141,16 +1032,11 @@ class ListProfilesCommand extends smithyClient.Command
|
|
|
1141
1032
|
.classBuilder()
|
|
1142
1033
|
.ep(commonParams)
|
|
1143
1034
|
.m(function (Command, cs, config, o) {
|
|
1144
|
-
return [
|
|
1145
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1146
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1147
|
-
];
|
|
1035
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1148
1036
|
})
|
|
1149
1037
|
.s("Route53Profiles", "ListProfiles", {})
|
|
1150
1038
|
.n("Route53ProfilesClient", "ListProfilesCommand")
|
|
1151
|
-
.
|
|
1152
|
-
.ser(se_ListProfilesCommand)
|
|
1153
|
-
.de(de_ListProfilesCommand)
|
|
1039
|
+
.sc(ListProfiles)
|
|
1154
1040
|
.build() {
|
|
1155
1041
|
}
|
|
1156
1042
|
|
|
@@ -1158,16 +1044,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1158
1044
|
.classBuilder()
|
|
1159
1045
|
.ep(commonParams)
|
|
1160
1046
|
.m(function (Command, cs, config, o) {
|
|
1161
|
-
return [
|
|
1162
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1163
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1164
|
-
];
|
|
1047
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1165
1048
|
})
|
|
1166
1049
|
.s("Route53Profiles", "ListTagsForResource", {})
|
|
1167
1050
|
.n("Route53ProfilesClient", "ListTagsForResourceCommand")
|
|
1168
|
-
.
|
|
1169
|
-
.ser(se_ListTagsForResourceCommand)
|
|
1170
|
-
.de(de_ListTagsForResourceCommand)
|
|
1051
|
+
.sc(ListTagsForResource)
|
|
1171
1052
|
.build() {
|
|
1172
1053
|
}
|
|
1173
1054
|
|
|
@@ -1175,16 +1056,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
1175
1056
|
.classBuilder()
|
|
1176
1057
|
.ep(commonParams)
|
|
1177
1058
|
.m(function (Command, cs, config, o) {
|
|
1178
|
-
return [
|
|
1179
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1180
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1181
|
-
];
|
|
1059
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1182
1060
|
})
|
|
1183
1061
|
.s("Route53Profiles", "TagResource", {})
|
|
1184
1062
|
.n("Route53ProfilesClient", "TagResourceCommand")
|
|
1185
|
-
.
|
|
1186
|
-
.ser(se_TagResourceCommand)
|
|
1187
|
-
.de(de_TagResourceCommand)
|
|
1063
|
+
.sc(TagResource)
|
|
1188
1064
|
.build() {
|
|
1189
1065
|
}
|
|
1190
1066
|
|
|
@@ -1192,16 +1068,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1192
1068
|
.classBuilder()
|
|
1193
1069
|
.ep(commonParams)
|
|
1194
1070
|
.m(function (Command, cs, config, o) {
|
|
1195
|
-
return [
|
|
1196
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1197
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1198
|
-
];
|
|
1071
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1199
1072
|
})
|
|
1200
1073
|
.s("Route53Profiles", "UntagResource", {})
|
|
1201
1074
|
.n("Route53ProfilesClient", "UntagResourceCommand")
|
|
1202
|
-
.
|
|
1203
|
-
.ser(se_UntagResourceCommand)
|
|
1204
|
-
.de(de_UntagResourceCommand)
|
|
1075
|
+
.sc(UntagResource)
|
|
1205
1076
|
.build() {
|
|
1206
1077
|
}
|
|
1207
1078
|
|
|
@@ -1209,16 +1080,11 @@ class UpdateProfileResourceAssociationCommand extends smithyClient.Command
|
|
|
1209
1080
|
.classBuilder()
|
|
1210
1081
|
.ep(commonParams)
|
|
1211
1082
|
.m(function (Command, cs, config, o) {
|
|
1212
|
-
return [
|
|
1213
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1214
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1215
|
-
];
|
|
1083
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1216
1084
|
})
|
|
1217
1085
|
.s("Route53Profiles", "UpdateProfileResourceAssociation", {})
|
|
1218
1086
|
.n("Route53ProfilesClient", "UpdateProfileResourceAssociationCommand")
|
|
1219
|
-
.
|
|
1220
|
-
.ser(se_UpdateProfileResourceAssociationCommand)
|
|
1221
|
-
.de(de_UpdateProfileResourceAssociationCommand)
|
|
1087
|
+
.sc(UpdateProfileResourceAssociation)
|
|
1222
1088
|
.build() {
|
|
1223
1089
|
}
|
|
1224
1090
|
|
|
@@ -1258,10 +1124,10 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1258
1124
|
enumerable: true,
|
|
1259
1125
|
get: function () { return smithyClient.Client; }
|
|
1260
1126
|
});
|
|
1261
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1127
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1262
1128
|
exports.AssociateProfileCommand = AssociateProfileCommand;
|
|
1263
1129
|
exports.AssociateResourceToProfileCommand = AssociateResourceToProfileCommand;
|
|
1264
|
-
exports.ConflictException = ConflictException;
|
|
1130
|
+
exports.ConflictException = ConflictException$1;
|
|
1265
1131
|
exports.CreateProfileCommand = CreateProfileCommand;
|
|
1266
1132
|
exports.DeleteProfileCommand = DeleteProfileCommand;
|
|
1267
1133
|
exports.DisassociateProfileCommand = DisassociateProfileCommand;
|
|
@@ -1269,26 +1135,26 @@ exports.DisassociateResourceFromProfileCommand = DisassociateResourceFromProfile
|
|
|
1269
1135
|
exports.GetProfileAssociationCommand = GetProfileAssociationCommand;
|
|
1270
1136
|
exports.GetProfileCommand = GetProfileCommand;
|
|
1271
1137
|
exports.GetProfileResourceAssociationCommand = GetProfileResourceAssociationCommand;
|
|
1272
|
-
exports.InternalServiceErrorException = InternalServiceErrorException;
|
|
1273
|
-
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
1274
|
-
exports.InvalidParameterException = InvalidParameterException;
|
|
1275
|
-
exports.LimitExceededException = LimitExceededException;
|
|
1138
|
+
exports.InternalServiceErrorException = InternalServiceErrorException$1;
|
|
1139
|
+
exports.InvalidNextTokenException = InvalidNextTokenException$1;
|
|
1140
|
+
exports.InvalidParameterException = InvalidParameterException$1;
|
|
1141
|
+
exports.LimitExceededException = LimitExceededException$1;
|
|
1276
1142
|
exports.ListProfileAssociationsCommand = ListProfileAssociationsCommand;
|
|
1277
1143
|
exports.ListProfileResourceAssociationsCommand = ListProfileResourceAssociationsCommand;
|
|
1278
1144
|
exports.ListProfilesCommand = ListProfilesCommand;
|
|
1279
1145
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1280
1146
|
exports.ProfileStatus = ProfileStatus;
|
|
1281
|
-
exports.ResourceExistsException = ResourceExistsException;
|
|
1282
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1147
|
+
exports.ResourceExistsException = ResourceExistsException$1;
|
|
1148
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1283
1149
|
exports.Route53Profiles = Route53Profiles;
|
|
1284
1150
|
exports.Route53ProfilesClient = Route53ProfilesClient;
|
|
1285
|
-
exports.Route53ProfilesServiceException = Route53ProfilesServiceException;
|
|
1151
|
+
exports.Route53ProfilesServiceException = Route53ProfilesServiceException$1;
|
|
1286
1152
|
exports.ShareStatus = ShareStatus;
|
|
1287
1153
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1288
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1154
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1289
1155
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1290
1156
|
exports.UpdateProfileResourceAssociationCommand = UpdateProfileResourceAssociationCommand;
|
|
1291
|
-
exports.ValidationException = ValidationException;
|
|
1157
|
+
exports.ValidationException = ValidationException$1;
|
|
1292
1158
|
exports.paginateListProfileAssociations = paginateListProfileAssociations;
|
|
1293
1159
|
exports.paginateListProfileResourceAssociations = paginateListProfileResourceAssociations;
|
|
1294
1160
|
exports.paginateListProfiles = paginateListProfiles;
|