@aws-sdk/client-route53resolver 3.121.0 → 3.130.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/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +231 -332
- package/dist-es/protocols/Aws_json1_1.js +130 -231
- package/package.json +26 -26
|
@@ -5192,108 +5192,77 @@ var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput,
|
|
|
5192
5192
|
}); };
|
|
5193
5193
|
var serializeAws_json1_1AssociateFirewallRuleGroupRequest = function (input, context) {
|
|
5194
5194
|
var _a;
|
|
5195
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FirewallRuleGroupId
|
|
5196
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId })), (input.MutationProtection !== undefined &&
|
|
5197
|
-
input.MutationProtection !== null && { MutationProtection: input.MutationProtection })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }));
|
|
5195
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId })), (input.MutationProtection != null && { MutationProtection: input.MutationProtection })), (input.Name != null && { Name: input.Name })), (input.Priority != null && { Priority: input.Priority })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VpcId != null && { VpcId: input.VpcId }));
|
|
5198
5196
|
};
|
|
5199
5197
|
var serializeAws_json1_1AssociateResolverEndpointIpAddressRequest = function (input, context) {
|
|
5200
|
-
return __assign(__assign({}, (input.IpAddress
|
|
5201
|
-
input.IpAddress !== null && { IpAddress: serializeAws_json1_1IpAddressUpdate(input.IpAddress, context) })), (input.ResolverEndpointId !== undefined &&
|
|
5202
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5198
|
+
return __assign(__assign({}, (input.IpAddress != null && { IpAddress: serializeAws_json1_1IpAddressUpdate(input.IpAddress, context) })), (input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5203
5199
|
};
|
|
5204
5200
|
var serializeAws_json1_1AssociateResolverQueryLogConfigRequest = function (input, context) {
|
|
5205
|
-
return __assign(__assign({}, (input.ResolverQueryLogConfigId
|
|
5206
|
-
input.ResolverQueryLogConfigId !== null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
5201
|
+
return __assign(__assign({}, (input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId })), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
5207
5202
|
};
|
|
5208
5203
|
var serializeAws_json1_1AssociateResolverRuleRequest = function (input, context) {
|
|
5209
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
5210
|
-
input.ResolverRuleId !== null && { ResolverRuleId: input.ResolverRuleId })), (input.VPCId !== undefined && input.VPCId !== null && { VPCId: input.VPCId }));
|
|
5204
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId })), (input.VPCId != null && { VPCId: input.VPCId }));
|
|
5211
5205
|
};
|
|
5212
5206
|
var serializeAws_json1_1CreateFirewallDomainListRequest = function (input, context) {
|
|
5213
5207
|
var _a;
|
|
5214
|
-
return __assign(__assign({ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name
|
|
5208
|
+
return __assign(__assign({ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
5215
5209
|
};
|
|
5216
5210
|
var serializeAws_json1_1CreateFirewallRuleGroupRequest = function (input, context) {
|
|
5217
5211
|
var _a;
|
|
5218
|
-
return __assign(__assign({ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name
|
|
5212
|
+
return __assign(__assign({ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
5219
5213
|
};
|
|
5220
5214
|
var serializeAws_json1_1CreateFirewallRuleRequest = function (input, context) {
|
|
5221
5215
|
var _a;
|
|
5222
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Action
|
|
5223
|
-
input.BlockOverrideDnsType !== null && { BlockOverrideDnsType: input.BlockOverrideDnsType })), (input.BlockOverrideDomain !== undefined &&
|
|
5224
|
-
input.BlockOverrideDomain !== null && { BlockOverrideDomain: input.BlockOverrideDomain })), (input.BlockOverrideTtl !== undefined &&
|
|
5225
|
-
input.BlockOverrideTtl !== null && { BlockOverrideTtl: input.BlockOverrideTtl })), (input.BlockResponse !== undefined && input.BlockResponse !== null && { BlockResponse: input.BlockResponse })), { CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FirewallDomainListId !== undefined &&
|
|
5226
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId })), (input.FirewallRuleGroupId !== undefined &&
|
|
5227
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }));
|
|
5216
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Action != null && { Action: input.Action })), (input.BlockOverrideDnsType != null && { BlockOverrideDnsType: input.BlockOverrideDnsType })), (input.BlockOverrideDomain != null && { BlockOverrideDomain: input.BlockOverrideDomain })), (input.BlockOverrideTtl != null && { BlockOverrideTtl: input.BlockOverrideTtl })), (input.BlockResponse != null && { BlockResponse: input.BlockResponse })), { CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId })), (input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId })), (input.Name != null && { Name: input.Name })), (input.Priority != null && { Priority: input.Priority }));
|
|
5228
5217
|
};
|
|
5229
5218
|
var serializeAws_json1_1CreateResolverEndpointRequest = function (input, context) {
|
|
5230
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatorRequestId
|
|
5231
|
-
input.CreatorRequestId !== null && { CreatorRequestId: input.CreatorRequestId })), (input.Direction !== undefined && input.Direction !== null && { Direction: input.Direction })), (input.IpAddresses !== undefined &&
|
|
5232
|
-
input.IpAddresses !== null && {
|
|
5219
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatorRequestId != null && { CreatorRequestId: input.CreatorRequestId })), (input.Direction != null && { Direction: input.Direction })), (input.IpAddresses != null && {
|
|
5233
5220
|
IpAddresses: serializeAws_json1_1IpAddressesRequest(input.IpAddresses, context),
|
|
5234
|
-
})), (input.Name
|
|
5235
|
-
input.SecurityGroupIds !== null && {
|
|
5221
|
+
})), (input.Name != null && { Name: input.Name })), (input.SecurityGroupIds != null && {
|
|
5236
5222
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIds(input.SecurityGroupIds, context),
|
|
5237
|
-
})), (input.Tags
|
|
5223
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
5238
5224
|
};
|
|
5239
5225
|
var serializeAws_json1_1CreateResolverQueryLogConfigRequest = function (input, context) {
|
|
5240
5226
|
var _a;
|
|
5241
|
-
return __assign(__assign(__assign({ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DestinationArn
|
|
5242
|
-
input.DestinationArn !== null && { DestinationArn: input.DestinationArn })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
5227
|
+
return __assign(__assign(__assign({ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DestinationArn != null && { DestinationArn: input.DestinationArn })), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
5243
5228
|
};
|
|
5244
5229
|
var serializeAws_json1_1CreateResolverRuleRequest = function (input, context) {
|
|
5245
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatorRequestId
|
|
5246
|
-
input.CreatorRequestId !== null && { CreatorRequestId: input.CreatorRequestId })), (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ResolverEndpointId !== undefined &&
|
|
5247
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId })), (input.RuleType !== undefined && input.RuleType !== null && { RuleType: input.RuleType })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TargetIps !== undefined &&
|
|
5248
|
-
input.TargetIps !== null && { TargetIps: serializeAws_json1_1TargetList(input.TargetIps, context) }));
|
|
5230
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatorRequestId != null && { CreatorRequestId: input.CreatorRequestId })), (input.DomainName != null && { DomainName: input.DomainName })), (input.Name != null && { Name: input.Name })), (input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId })), (input.RuleType != null && { RuleType: input.RuleType })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TargetIps != null && { TargetIps: serializeAws_json1_1TargetList(input.TargetIps, context) }));
|
|
5249
5231
|
};
|
|
5250
5232
|
var serializeAws_json1_1DeleteFirewallDomainListRequest = function (input, context) {
|
|
5251
|
-
return __assign({}, (input.FirewallDomainListId
|
|
5252
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId }));
|
|
5233
|
+
return __assign({}, (input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }));
|
|
5253
5234
|
};
|
|
5254
5235
|
var serializeAws_json1_1DeleteFirewallRuleGroupRequest = function (input, context) {
|
|
5255
|
-
return __assign({}, (input.FirewallRuleGroupId
|
|
5256
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId }));
|
|
5236
|
+
return __assign({}, (input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }));
|
|
5257
5237
|
};
|
|
5258
5238
|
var serializeAws_json1_1DeleteFirewallRuleRequest = function (input, context) {
|
|
5259
|
-
return __assign(__assign({}, (input.FirewallDomainListId
|
|
5260
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId })), (input.FirewallRuleGroupId !== undefined &&
|
|
5261
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId }));
|
|
5239
|
+
return __assign(__assign({}, (input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId })), (input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }));
|
|
5262
5240
|
};
|
|
5263
5241
|
var serializeAws_json1_1DeleteResolverEndpointRequest = function (input, context) {
|
|
5264
|
-
return __assign({}, (input.ResolverEndpointId
|
|
5265
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5242
|
+
return __assign({}, (input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5266
5243
|
};
|
|
5267
5244
|
var serializeAws_json1_1DeleteResolverQueryLogConfigRequest = function (input, context) {
|
|
5268
|
-
return __assign({}, (input.ResolverQueryLogConfigId
|
|
5269
|
-
input.ResolverQueryLogConfigId !== null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }));
|
|
5245
|
+
return __assign({}, (input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }));
|
|
5270
5246
|
};
|
|
5271
5247
|
var serializeAws_json1_1DeleteResolverRuleRequest = function (input, context) {
|
|
5272
|
-
return __assign({}, (input.ResolverRuleId
|
|
5273
|
-
input.ResolverRuleId !== null && { ResolverRuleId: input.ResolverRuleId }));
|
|
5248
|
+
return __assign({}, (input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }));
|
|
5274
5249
|
};
|
|
5275
5250
|
var serializeAws_json1_1DisassociateFirewallRuleGroupRequest = function (input, context) {
|
|
5276
|
-
return __assign({}, (input.FirewallRuleGroupAssociationId
|
|
5277
|
-
input.FirewallRuleGroupAssociationId !== null && {
|
|
5251
|
+
return __assign({}, (input.FirewallRuleGroupAssociationId != null && {
|
|
5278
5252
|
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
5279
5253
|
}));
|
|
5280
5254
|
};
|
|
5281
5255
|
var serializeAws_json1_1DisassociateResolverEndpointIpAddressRequest = function (input, context) {
|
|
5282
|
-
return __assign(__assign({}, (input.IpAddress
|
|
5283
|
-
input.IpAddress !== null && { IpAddress: serializeAws_json1_1IpAddressUpdate(input.IpAddress, context) })), (input.ResolverEndpointId !== undefined &&
|
|
5284
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5256
|
+
return __assign(__assign({}, (input.IpAddress != null && { IpAddress: serializeAws_json1_1IpAddressUpdate(input.IpAddress, context) })), (input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5285
5257
|
};
|
|
5286
5258
|
var serializeAws_json1_1DisassociateResolverQueryLogConfigRequest = function (input, context) {
|
|
5287
|
-
return __assign(__assign({}, (input.ResolverQueryLogConfigId
|
|
5288
|
-
input.ResolverQueryLogConfigId !== null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
5259
|
+
return __assign(__assign({}, (input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId })), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
5289
5260
|
};
|
|
5290
5261
|
var serializeAws_json1_1DisassociateResolverRuleRequest = function (input, context) {
|
|
5291
|
-
return __assign(__assign({}, (input.ResolverRuleId
|
|
5292
|
-
input.ResolverRuleId !== null && { ResolverRuleId: input.ResolverRuleId })), (input.VPCId !== undefined && input.VPCId !== null && { VPCId: input.VPCId }));
|
|
5262
|
+
return __assign(__assign({}, (input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId })), (input.VPCId != null && { VPCId: input.VPCId }));
|
|
5293
5263
|
};
|
|
5294
5264
|
var serializeAws_json1_1Filter = function (input, context) {
|
|
5295
|
-
return __assign(__assign({}, (input.Name
|
|
5296
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
5265
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
5297
5266
|
};
|
|
5298
5267
|
var serializeAws_json1_1Filters = function (input, context) {
|
|
5299
5268
|
return input
|
|
@@ -5326,62 +5295,53 @@ var serializeAws_json1_1FirewallDomains = function (input, context) {
|
|
|
5326
5295
|
});
|
|
5327
5296
|
};
|
|
5328
5297
|
var serializeAws_json1_1GetFirewallConfigRequest = function (input, context) {
|
|
5329
|
-
return __assign({}, (input.ResourceId
|
|
5298
|
+
return __assign({}, (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
5330
5299
|
};
|
|
5331
5300
|
var serializeAws_json1_1GetFirewallDomainListRequest = function (input, context) {
|
|
5332
|
-
return __assign({}, (input.FirewallDomainListId
|
|
5333
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId }));
|
|
5301
|
+
return __assign({}, (input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }));
|
|
5334
5302
|
};
|
|
5335
5303
|
var serializeAws_json1_1GetFirewallRuleGroupAssociationRequest = function (input, context) {
|
|
5336
|
-
return __assign({}, (input.FirewallRuleGroupAssociationId
|
|
5337
|
-
input.FirewallRuleGroupAssociationId !== null && {
|
|
5304
|
+
return __assign({}, (input.FirewallRuleGroupAssociationId != null && {
|
|
5338
5305
|
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
5339
5306
|
}));
|
|
5340
5307
|
};
|
|
5341
5308
|
var serializeAws_json1_1GetFirewallRuleGroupPolicyRequest = function (input, context) {
|
|
5342
|
-
return __assign({}, (input.Arn
|
|
5309
|
+
return __assign({}, (input.Arn != null && { Arn: input.Arn }));
|
|
5343
5310
|
};
|
|
5344
5311
|
var serializeAws_json1_1GetFirewallRuleGroupRequest = function (input, context) {
|
|
5345
|
-
return __assign({}, (input.FirewallRuleGroupId
|
|
5346
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId }));
|
|
5312
|
+
return __assign({}, (input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }));
|
|
5347
5313
|
};
|
|
5348
5314
|
var serializeAws_json1_1GetResolverConfigRequest = function (input, context) {
|
|
5349
|
-
return __assign({}, (input.ResourceId
|
|
5315
|
+
return __assign({}, (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
5350
5316
|
};
|
|
5351
5317
|
var serializeAws_json1_1GetResolverDnssecConfigRequest = function (input, context) {
|
|
5352
|
-
return __assign({}, (input.ResourceId
|
|
5318
|
+
return __assign({}, (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
5353
5319
|
};
|
|
5354
5320
|
var serializeAws_json1_1GetResolverEndpointRequest = function (input, context) {
|
|
5355
|
-
return __assign({}, (input.ResolverEndpointId
|
|
5356
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5321
|
+
return __assign({}, (input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5357
5322
|
};
|
|
5358
5323
|
var serializeAws_json1_1GetResolverQueryLogConfigAssociationRequest = function (input, context) {
|
|
5359
|
-
return __assign({}, (input.ResolverQueryLogConfigAssociationId
|
|
5360
|
-
input.ResolverQueryLogConfigAssociationId !== null && {
|
|
5324
|
+
return __assign({}, (input.ResolverQueryLogConfigAssociationId != null && {
|
|
5361
5325
|
ResolverQueryLogConfigAssociationId: input.ResolverQueryLogConfigAssociationId,
|
|
5362
5326
|
}));
|
|
5363
5327
|
};
|
|
5364
5328
|
var serializeAws_json1_1GetResolverQueryLogConfigPolicyRequest = function (input, context) {
|
|
5365
|
-
return __assign({}, (input.Arn
|
|
5329
|
+
return __assign({}, (input.Arn != null && { Arn: input.Arn }));
|
|
5366
5330
|
};
|
|
5367
5331
|
var serializeAws_json1_1GetResolverQueryLogConfigRequest = function (input, context) {
|
|
5368
|
-
return __assign({}, (input.ResolverQueryLogConfigId
|
|
5369
|
-
input.ResolverQueryLogConfigId !== null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }));
|
|
5332
|
+
return __assign({}, (input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }));
|
|
5370
5333
|
};
|
|
5371
5334
|
var serializeAws_json1_1GetResolverRuleAssociationRequest = function (input, context) {
|
|
5372
|
-
return __assign({}, (input.ResolverRuleAssociationId
|
|
5373
|
-
input.ResolverRuleAssociationId !== null && { ResolverRuleAssociationId: input.ResolverRuleAssociationId }));
|
|
5335
|
+
return __assign({}, (input.ResolverRuleAssociationId != null && { ResolverRuleAssociationId: input.ResolverRuleAssociationId }));
|
|
5374
5336
|
};
|
|
5375
5337
|
var serializeAws_json1_1GetResolverRulePolicyRequest = function (input, context) {
|
|
5376
|
-
return __assign({}, (input.Arn
|
|
5338
|
+
return __assign({}, (input.Arn != null && { Arn: input.Arn }));
|
|
5377
5339
|
};
|
|
5378
5340
|
var serializeAws_json1_1GetResolverRuleRequest = function (input, context) {
|
|
5379
|
-
return __assign({}, (input.ResolverRuleId
|
|
5380
|
-
input.ResolverRuleId !== null && { ResolverRuleId: input.ResolverRuleId }));
|
|
5341
|
+
return __assign({}, (input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }));
|
|
5381
5342
|
};
|
|
5382
5343
|
var serializeAws_json1_1ImportFirewallDomainsRequest = function (input, context) {
|
|
5383
|
-
return __assign(__assign(__assign({}, (input.DomainFileUrl
|
|
5384
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId })), (input.Operation !== undefined && input.Operation !== null && { Operation: input.Operation }));
|
|
5344
|
+
return __assign(__assign(__assign({}, (input.DomainFileUrl != null && { DomainFileUrl: input.DomainFileUrl })), (input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId })), (input.Operation != null && { Operation: input.Operation }));
|
|
5385
5345
|
};
|
|
5386
5346
|
var serializeAws_json1_1IpAddressesRequest = function (input, context) {
|
|
5387
5347
|
return input
|
|
@@ -5394,84 +5354,69 @@ var serializeAws_json1_1IpAddressesRequest = function (input, context) {
|
|
|
5394
5354
|
});
|
|
5395
5355
|
};
|
|
5396
5356
|
var serializeAws_json1_1IpAddressRequest = function (input, context) {
|
|
5397
|
-
return __assign(__assign({}, (input.Ip
|
|
5357
|
+
return __assign(__assign({}, (input.Ip != null && { Ip: input.Ip })), (input.SubnetId != null && { SubnetId: input.SubnetId }));
|
|
5398
5358
|
};
|
|
5399
5359
|
var serializeAws_json1_1IpAddressUpdate = function (input, context) {
|
|
5400
|
-
return __assign(__assign(__assign({}, (input.Ip
|
|
5360
|
+
return __assign(__assign(__assign({}, (input.Ip != null && { Ip: input.Ip })), (input.IpId != null && { IpId: input.IpId })), (input.SubnetId != null && { SubnetId: input.SubnetId }));
|
|
5401
5361
|
};
|
|
5402
5362
|
var serializeAws_json1_1ListFirewallConfigsRequest = function (input, context) {
|
|
5403
|
-
return __assign(__assign({}, (input.MaxResults
|
|
5363
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5404
5364
|
};
|
|
5405
5365
|
var serializeAws_json1_1ListFirewallDomainListsRequest = function (input, context) {
|
|
5406
|
-
return __assign(__assign({}, (input.MaxResults
|
|
5366
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5407
5367
|
};
|
|
5408
5368
|
var serializeAws_json1_1ListFirewallDomainsRequest = function (input, context) {
|
|
5409
|
-
return __assign(__assign(__assign({}, (input.FirewallDomainListId
|
|
5410
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
5369
|
+
return __assign(__assign(__assign({}, (input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5411
5370
|
};
|
|
5412
5371
|
var serializeAws_json1_1ListFirewallRuleGroupAssociationsRequest = function (input, context) {
|
|
5413
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.FirewallRuleGroupId
|
|
5414
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority })), (input.Status !== undefined && input.Status !== null && { Status: input.Status })), (input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }));
|
|
5372
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Priority != null && { Priority: input.Priority })), (input.Status != null && { Status: input.Status })), (input.VpcId != null && { VpcId: input.VpcId }));
|
|
5415
5373
|
};
|
|
5416
5374
|
var serializeAws_json1_1ListFirewallRuleGroupsRequest = function (input, context) {
|
|
5417
|
-
return __assign(__assign({}, (input.MaxResults
|
|
5375
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5418
5376
|
};
|
|
5419
5377
|
var serializeAws_json1_1ListFirewallRulesRequest = function (input, context) {
|
|
5420
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Action
|
|
5421
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }));
|
|
5378
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Action != null && { Action: input.Action })), (input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Priority != null && { Priority: input.Priority }));
|
|
5422
5379
|
};
|
|
5423
5380
|
var serializeAws_json1_1ListResolverConfigsRequest = function (input, context) {
|
|
5424
|
-
return __assign(__assign({}, (input.MaxResults
|
|
5381
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5425
5382
|
};
|
|
5426
5383
|
var serializeAws_json1_1ListResolverDnssecConfigsRequest = function (input, context) {
|
|
5427
|
-
return __assign(__assign(__assign({}, (input.Filters
|
|
5428
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
5384
|
+
return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5429
5385
|
};
|
|
5430
5386
|
var serializeAws_json1_1ListResolverEndpointIpAddressesRequest = function (input, context) {
|
|
5431
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
5432
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5387
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5433
5388
|
};
|
|
5434
5389
|
var serializeAws_json1_1ListResolverEndpointsRequest = function (input, context) {
|
|
5435
|
-
return __assign(__assign(__assign({}, (input.Filters
|
|
5436
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
5390
|
+
return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5437
5391
|
};
|
|
5438
5392
|
var serializeAws_json1_1ListResolverQueryLogConfigAssociationsRequest = function (input, context) {
|
|
5439
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Filters
|
|
5440
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
5393
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SortBy != null && { SortBy: input.SortBy })), (input.SortOrder != null && { SortOrder: input.SortOrder }));
|
|
5441
5394
|
};
|
|
5442
5395
|
var serializeAws_json1_1ListResolverQueryLogConfigsRequest = function (input, context) {
|
|
5443
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Filters
|
|
5444
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
5396
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SortBy != null && { SortBy: input.SortBy })), (input.SortOrder != null && { SortOrder: input.SortOrder }));
|
|
5445
5397
|
};
|
|
5446
5398
|
var serializeAws_json1_1ListResolverRuleAssociationsRequest = function (input, context) {
|
|
5447
|
-
return __assign(__assign(__assign({}, (input.Filters
|
|
5448
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
5399
|
+
return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5449
5400
|
};
|
|
5450
5401
|
var serializeAws_json1_1ListResolverRulesRequest = function (input, context) {
|
|
5451
|
-
return __assign(__assign(__assign({}, (input.Filters
|
|
5452
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
5402
|
+
return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5453
5403
|
};
|
|
5454
5404
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
5455
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
5405
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
5456
5406
|
};
|
|
5457
5407
|
var serializeAws_json1_1PutFirewallRuleGroupPolicyRequest = function (input, context) {
|
|
5458
|
-
return __assign(__assign({}, (input.Arn
|
|
5459
|
-
input.FirewallRuleGroupPolicy !== null && { FirewallRuleGroupPolicy: input.FirewallRuleGroupPolicy }));
|
|
5408
|
+
return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.FirewallRuleGroupPolicy != null && { FirewallRuleGroupPolicy: input.FirewallRuleGroupPolicy }));
|
|
5460
5409
|
};
|
|
5461
5410
|
var serializeAws_json1_1PutResolverQueryLogConfigPolicyRequest = function (input, context) {
|
|
5462
|
-
return __assign(__assign({}, (input.Arn
|
|
5463
|
-
input.ResolverQueryLogConfigPolicy !== null && {
|
|
5411
|
+
return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.ResolverQueryLogConfigPolicy != null && {
|
|
5464
5412
|
ResolverQueryLogConfigPolicy: input.ResolverQueryLogConfigPolicy,
|
|
5465
5413
|
}));
|
|
5466
5414
|
};
|
|
5467
5415
|
var serializeAws_json1_1PutResolverRulePolicyRequest = function (input, context) {
|
|
5468
|
-
return __assign(__assign({}, (input.Arn
|
|
5469
|
-
input.ResolverRulePolicy !== null && { ResolverRulePolicy: input.ResolverRulePolicy }));
|
|
5416
|
+
return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.ResolverRulePolicy != null && { ResolverRulePolicy: input.ResolverRulePolicy }));
|
|
5470
5417
|
};
|
|
5471
5418
|
var serializeAws_json1_1ResolverRuleConfig = function (input, context) {
|
|
5472
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
5473
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId })), (input.TargetIps !== undefined &&
|
|
5474
|
-
input.TargetIps !== null && { TargetIps: serializeAws_json1_1TargetList(input.TargetIps, context) }));
|
|
5419
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId })), (input.TargetIps != null && { TargetIps: serializeAws_json1_1TargetList(input.TargetIps, context) }));
|
|
5475
5420
|
};
|
|
5476
5421
|
var serializeAws_json1_1SecurityGroupIds = function (input, context) {
|
|
5477
5422
|
return input
|
|
@@ -5484,7 +5429,7 @@ var serializeAws_json1_1SecurityGroupIds = function (input, context) {
|
|
|
5484
5429
|
});
|
|
5485
5430
|
};
|
|
5486
5431
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
5487
|
-
return __assign(__assign({}, (input.Key
|
|
5432
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
5488
5433
|
};
|
|
5489
5434
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
5490
5435
|
return input
|
|
@@ -5507,10 +5452,10 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
5507
5452
|
});
|
|
5508
5453
|
};
|
|
5509
5454
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
5510
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
5455
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
5511
5456
|
};
|
|
5512
5457
|
var serializeAws_json1_1TargetAddress = function (input, context) {
|
|
5513
|
-
return __assign(__assign({}, (input.Ip
|
|
5458
|
+
return __assign(__assign({}, (input.Ip != null && { Ip: input.Ip })), (input.Port != null && { Port: input.Port }));
|
|
5514
5459
|
};
|
|
5515
5460
|
var serializeAws_json1_1TargetList = function (input, context) {
|
|
5516
5461
|
return input
|
|
@@ -5523,48 +5468,33 @@ var serializeAws_json1_1TargetList = function (input, context) {
|
|
|
5523
5468
|
});
|
|
5524
5469
|
};
|
|
5525
5470
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
5526
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
5527
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
5471
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
5528
5472
|
};
|
|
5529
5473
|
var serializeAws_json1_1UpdateFirewallConfigRequest = function (input, context) {
|
|
5530
|
-
return __assign(__assign({}, (input.FirewallFailOpen
|
|
5531
|
-
input.FirewallFailOpen !== null && { FirewallFailOpen: input.FirewallFailOpen })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
5474
|
+
return __assign(__assign({}, (input.FirewallFailOpen != null && { FirewallFailOpen: input.FirewallFailOpen })), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
5532
5475
|
};
|
|
5533
5476
|
var serializeAws_json1_1UpdateFirewallDomainsRequest = function (input, context) {
|
|
5534
|
-
return __assign(__assign(__assign({}, (input.Domains
|
|
5535
|
-
input.Domains !== null && { Domains: serializeAws_json1_1FirewallDomains(input.Domains, context) })), (input.FirewallDomainListId !== undefined &&
|
|
5536
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId })), (input.Operation !== undefined && input.Operation !== null && { Operation: input.Operation }));
|
|
5477
|
+
return __assign(__assign(__assign({}, (input.Domains != null && { Domains: serializeAws_json1_1FirewallDomains(input.Domains, context) })), (input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId })), (input.Operation != null && { Operation: input.Operation }));
|
|
5537
5478
|
};
|
|
5538
5479
|
var serializeAws_json1_1UpdateFirewallRuleGroupAssociationRequest = function (input, context) {
|
|
5539
|
-
return __assign(__assign(__assign(__assign({}, (input.FirewallRuleGroupAssociationId
|
|
5540
|
-
input.FirewallRuleGroupAssociationId !== null && {
|
|
5480
|
+
return __assign(__assign(__assign(__assign({}, (input.FirewallRuleGroupAssociationId != null && {
|
|
5541
5481
|
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
5542
|
-
})), (input.MutationProtection
|
|
5543
|
-
input.MutationProtection !== null && { MutationProtection: input.MutationProtection })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }));
|
|
5482
|
+
})), (input.MutationProtection != null && { MutationProtection: input.MutationProtection })), (input.Name != null && { Name: input.Name })), (input.Priority != null && { Priority: input.Priority }));
|
|
5544
5483
|
};
|
|
5545
5484
|
var serializeAws_json1_1UpdateFirewallRuleRequest = function (input, context) {
|
|
5546
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Action
|
|
5547
|
-
input.BlockOverrideDnsType !== null && { BlockOverrideDnsType: input.BlockOverrideDnsType })), (input.BlockOverrideDomain !== undefined &&
|
|
5548
|
-
input.BlockOverrideDomain !== null && { BlockOverrideDomain: input.BlockOverrideDomain })), (input.BlockOverrideTtl !== undefined &&
|
|
5549
|
-
input.BlockOverrideTtl !== null && { BlockOverrideTtl: input.BlockOverrideTtl })), (input.BlockResponse !== undefined && input.BlockResponse !== null && { BlockResponse: input.BlockResponse })), (input.FirewallDomainListId !== undefined &&
|
|
5550
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId })), (input.FirewallRuleGroupId !== undefined &&
|
|
5551
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }));
|
|
5485
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Action != null && { Action: input.Action })), (input.BlockOverrideDnsType != null && { BlockOverrideDnsType: input.BlockOverrideDnsType })), (input.BlockOverrideDomain != null && { BlockOverrideDomain: input.BlockOverrideDomain })), (input.BlockOverrideTtl != null && { BlockOverrideTtl: input.BlockOverrideTtl })), (input.BlockResponse != null && { BlockResponse: input.BlockResponse })), (input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId })), (input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId })), (input.Name != null && { Name: input.Name })), (input.Priority != null && { Priority: input.Priority }));
|
|
5552
5486
|
};
|
|
5553
5487
|
var serializeAws_json1_1UpdateResolverConfigRequest = function (input, context) {
|
|
5554
|
-
return __assign(__assign({}, (input.AutodefinedReverseFlag
|
|
5555
|
-
input.AutodefinedReverseFlag !== null && { AutodefinedReverseFlag: input.AutodefinedReverseFlag })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
5488
|
+
return __assign(__assign({}, (input.AutodefinedReverseFlag != null && { AutodefinedReverseFlag: input.AutodefinedReverseFlag })), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
5556
5489
|
};
|
|
5557
5490
|
var serializeAws_json1_1UpdateResolverDnssecConfigRequest = function (input, context) {
|
|
5558
|
-
return __assign(__assign({}, (input.ResourceId
|
|
5491
|
+
return __assign(__assign({}, (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.Validation != null && { Validation: input.Validation }));
|
|
5559
5492
|
};
|
|
5560
5493
|
var serializeAws_json1_1UpdateResolverEndpointRequest = function (input, context) {
|
|
5561
|
-
return __assign(__assign({}, (input.Name
|
|
5562
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5494
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }));
|
|
5563
5495
|
};
|
|
5564
5496
|
var serializeAws_json1_1UpdateResolverRuleRequest = function (input, context) {
|
|
5565
|
-
return __assign(__assign({}, (input.Config
|
|
5566
|
-
input.Config !== null && { Config: serializeAws_json1_1ResolverRuleConfig(input.Config, context) })), (input.ResolverRuleId !== undefined &&
|
|
5567
|
-
input.ResolverRuleId !== null && { ResolverRuleId: input.ResolverRuleId }));
|
|
5497
|
+
return __assign(__assign({}, (input.Config != null && { Config: serializeAws_json1_1ResolverRuleConfig(input.Config, context) })), (input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }));
|
|
5568
5498
|
};
|
|
5569
5499
|
var deserializeAws_json1_1AccessDeniedException = function (output, context) {
|
|
5570
5500
|
return {
|
|
@@ -5573,28 +5503,28 @@ var deserializeAws_json1_1AccessDeniedException = function (output, context) {
|
|
|
5573
5503
|
};
|
|
5574
5504
|
var deserializeAws_json1_1AssociateFirewallRuleGroupResponse = function (output, context) {
|
|
5575
5505
|
return {
|
|
5576
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation
|
|
5506
|
+
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
5577
5507
|
? deserializeAws_json1_1FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
5578
5508
|
: undefined,
|
|
5579
5509
|
};
|
|
5580
5510
|
};
|
|
5581
5511
|
var deserializeAws_json1_1AssociateResolverEndpointIpAddressResponse = function (output, context) {
|
|
5582
5512
|
return {
|
|
5583
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
5513
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
5584
5514
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
5585
5515
|
: undefined,
|
|
5586
5516
|
};
|
|
5587
5517
|
};
|
|
5588
5518
|
var deserializeAws_json1_1AssociateResolverQueryLogConfigResponse = function (output, context) {
|
|
5589
5519
|
return {
|
|
5590
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation
|
|
5520
|
+
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
5591
5521
|
? deserializeAws_json1_1ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
5592
5522
|
: undefined,
|
|
5593
5523
|
};
|
|
5594
5524
|
};
|
|
5595
5525
|
var deserializeAws_json1_1AssociateResolverRuleResponse = function (output, context) {
|
|
5596
5526
|
return {
|
|
5597
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation
|
|
5527
|
+
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
5598
5528
|
? deserializeAws_json1_1ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
5599
5529
|
: undefined,
|
|
5600
5530
|
};
|
|
@@ -5606,112 +5536,104 @@ var deserializeAws_json1_1ConflictException = function (output, context) {
|
|
|
5606
5536
|
};
|
|
5607
5537
|
var deserializeAws_json1_1CreateFirewallDomainListResponse = function (output, context) {
|
|
5608
5538
|
return {
|
|
5609
|
-
FirewallDomainList: output.FirewallDomainList
|
|
5539
|
+
FirewallDomainList: output.FirewallDomainList != null
|
|
5610
5540
|
? deserializeAws_json1_1FirewallDomainList(output.FirewallDomainList, context)
|
|
5611
5541
|
: undefined,
|
|
5612
5542
|
};
|
|
5613
5543
|
};
|
|
5614
5544
|
var deserializeAws_json1_1CreateFirewallRuleGroupResponse = function (output, context) {
|
|
5615
5545
|
return {
|
|
5616
|
-
FirewallRuleGroup: output.FirewallRuleGroup
|
|
5546
|
+
FirewallRuleGroup: output.FirewallRuleGroup != null
|
|
5617
5547
|
? deserializeAws_json1_1FirewallRuleGroup(output.FirewallRuleGroup, context)
|
|
5618
5548
|
: undefined,
|
|
5619
5549
|
};
|
|
5620
5550
|
};
|
|
5621
5551
|
var deserializeAws_json1_1CreateFirewallRuleResponse = function (output, context) {
|
|
5622
5552
|
return {
|
|
5623
|
-
FirewallRule: output.FirewallRule
|
|
5624
|
-
? deserializeAws_json1_1FirewallRule(output.FirewallRule, context)
|
|
5625
|
-
: undefined,
|
|
5553
|
+
FirewallRule: output.FirewallRule != null ? deserializeAws_json1_1FirewallRule(output.FirewallRule, context) : undefined,
|
|
5626
5554
|
};
|
|
5627
5555
|
};
|
|
5628
5556
|
var deserializeAws_json1_1CreateResolverEndpointResponse = function (output, context) {
|
|
5629
5557
|
return {
|
|
5630
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
5558
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
5631
5559
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
5632
5560
|
: undefined,
|
|
5633
5561
|
};
|
|
5634
5562
|
};
|
|
5635
5563
|
var deserializeAws_json1_1CreateResolverQueryLogConfigResponse = function (output, context) {
|
|
5636
5564
|
return {
|
|
5637
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig
|
|
5565
|
+
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
5638
5566
|
? deserializeAws_json1_1ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
5639
5567
|
: undefined,
|
|
5640
5568
|
};
|
|
5641
5569
|
};
|
|
5642
5570
|
var deserializeAws_json1_1CreateResolverRuleResponse = function (output, context) {
|
|
5643
5571
|
return {
|
|
5644
|
-
ResolverRule: output.ResolverRule
|
|
5645
|
-
? deserializeAws_json1_1ResolverRule(output.ResolverRule, context)
|
|
5646
|
-
: undefined,
|
|
5572
|
+
ResolverRule: output.ResolverRule != null ? deserializeAws_json1_1ResolverRule(output.ResolverRule, context) : undefined,
|
|
5647
5573
|
};
|
|
5648
5574
|
};
|
|
5649
5575
|
var deserializeAws_json1_1DeleteFirewallDomainListResponse = function (output, context) {
|
|
5650
5576
|
return {
|
|
5651
|
-
FirewallDomainList: output.FirewallDomainList
|
|
5577
|
+
FirewallDomainList: output.FirewallDomainList != null
|
|
5652
5578
|
? deserializeAws_json1_1FirewallDomainList(output.FirewallDomainList, context)
|
|
5653
5579
|
: undefined,
|
|
5654
5580
|
};
|
|
5655
5581
|
};
|
|
5656
5582
|
var deserializeAws_json1_1DeleteFirewallRuleGroupResponse = function (output, context) {
|
|
5657
5583
|
return {
|
|
5658
|
-
FirewallRuleGroup: output.FirewallRuleGroup
|
|
5584
|
+
FirewallRuleGroup: output.FirewallRuleGroup != null
|
|
5659
5585
|
? deserializeAws_json1_1FirewallRuleGroup(output.FirewallRuleGroup, context)
|
|
5660
5586
|
: undefined,
|
|
5661
5587
|
};
|
|
5662
5588
|
};
|
|
5663
5589
|
var deserializeAws_json1_1DeleteFirewallRuleResponse = function (output, context) {
|
|
5664
5590
|
return {
|
|
5665
|
-
FirewallRule: output.FirewallRule
|
|
5666
|
-
? deserializeAws_json1_1FirewallRule(output.FirewallRule, context)
|
|
5667
|
-
: undefined,
|
|
5591
|
+
FirewallRule: output.FirewallRule != null ? deserializeAws_json1_1FirewallRule(output.FirewallRule, context) : undefined,
|
|
5668
5592
|
};
|
|
5669
5593
|
};
|
|
5670
5594
|
var deserializeAws_json1_1DeleteResolverEndpointResponse = function (output, context) {
|
|
5671
5595
|
return {
|
|
5672
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
5596
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
5673
5597
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
5674
5598
|
: undefined,
|
|
5675
5599
|
};
|
|
5676
5600
|
};
|
|
5677
5601
|
var deserializeAws_json1_1DeleteResolverQueryLogConfigResponse = function (output, context) {
|
|
5678
5602
|
return {
|
|
5679
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig
|
|
5603
|
+
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
5680
5604
|
? deserializeAws_json1_1ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
5681
5605
|
: undefined,
|
|
5682
5606
|
};
|
|
5683
5607
|
};
|
|
5684
5608
|
var deserializeAws_json1_1DeleteResolverRuleResponse = function (output, context) {
|
|
5685
5609
|
return {
|
|
5686
|
-
ResolverRule: output.ResolverRule
|
|
5687
|
-
? deserializeAws_json1_1ResolverRule(output.ResolverRule, context)
|
|
5688
|
-
: undefined,
|
|
5610
|
+
ResolverRule: output.ResolverRule != null ? deserializeAws_json1_1ResolverRule(output.ResolverRule, context) : undefined,
|
|
5689
5611
|
};
|
|
5690
5612
|
};
|
|
5691
5613
|
var deserializeAws_json1_1DisassociateFirewallRuleGroupResponse = function (output, context) {
|
|
5692
5614
|
return {
|
|
5693
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation
|
|
5615
|
+
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
5694
5616
|
? deserializeAws_json1_1FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
5695
5617
|
: undefined,
|
|
5696
5618
|
};
|
|
5697
5619
|
};
|
|
5698
5620
|
var deserializeAws_json1_1DisassociateResolverEndpointIpAddressResponse = function (output, context) {
|
|
5699
5621
|
return {
|
|
5700
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
5622
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
5701
5623
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
5702
5624
|
: undefined,
|
|
5703
5625
|
};
|
|
5704
5626
|
};
|
|
5705
5627
|
var deserializeAws_json1_1DisassociateResolverQueryLogConfigResponse = function (output, context) {
|
|
5706
5628
|
return {
|
|
5707
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation
|
|
5629
|
+
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
5708
5630
|
? deserializeAws_json1_1ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
5709
5631
|
: undefined,
|
|
5710
5632
|
};
|
|
5711
5633
|
};
|
|
5712
5634
|
var deserializeAws_json1_1DisassociateResolverRuleResponse = function (output, context) {
|
|
5713
5635
|
return {
|
|
5714
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation
|
|
5636
|
+
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
5715
5637
|
? deserializeAws_json1_1ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
5716
5638
|
: undefined,
|
|
5717
5639
|
};
|
|
@@ -5873,21 +5795,19 @@ var deserializeAws_json1_1FirewallRules = function (output, context) {
|
|
|
5873
5795
|
};
|
|
5874
5796
|
var deserializeAws_json1_1GetFirewallConfigResponse = function (output, context) {
|
|
5875
5797
|
return {
|
|
5876
|
-
FirewallConfig: output.FirewallConfig
|
|
5877
|
-
? deserializeAws_json1_1FirewallConfig(output.FirewallConfig, context)
|
|
5878
|
-
: undefined,
|
|
5798
|
+
FirewallConfig: output.FirewallConfig != null ? deserializeAws_json1_1FirewallConfig(output.FirewallConfig, context) : undefined,
|
|
5879
5799
|
};
|
|
5880
5800
|
};
|
|
5881
5801
|
var deserializeAws_json1_1GetFirewallDomainListResponse = function (output, context) {
|
|
5882
5802
|
return {
|
|
5883
|
-
FirewallDomainList: output.FirewallDomainList
|
|
5803
|
+
FirewallDomainList: output.FirewallDomainList != null
|
|
5884
5804
|
? deserializeAws_json1_1FirewallDomainList(output.FirewallDomainList, context)
|
|
5885
5805
|
: undefined,
|
|
5886
5806
|
};
|
|
5887
5807
|
};
|
|
5888
5808
|
var deserializeAws_json1_1GetFirewallRuleGroupAssociationResponse = function (output, context) {
|
|
5889
5809
|
return {
|
|
5890
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation
|
|
5810
|
+
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
5891
5811
|
? deserializeAws_json1_1FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
5892
5812
|
: undefined,
|
|
5893
5813
|
};
|
|
@@ -5899,35 +5819,33 @@ var deserializeAws_json1_1GetFirewallRuleGroupPolicyResponse = function (output,
|
|
|
5899
5819
|
};
|
|
5900
5820
|
var deserializeAws_json1_1GetFirewallRuleGroupResponse = function (output, context) {
|
|
5901
5821
|
return {
|
|
5902
|
-
FirewallRuleGroup: output.FirewallRuleGroup
|
|
5822
|
+
FirewallRuleGroup: output.FirewallRuleGroup != null
|
|
5903
5823
|
? deserializeAws_json1_1FirewallRuleGroup(output.FirewallRuleGroup, context)
|
|
5904
5824
|
: undefined,
|
|
5905
5825
|
};
|
|
5906
5826
|
};
|
|
5907
5827
|
var deserializeAws_json1_1GetResolverConfigResponse = function (output, context) {
|
|
5908
5828
|
return {
|
|
5909
|
-
ResolverConfig: output.ResolverConfig
|
|
5910
|
-
? deserializeAws_json1_1ResolverConfig(output.ResolverConfig, context)
|
|
5911
|
-
: undefined,
|
|
5829
|
+
ResolverConfig: output.ResolverConfig != null ? deserializeAws_json1_1ResolverConfig(output.ResolverConfig, context) : undefined,
|
|
5912
5830
|
};
|
|
5913
5831
|
};
|
|
5914
5832
|
var deserializeAws_json1_1GetResolverDnssecConfigResponse = function (output, context) {
|
|
5915
5833
|
return {
|
|
5916
|
-
ResolverDNSSECConfig: output.ResolverDNSSECConfig
|
|
5834
|
+
ResolverDNSSECConfig: output.ResolverDNSSECConfig != null
|
|
5917
5835
|
? deserializeAws_json1_1ResolverDnssecConfig(output.ResolverDNSSECConfig, context)
|
|
5918
5836
|
: undefined,
|
|
5919
5837
|
};
|
|
5920
5838
|
};
|
|
5921
5839
|
var deserializeAws_json1_1GetResolverEndpointResponse = function (output, context) {
|
|
5922
5840
|
return {
|
|
5923
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
5841
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
5924
5842
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
5925
5843
|
: undefined,
|
|
5926
5844
|
};
|
|
5927
5845
|
};
|
|
5928
5846
|
var deserializeAws_json1_1GetResolverQueryLogConfigAssociationResponse = function (output, context) {
|
|
5929
5847
|
return {
|
|
5930
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation
|
|
5848
|
+
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
5931
5849
|
? deserializeAws_json1_1ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
5932
5850
|
: undefined,
|
|
5933
5851
|
};
|
|
@@ -5939,14 +5857,14 @@ var deserializeAws_json1_1GetResolverQueryLogConfigPolicyResponse = function (ou
|
|
|
5939
5857
|
};
|
|
5940
5858
|
var deserializeAws_json1_1GetResolverQueryLogConfigResponse = function (output, context) {
|
|
5941
5859
|
return {
|
|
5942
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig
|
|
5860
|
+
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
5943
5861
|
? deserializeAws_json1_1ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
5944
5862
|
: undefined,
|
|
5945
5863
|
};
|
|
5946
5864
|
};
|
|
5947
5865
|
var deserializeAws_json1_1GetResolverRuleAssociationResponse = function (output, context) {
|
|
5948
5866
|
return {
|
|
5949
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation
|
|
5867
|
+
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
5950
5868
|
? deserializeAws_json1_1ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
5951
5869
|
: undefined,
|
|
5952
5870
|
};
|
|
@@ -5958,9 +5876,7 @@ var deserializeAws_json1_1GetResolverRulePolicyResponse = function (output, cont
|
|
|
5958
5876
|
};
|
|
5959
5877
|
var deserializeAws_json1_1GetResolverRuleResponse = function (output, context) {
|
|
5960
5878
|
return {
|
|
5961
|
-
ResolverRule: output.ResolverRule
|
|
5962
|
-
? deserializeAws_json1_1ResolverRule(output.ResolverRule, context)
|
|
5963
|
-
: undefined,
|
|
5879
|
+
ResolverRule: output.ResolverRule != null ? deserializeAws_json1_1ResolverRule(output.ResolverRule, context) : undefined,
|
|
5964
5880
|
};
|
|
5965
5881
|
};
|
|
5966
5882
|
var deserializeAws_json1_1ImportFirewallDomainsResponse = function (output, context) {
|
|
@@ -6032,7 +5948,7 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
6032
5948
|
};
|
|
6033
5949
|
var deserializeAws_json1_1ListFirewallConfigsResponse = function (output, context) {
|
|
6034
5950
|
return {
|
|
6035
|
-
FirewallConfigs: output.FirewallConfigs
|
|
5951
|
+
FirewallConfigs: output.FirewallConfigs != null
|
|
6036
5952
|
? deserializeAws_json1_1FirewallConfigList(output.FirewallConfigs, context)
|
|
6037
5953
|
: undefined,
|
|
6038
5954
|
NextToken: __expectString(output.NextToken),
|
|
@@ -6040,7 +5956,7 @@ var deserializeAws_json1_1ListFirewallConfigsResponse = function (output, contex
|
|
|
6040
5956
|
};
|
|
6041
5957
|
var deserializeAws_json1_1ListFirewallDomainListsResponse = function (output, context) {
|
|
6042
5958
|
return {
|
|
6043
|
-
FirewallDomainLists: output.FirewallDomainLists
|
|
5959
|
+
FirewallDomainLists: output.FirewallDomainLists != null
|
|
6044
5960
|
? deserializeAws_json1_1FirewallDomainListMetadataList(output.FirewallDomainLists, context)
|
|
6045
5961
|
: undefined,
|
|
6046
5962
|
NextToken: __expectString(output.NextToken),
|
|
@@ -6048,15 +5964,13 @@ var deserializeAws_json1_1ListFirewallDomainListsResponse = function (output, co
|
|
|
6048
5964
|
};
|
|
6049
5965
|
var deserializeAws_json1_1ListFirewallDomainsResponse = function (output, context) {
|
|
6050
5966
|
return {
|
|
6051
|
-
Domains: output.Domains
|
|
6052
|
-
? deserializeAws_json1_1FirewallDomains(output.Domains, context)
|
|
6053
|
-
: undefined,
|
|
5967
|
+
Domains: output.Domains != null ? deserializeAws_json1_1FirewallDomains(output.Domains, context) : undefined,
|
|
6054
5968
|
NextToken: __expectString(output.NextToken),
|
|
6055
5969
|
};
|
|
6056
5970
|
};
|
|
6057
5971
|
var deserializeAws_json1_1ListFirewallRuleGroupAssociationsResponse = function (output, context) {
|
|
6058
5972
|
return {
|
|
6059
|
-
FirewallRuleGroupAssociations: output.FirewallRuleGroupAssociations
|
|
5973
|
+
FirewallRuleGroupAssociations: output.FirewallRuleGroupAssociations != null
|
|
6060
5974
|
? deserializeAws_json1_1FirewallRuleGroupAssociations(output.FirewallRuleGroupAssociations, context)
|
|
6061
5975
|
: undefined,
|
|
6062
5976
|
NextToken: __expectString(output.NextToken),
|
|
@@ -6064,7 +5978,7 @@ var deserializeAws_json1_1ListFirewallRuleGroupAssociationsResponse = function (
|
|
|
6064
5978
|
};
|
|
6065
5979
|
var deserializeAws_json1_1ListFirewallRuleGroupsResponse = function (output, context) {
|
|
6066
5980
|
return {
|
|
6067
|
-
FirewallRuleGroups: output.FirewallRuleGroups
|
|
5981
|
+
FirewallRuleGroups: output.FirewallRuleGroups != null
|
|
6068
5982
|
? deserializeAws_json1_1FirewallRuleGroupMetadataList(output.FirewallRuleGroups, context)
|
|
6069
5983
|
: undefined,
|
|
6070
5984
|
NextToken: __expectString(output.NextToken),
|
|
@@ -6072,16 +5986,14 @@ var deserializeAws_json1_1ListFirewallRuleGroupsResponse = function (output, con
|
|
|
6072
5986
|
};
|
|
6073
5987
|
var deserializeAws_json1_1ListFirewallRulesResponse = function (output, context) {
|
|
6074
5988
|
return {
|
|
6075
|
-
FirewallRules: output.FirewallRules
|
|
6076
|
-
? deserializeAws_json1_1FirewallRules(output.FirewallRules, context)
|
|
6077
|
-
: undefined,
|
|
5989
|
+
FirewallRules: output.FirewallRules != null ? deserializeAws_json1_1FirewallRules(output.FirewallRules, context) : undefined,
|
|
6078
5990
|
NextToken: __expectString(output.NextToken),
|
|
6079
5991
|
};
|
|
6080
5992
|
};
|
|
6081
5993
|
var deserializeAws_json1_1ListResolverConfigsResponse = function (output, context) {
|
|
6082
5994
|
return {
|
|
6083
5995
|
NextToken: __expectString(output.NextToken),
|
|
6084
|
-
ResolverConfigs: output.ResolverConfigs
|
|
5996
|
+
ResolverConfigs: output.ResolverConfigs != null
|
|
6085
5997
|
? deserializeAws_json1_1ResolverConfigList(output.ResolverConfigs, context)
|
|
6086
5998
|
: undefined,
|
|
6087
5999
|
};
|
|
@@ -6089,16 +6001,14 @@ var deserializeAws_json1_1ListResolverConfigsResponse = function (output, contex
|
|
|
6089
6001
|
var deserializeAws_json1_1ListResolverDnssecConfigsResponse = function (output, context) {
|
|
6090
6002
|
return {
|
|
6091
6003
|
NextToken: __expectString(output.NextToken),
|
|
6092
|
-
ResolverDnssecConfigs: output.ResolverDnssecConfigs
|
|
6004
|
+
ResolverDnssecConfigs: output.ResolverDnssecConfigs != null
|
|
6093
6005
|
? deserializeAws_json1_1ResolverDnssecConfigList(output.ResolverDnssecConfigs, context)
|
|
6094
6006
|
: undefined,
|
|
6095
6007
|
};
|
|
6096
6008
|
};
|
|
6097
6009
|
var deserializeAws_json1_1ListResolverEndpointIpAddressesResponse = function (output, context) {
|
|
6098
6010
|
return {
|
|
6099
|
-
IpAddresses: output.IpAddresses
|
|
6100
|
-
? deserializeAws_json1_1IpAddressesResponse(output.IpAddresses, context)
|
|
6101
|
-
: undefined,
|
|
6011
|
+
IpAddresses: output.IpAddresses != null ? deserializeAws_json1_1IpAddressesResponse(output.IpAddresses, context) : undefined,
|
|
6102
6012
|
MaxResults: __expectInt32(output.MaxResults),
|
|
6103
6013
|
NextToken: __expectString(output.NextToken),
|
|
6104
6014
|
};
|
|
@@ -6107,7 +6017,7 @@ var deserializeAws_json1_1ListResolverEndpointsResponse = function (output, cont
|
|
|
6107
6017
|
return {
|
|
6108
6018
|
MaxResults: __expectInt32(output.MaxResults),
|
|
6109
6019
|
NextToken: __expectString(output.NextToken),
|
|
6110
|
-
ResolverEndpoints: output.ResolverEndpoints
|
|
6020
|
+
ResolverEndpoints: output.ResolverEndpoints != null
|
|
6111
6021
|
? deserializeAws_json1_1ResolverEndpoints(output.ResolverEndpoints, context)
|
|
6112
6022
|
: undefined,
|
|
6113
6023
|
};
|
|
@@ -6115,7 +6025,7 @@ var deserializeAws_json1_1ListResolverEndpointsResponse = function (output, cont
|
|
|
6115
6025
|
var deserializeAws_json1_1ListResolverQueryLogConfigAssociationsResponse = function (output, context) {
|
|
6116
6026
|
return {
|
|
6117
6027
|
NextToken: __expectString(output.NextToken),
|
|
6118
|
-
ResolverQueryLogConfigAssociations: output.ResolverQueryLogConfigAssociations
|
|
6028
|
+
ResolverQueryLogConfigAssociations: output.ResolverQueryLogConfigAssociations != null
|
|
6119
6029
|
? deserializeAws_json1_1ResolverQueryLogConfigAssociationList(output.ResolverQueryLogConfigAssociations, context)
|
|
6120
6030
|
: undefined,
|
|
6121
6031
|
TotalCount: __expectInt32(output.TotalCount),
|
|
@@ -6125,7 +6035,7 @@ var deserializeAws_json1_1ListResolverQueryLogConfigAssociationsResponse = funct
|
|
|
6125
6035
|
var deserializeAws_json1_1ListResolverQueryLogConfigsResponse = function (output, context) {
|
|
6126
6036
|
return {
|
|
6127
6037
|
NextToken: __expectString(output.NextToken),
|
|
6128
|
-
ResolverQueryLogConfigs: output.ResolverQueryLogConfigs
|
|
6038
|
+
ResolverQueryLogConfigs: output.ResolverQueryLogConfigs != null
|
|
6129
6039
|
? deserializeAws_json1_1ResolverQueryLogConfigList(output.ResolverQueryLogConfigs, context)
|
|
6130
6040
|
: undefined,
|
|
6131
6041
|
TotalCount: __expectInt32(output.TotalCount),
|
|
@@ -6136,7 +6046,7 @@ var deserializeAws_json1_1ListResolverRuleAssociationsResponse = function (outpu
|
|
|
6136
6046
|
return {
|
|
6137
6047
|
MaxResults: __expectInt32(output.MaxResults),
|
|
6138
6048
|
NextToken: __expectString(output.NextToken),
|
|
6139
|
-
ResolverRuleAssociations: output.ResolverRuleAssociations
|
|
6049
|
+
ResolverRuleAssociations: output.ResolverRuleAssociations != null
|
|
6140
6050
|
? deserializeAws_json1_1ResolverRuleAssociations(output.ResolverRuleAssociations, context)
|
|
6141
6051
|
: undefined,
|
|
6142
6052
|
};
|
|
@@ -6145,17 +6055,13 @@ var deserializeAws_json1_1ListResolverRulesResponse = function (output, context)
|
|
|
6145
6055
|
return {
|
|
6146
6056
|
MaxResults: __expectInt32(output.MaxResults),
|
|
6147
6057
|
NextToken: __expectString(output.NextToken),
|
|
6148
|
-
ResolverRules: output.ResolverRules
|
|
6149
|
-
? deserializeAws_json1_1ResolverRules(output.ResolverRules, context)
|
|
6150
|
-
: undefined,
|
|
6058
|
+
ResolverRules: output.ResolverRules != null ? deserializeAws_json1_1ResolverRules(output.ResolverRules, context) : undefined,
|
|
6151
6059
|
};
|
|
6152
6060
|
};
|
|
6153
6061
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
6154
6062
|
return {
|
|
6155
6063
|
NextToken: __expectString(output.NextToken),
|
|
6156
|
-
Tags: output.Tags
|
|
6157
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
6158
|
-
: undefined,
|
|
6064
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
6159
6065
|
};
|
|
6160
6066
|
};
|
|
6161
6067
|
var deserializeAws_json1_1PutFirewallRuleGroupPolicyResponse = function (output, context) {
|
|
@@ -6222,7 +6128,7 @@ var deserializeAws_json1_1ResolverEndpoint = function (output, context) {
|
|
|
6222
6128
|
IpAddressCount: __expectInt32(output.IpAddressCount),
|
|
6223
6129
|
ModificationTime: __expectString(output.ModificationTime),
|
|
6224
6130
|
Name: __expectString(output.Name),
|
|
6225
|
-
SecurityGroupIds: output.SecurityGroupIds
|
|
6131
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
6226
6132
|
? deserializeAws_json1_1SecurityGroupIds(output.SecurityGroupIds, context)
|
|
6227
6133
|
: undefined,
|
|
6228
6134
|
Status: __expectString(output.Status),
|
|
@@ -6302,9 +6208,7 @@ var deserializeAws_json1_1ResolverRule = function (output, context) {
|
|
|
6302
6208
|
ShareStatus: __expectString(output.ShareStatus),
|
|
6303
6209
|
Status: __expectString(output.Status),
|
|
6304
6210
|
StatusMessage: __expectString(output.StatusMessage),
|
|
6305
|
-
TargetIps: output.TargetIps
|
|
6306
|
-
? deserializeAws_json1_1TargetList(output.TargetIps, context)
|
|
6307
|
-
: undefined,
|
|
6211
|
+
TargetIps: output.TargetIps != null ? deserializeAws_json1_1TargetList(output.TargetIps, context) : undefined,
|
|
6308
6212
|
};
|
|
6309
6213
|
};
|
|
6310
6214
|
var deserializeAws_json1_1ResolverRuleAssociation = function (output, context) {
|
|
@@ -6426,9 +6330,7 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
6426
6330
|
};
|
|
6427
6331
|
var deserializeAws_json1_1UpdateFirewallConfigResponse = function (output, context) {
|
|
6428
6332
|
return {
|
|
6429
|
-
FirewallConfig: output.FirewallConfig
|
|
6430
|
-
? deserializeAws_json1_1FirewallConfig(output.FirewallConfig, context)
|
|
6431
|
-
: undefined,
|
|
6333
|
+
FirewallConfig: output.FirewallConfig != null ? deserializeAws_json1_1FirewallConfig(output.FirewallConfig, context) : undefined,
|
|
6432
6334
|
};
|
|
6433
6335
|
};
|
|
6434
6336
|
var deserializeAws_json1_1UpdateFirewallDomainsResponse = function (output, context) {
|
|
@@ -6441,44 +6343,38 @@ var deserializeAws_json1_1UpdateFirewallDomainsResponse = function (output, cont
|
|
|
6441
6343
|
};
|
|
6442
6344
|
var deserializeAws_json1_1UpdateFirewallRuleGroupAssociationResponse = function (output, context) {
|
|
6443
6345
|
return {
|
|
6444
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation
|
|
6346
|
+
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
6445
6347
|
? deserializeAws_json1_1FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
6446
6348
|
: undefined,
|
|
6447
6349
|
};
|
|
6448
6350
|
};
|
|
6449
6351
|
var deserializeAws_json1_1UpdateFirewallRuleResponse = function (output, context) {
|
|
6450
6352
|
return {
|
|
6451
|
-
FirewallRule: output.FirewallRule
|
|
6452
|
-
? deserializeAws_json1_1FirewallRule(output.FirewallRule, context)
|
|
6453
|
-
: undefined,
|
|
6353
|
+
FirewallRule: output.FirewallRule != null ? deserializeAws_json1_1FirewallRule(output.FirewallRule, context) : undefined,
|
|
6454
6354
|
};
|
|
6455
6355
|
};
|
|
6456
6356
|
var deserializeAws_json1_1UpdateResolverConfigResponse = function (output, context) {
|
|
6457
6357
|
return {
|
|
6458
|
-
ResolverConfig: output.ResolverConfig
|
|
6459
|
-
? deserializeAws_json1_1ResolverConfig(output.ResolverConfig, context)
|
|
6460
|
-
: undefined,
|
|
6358
|
+
ResolverConfig: output.ResolverConfig != null ? deserializeAws_json1_1ResolverConfig(output.ResolverConfig, context) : undefined,
|
|
6461
6359
|
};
|
|
6462
6360
|
};
|
|
6463
6361
|
var deserializeAws_json1_1UpdateResolverDnssecConfigResponse = function (output, context) {
|
|
6464
6362
|
return {
|
|
6465
|
-
ResolverDNSSECConfig: output.ResolverDNSSECConfig
|
|
6363
|
+
ResolverDNSSECConfig: output.ResolverDNSSECConfig != null
|
|
6466
6364
|
? deserializeAws_json1_1ResolverDnssecConfig(output.ResolverDNSSECConfig, context)
|
|
6467
6365
|
: undefined,
|
|
6468
6366
|
};
|
|
6469
6367
|
};
|
|
6470
6368
|
var deserializeAws_json1_1UpdateResolverEndpointResponse = function (output, context) {
|
|
6471
6369
|
return {
|
|
6472
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
6370
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
6473
6371
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
6474
6372
|
: undefined,
|
|
6475
6373
|
};
|
|
6476
6374
|
};
|
|
6477
6375
|
var deserializeAws_json1_1UpdateResolverRuleResponse = function (output, context) {
|
|
6478
6376
|
return {
|
|
6479
|
-
ResolverRule: output.ResolverRule
|
|
6480
|
-
? deserializeAws_json1_1ResolverRule(output.ResolverRule, context)
|
|
6481
|
-
: undefined,
|
|
6377
|
+
ResolverRule: output.ResolverRule != null ? deserializeAws_json1_1ResolverRule(output.ResolverRule, context) : undefined,
|
|
6482
6378
|
};
|
|
6483
6379
|
};
|
|
6484
6380
|
var deserializeAws_json1_1ValidationException = function (output, context) {
|
|
@@ -6542,6 +6438,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
6542
6438
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
6543
6439
|
var sanitizeErrorCode = function (rawValue) {
|
|
6544
6440
|
var cleanValue = rawValue;
|
|
6441
|
+
if (typeof cleanValue === "number") {
|
|
6442
|
+
cleanValue = cleanValue.toString();
|
|
6443
|
+
}
|
|
6545
6444
|
if (cleanValue.indexOf(":") >= 0) {
|
|
6546
6445
|
cleanValue = cleanValue.split(":")[0];
|
|
6547
6446
|
}
|