@aws-sdk/client-vpc-lattice 3.699.0 → 3.709.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/README.md +136 -0
- package/dist-cjs/index.js +1223 -25
- package/dist-es/VPCLattice.js +34 -0
- package/dist-es/commands/CreateResourceConfigurationCommand.js +22 -0
- package/dist-es/commands/CreateResourceGatewayCommand.js +22 -0
- package/dist-es/commands/CreateServiceNetworkResourceAssociationCommand.js +22 -0
- package/dist-es/commands/DeleteResourceConfigurationCommand.js +22 -0
- package/dist-es/commands/DeleteResourceEndpointAssociationCommand.js +22 -0
- package/dist-es/commands/DeleteResourceGatewayCommand.js +22 -0
- package/dist-es/commands/DeleteServiceNetworkResourceAssociationCommand.js +22 -0
- package/dist-es/commands/GetResourceConfigurationCommand.js +22 -0
- package/dist-es/commands/GetResourceGatewayCommand.js +22 -0
- package/dist-es/commands/GetServiceNetworkResourceAssociationCommand.js +22 -0
- package/dist-es/commands/ListResourceConfigurationsCommand.js +22 -0
- package/dist-es/commands/ListResourceEndpointAssociationsCommand.js +22 -0
- package/dist-es/commands/ListResourceGatewaysCommand.js +22 -0
- package/dist-es/commands/ListServiceNetworkResourceAssociationsCommand.js +22 -0
- package/dist-es/commands/ListServiceNetworkVpcEndpointAssociationsCommand.js +22 -0
- package/dist-es/commands/UpdateResourceConfigurationCommand.js +22 -0
- package/dist-es/commands/UpdateResourceGatewayCommand.js +22 -0
- package/dist-es/commands/index.js +17 -0
- package/dist-es/models/models_0.js +61 -0
- package/dist-es/pagination/ListResourceConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListResourceEndpointAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListResourceGatewaysPaginator.js +4 -0
- package/dist-es/pagination/ListServiceNetworkResourceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListServiceNetworkVpcEndpointAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +671 -0
- package/dist-types/VPCLattice.d.ts +122 -0
- package/dist-types/VPCLatticeClient.d.ts +19 -2
- package/dist-types/commands/CreateAccessLogSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/CreateResourceConfigurationCommand.d.ts +144 -0
- package/dist-types/commands/CreateResourceGatewayCommand.d.ts +117 -0
- package/dist-types/commands/CreateServiceNetworkCommand.d.ts +6 -0
- package/dist-types/commands/CreateServiceNetworkResourceAssociationCommand.d.ts +104 -0
- package/dist-types/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAuthPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteResourceConfigurationCommand.d.ts +89 -0
- package/dist-types/commands/DeleteResourceEndpointAssociationCommand.d.ts +91 -0
- package/dist-types/commands/DeleteResourceGatewayCommand.d.ts +94 -0
- package/dist-types/commands/DeleteServiceNetworkResourceAssociationCommand.d.ts +93 -0
- package/dist-types/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetAccessLogSubscriptionCommand.d.ts +1 -0
- package/dist-types/commands/GetResourceConfigurationCommand.d.ts +115 -0
- package/dist-types/commands/GetResourceGatewayCommand.d.ts +100 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetServiceNetworkCommand.d.ts +3 -0
- package/dist-types/commands/GetServiceNetworkResourceAssociationCommand.d.ts +109 -0
- package/dist-types/commands/GetServiceNetworkServiceAssociationCommand.d.ts +1 -2
- package/dist-types/commands/GetServiceNetworkVpcAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ListAccessLogSubscriptionsCommand.d.ts +2 -1
- package/dist-types/commands/ListResourceConfigurationsCommand.d.ts +101 -0
- package/dist-types/commands/ListResourceEndpointAssociationsCommand.d.ts +102 -0
- package/dist-types/commands/ListResourceGatewaysCommand.d.ts +103 -0
- package/dist-types/commands/ListRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListServiceNetworkResourceAssociationsCommand.d.ts +112 -0
- package/dist-types/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +4 -5
- package/dist-types/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +2 -3
- package/dist-types/commands/ListServiceNetworkVpcEndpointAssociationsCommand.d.ts +97 -0
- package/dist-types/commands/ListServiceNetworksCommand.d.ts +3 -2
- package/dist-types/commands/PutAuthPolicyCommand.d.ts +2 -2
- package/dist-types/commands/UpdateListenerCommand.d.ts +3 -0
- package/dist-types/commands/UpdateResourceConfigurationCommand.d.ts +129 -0
- package/dist-types/commands/UpdateResourceGatewayCommand.d.ts +101 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +4 -1
- package/dist-types/commands/UpdateServiceCommand.d.ts +3 -0
- package/dist-types/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTargetGroupCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +17 -0
- package/dist-types/models/models_0.d.ts +2687 -987
- package/dist-types/pagination/ListResourceConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourceEndpointAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourceGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceNetworkResourceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceNetworkVpcEndpointAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +153 -0
- package/dist-types/ts3.4/VPCLattice.d.ts +328 -0
- package/dist-types/ts3.4/VPCLatticeClient.d.ts +102 -0
- package/dist-types/ts3.4/commands/CreateResourceConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateResourceGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateServiceNetworkResourceAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResourceConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResourceEndpointAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResourceGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteServiceNetworkResourceAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourceConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourceGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetServiceNetworkResourceAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListResourceConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListResourceEndpointAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListResourceGatewaysCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListServiceNetworkResourceAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListServiceNetworkVpcEndpointAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateResourceConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateResourceGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/models/models_0.d.ts +416 -0
- package/dist-types/ts3.4/pagination/ListResourceConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceEndpointAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceNetworkResourceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceNetworkVpcEndpointAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +204 -0
- package/package.json +35 -35
|
@@ -30,6 +30,7 @@ export const se_CreateAccessLogSubscriptionCommand = async (input, context) => {
|
|
|
30
30
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
31
31
|
destinationArn: [],
|
|
32
32
|
resourceIdentifier: [],
|
|
33
|
+
serviceNetworkLogType: [],
|
|
33
34
|
tags: (_) => _json(_),
|
|
34
35
|
}));
|
|
35
36
|
b.m("POST").h(headers).b(body);
|
|
@@ -54,6 +55,47 @@ export const se_CreateListenerCommand = async (input, context) => {
|
|
|
54
55
|
b.m("POST").h(headers).b(body);
|
|
55
56
|
return b.build();
|
|
56
57
|
};
|
|
58
|
+
export const se_CreateResourceConfigurationCommand = async (input, context) => {
|
|
59
|
+
const b = rb(input, context);
|
|
60
|
+
const headers = {
|
|
61
|
+
"content-type": "application/json",
|
|
62
|
+
};
|
|
63
|
+
b.bp("/resourceconfigurations");
|
|
64
|
+
let body;
|
|
65
|
+
body = JSON.stringify(take(input, {
|
|
66
|
+
allowAssociationToShareableServiceNetwork: [],
|
|
67
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
68
|
+
name: [],
|
|
69
|
+
portRanges: (_) => _json(_),
|
|
70
|
+
protocol: [],
|
|
71
|
+
resourceConfigurationDefinition: (_) => _json(_),
|
|
72
|
+
resourceConfigurationGroupIdentifier: [],
|
|
73
|
+
resourceGatewayIdentifier: [],
|
|
74
|
+
tags: (_) => _json(_),
|
|
75
|
+
type: [],
|
|
76
|
+
}));
|
|
77
|
+
b.m("POST").h(headers).b(body);
|
|
78
|
+
return b.build();
|
|
79
|
+
};
|
|
80
|
+
export const se_CreateResourceGatewayCommand = async (input, context) => {
|
|
81
|
+
const b = rb(input, context);
|
|
82
|
+
const headers = {
|
|
83
|
+
"content-type": "application/json",
|
|
84
|
+
};
|
|
85
|
+
b.bp("/resourcegateways");
|
|
86
|
+
let body;
|
|
87
|
+
body = JSON.stringify(take(input, {
|
|
88
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
89
|
+
ipAddressType: [],
|
|
90
|
+
name: [],
|
|
91
|
+
securityGroupIds: (_) => _json(_),
|
|
92
|
+
subnetIds: (_) => _json(_),
|
|
93
|
+
tags: (_) => _json(_),
|
|
94
|
+
vpcIdentifier: [],
|
|
95
|
+
}));
|
|
96
|
+
b.m("POST").h(headers).b(body);
|
|
97
|
+
return b.build();
|
|
98
|
+
};
|
|
57
99
|
export const se_CreateRuleCommand = async (input, context) => {
|
|
58
100
|
const b = rb(input, context);
|
|
59
101
|
const headers = {
|
|
@@ -103,6 +145,23 @@ export const se_CreateServiceNetworkCommand = async (input, context) => {
|
|
|
103
145
|
authType: [],
|
|
104
146
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
105
147
|
name: [],
|
|
148
|
+
sharingConfig: (_) => _json(_),
|
|
149
|
+
tags: (_) => _json(_),
|
|
150
|
+
}));
|
|
151
|
+
b.m("POST").h(headers).b(body);
|
|
152
|
+
return b.build();
|
|
153
|
+
};
|
|
154
|
+
export const se_CreateServiceNetworkResourceAssociationCommand = async (input, context) => {
|
|
155
|
+
const b = rb(input, context);
|
|
156
|
+
const headers = {
|
|
157
|
+
"content-type": "application/json",
|
|
158
|
+
};
|
|
159
|
+
b.bp("/servicenetworkresourceassociations");
|
|
160
|
+
let body;
|
|
161
|
+
body = JSON.stringify(take(input, {
|
|
162
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
163
|
+
resourceConfigurationIdentifier: [],
|
|
164
|
+
serviceNetworkIdentifier: [],
|
|
106
165
|
tags: (_) => _json(_),
|
|
107
166
|
}));
|
|
108
167
|
b.m("POST").h(headers).b(body);
|
|
@@ -186,6 +245,33 @@ export const se_DeleteListenerCommand = async (input, context) => {
|
|
|
186
245
|
b.m("DELETE").h(headers).b(body);
|
|
187
246
|
return b.build();
|
|
188
247
|
};
|
|
248
|
+
export const se_DeleteResourceConfigurationCommand = async (input, context) => {
|
|
249
|
+
const b = rb(input, context);
|
|
250
|
+
const headers = {};
|
|
251
|
+
b.bp("/resourceconfigurations/{resourceConfigurationIdentifier}");
|
|
252
|
+
b.p("resourceConfigurationIdentifier", () => input.resourceConfigurationIdentifier, "{resourceConfigurationIdentifier}", false);
|
|
253
|
+
let body;
|
|
254
|
+
b.m("DELETE").h(headers).b(body);
|
|
255
|
+
return b.build();
|
|
256
|
+
};
|
|
257
|
+
export const se_DeleteResourceEndpointAssociationCommand = async (input, context) => {
|
|
258
|
+
const b = rb(input, context);
|
|
259
|
+
const headers = {};
|
|
260
|
+
b.bp("/resourceendpointassociations/{resourceEndpointAssociationIdentifier}");
|
|
261
|
+
b.p("resourceEndpointAssociationIdentifier", () => input.resourceEndpointAssociationIdentifier, "{resourceEndpointAssociationIdentifier}", false);
|
|
262
|
+
let body;
|
|
263
|
+
b.m("DELETE").h(headers).b(body);
|
|
264
|
+
return b.build();
|
|
265
|
+
};
|
|
266
|
+
export const se_DeleteResourceGatewayCommand = async (input, context) => {
|
|
267
|
+
const b = rb(input, context);
|
|
268
|
+
const headers = {};
|
|
269
|
+
b.bp("/resourcegateways/{resourceGatewayIdentifier}");
|
|
270
|
+
b.p("resourceGatewayIdentifier", () => input.resourceGatewayIdentifier, "{resourceGatewayIdentifier}", false);
|
|
271
|
+
let body;
|
|
272
|
+
b.m("DELETE").h(headers).b(body);
|
|
273
|
+
return b.build();
|
|
274
|
+
};
|
|
189
275
|
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
190
276
|
const b = rb(input, context);
|
|
191
277
|
const headers = {};
|
|
@@ -224,6 +310,15 @@ export const se_DeleteServiceNetworkCommand = async (input, context) => {
|
|
|
224
310
|
b.m("DELETE").h(headers).b(body);
|
|
225
311
|
return b.build();
|
|
226
312
|
};
|
|
313
|
+
export const se_DeleteServiceNetworkResourceAssociationCommand = async (input, context) => {
|
|
314
|
+
const b = rb(input, context);
|
|
315
|
+
const headers = {};
|
|
316
|
+
b.bp("/servicenetworkresourceassociations/{serviceNetworkResourceAssociationIdentifier}");
|
|
317
|
+
b.p("serviceNetworkResourceAssociationIdentifier", () => input.serviceNetworkResourceAssociationIdentifier, "{serviceNetworkResourceAssociationIdentifier}", false);
|
|
318
|
+
let body;
|
|
319
|
+
b.m("DELETE").h(headers).b(body);
|
|
320
|
+
return b.build();
|
|
321
|
+
};
|
|
227
322
|
export const se_DeleteServiceNetworkServiceAssociationCommand = async (input, context) => {
|
|
228
323
|
const b = rb(input, context);
|
|
229
324
|
const headers = {};
|
|
@@ -293,6 +388,24 @@ export const se_GetListenerCommand = async (input, context) => {
|
|
|
293
388
|
b.m("GET").h(headers).b(body);
|
|
294
389
|
return b.build();
|
|
295
390
|
};
|
|
391
|
+
export const se_GetResourceConfigurationCommand = async (input, context) => {
|
|
392
|
+
const b = rb(input, context);
|
|
393
|
+
const headers = {};
|
|
394
|
+
b.bp("/resourceconfigurations/{resourceConfigurationIdentifier}");
|
|
395
|
+
b.p("resourceConfigurationIdentifier", () => input.resourceConfigurationIdentifier, "{resourceConfigurationIdentifier}", false);
|
|
396
|
+
let body;
|
|
397
|
+
b.m("GET").h(headers).b(body);
|
|
398
|
+
return b.build();
|
|
399
|
+
};
|
|
400
|
+
export const se_GetResourceGatewayCommand = async (input, context) => {
|
|
401
|
+
const b = rb(input, context);
|
|
402
|
+
const headers = {};
|
|
403
|
+
b.bp("/resourcegateways/{resourceGatewayIdentifier}");
|
|
404
|
+
b.p("resourceGatewayIdentifier", () => input.resourceGatewayIdentifier, "{resourceGatewayIdentifier}", false);
|
|
405
|
+
let body;
|
|
406
|
+
b.m("GET").h(headers).b(body);
|
|
407
|
+
return b.build();
|
|
408
|
+
};
|
|
296
409
|
export const se_GetResourcePolicyCommand = async (input, context) => {
|
|
297
410
|
const b = rb(input, context);
|
|
298
411
|
const headers = {};
|
|
@@ -331,6 +444,15 @@ export const se_GetServiceNetworkCommand = async (input, context) => {
|
|
|
331
444
|
b.m("GET").h(headers).b(body);
|
|
332
445
|
return b.build();
|
|
333
446
|
};
|
|
447
|
+
export const se_GetServiceNetworkResourceAssociationCommand = async (input, context) => {
|
|
448
|
+
const b = rb(input, context);
|
|
449
|
+
const headers = {};
|
|
450
|
+
b.bp("/servicenetworkresourceassociations/{serviceNetworkResourceAssociationIdentifier}");
|
|
451
|
+
b.p("serviceNetworkResourceAssociationIdentifier", () => input.serviceNetworkResourceAssociationIdentifier, "{serviceNetworkResourceAssociationIdentifier}", false);
|
|
452
|
+
let body;
|
|
453
|
+
b.m("GET").h(headers).b(body);
|
|
454
|
+
return b.build();
|
|
455
|
+
};
|
|
334
456
|
export const se_GetServiceNetworkServiceAssociationCommand = async (input, context) => {
|
|
335
457
|
const b = rb(input, context);
|
|
336
458
|
const headers = {};
|
|
@@ -384,6 +506,48 @@ export const se_ListListenersCommand = async (input, context) => {
|
|
|
384
506
|
b.m("GET").h(headers).q(query).b(body);
|
|
385
507
|
return b.build();
|
|
386
508
|
};
|
|
509
|
+
export const se_ListResourceConfigurationsCommand = async (input, context) => {
|
|
510
|
+
const b = rb(input, context);
|
|
511
|
+
const headers = {};
|
|
512
|
+
b.bp("/resourceconfigurations");
|
|
513
|
+
const query = map({
|
|
514
|
+
[_rGI]: [, input[_rGI]],
|
|
515
|
+
[_rCGI]: [, input[_rCGI]],
|
|
516
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
517
|
+
[_nT]: [, input[_nT]],
|
|
518
|
+
});
|
|
519
|
+
let body;
|
|
520
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
521
|
+
return b.build();
|
|
522
|
+
};
|
|
523
|
+
export const se_ListResourceEndpointAssociationsCommand = async (input, context) => {
|
|
524
|
+
const b = rb(input, context);
|
|
525
|
+
const headers = {};
|
|
526
|
+
b.bp("/resourceendpointassociations");
|
|
527
|
+
const query = map({
|
|
528
|
+
[_rCI]: [, __expectNonNull(input[_rCI], `resourceConfigurationIdentifier`)],
|
|
529
|
+
[_rEAI]: [, input[_rEAI]],
|
|
530
|
+
[_vEI]: [, input[_vEI]],
|
|
531
|
+
[_vEO]: [, input[_vEO]],
|
|
532
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
533
|
+
[_nT]: [, input[_nT]],
|
|
534
|
+
});
|
|
535
|
+
let body;
|
|
536
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
537
|
+
return b.build();
|
|
538
|
+
};
|
|
539
|
+
export const se_ListResourceGatewaysCommand = async (input, context) => {
|
|
540
|
+
const b = rb(input, context);
|
|
541
|
+
const headers = {};
|
|
542
|
+
b.bp("/resourcegateways");
|
|
543
|
+
const query = map({
|
|
544
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
545
|
+
[_nT]: [, input[_nT]],
|
|
546
|
+
});
|
|
547
|
+
let body;
|
|
548
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
549
|
+
return b.build();
|
|
550
|
+
};
|
|
387
551
|
export const se_ListRulesCommand = async (input, context) => {
|
|
388
552
|
const b = rb(input, context);
|
|
389
553
|
const headers = {};
|
|
@@ -398,6 +562,20 @@ export const se_ListRulesCommand = async (input, context) => {
|
|
|
398
562
|
b.m("GET").h(headers).q(query).b(body);
|
|
399
563
|
return b.build();
|
|
400
564
|
};
|
|
565
|
+
export const se_ListServiceNetworkResourceAssociationsCommand = async (input, context) => {
|
|
566
|
+
const b = rb(input, context);
|
|
567
|
+
const headers = {};
|
|
568
|
+
b.bp("/servicenetworkresourceassociations");
|
|
569
|
+
const query = map({
|
|
570
|
+
[_sNI]: [, input[_sNI]],
|
|
571
|
+
[_rCI]: [, input[_rCI]],
|
|
572
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
573
|
+
[_nT]: [, input[_nT]],
|
|
574
|
+
});
|
|
575
|
+
let body;
|
|
576
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
577
|
+
return b.build();
|
|
578
|
+
};
|
|
401
579
|
export const se_ListServiceNetworksCommand = async (input, context) => {
|
|
402
580
|
const b = rb(input, context);
|
|
403
581
|
const headers = {};
|
|
@@ -438,6 +616,19 @@ export const se_ListServiceNetworkVpcAssociationsCommand = async (input, context
|
|
|
438
616
|
b.m("GET").h(headers).q(query).b(body);
|
|
439
617
|
return b.build();
|
|
440
618
|
};
|
|
619
|
+
export const se_ListServiceNetworkVpcEndpointAssociationsCommand = async (input, context) => {
|
|
620
|
+
const b = rb(input, context);
|
|
621
|
+
const headers = {};
|
|
622
|
+
b.bp("/servicenetworkvpcendpointassociations");
|
|
623
|
+
const query = map({
|
|
624
|
+
[_sNI]: [, __expectNonNull(input[_sNI], `serviceNetworkIdentifier`)],
|
|
625
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
626
|
+
[_nT]: [, input[_nT]],
|
|
627
|
+
});
|
|
628
|
+
let body;
|
|
629
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
630
|
+
return b.build();
|
|
631
|
+
};
|
|
441
632
|
export const se_ListServicesCommand = async (input, context) => {
|
|
442
633
|
const b = rb(input, context);
|
|
443
634
|
const headers = {};
|
|
@@ -588,6 +779,36 @@ export const se_UpdateListenerCommand = async (input, context) => {
|
|
|
588
779
|
b.m("PATCH").h(headers).b(body);
|
|
589
780
|
return b.build();
|
|
590
781
|
};
|
|
782
|
+
export const se_UpdateResourceConfigurationCommand = async (input, context) => {
|
|
783
|
+
const b = rb(input, context);
|
|
784
|
+
const headers = {
|
|
785
|
+
"content-type": "application/json",
|
|
786
|
+
};
|
|
787
|
+
b.bp("/resourceconfigurations/{resourceConfigurationIdentifier}");
|
|
788
|
+
b.p("resourceConfigurationIdentifier", () => input.resourceConfigurationIdentifier, "{resourceConfigurationIdentifier}", false);
|
|
789
|
+
let body;
|
|
790
|
+
body = JSON.stringify(take(input, {
|
|
791
|
+
allowAssociationToShareableServiceNetwork: [],
|
|
792
|
+
portRanges: (_) => _json(_),
|
|
793
|
+
resourceConfigurationDefinition: (_) => _json(_),
|
|
794
|
+
}));
|
|
795
|
+
b.m("PATCH").h(headers).b(body);
|
|
796
|
+
return b.build();
|
|
797
|
+
};
|
|
798
|
+
export const se_UpdateResourceGatewayCommand = async (input, context) => {
|
|
799
|
+
const b = rb(input, context);
|
|
800
|
+
const headers = {
|
|
801
|
+
"content-type": "application/json",
|
|
802
|
+
};
|
|
803
|
+
b.bp("/resourcegateways/{resourceGatewayIdentifier}");
|
|
804
|
+
b.p("resourceGatewayIdentifier", () => input.resourceGatewayIdentifier, "{resourceGatewayIdentifier}", false);
|
|
805
|
+
let body;
|
|
806
|
+
body = JSON.stringify(take(input, {
|
|
807
|
+
securityGroupIds: (_) => _json(_),
|
|
808
|
+
}));
|
|
809
|
+
b.m("PATCH").h(headers).b(body);
|
|
810
|
+
return b.build();
|
|
811
|
+
};
|
|
591
812
|
export const se_UpdateRuleCommand = async (input, context) => {
|
|
592
813
|
const b = rb(input, context);
|
|
593
814
|
const headers = {
|
|
@@ -692,6 +913,7 @@ export const de_CreateAccessLogSubscriptionCommand = async (output, context) =>
|
|
|
692
913
|
id: __expectString,
|
|
693
914
|
resourceArn: __expectString,
|
|
694
915
|
resourceId: __expectString,
|
|
916
|
+
serviceNetworkLogType: __expectString,
|
|
695
917
|
});
|
|
696
918
|
Object.assign(contents, doc);
|
|
697
919
|
return contents;
|
|
@@ -717,6 +939,53 @@ export const de_CreateListenerCommand = async (output, context) => {
|
|
|
717
939
|
Object.assign(contents, doc);
|
|
718
940
|
return contents;
|
|
719
941
|
};
|
|
942
|
+
export const de_CreateResourceConfigurationCommand = async (output, context) => {
|
|
943
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
944
|
+
return de_CommandError(output, context);
|
|
945
|
+
}
|
|
946
|
+
const contents = map({
|
|
947
|
+
$metadata: deserializeMetadata(output),
|
|
948
|
+
});
|
|
949
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
950
|
+
const doc = take(data, {
|
|
951
|
+
allowAssociationToShareableServiceNetwork: __expectBoolean,
|
|
952
|
+
arn: __expectString,
|
|
953
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
954
|
+
failureReason: __expectString,
|
|
955
|
+
id: __expectString,
|
|
956
|
+
name: __expectString,
|
|
957
|
+
portRanges: _json,
|
|
958
|
+
protocol: __expectString,
|
|
959
|
+
resourceConfigurationDefinition: (_) => _json(__expectUnion(_)),
|
|
960
|
+
resourceConfigurationGroupId: __expectString,
|
|
961
|
+
resourceGatewayId: __expectString,
|
|
962
|
+
status: __expectString,
|
|
963
|
+
type: __expectString,
|
|
964
|
+
});
|
|
965
|
+
Object.assign(contents, doc);
|
|
966
|
+
return contents;
|
|
967
|
+
};
|
|
968
|
+
export const de_CreateResourceGatewayCommand = async (output, context) => {
|
|
969
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
970
|
+
return de_CommandError(output, context);
|
|
971
|
+
}
|
|
972
|
+
const contents = map({
|
|
973
|
+
$metadata: deserializeMetadata(output),
|
|
974
|
+
});
|
|
975
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
976
|
+
const doc = take(data, {
|
|
977
|
+
arn: __expectString,
|
|
978
|
+
id: __expectString,
|
|
979
|
+
ipAddressType: __expectString,
|
|
980
|
+
name: __expectString,
|
|
981
|
+
securityGroupIds: _json,
|
|
982
|
+
status: __expectString,
|
|
983
|
+
subnetIds: _json,
|
|
984
|
+
vpcIdentifier: __expectString,
|
|
985
|
+
});
|
|
986
|
+
Object.assign(contents, doc);
|
|
987
|
+
return contents;
|
|
988
|
+
};
|
|
720
989
|
export const de_CreateRuleCommand = async (output, context) => {
|
|
721
990
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
722
991
|
return de_CommandError(output, context);
|
|
@@ -770,6 +1039,24 @@ export const de_CreateServiceNetworkCommand = async (output, context) => {
|
|
|
770
1039
|
authType: __expectString,
|
|
771
1040
|
id: __expectString,
|
|
772
1041
|
name: __expectString,
|
|
1042
|
+
sharingConfig: _json,
|
|
1043
|
+
});
|
|
1044
|
+
Object.assign(contents, doc);
|
|
1045
|
+
return contents;
|
|
1046
|
+
};
|
|
1047
|
+
export const de_CreateServiceNetworkResourceAssociationCommand = async (output, context) => {
|
|
1048
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1049
|
+
return de_CommandError(output, context);
|
|
1050
|
+
}
|
|
1051
|
+
const contents = map({
|
|
1052
|
+
$metadata: deserializeMetadata(output),
|
|
1053
|
+
});
|
|
1054
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1055
|
+
const doc = take(data, {
|
|
1056
|
+
arn: __expectString,
|
|
1057
|
+
createdBy: __expectString,
|
|
1058
|
+
id: __expectString,
|
|
1059
|
+
status: __expectString,
|
|
773
1060
|
});
|
|
774
1061
|
Object.assign(contents, doc);
|
|
775
1062
|
return contents;
|
|
@@ -860,6 +1147,51 @@ export const de_DeleteListenerCommand = async (output, context) => {
|
|
|
860
1147
|
await collectBody(output.body, context);
|
|
861
1148
|
return contents;
|
|
862
1149
|
};
|
|
1150
|
+
export const de_DeleteResourceConfigurationCommand = async (output, context) => {
|
|
1151
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1152
|
+
return de_CommandError(output, context);
|
|
1153
|
+
}
|
|
1154
|
+
const contents = map({
|
|
1155
|
+
$metadata: deserializeMetadata(output),
|
|
1156
|
+
});
|
|
1157
|
+
await collectBody(output.body, context);
|
|
1158
|
+
return contents;
|
|
1159
|
+
};
|
|
1160
|
+
export const de_DeleteResourceEndpointAssociationCommand = async (output, context) => {
|
|
1161
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1162
|
+
return de_CommandError(output, context);
|
|
1163
|
+
}
|
|
1164
|
+
const contents = map({
|
|
1165
|
+
$metadata: deserializeMetadata(output),
|
|
1166
|
+
});
|
|
1167
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1168
|
+
const doc = take(data, {
|
|
1169
|
+
arn: __expectString,
|
|
1170
|
+
id: __expectString,
|
|
1171
|
+
resourceConfigurationArn: __expectString,
|
|
1172
|
+
resourceConfigurationId: __expectString,
|
|
1173
|
+
vpcEndpointId: __expectString,
|
|
1174
|
+
});
|
|
1175
|
+
Object.assign(contents, doc);
|
|
1176
|
+
return contents;
|
|
1177
|
+
};
|
|
1178
|
+
export const de_DeleteResourceGatewayCommand = async (output, context) => {
|
|
1179
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1180
|
+
return de_CommandError(output, context);
|
|
1181
|
+
}
|
|
1182
|
+
const contents = map({
|
|
1183
|
+
$metadata: deserializeMetadata(output),
|
|
1184
|
+
});
|
|
1185
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1186
|
+
const doc = take(data, {
|
|
1187
|
+
arn: __expectString,
|
|
1188
|
+
id: __expectString,
|
|
1189
|
+
name: __expectString,
|
|
1190
|
+
status: __expectString,
|
|
1191
|
+
});
|
|
1192
|
+
Object.assign(contents, doc);
|
|
1193
|
+
return contents;
|
|
1194
|
+
};
|
|
863
1195
|
export const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
864
1196
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
865
1197
|
return de_CommandError(output, context);
|
|
@@ -907,6 +1239,22 @@ export const de_DeleteServiceNetworkCommand = async (output, context) => {
|
|
|
907
1239
|
await collectBody(output.body, context);
|
|
908
1240
|
return contents;
|
|
909
1241
|
};
|
|
1242
|
+
export const de_DeleteServiceNetworkResourceAssociationCommand = async (output, context) => {
|
|
1243
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1244
|
+
return de_CommandError(output, context);
|
|
1245
|
+
}
|
|
1246
|
+
const contents = map({
|
|
1247
|
+
$metadata: deserializeMetadata(output),
|
|
1248
|
+
});
|
|
1249
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1250
|
+
const doc = take(data, {
|
|
1251
|
+
arn: __expectString,
|
|
1252
|
+
id: __expectString,
|
|
1253
|
+
status: __expectString,
|
|
1254
|
+
});
|
|
1255
|
+
Object.assign(contents, doc);
|
|
1256
|
+
return contents;
|
|
1257
|
+
};
|
|
910
1258
|
export const de_DeleteServiceNetworkServiceAssociationCommand = async (output, context) => {
|
|
911
1259
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
912
1260
|
return de_CommandError(output, context);
|
|
@@ -986,6 +1334,7 @@ export const de_GetAccessLogSubscriptionCommand = async (output, context) => {
|
|
|
986
1334
|
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
987
1335
|
resourceArn: __expectString,
|
|
988
1336
|
resourceId: __expectString,
|
|
1337
|
+
serviceNetworkLogType: __expectString,
|
|
989
1338
|
});
|
|
990
1339
|
Object.assign(contents, doc);
|
|
991
1340
|
return contents;
|
|
@@ -1030,6 +1379,58 @@ export const de_GetListenerCommand = async (output, context) => {
|
|
|
1030
1379
|
Object.assign(contents, doc);
|
|
1031
1380
|
return contents;
|
|
1032
1381
|
};
|
|
1382
|
+
export const de_GetResourceConfigurationCommand = async (output, context) => {
|
|
1383
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1384
|
+
return de_CommandError(output, context);
|
|
1385
|
+
}
|
|
1386
|
+
const contents = map({
|
|
1387
|
+
$metadata: deserializeMetadata(output),
|
|
1388
|
+
});
|
|
1389
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1390
|
+
const doc = take(data, {
|
|
1391
|
+
allowAssociationToShareableServiceNetwork: __expectBoolean,
|
|
1392
|
+
amazonManaged: __expectBoolean,
|
|
1393
|
+
arn: __expectString,
|
|
1394
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1395
|
+
customDomainName: __expectString,
|
|
1396
|
+
failureReason: __expectString,
|
|
1397
|
+
id: __expectString,
|
|
1398
|
+
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1399
|
+
name: __expectString,
|
|
1400
|
+
portRanges: _json,
|
|
1401
|
+
protocol: __expectString,
|
|
1402
|
+
resourceConfigurationDefinition: (_) => _json(__expectUnion(_)),
|
|
1403
|
+
resourceConfigurationGroupId: __expectString,
|
|
1404
|
+
resourceGatewayId: __expectString,
|
|
1405
|
+
status: __expectString,
|
|
1406
|
+
type: __expectString,
|
|
1407
|
+
});
|
|
1408
|
+
Object.assign(contents, doc);
|
|
1409
|
+
return contents;
|
|
1410
|
+
};
|
|
1411
|
+
export const de_GetResourceGatewayCommand = async (output, context) => {
|
|
1412
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1413
|
+
return de_CommandError(output, context);
|
|
1414
|
+
}
|
|
1415
|
+
const contents = map({
|
|
1416
|
+
$metadata: deserializeMetadata(output),
|
|
1417
|
+
});
|
|
1418
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1419
|
+
const doc = take(data, {
|
|
1420
|
+
arn: __expectString,
|
|
1421
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1422
|
+
id: __expectString,
|
|
1423
|
+
ipAddressType: __expectString,
|
|
1424
|
+
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1425
|
+
name: __expectString,
|
|
1426
|
+
securityGroupIds: _json,
|
|
1427
|
+
status: __expectString,
|
|
1428
|
+
subnetIds: _json,
|
|
1429
|
+
vpcId: __expectString,
|
|
1430
|
+
});
|
|
1431
|
+
Object.assign(contents, doc);
|
|
1432
|
+
return contents;
|
|
1433
|
+
};
|
|
1033
1434
|
export const de_GetResourcePolicyCommand = async (output, context) => {
|
|
1034
1435
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1035
1436
|
return de_CommandError(output, context);
|
|
@@ -1108,6 +1509,37 @@ export const de_GetServiceNetworkCommand = async (output, context) => {
|
|
|
1108
1509
|
name: __expectString,
|
|
1109
1510
|
numberOfAssociatedServices: __expectLong,
|
|
1110
1511
|
numberOfAssociatedVPCs: __expectLong,
|
|
1512
|
+
sharingConfig: _json,
|
|
1513
|
+
});
|
|
1514
|
+
Object.assign(contents, doc);
|
|
1515
|
+
return contents;
|
|
1516
|
+
};
|
|
1517
|
+
export const de_GetServiceNetworkResourceAssociationCommand = async (output, context) => {
|
|
1518
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1519
|
+
return de_CommandError(output, context);
|
|
1520
|
+
}
|
|
1521
|
+
const contents = map({
|
|
1522
|
+
$metadata: deserializeMetadata(output),
|
|
1523
|
+
});
|
|
1524
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1525
|
+
const doc = take(data, {
|
|
1526
|
+
arn: __expectString,
|
|
1527
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1528
|
+
createdBy: __expectString,
|
|
1529
|
+
dnsEntry: _json,
|
|
1530
|
+
failureCode: __expectString,
|
|
1531
|
+
failureReason: __expectString,
|
|
1532
|
+
id: __expectString,
|
|
1533
|
+
isManagedAssociation: __expectBoolean,
|
|
1534
|
+
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1535
|
+
privateDnsEntry: _json,
|
|
1536
|
+
resourceConfigurationArn: __expectString,
|
|
1537
|
+
resourceConfigurationId: __expectString,
|
|
1538
|
+
resourceConfigurationName: __expectString,
|
|
1539
|
+
serviceNetworkArn: __expectString,
|
|
1540
|
+
serviceNetworkId: __expectString,
|
|
1541
|
+
serviceNetworkName: __expectString,
|
|
1542
|
+
status: __expectString,
|
|
1111
1543
|
});
|
|
1112
1544
|
Object.assign(contents, doc);
|
|
1113
1545
|
return contents;
|
|
@@ -1220,6 +1652,51 @@ export const de_ListListenersCommand = async (output, context) => {
|
|
|
1220
1652
|
Object.assign(contents, doc);
|
|
1221
1653
|
return contents;
|
|
1222
1654
|
};
|
|
1655
|
+
export const de_ListResourceConfigurationsCommand = async (output, context) => {
|
|
1656
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1657
|
+
return de_CommandError(output, context);
|
|
1658
|
+
}
|
|
1659
|
+
const contents = map({
|
|
1660
|
+
$metadata: deserializeMetadata(output),
|
|
1661
|
+
});
|
|
1662
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1663
|
+
const doc = take(data, {
|
|
1664
|
+
items: (_) => de_ResourceConfigurationSummaryList(_, context),
|
|
1665
|
+
nextToken: __expectString,
|
|
1666
|
+
});
|
|
1667
|
+
Object.assign(contents, doc);
|
|
1668
|
+
return contents;
|
|
1669
|
+
};
|
|
1670
|
+
export const de_ListResourceEndpointAssociationsCommand = async (output, context) => {
|
|
1671
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1672
|
+
return de_CommandError(output, context);
|
|
1673
|
+
}
|
|
1674
|
+
const contents = map({
|
|
1675
|
+
$metadata: deserializeMetadata(output),
|
|
1676
|
+
});
|
|
1677
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1678
|
+
const doc = take(data, {
|
|
1679
|
+
items: (_) => de_ResourceEndpointAssociationList(_, context),
|
|
1680
|
+
nextToken: __expectString,
|
|
1681
|
+
});
|
|
1682
|
+
Object.assign(contents, doc);
|
|
1683
|
+
return contents;
|
|
1684
|
+
};
|
|
1685
|
+
export const de_ListResourceGatewaysCommand = async (output, context) => {
|
|
1686
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1687
|
+
return de_CommandError(output, context);
|
|
1688
|
+
}
|
|
1689
|
+
const contents = map({
|
|
1690
|
+
$metadata: deserializeMetadata(output),
|
|
1691
|
+
});
|
|
1692
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1693
|
+
const doc = take(data, {
|
|
1694
|
+
items: (_) => de_ResourceGatewayList(_, context),
|
|
1695
|
+
nextToken: __expectString,
|
|
1696
|
+
});
|
|
1697
|
+
Object.assign(contents, doc);
|
|
1698
|
+
return contents;
|
|
1699
|
+
};
|
|
1223
1700
|
export const de_ListRulesCommand = async (output, context) => {
|
|
1224
1701
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1225
1702
|
return de_CommandError(output, context);
|
|
@@ -1235,6 +1712,21 @@ export const de_ListRulesCommand = async (output, context) => {
|
|
|
1235
1712
|
Object.assign(contents, doc);
|
|
1236
1713
|
return contents;
|
|
1237
1714
|
};
|
|
1715
|
+
export const de_ListServiceNetworkResourceAssociationsCommand = async (output, context) => {
|
|
1716
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1717
|
+
return de_CommandError(output, context);
|
|
1718
|
+
}
|
|
1719
|
+
const contents = map({
|
|
1720
|
+
$metadata: deserializeMetadata(output),
|
|
1721
|
+
});
|
|
1722
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1723
|
+
const doc = take(data, {
|
|
1724
|
+
items: (_) => de_ServiceNetworkResourceAssociationList(_, context),
|
|
1725
|
+
nextToken: __expectString,
|
|
1726
|
+
});
|
|
1727
|
+
Object.assign(contents, doc);
|
|
1728
|
+
return contents;
|
|
1729
|
+
};
|
|
1238
1730
|
export const de_ListServiceNetworksCommand = async (output, context) => {
|
|
1239
1731
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1240
1732
|
return de_CommandError(output, context);
|
|
@@ -1280,6 +1772,21 @@ export const de_ListServiceNetworkVpcAssociationsCommand = async (output, contex
|
|
|
1280
1772
|
Object.assign(contents, doc);
|
|
1281
1773
|
return contents;
|
|
1282
1774
|
};
|
|
1775
|
+
export const de_ListServiceNetworkVpcEndpointAssociationsCommand = async (output, context) => {
|
|
1776
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1777
|
+
return de_CommandError(output, context);
|
|
1778
|
+
}
|
|
1779
|
+
const contents = map({
|
|
1780
|
+
$metadata: deserializeMetadata(output),
|
|
1781
|
+
});
|
|
1782
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1783
|
+
const doc = take(data, {
|
|
1784
|
+
items: (_) => de_ServiceNetworkVpcEndpointAssociationList(_, context),
|
|
1785
|
+
nextToken: __expectString,
|
|
1786
|
+
});
|
|
1787
|
+
Object.assign(contents, doc);
|
|
1788
|
+
return contents;
|
|
1789
|
+
};
|
|
1283
1790
|
export const de_ListServicesCommand = async (output, context) => {
|
|
1284
1791
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1285
1792
|
return de_CommandError(output, context);
|
|
@@ -1438,6 +1945,51 @@ export const de_UpdateListenerCommand = async (output, context) => {
|
|
|
1438
1945
|
Object.assign(contents, doc);
|
|
1439
1946
|
return contents;
|
|
1440
1947
|
};
|
|
1948
|
+
export const de_UpdateResourceConfigurationCommand = async (output, context) => {
|
|
1949
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1950
|
+
return de_CommandError(output, context);
|
|
1951
|
+
}
|
|
1952
|
+
const contents = map({
|
|
1953
|
+
$metadata: deserializeMetadata(output),
|
|
1954
|
+
});
|
|
1955
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1956
|
+
const doc = take(data, {
|
|
1957
|
+
allowAssociationToShareableServiceNetwork: __expectBoolean,
|
|
1958
|
+
arn: __expectString,
|
|
1959
|
+
id: __expectString,
|
|
1960
|
+
name: __expectString,
|
|
1961
|
+
portRanges: _json,
|
|
1962
|
+
protocol: __expectString,
|
|
1963
|
+
resourceConfigurationDefinition: (_) => _json(__expectUnion(_)),
|
|
1964
|
+
resourceConfigurationGroupId: __expectString,
|
|
1965
|
+
resourceGatewayId: __expectString,
|
|
1966
|
+
status: __expectString,
|
|
1967
|
+
type: __expectString,
|
|
1968
|
+
});
|
|
1969
|
+
Object.assign(contents, doc);
|
|
1970
|
+
return contents;
|
|
1971
|
+
};
|
|
1972
|
+
export const de_UpdateResourceGatewayCommand = async (output, context) => {
|
|
1973
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1974
|
+
return de_CommandError(output, context);
|
|
1975
|
+
}
|
|
1976
|
+
const contents = map({
|
|
1977
|
+
$metadata: deserializeMetadata(output),
|
|
1978
|
+
});
|
|
1979
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1980
|
+
const doc = take(data, {
|
|
1981
|
+
arn: __expectString,
|
|
1982
|
+
id: __expectString,
|
|
1983
|
+
ipAddressType: __expectString,
|
|
1984
|
+
name: __expectString,
|
|
1985
|
+
securityGroupIds: _json,
|
|
1986
|
+
status: __expectString,
|
|
1987
|
+
subnetIds: _json,
|
|
1988
|
+
vpcId: __expectString,
|
|
1989
|
+
});
|
|
1990
|
+
Object.assign(contents, doc);
|
|
1991
|
+
return contents;
|
|
1992
|
+
};
|
|
1441
1993
|
export const de_UpdateRuleCommand = async (output, context) => {
|
|
1442
1994
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1443
1995
|
return de_CommandError(output, context);
|
|
@@ -1693,6 +2245,7 @@ const de_AccessLogSubscriptionSummary = (output, context) => {
|
|
|
1693
2245
|
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1694
2246
|
resourceArn: __expectString,
|
|
1695
2247
|
resourceId: __expectString,
|
|
2248
|
+
serviceNetworkLogType: __expectString,
|
|
1696
2249
|
});
|
|
1697
2250
|
};
|
|
1698
2251
|
const de_ListenerSummary = (output, context) => {
|
|
@@ -1714,6 +2267,71 @@ const de_ListenerSummaryList = (output, context) => {
|
|
|
1714
2267
|
});
|
|
1715
2268
|
return retVal;
|
|
1716
2269
|
};
|
|
2270
|
+
const de_ResourceConfigurationSummary = (output, context) => {
|
|
2271
|
+
return take(output, {
|
|
2272
|
+
amazonManaged: __expectBoolean,
|
|
2273
|
+
arn: __expectString,
|
|
2274
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2275
|
+
id: __expectString,
|
|
2276
|
+
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2277
|
+
name: __expectString,
|
|
2278
|
+
resourceConfigurationGroupId: __expectString,
|
|
2279
|
+
resourceGatewayId: __expectString,
|
|
2280
|
+
status: __expectString,
|
|
2281
|
+
type: __expectString,
|
|
2282
|
+
});
|
|
2283
|
+
};
|
|
2284
|
+
const de_ResourceConfigurationSummaryList = (output, context) => {
|
|
2285
|
+
const retVal = (output || [])
|
|
2286
|
+
.filter((e) => e != null)
|
|
2287
|
+
.map((entry) => {
|
|
2288
|
+
return de_ResourceConfigurationSummary(entry, context);
|
|
2289
|
+
});
|
|
2290
|
+
return retVal;
|
|
2291
|
+
};
|
|
2292
|
+
const de_ResourceEndpointAssociationList = (output, context) => {
|
|
2293
|
+
const retVal = (output || [])
|
|
2294
|
+
.filter((e) => e != null)
|
|
2295
|
+
.map((entry) => {
|
|
2296
|
+
return de_ResourceEndpointAssociationSummary(entry, context);
|
|
2297
|
+
});
|
|
2298
|
+
return retVal;
|
|
2299
|
+
};
|
|
2300
|
+
const de_ResourceEndpointAssociationSummary = (output, context) => {
|
|
2301
|
+
return take(output, {
|
|
2302
|
+
arn: __expectString,
|
|
2303
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2304
|
+
createdBy: __expectString,
|
|
2305
|
+
id: __expectString,
|
|
2306
|
+
resourceConfigurationArn: __expectString,
|
|
2307
|
+
resourceConfigurationId: __expectString,
|
|
2308
|
+
resourceConfigurationName: __expectString,
|
|
2309
|
+
vpcEndpointId: __expectString,
|
|
2310
|
+
vpcEndpointOwner: __expectString,
|
|
2311
|
+
});
|
|
2312
|
+
};
|
|
2313
|
+
const de_ResourceGatewayList = (output, context) => {
|
|
2314
|
+
const retVal = (output || [])
|
|
2315
|
+
.filter((e) => e != null)
|
|
2316
|
+
.map((entry) => {
|
|
2317
|
+
return de_ResourceGatewaySummary(entry, context);
|
|
2318
|
+
});
|
|
2319
|
+
return retVal;
|
|
2320
|
+
};
|
|
2321
|
+
const de_ResourceGatewaySummary = (output, context) => {
|
|
2322
|
+
return take(output, {
|
|
2323
|
+
arn: __expectString,
|
|
2324
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2325
|
+
id: __expectString,
|
|
2326
|
+
ipAddressType: __expectString,
|
|
2327
|
+
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2328
|
+
name: __expectString,
|
|
2329
|
+
securityGroupIds: _json,
|
|
2330
|
+
status: __expectString,
|
|
2331
|
+
subnetIds: _json,
|
|
2332
|
+
vpcIdentifier: __expectString,
|
|
2333
|
+
});
|
|
2334
|
+
};
|
|
1717
2335
|
const de_RuleSummary = (output, context) => {
|
|
1718
2336
|
return take(output, {
|
|
1719
2337
|
arn: __expectString,
|
|
@@ -1741,6 +2359,17 @@ const de_ServiceList = (output, context) => {
|
|
|
1741
2359
|
});
|
|
1742
2360
|
return retVal;
|
|
1743
2361
|
};
|
|
2362
|
+
const de_ServiceNetworkEndpointAssociation = (output, context) => {
|
|
2363
|
+
return take(output, {
|
|
2364
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2365
|
+
id: __expectString,
|
|
2366
|
+
serviceNetworkArn: __expectString,
|
|
2367
|
+
state: __expectString,
|
|
2368
|
+
vpcEndpointId: __expectString,
|
|
2369
|
+
vpcEndpointOwnerId: __expectString,
|
|
2370
|
+
vpcId: __expectString,
|
|
2371
|
+
});
|
|
2372
|
+
};
|
|
1744
2373
|
const de_ServiceNetworkList = (output, context) => {
|
|
1745
2374
|
const retVal = (output || [])
|
|
1746
2375
|
.filter((e) => e != null)
|
|
@@ -1749,6 +2378,33 @@ const de_ServiceNetworkList = (output, context) => {
|
|
|
1749
2378
|
});
|
|
1750
2379
|
return retVal;
|
|
1751
2380
|
};
|
|
2381
|
+
const de_ServiceNetworkResourceAssociationList = (output, context) => {
|
|
2382
|
+
const retVal = (output || [])
|
|
2383
|
+
.filter((e) => e != null)
|
|
2384
|
+
.map((entry) => {
|
|
2385
|
+
return de_ServiceNetworkResourceAssociationSummary(entry, context);
|
|
2386
|
+
});
|
|
2387
|
+
return retVal;
|
|
2388
|
+
};
|
|
2389
|
+
const de_ServiceNetworkResourceAssociationSummary = (output, context) => {
|
|
2390
|
+
return take(output, {
|
|
2391
|
+
arn: __expectString,
|
|
2392
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2393
|
+
createdBy: __expectString,
|
|
2394
|
+
dnsEntry: _json,
|
|
2395
|
+
failureCode: __expectString,
|
|
2396
|
+
id: __expectString,
|
|
2397
|
+
isManagedAssociation: __expectBoolean,
|
|
2398
|
+
privateDnsEntry: _json,
|
|
2399
|
+
resourceConfigurationArn: __expectString,
|
|
2400
|
+
resourceConfigurationId: __expectString,
|
|
2401
|
+
resourceConfigurationName: __expectString,
|
|
2402
|
+
serviceNetworkArn: __expectString,
|
|
2403
|
+
serviceNetworkId: __expectString,
|
|
2404
|
+
serviceNetworkName: __expectString,
|
|
2405
|
+
status: __expectString,
|
|
2406
|
+
});
|
|
2407
|
+
};
|
|
1752
2408
|
const de_ServiceNetworkServiceAssociationList = (output, context) => {
|
|
1753
2409
|
const retVal = (output || [])
|
|
1754
2410
|
.filter((e) => e != null)
|
|
@@ -1781,6 +2437,7 @@ const de_ServiceNetworkSummary = (output, context) => {
|
|
|
1781
2437
|
id: __expectString,
|
|
1782
2438
|
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1783
2439
|
name: __expectString,
|
|
2440
|
+
numberOfAssociatedResourceConfigurations: __expectLong,
|
|
1784
2441
|
numberOfAssociatedServices: __expectLong,
|
|
1785
2442
|
numberOfAssociatedVPCs: __expectLong,
|
|
1786
2443
|
});
|
|
@@ -1807,6 +2464,14 @@ const de_ServiceNetworkVpcAssociationSummary = (output, context) => {
|
|
|
1807
2464
|
vpcId: __expectString,
|
|
1808
2465
|
});
|
|
1809
2466
|
};
|
|
2467
|
+
const de_ServiceNetworkVpcEndpointAssociationList = (output, context) => {
|
|
2468
|
+
const retVal = (output || [])
|
|
2469
|
+
.filter((e) => e != null)
|
|
2470
|
+
.map((entry) => {
|
|
2471
|
+
return de_ServiceNetworkEndpointAssociation(entry, context);
|
|
2472
|
+
});
|
|
2473
|
+
return retVal;
|
|
2474
|
+
};
|
|
1810
2475
|
const de_ServiceSummary = (output, context) => {
|
|
1811
2476
|
return take(output, {
|
|
1812
2477
|
arn: __expectString,
|
|
@@ -1854,10 +2519,16 @@ const collectBodyString = (streamBody, context) => collectBody(streamBody, conte
|
|
|
1854
2519
|
const _mR = "maxResults";
|
|
1855
2520
|
const _nT = "nextToken";
|
|
1856
2521
|
const _rAS = "retryAfterSeconds";
|
|
2522
|
+
const _rCGI = "resourceConfigurationGroupIdentifier";
|
|
2523
|
+
const _rCI = "resourceConfigurationIdentifier";
|
|
2524
|
+
const _rEAI = "resourceEndpointAssociationIdentifier";
|
|
2525
|
+
const _rGI = "resourceGatewayIdentifier";
|
|
1857
2526
|
const _rI = "resourceIdentifier";
|
|
1858
2527
|
const _ra = "retry-after";
|
|
1859
2528
|
const _sI = "serviceIdentifier";
|
|
1860
2529
|
const _sNI = "serviceNetworkIdentifier";
|
|
1861
2530
|
const _tGT = "targetGroupType";
|
|
1862
2531
|
const _tK = "tagKeys";
|
|
2532
|
+
const _vEI = "vpcEndpointId";
|
|
2533
|
+
const _vEO = "vpcEndpointOwner";
|
|
1863
2534
|
const _vI = "vpcIdentifier";
|