@aws-sdk/client-route53resolver 3.121.0 → 3.127.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 +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +228 -332
- package/dist-es/protocols/Aws_json1_1.js +127 -231
- package/package.json +26 -26
|
@@ -3969,189 +3969,158 @@ const serializeAws_json1_1AssociateFirewallRuleGroupRequest = (input, context) =
|
|
|
3969
3969
|
var _a;
|
|
3970
3970
|
return {
|
|
3971
3971
|
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
3972
|
-
...(input.FirewallRuleGroupId
|
|
3973
|
-
|
|
3974
|
-
...(input.
|
|
3975
|
-
|
|
3976
|
-
...(input.
|
|
3977
|
-
...(input.
|
|
3978
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
3979
|
-
...(input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }),
|
|
3972
|
+
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
3973
|
+
...(input.MutationProtection != null && { MutationProtection: input.MutationProtection }),
|
|
3974
|
+
...(input.Name != null && { Name: input.Name }),
|
|
3975
|
+
...(input.Priority != null && { Priority: input.Priority }),
|
|
3976
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
3977
|
+
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
3980
3978
|
};
|
|
3981
3979
|
};
|
|
3982
3980
|
const serializeAws_json1_1AssociateResolverEndpointIpAddressRequest = (input, context) => {
|
|
3983
3981
|
return {
|
|
3984
|
-
...(input.IpAddress
|
|
3985
|
-
|
|
3986
|
-
...(input.ResolverEndpointId !== undefined &&
|
|
3987
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3982
|
+
...(input.IpAddress != null && { IpAddress: serializeAws_json1_1IpAddressUpdate(input.IpAddress, context) }),
|
|
3983
|
+
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3988
3984
|
};
|
|
3989
3985
|
};
|
|
3990
3986
|
const serializeAws_json1_1AssociateResolverQueryLogConfigRequest = (input, context) => {
|
|
3991
3987
|
return {
|
|
3992
|
-
...(input.ResolverQueryLogConfigId
|
|
3993
|
-
|
|
3994
|
-
...(input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }),
|
|
3988
|
+
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
3989
|
+
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3995
3990
|
};
|
|
3996
3991
|
};
|
|
3997
3992
|
const serializeAws_json1_1AssociateResolverRuleRequest = (input, context) => {
|
|
3998
3993
|
return {
|
|
3999
|
-
...(input.Name
|
|
4000
|
-
...(input.ResolverRuleId
|
|
4001
|
-
|
|
4002
|
-
...(input.VPCId !== undefined && input.VPCId !== null && { VPCId: input.VPCId }),
|
|
3994
|
+
...(input.Name != null && { Name: input.Name }),
|
|
3995
|
+
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
3996
|
+
...(input.VPCId != null && { VPCId: input.VPCId }),
|
|
4003
3997
|
};
|
|
4004
3998
|
};
|
|
4005
3999
|
const serializeAws_json1_1CreateFirewallDomainListRequest = (input, context) => {
|
|
4006
4000
|
var _a;
|
|
4007
4001
|
return {
|
|
4008
4002
|
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4009
|
-
...(input.Name
|
|
4010
|
-
...(input.Tags
|
|
4003
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4004
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
4011
4005
|
};
|
|
4012
4006
|
};
|
|
4013
4007
|
const serializeAws_json1_1CreateFirewallRuleGroupRequest = (input, context) => {
|
|
4014
4008
|
var _a;
|
|
4015
4009
|
return {
|
|
4016
4010
|
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4017
|
-
...(input.Name
|
|
4018
|
-
...(input.Tags
|
|
4011
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4012
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
4019
4013
|
};
|
|
4020
4014
|
};
|
|
4021
4015
|
const serializeAws_json1_1CreateFirewallRuleRequest = (input, context) => {
|
|
4022
4016
|
var _a;
|
|
4023
4017
|
return {
|
|
4024
|
-
...(input.Action
|
|
4025
|
-
...(input.BlockOverrideDnsType
|
|
4026
|
-
|
|
4027
|
-
...(input.
|
|
4028
|
-
|
|
4029
|
-
...(input.BlockOverrideTtl !== undefined &&
|
|
4030
|
-
input.BlockOverrideTtl !== null && { BlockOverrideTtl: input.BlockOverrideTtl }),
|
|
4031
|
-
...(input.BlockResponse !== undefined && input.BlockResponse !== null && { BlockResponse: input.BlockResponse }),
|
|
4018
|
+
...(input.Action != null && { Action: input.Action }),
|
|
4019
|
+
...(input.BlockOverrideDnsType != null && { BlockOverrideDnsType: input.BlockOverrideDnsType }),
|
|
4020
|
+
...(input.BlockOverrideDomain != null && { BlockOverrideDomain: input.BlockOverrideDomain }),
|
|
4021
|
+
...(input.BlockOverrideTtl != null && { BlockOverrideTtl: input.BlockOverrideTtl }),
|
|
4022
|
+
...(input.BlockResponse != null && { BlockResponse: input.BlockResponse }),
|
|
4032
4023
|
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4033
|
-
...(input.FirewallDomainListId
|
|
4034
|
-
|
|
4035
|
-
...(input.
|
|
4036
|
-
|
|
4037
|
-
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
4038
|
-
...(input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }),
|
|
4024
|
+
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4025
|
+
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4026
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4027
|
+
...(input.Priority != null && { Priority: input.Priority }),
|
|
4039
4028
|
};
|
|
4040
4029
|
};
|
|
4041
4030
|
const serializeAws_json1_1CreateResolverEndpointRequest = (input, context) => {
|
|
4042
4031
|
return {
|
|
4043
|
-
...(input.CreatorRequestId
|
|
4044
|
-
|
|
4045
|
-
...(input.
|
|
4046
|
-
...(input.IpAddresses !== undefined &&
|
|
4047
|
-
input.IpAddresses !== null && {
|
|
4032
|
+
...(input.CreatorRequestId != null && { CreatorRequestId: input.CreatorRequestId }),
|
|
4033
|
+
...(input.Direction != null && { Direction: input.Direction }),
|
|
4034
|
+
...(input.IpAddresses != null && {
|
|
4048
4035
|
IpAddresses: serializeAws_json1_1IpAddressesRequest(input.IpAddresses, context),
|
|
4049
4036
|
}),
|
|
4050
|
-
...(input.Name
|
|
4051
|
-
...(input.SecurityGroupIds
|
|
4052
|
-
input.SecurityGroupIds !== null && {
|
|
4037
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4038
|
+
...(input.SecurityGroupIds != null && {
|
|
4053
4039
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIds(input.SecurityGroupIds, context),
|
|
4054
4040
|
}),
|
|
4055
|
-
...(input.Tags
|
|
4041
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
4056
4042
|
};
|
|
4057
4043
|
};
|
|
4058
4044
|
const serializeAws_json1_1CreateResolverQueryLogConfigRequest = (input, context) => {
|
|
4059
4045
|
var _a;
|
|
4060
4046
|
return {
|
|
4061
4047
|
CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4062
|
-
...(input.DestinationArn
|
|
4063
|
-
|
|
4064
|
-
...(input.
|
|
4065
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
4048
|
+
...(input.DestinationArn != null && { DestinationArn: input.DestinationArn }),
|
|
4049
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4050
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
4066
4051
|
};
|
|
4067
4052
|
};
|
|
4068
4053
|
const serializeAws_json1_1CreateResolverRuleRequest = (input, context) => {
|
|
4069
4054
|
return {
|
|
4070
|
-
...(input.CreatorRequestId
|
|
4071
|
-
|
|
4072
|
-
...(input.
|
|
4073
|
-
...(input.
|
|
4074
|
-
...(input.
|
|
4075
|
-
|
|
4076
|
-
...(input.
|
|
4077
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
4078
|
-
...(input.TargetIps !== undefined &&
|
|
4079
|
-
input.TargetIps !== null && { TargetIps: serializeAws_json1_1TargetList(input.TargetIps, context) }),
|
|
4055
|
+
...(input.CreatorRequestId != null && { CreatorRequestId: input.CreatorRequestId }),
|
|
4056
|
+
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
4057
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4058
|
+
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4059
|
+
...(input.RuleType != null && { RuleType: input.RuleType }),
|
|
4060
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
4061
|
+
...(input.TargetIps != null && { TargetIps: serializeAws_json1_1TargetList(input.TargetIps, context) }),
|
|
4080
4062
|
};
|
|
4081
4063
|
};
|
|
4082
4064
|
const serializeAws_json1_1DeleteFirewallDomainListRequest = (input, context) => {
|
|
4083
4065
|
return {
|
|
4084
|
-
...(input.FirewallDomainListId
|
|
4085
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4066
|
+
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4086
4067
|
};
|
|
4087
4068
|
};
|
|
4088
4069
|
const serializeAws_json1_1DeleteFirewallRuleGroupRequest = (input, context) => {
|
|
4089
4070
|
return {
|
|
4090
|
-
...(input.FirewallRuleGroupId
|
|
4091
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4071
|
+
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4092
4072
|
};
|
|
4093
4073
|
};
|
|
4094
4074
|
const serializeAws_json1_1DeleteFirewallRuleRequest = (input, context) => {
|
|
4095
4075
|
return {
|
|
4096
|
-
...(input.FirewallDomainListId
|
|
4097
|
-
|
|
4098
|
-
...(input.FirewallRuleGroupId !== undefined &&
|
|
4099
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4076
|
+
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4077
|
+
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4100
4078
|
};
|
|
4101
4079
|
};
|
|
4102
4080
|
const serializeAws_json1_1DeleteResolverEndpointRequest = (input, context) => {
|
|
4103
4081
|
return {
|
|
4104
|
-
...(input.ResolverEndpointId
|
|
4105
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4082
|
+
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4106
4083
|
};
|
|
4107
4084
|
};
|
|
4108
4085
|
const serializeAws_json1_1DeleteResolverQueryLogConfigRequest = (input, context) => {
|
|
4109
4086
|
return {
|
|
4110
|
-
...(input.ResolverQueryLogConfigId
|
|
4111
|
-
input.ResolverQueryLogConfigId !== null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
4087
|
+
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
4112
4088
|
};
|
|
4113
4089
|
};
|
|
4114
4090
|
const serializeAws_json1_1DeleteResolverRuleRequest = (input, context) => {
|
|
4115
4091
|
return {
|
|
4116
|
-
...(input.ResolverRuleId
|
|
4117
|
-
input.ResolverRuleId !== null && { ResolverRuleId: input.ResolverRuleId }),
|
|
4092
|
+
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
4118
4093
|
};
|
|
4119
4094
|
};
|
|
4120
4095
|
const serializeAws_json1_1DisassociateFirewallRuleGroupRequest = (input, context) => {
|
|
4121
4096
|
return {
|
|
4122
|
-
...(input.FirewallRuleGroupAssociationId
|
|
4123
|
-
input.FirewallRuleGroupAssociationId !== null && {
|
|
4097
|
+
...(input.FirewallRuleGroupAssociationId != null && {
|
|
4124
4098
|
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
4125
4099
|
}),
|
|
4126
4100
|
};
|
|
4127
4101
|
};
|
|
4128
4102
|
const serializeAws_json1_1DisassociateResolverEndpointIpAddressRequest = (input, context) => {
|
|
4129
4103
|
return {
|
|
4130
|
-
...(input.IpAddress
|
|
4131
|
-
|
|
4132
|
-
...(input.ResolverEndpointId !== undefined &&
|
|
4133
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4104
|
+
...(input.IpAddress != null && { IpAddress: serializeAws_json1_1IpAddressUpdate(input.IpAddress, context) }),
|
|
4105
|
+
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4134
4106
|
};
|
|
4135
4107
|
};
|
|
4136
4108
|
const serializeAws_json1_1DisassociateResolverQueryLogConfigRequest = (input, context) => {
|
|
4137
4109
|
return {
|
|
4138
|
-
...(input.ResolverQueryLogConfigId
|
|
4139
|
-
|
|
4140
|
-
...(input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }),
|
|
4110
|
+
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
4111
|
+
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4141
4112
|
};
|
|
4142
4113
|
};
|
|
4143
4114
|
const serializeAws_json1_1DisassociateResolverRuleRequest = (input, context) => {
|
|
4144
4115
|
return {
|
|
4145
|
-
...(input.ResolverRuleId
|
|
4146
|
-
|
|
4147
|
-
...(input.VPCId !== undefined && input.VPCId !== null && { VPCId: input.VPCId }),
|
|
4116
|
+
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
4117
|
+
...(input.VPCId != null && { VPCId: input.VPCId }),
|
|
4148
4118
|
};
|
|
4149
4119
|
};
|
|
4150
4120
|
const serializeAws_json1_1Filter = (input, context) => {
|
|
4151
4121
|
return {
|
|
4152
|
-
...(input.Name
|
|
4153
|
-
...(input.Values
|
|
4154
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }),
|
|
4122
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4123
|
+
...(input.Values != null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }),
|
|
4155
4124
|
};
|
|
4156
4125
|
};
|
|
4157
4126
|
const serializeAws_json1_1Filters = (input, context) => {
|
|
@@ -4186,92 +4155,83 @@ const serializeAws_json1_1FirewallDomains = (input, context) => {
|
|
|
4186
4155
|
};
|
|
4187
4156
|
const serializeAws_json1_1GetFirewallConfigRequest = (input, context) => {
|
|
4188
4157
|
return {
|
|
4189
|
-
...(input.ResourceId
|
|
4158
|
+
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4190
4159
|
};
|
|
4191
4160
|
};
|
|
4192
4161
|
const serializeAws_json1_1GetFirewallDomainListRequest = (input, context) => {
|
|
4193
4162
|
return {
|
|
4194
|
-
...(input.FirewallDomainListId
|
|
4195
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4163
|
+
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4196
4164
|
};
|
|
4197
4165
|
};
|
|
4198
4166
|
const serializeAws_json1_1GetFirewallRuleGroupAssociationRequest = (input, context) => {
|
|
4199
4167
|
return {
|
|
4200
|
-
...(input.FirewallRuleGroupAssociationId
|
|
4201
|
-
input.FirewallRuleGroupAssociationId !== null && {
|
|
4168
|
+
...(input.FirewallRuleGroupAssociationId != null && {
|
|
4202
4169
|
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
4203
4170
|
}),
|
|
4204
4171
|
};
|
|
4205
4172
|
};
|
|
4206
4173
|
const serializeAws_json1_1GetFirewallRuleGroupPolicyRequest = (input, context) => {
|
|
4207
4174
|
return {
|
|
4208
|
-
...(input.Arn
|
|
4175
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
4209
4176
|
};
|
|
4210
4177
|
};
|
|
4211
4178
|
const serializeAws_json1_1GetFirewallRuleGroupRequest = (input, context) => {
|
|
4212
4179
|
return {
|
|
4213
|
-
...(input.FirewallRuleGroupId
|
|
4214
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4180
|
+
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4215
4181
|
};
|
|
4216
4182
|
};
|
|
4217
4183
|
const serializeAws_json1_1GetResolverConfigRequest = (input, context) => {
|
|
4218
4184
|
return {
|
|
4219
|
-
...(input.ResourceId
|
|
4185
|
+
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4220
4186
|
};
|
|
4221
4187
|
};
|
|
4222
4188
|
const serializeAws_json1_1GetResolverDnssecConfigRequest = (input, context) => {
|
|
4223
4189
|
return {
|
|
4224
|
-
...(input.ResourceId
|
|
4190
|
+
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4225
4191
|
};
|
|
4226
4192
|
};
|
|
4227
4193
|
const serializeAws_json1_1GetResolverEndpointRequest = (input, context) => {
|
|
4228
4194
|
return {
|
|
4229
|
-
...(input.ResolverEndpointId
|
|
4230
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4195
|
+
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4231
4196
|
};
|
|
4232
4197
|
};
|
|
4233
4198
|
const serializeAws_json1_1GetResolverQueryLogConfigAssociationRequest = (input, context) => {
|
|
4234
4199
|
return {
|
|
4235
|
-
...(input.ResolverQueryLogConfigAssociationId
|
|
4236
|
-
input.ResolverQueryLogConfigAssociationId !== null && {
|
|
4200
|
+
...(input.ResolverQueryLogConfigAssociationId != null && {
|
|
4237
4201
|
ResolverQueryLogConfigAssociationId: input.ResolverQueryLogConfigAssociationId,
|
|
4238
4202
|
}),
|
|
4239
4203
|
};
|
|
4240
4204
|
};
|
|
4241
4205
|
const serializeAws_json1_1GetResolverQueryLogConfigPolicyRequest = (input, context) => {
|
|
4242
4206
|
return {
|
|
4243
|
-
...(input.Arn
|
|
4207
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
4244
4208
|
};
|
|
4245
4209
|
};
|
|
4246
4210
|
const serializeAws_json1_1GetResolverQueryLogConfigRequest = (input, context) => {
|
|
4247
4211
|
return {
|
|
4248
|
-
...(input.ResolverQueryLogConfigId
|
|
4249
|
-
input.ResolverQueryLogConfigId !== null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
4212
|
+
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
4250
4213
|
};
|
|
4251
4214
|
};
|
|
4252
4215
|
const serializeAws_json1_1GetResolverRuleAssociationRequest = (input, context) => {
|
|
4253
4216
|
return {
|
|
4254
|
-
...(input.ResolverRuleAssociationId
|
|
4255
|
-
input.ResolverRuleAssociationId !== null && { ResolverRuleAssociationId: input.ResolverRuleAssociationId }),
|
|
4217
|
+
...(input.ResolverRuleAssociationId != null && { ResolverRuleAssociationId: input.ResolverRuleAssociationId }),
|
|
4256
4218
|
};
|
|
4257
4219
|
};
|
|
4258
4220
|
const serializeAws_json1_1GetResolverRulePolicyRequest = (input, context) => {
|
|
4259
4221
|
return {
|
|
4260
|
-
...(input.Arn
|
|
4222
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
4261
4223
|
};
|
|
4262
4224
|
};
|
|
4263
4225
|
const serializeAws_json1_1GetResolverRuleRequest = (input, context) => {
|
|
4264
4226
|
return {
|
|
4265
|
-
...(input.ResolverRuleId
|
|
4266
|
-
input.ResolverRuleId !== null && { ResolverRuleId: input.ResolverRuleId }),
|
|
4227
|
+
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
4267
4228
|
};
|
|
4268
4229
|
};
|
|
4269
4230
|
const serializeAws_json1_1ImportFirewallDomainsRequest = (input, context) => {
|
|
4270
4231
|
return {
|
|
4271
|
-
...(input.DomainFileUrl
|
|
4272
|
-
...(input.FirewallDomainListId
|
|
4273
|
-
|
|
4274
|
-
...(input.Operation !== undefined && input.Operation !== null && { Operation: input.Operation }),
|
|
4232
|
+
...(input.DomainFileUrl != null && { DomainFileUrl: input.DomainFileUrl }),
|
|
4233
|
+
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4234
|
+
...(input.Operation != null && { Operation: input.Operation }),
|
|
4275
4235
|
};
|
|
4276
4236
|
};
|
|
4277
4237
|
const serializeAws_json1_1IpAddressesRequest = (input, context) => {
|
|
@@ -4286,167 +4246,152 @@ const serializeAws_json1_1IpAddressesRequest = (input, context) => {
|
|
|
4286
4246
|
};
|
|
4287
4247
|
const serializeAws_json1_1IpAddressRequest = (input, context) => {
|
|
4288
4248
|
return {
|
|
4289
|
-
...(input.Ip
|
|
4290
|
-
...(input.SubnetId
|
|
4249
|
+
...(input.Ip != null && { Ip: input.Ip }),
|
|
4250
|
+
...(input.SubnetId != null && { SubnetId: input.SubnetId }),
|
|
4291
4251
|
};
|
|
4292
4252
|
};
|
|
4293
4253
|
const serializeAws_json1_1IpAddressUpdate = (input, context) => {
|
|
4294
4254
|
return {
|
|
4295
|
-
...(input.Ip
|
|
4296
|
-
...(input.IpId
|
|
4297
|
-
...(input.SubnetId
|
|
4255
|
+
...(input.Ip != null && { Ip: input.Ip }),
|
|
4256
|
+
...(input.IpId != null && { IpId: input.IpId }),
|
|
4257
|
+
...(input.SubnetId != null && { SubnetId: input.SubnetId }),
|
|
4298
4258
|
};
|
|
4299
4259
|
};
|
|
4300
4260
|
const serializeAws_json1_1ListFirewallConfigsRequest = (input, context) => {
|
|
4301
4261
|
return {
|
|
4302
|
-
...(input.MaxResults
|
|
4303
|
-
...(input.NextToken
|
|
4262
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4263
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4304
4264
|
};
|
|
4305
4265
|
};
|
|
4306
4266
|
const serializeAws_json1_1ListFirewallDomainListsRequest = (input, context) => {
|
|
4307
4267
|
return {
|
|
4308
|
-
...(input.MaxResults
|
|
4309
|
-
...(input.NextToken
|
|
4268
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4269
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4310
4270
|
};
|
|
4311
4271
|
};
|
|
4312
4272
|
const serializeAws_json1_1ListFirewallDomainsRequest = (input, context) => {
|
|
4313
4273
|
return {
|
|
4314
|
-
...(input.FirewallDomainListId
|
|
4315
|
-
|
|
4316
|
-
...(input.
|
|
4317
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
4274
|
+
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4275
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4276
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4318
4277
|
};
|
|
4319
4278
|
};
|
|
4320
4279
|
const serializeAws_json1_1ListFirewallRuleGroupAssociationsRequest = (input, context) => {
|
|
4321
4280
|
return {
|
|
4322
|
-
...(input.FirewallRuleGroupId
|
|
4323
|
-
|
|
4324
|
-
...(input.
|
|
4325
|
-
...(input.
|
|
4326
|
-
...(input.
|
|
4327
|
-
...(input.
|
|
4328
|
-
...(input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }),
|
|
4281
|
+
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4282
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4283
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4284
|
+
...(input.Priority != null && { Priority: input.Priority }),
|
|
4285
|
+
...(input.Status != null && { Status: input.Status }),
|
|
4286
|
+
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
4329
4287
|
};
|
|
4330
4288
|
};
|
|
4331
4289
|
const serializeAws_json1_1ListFirewallRuleGroupsRequest = (input, context) => {
|
|
4332
4290
|
return {
|
|
4333
|
-
...(input.MaxResults
|
|
4334
|
-
...(input.NextToken
|
|
4291
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4292
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4335
4293
|
};
|
|
4336
4294
|
};
|
|
4337
4295
|
const serializeAws_json1_1ListFirewallRulesRequest = (input, context) => {
|
|
4338
4296
|
return {
|
|
4339
|
-
...(input.Action
|
|
4340
|
-
...(input.FirewallRuleGroupId
|
|
4341
|
-
|
|
4342
|
-
...(input.
|
|
4343
|
-
...(input.
|
|
4344
|
-
...(input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }),
|
|
4297
|
+
...(input.Action != null && { Action: input.Action }),
|
|
4298
|
+
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4299
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4300
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4301
|
+
...(input.Priority != null && { Priority: input.Priority }),
|
|
4345
4302
|
};
|
|
4346
4303
|
};
|
|
4347
4304
|
const serializeAws_json1_1ListResolverConfigsRequest = (input, context) => {
|
|
4348
4305
|
return {
|
|
4349
|
-
...(input.MaxResults
|
|
4350
|
-
...(input.NextToken
|
|
4306
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4307
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4351
4308
|
};
|
|
4352
4309
|
};
|
|
4353
4310
|
const serializeAws_json1_1ListResolverDnssecConfigsRequest = (input, context) => {
|
|
4354
4311
|
return {
|
|
4355
|
-
...(input.Filters
|
|
4356
|
-
|
|
4357
|
-
...(input.
|
|
4358
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
4312
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) }),
|
|
4313
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4314
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4359
4315
|
};
|
|
4360
4316
|
};
|
|
4361
4317
|
const serializeAws_json1_1ListResolverEndpointIpAddressesRequest = (input, context) => {
|
|
4362
4318
|
return {
|
|
4363
|
-
...(input.MaxResults
|
|
4364
|
-
...(input.NextToken
|
|
4365
|
-
...(input.ResolverEndpointId
|
|
4366
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4319
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4320
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4321
|
+
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4367
4322
|
};
|
|
4368
4323
|
};
|
|
4369
4324
|
const serializeAws_json1_1ListResolverEndpointsRequest = (input, context) => {
|
|
4370
4325
|
return {
|
|
4371
|
-
...(input.Filters
|
|
4372
|
-
|
|
4373
|
-
...(input.
|
|
4374
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
4326
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) }),
|
|
4327
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4328
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4375
4329
|
};
|
|
4376
4330
|
};
|
|
4377
4331
|
const serializeAws_json1_1ListResolverQueryLogConfigAssociationsRequest = (input, context) => {
|
|
4378
4332
|
return {
|
|
4379
|
-
...(input.Filters
|
|
4380
|
-
|
|
4381
|
-
...(input.
|
|
4382
|
-
...(input.
|
|
4383
|
-
...(input.
|
|
4384
|
-
...(input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }),
|
|
4333
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) }),
|
|
4334
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4335
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4336
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
4337
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
4385
4338
|
};
|
|
4386
4339
|
};
|
|
4387
4340
|
const serializeAws_json1_1ListResolverQueryLogConfigsRequest = (input, context) => {
|
|
4388
4341
|
return {
|
|
4389
|
-
...(input.Filters
|
|
4390
|
-
|
|
4391
|
-
...(input.
|
|
4392
|
-
...(input.
|
|
4393
|
-
...(input.
|
|
4394
|
-
...(input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }),
|
|
4342
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) }),
|
|
4343
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4344
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4345
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
4346
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
4395
4347
|
};
|
|
4396
4348
|
};
|
|
4397
4349
|
const serializeAws_json1_1ListResolverRuleAssociationsRequest = (input, context) => {
|
|
4398
4350
|
return {
|
|
4399
|
-
...(input.Filters
|
|
4400
|
-
|
|
4401
|
-
...(input.
|
|
4402
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
4351
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) }),
|
|
4352
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4353
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4403
4354
|
};
|
|
4404
4355
|
};
|
|
4405
4356
|
const serializeAws_json1_1ListResolverRulesRequest = (input, context) => {
|
|
4406
4357
|
return {
|
|
4407
|
-
...(input.Filters
|
|
4408
|
-
|
|
4409
|
-
...(input.
|
|
4410
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
4358
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) }),
|
|
4359
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4360
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4411
4361
|
};
|
|
4412
4362
|
};
|
|
4413
4363
|
const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
|
|
4414
4364
|
return {
|
|
4415
|
-
...(input.MaxResults
|
|
4416
|
-
...(input.NextToken
|
|
4417
|
-
...(input.ResourceArn
|
|
4365
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4366
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4367
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4418
4368
|
};
|
|
4419
4369
|
};
|
|
4420
4370
|
const serializeAws_json1_1PutFirewallRuleGroupPolicyRequest = (input, context) => {
|
|
4421
4371
|
return {
|
|
4422
|
-
...(input.Arn
|
|
4423
|
-
...(input.FirewallRuleGroupPolicy
|
|
4424
|
-
input.FirewallRuleGroupPolicy !== null && { FirewallRuleGroupPolicy: input.FirewallRuleGroupPolicy }),
|
|
4372
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
4373
|
+
...(input.FirewallRuleGroupPolicy != null && { FirewallRuleGroupPolicy: input.FirewallRuleGroupPolicy }),
|
|
4425
4374
|
};
|
|
4426
4375
|
};
|
|
4427
4376
|
const serializeAws_json1_1PutResolverQueryLogConfigPolicyRequest = (input, context) => {
|
|
4428
4377
|
return {
|
|
4429
|
-
...(input.Arn
|
|
4430
|
-
...(input.ResolverQueryLogConfigPolicy
|
|
4431
|
-
input.ResolverQueryLogConfigPolicy !== null && {
|
|
4378
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
4379
|
+
...(input.ResolverQueryLogConfigPolicy != null && {
|
|
4432
4380
|
ResolverQueryLogConfigPolicy: input.ResolverQueryLogConfigPolicy,
|
|
4433
4381
|
}),
|
|
4434
4382
|
};
|
|
4435
4383
|
};
|
|
4436
4384
|
const serializeAws_json1_1PutResolverRulePolicyRequest = (input, context) => {
|
|
4437
4385
|
return {
|
|
4438
|
-
...(input.Arn
|
|
4439
|
-
...(input.ResolverRulePolicy
|
|
4440
|
-
input.ResolverRulePolicy !== null && { ResolverRulePolicy: input.ResolverRulePolicy }),
|
|
4386
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
4387
|
+
...(input.ResolverRulePolicy != null && { ResolverRulePolicy: input.ResolverRulePolicy }),
|
|
4441
4388
|
};
|
|
4442
4389
|
};
|
|
4443
4390
|
const serializeAws_json1_1ResolverRuleConfig = (input, context) => {
|
|
4444
4391
|
return {
|
|
4445
|
-
...(input.Name
|
|
4446
|
-
...(input.ResolverEndpointId
|
|
4447
|
-
|
|
4448
|
-
...(input.TargetIps !== undefined &&
|
|
4449
|
-
input.TargetIps !== null && { TargetIps: serializeAws_json1_1TargetList(input.TargetIps, context) }),
|
|
4392
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4393
|
+
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4394
|
+
...(input.TargetIps != null && { TargetIps: serializeAws_json1_1TargetList(input.TargetIps, context) }),
|
|
4450
4395
|
};
|
|
4451
4396
|
};
|
|
4452
4397
|
const serializeAws_json1_1SecurityGroupIds = (input, context) => {
|
|
@@ -4461,8 +4406,8 @@ const serializeAws_json1_1SecurityGroupIds = (input, context) => {
|
|
|
4461
4406
|
};
|
|
4462
4407
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
4463
4408
|
return {
|
|
4464
|
-
...(input.Key
|
|
4465
|
-
...(input.Value
|
|
4409
|
+
...(input.Key != null && { Key: input.Key }),
|
|
4410
|
+
...(input.Value != null && { Value: input.Value }),
|
|
4466
4411
|
};
|
|
4467
4412
|
};
|
|
4468
4413
|
const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
@@ -4487,14 +4432,14 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
4487
4432
|
};
|
|
4488
4433
|
const serializeAws_json1_1TagResourceRequest = (input, context) => {
|
|
4489
4434
|
return {
|
|
4490
|
-
...(input.ResourceArn
|
|
4491
|
-
...(input.Tags
|
|
4435
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4436
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
4492
4437
|
};
|
|
4493
4438
|
};
|
|
4494
4439
|
const serializeAws_json1_1TargetAddress = (input, context) => {
|
|
4495
4440
|
return {
|
|
4496
|
-
...(input.Ip
|
|
4497
|
-
...(input.Port
|
|
4441
|
+
...(input.Ip != null && { Ip: input.Ip }),
|
|
4442
|
+
...(input.Port != null && { Port: input.Port }),
|
|
4498
4443
|
};
|
|
4499
4444
|
};
|
|
4500
4445
|
const serializeAws_json1_1TargetList = (input, context) => {
|
|
@@ -4509,83 +4454,68 @@ const serializeAws_json1_1TargetList = (input, context) => {
|
|
|
4509
4454
|
};
|
|
4510
4455
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
4511
4456
|
return {
|
|
4512
|
-
...(input.ResourceArn
|
|
4513
|
-
...(input.TagKeys
|
|
4514
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
4457
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4458
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
4515
4459
|
};
|
|
4516
4460
|
};
|
|
4517
4461
|
const serializeAws_json1_1UpdateFirewallConfigRequest = (input, context) => {
|
|
4518
4462
|
return {
|
|
4519
|
-
...(input.FirewallFailOpen
|
|
4520
|
-
|
|
4521
|
-
...(input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }),
|
|
4463
|
+
...(input.FirewallFailOpen != null && { FirewallFailOpen: input.FirewallFailOpen }),
|
|
4464
|
+
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4522
4465
|
};
|
|
4523
4466
|
};
|
|
4524
4467
|
const serializeAws_json1_1UpdateFirewallDomainsRequest = (input, context) => {
|
|
4525
4468
|
return {
|
|
4526
|
-
...(input.Domains
|
|
4527
|
-
|
|
4528
|
-
...(input.
|
|
4529
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4530
|
-
...(input.Operation !== undefined && input.Operation !== null && { Operation: input.Operation }),
|
|
4469
|
+
...(input.Domains != null && { Domains: serializeAws_json1_1FirewallDomains(input.Domains, context) }),
|
|
4470
|
+
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4471
|
+
...(input.Operation != null && { Operation: input.Operation }),
|
|
4531
4472
|
};
|
|
4532
4473
|
};
|
|
4533
4474
|
const serializeAws_json1_1UpdateFirewallRuleGroupAssociationRequest = (input, context) => {
|
|
4534
4475
|
return {
|
|
4535
|
-
...(input.FirewallRuleGroupAssociationId
|
|
4536
|
-
input.FirewallRuleGroupAssociationId !== null && {
|
|
4476
|
+
...(input.FirewallRuleGroupAssociationId != null && {
|
|
4537
4477
|
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
4538
4478
|
}),
|
|
4539
|
-
...(input.MutationProtection
|
|
4540
|
-
|
|
4541
|
-
...(input.
|
|
4542
|
-
...(input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }),
|
|
4479
|
+
...(input.MutationProtection != null && { MutationProtection: input.MutationProtection }),
|
|
4480
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4481
|
+
...(input.Priority != null && { Priority: input.Priority }),
|
|
4543
4482
|
};
|
|
4544
4483
|
};
|
|
4545
4484
|
const serializeAws_json1_1UpdateFirewallRuleRequest = (input, context) => {
|
|
4546
4485
|
return {
|
|
4547
|
-
...(input.Action
|
|
4548
|
-
...(input.BlockOverrideDnsType
|
|
4549
|
-
|
|
4550
|
-
...(input.
|
|
4551
|
-
|
|
4552
|
-
...(input.
|
|
4553
|
-
|
|
4554
|
-
...(input.
|
|
4555
|
-
...(input.
|
|
4556
|
-
input.FirewallDomainListId !== null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4557
|
-
...(input.FirewallRuleGroupId !== undefined &&
|
|
4558
|
-
input.FirewallRuleGroupId !== null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4559
|
-
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
4560
|
-
...(input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }),
|
|
4486
|
+
...(input.Action != null && { Action: input.Action }),
|
|
4487
|
+
...(input.BlockOverrideDnsType != null && { BlockOverrideDnsType: input.BlockOverrideDnsType }),
|
|
4488
|
+
...(input.BlockOverrideDomain != null && { BlockOverrideDomain: input.BlockOverrideDomain }),
|
|
4489
|
+
...(input.BlockOverrideTtl != null && { BlockOverrideTtl: input.BlockOverrideTtl }),
|
|
4490
|
+
...(input.BlockResponse != null && { BlockResponse: input.BlockResponse }),
|
|
4491
|
+
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4492
|
+
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4493
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4494
|
+
...(input.Priority != null && { Priority: input.Priority }),
|
|
4561
4495
|
};
|
|
4562
4496
|
};
|
|
4563
4497
|
const serializeAws_json1_1UpdateResolverConfigRequest = (input, context) => {
|
|
4564
4498
|
return {
|
|
4565
|
-
...(input.AutodefinedReverseFlag
|
|
4566
|
-
|
|
4567
|
-
...(input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }),
|
|
4499
|
+
...(input.AutodefinedReverseFlag != null && { AutodefinedReverseFlag: input.AutodefinedReverseFlag }),
|
|
4500
|
+
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4568
4501
|
};
|
|
4569
4502
|
};
|
|
4570
4503
|
const serializeAws_json1_1UpdateResolverDnssecConfigRequest = (input, context) => {
|
|
4571
4504
|
return {
|
|
4572
|
-
...(input.ResourceId
|
|
4573
|
-
...(input.Validation
|
|
4505
|
+
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4506
|
+
...(input.Validation != null && { Validation: input.Validation }),
|
|
4574
4507
|
};
|
|
4575
4508
|
};
|
|
4576
4509
|
const serializeAws_json1_1UpdateResolverEndpointRequest = (input, context) => {
|
|
4577
4510
|
return {
|
|
4578
|
-
...(input.Name
|
|
4579
|
-
...(input.ResolverEndpointId
|
|
4580
|
-
input.ResolverEndpointId !== null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4511
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4512
|
+
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4581
4513
|
};
|
|
4582
4514
|
};
|
|
4583
4515
|
const serializeAws_json1_1UpdateResolverRuleRequest = (input, context) => {
|
|
4584
4516
|
return {
|
|
4585
|
-
...(input.Config
|
|
4586
|
-
|
|
4587
|
-
...(input.ResolverRuleId !== undefined &&
|
|
4588
|
-
input.ResolverRuleId !== null && { ResolverRuleId: input.ResolverRuleId }),
|
|
4517
|
+
...(input.Config != null && { Config: serializeAws_json1_1ResolverRuleConfig(input.Config, context) }),
|
|
4518
|
+
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
4589
4519
|
};
|
|
4590
4520
|
};
|
|
4591
4521
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
@@ -4595,28 +4525,28 @@ const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
|
4595
4525
|
};
|
|
4596
4526
|
const deserializeAws_json1_1AssociateFirewallRuleGroupResponse = (output, context) => {
|
|
4597
4527
|
return {
|
|
4598
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation
|
|
4528
|
+
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
4599
4529
|
? deserializeAws_json1_1FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
4600
4530
|
: undefined,
|
|
4601
4531
|
};
|
|
4602
4532
|
};
|
|
4603
4533
|
const deserializeAws_json1_1AssociateResolverEndpointIpAddressResponse = (output, context) => {
|
|
4604
4534
|
return {
|
|
4605
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
4535
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
4606
4536
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
4607
4537
|
: undefined,
|
|
4608
4538
|
};
|
|
4609
4539
|
};
|
|
4610
4540
|
const deserializeAws_json1_1AssociateResolverQueryLogConfigResponse = (output, context) => {
|
|
4611
4541
|
return {
|
|
4612
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation
|
|
4542
|
+
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
4613
4543
|
? deserializeAws_json1_1ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
4614
4544
|
: undefined,
|
|
4615
4545
|
};
|
|
4616
4546
|
};
|
|
4617
4547
|
const deserializeAws_json1_1AssociateResolverRuleResponse = (output, context) => {
|
|
4618
4548
|
return {
|
|
4619
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation
|
|
4549
|
+
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
4620
4550
|
? deserializeAws_json1_1ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
4621
4551
|
: undefined,
|
|
4622
4552
|
};
|
|
@@ -4628,112 +4558,104 @@ const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
|
4628
4558
|
};
|
|
4629
4559
|
const deserializeAws_json1_1CreateFirewallDomainListResponse = (output, context) => {
|
|
4630
4560
|
return {
|
|
4631
|
-
FirewallDomainList: output.FirewallDomainList
|
|
4561
|
+
FirewallDomainList: output.FirewallDomainList != null
|
|
4632
4562
|
? deserializeAws_json1_1FirewallDomainList(output.FirewallDomainList, context)
|
|
4633
4563
|
: undefined,
|
|
4634
4564
|
};
|
|
4635
4565
|
};
|
|
4636
4566
|
const deserializeAws_json1_1CreateFirewallRuleGroupResponse = (output, context) => {
|
|
4637
4567
|
return {
|
|
4638
|
-
FirewallRuleGroup: output.FirewallRuleGroup
|
|
4568
|
+
FirewallRuleGroup: output.FirewallRuleGroup != null
|
|
4639
4569
|
? deserializeAws_json1_1FirewallRuleGroup(output.FirewallRuleGroup, context)
|
|
4640
4570
|
: undefined,
|
|
4641
4571
|
};
|
|
4642
4572
|
};
|
|
4643
4573
|
const deserializeAws_json1_1CreateFirewallRuleResponse = (output, context) => {
|
|
4644
4574
|
return {
|
|
4645
|
-
FirewallRule: output.FirewallRule
|
|
4646
|
-
? deserializeAws_json1_1FirewallRule(output.FirewallRule, context)
|
|
4647
|
-
: undefined,
|
|
4575
|
+
FirewallRule: output.FirewallRule != null ? deserializeAws_json1_1FirewallRule(output.FirewallRule, context) : undefined,
|
|
4648
4576
|
};
|
|
4649
4577
|
};
|
|
4650
4578
|
const deserializeAws_json1_1CreateResolverEndpointResponse = (output, context) => {
|
|
4651
4579
|
return {
|
|
4652
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
4580
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
4653
4581
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
4654
4582
|
: undefined,
|
|
4655
4583
|
};
|
|
4656
4584
|
};
|
|
4657
4585
|
const deserializeAws_json1_1CreateResolverQueryLogConfigResponse = (output, context) => {
|
|
4658
4586
|
return {
|
|
4659
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig
|
|
4587
|
+
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
4660
4588
|
? deserializeAws_json1_1ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
4661
4589
|
: undefined,
|
|
4662
4590
|
};
|
|
4663
4591
|
};
|
|
4664
4592
|
const deserializeAws_json1_1CreateResolverRuleResponse = (output, context) => {
|
|
4665
4593
|
return {
|
|
4666
|
-
ResolverRule: output.ResolverRule
|
|
4667
|
-
? deserializeAws_json1_1ResolverRule(output.ResolverRule, context)
|
|
4668
|
-
: undefined,
|
|
4594
|
+
ResolverRule: output.ResolverRule != null ? deserializeAws_json1_1ResolverRule(output.ResolverRule, context) : undefined,
|
|
4669
4595
|
};
|
|
4670
4596
|
};
|
|
4671
4597
|
const deserializeAws_json1_1DeleteFirewallDomainListResponse = (output, context) => {
|
|
4672
4598
|
return {
|
|
4673
|
-
FirewallDomainList: output.FirewallDomainList
|
|
4599
|
+
FirewallDomainList: output.FirewallDomainList != null
|
|
4674
4600
|
? deserializeAws_json1_1FirewallDomainList(output.FirewallDomainList, context)
|
|
4675
4601
|
: undefined,
|
|
4676
4602
|
};
|
|
4677
4603
|
};
|
|
4678
4604
|
const deserializeAws_json1_1DeleteFirewallRuleGroupResponse = (output, context) => {
|
|
4679
4605
|
return {
|
|
4680
|
-
FirewallRuleGroup: output.FirewallRuleGroup
|
|
4606
|
+
FirewallRuleGroup: output.FirewallRuleGroup != null
|
|
4681
4607
|
? deserializeAws_json1_1FirewallRuleGroup(output.FirewallRuleGroup, context)
|
|
4682
4608
|
: undefined,
|
|
4683
4609
|
};
|
|
4684
4610
|
};
|
|
4685
4611
|
const deserializeAws_json1_1DeleteFirewallRuleResponse = (output, context) => {
|
|
4686
4612
|
return {
|
|
4687
|
-
FirewallRule: output.FirewallRule
|
|
4688
|
-
? deserializeAws_json1_1FirewallRule(output.FirewallRule, context)
|
|
4689
|
-
: undefined,
|
|
4613
|
+
FirewallRule: output.FirewallRule != null ? deserializeAws_json1_1FirewallRule(output.FirewallRule, context) : undefined,
|
|
4690
4614
|
};
|
|
4691
4615
|
};
|
|
4692
4616
|
const deserializeAws_json1_1DeleteResolverEndpointResponse = (output, context) => {
|
|
4693
4617
|
return {
|
|
4694
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
4618
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
4695
4619
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
4696
4620
|
: undefined,
|
|
4697
4621
|
};
|
|
4698
4622
|
};
|
|
4699
4623
|
const deserializeAws_json1_1DeleteResolverQueryLogConfigResponse = (output, context) => {
|
|
4700
4624
|
return {
|
|
4701
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig
|
|
4625
|
+
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
4702
4626
|
? deserializeAws_json1_1ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
4703
4627
|
: undefined,
|
|
4704
4628
|
};
|
|
4705
4629
|
};
|
|
4706
4630
|
const deserializeAws_json1_1DeleteResolverRuleResponse = (output, context) => {
|
|
4707
4631
|
return {
|
|
4708
|
-
ResolverRule: output.ResolverRule
|
|
4709
|
-
? deserializeAws_json1_1ResolverRule(output.ResolverRule, context)
|
|
4710
|
-
: undefined,
|
|
4632
|
+
ResolverRule: output.ResolverRule != null ? deserializeAws_json1_1ResolverRule(output.ResolverRule, context) : undefined,
|
|
4711
4633
|
};
|
|
4712
4634
|
};
|
|
4713
4635
|
const deserializeAws_json1_1DisassociateFirewallRuleGroupResponse = (output, context) => {
|
|
4714
4636
|
return {
|
|
4715
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation
|
|
4637
|
+
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
4716
4638
|
? deserializeAws_json1_1FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
4717
4639
|
: undefined,
|
|
4718
4640
|
};
|
|
4719
4641
|
};
|
|
4720
4642
|
const deserializeAws_json1_1DisassociateResolverEndpointIpAddressResponse = (output, context) => {
|
|
4721
4643
|
return {
|
|
4722
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
4644
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
4723
4645
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
4724
4646
|
: undefined,
|
|
4725
4647
|
};
|
|
4726
4648
|
};
|
|
4727
4649
|
const deserializeAws_json1_1DisassociateResolverQueryLogConfigResponse = (output, context) => {
|
|
4728
4650
|
return {
|
|
4729
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation
|
|
4651
|
+
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
4730
4652
|
? deserializeAws_json1_1ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
4731
4653
|
: undefined,
|
|
4732
4654
|
};
|
|
4733
4655
|
};
|
|
4734
4656
|
const deserializeAws_json1_1DisassociateResolverRuleResponse = (output, context) => {
|
|
4735
4657
|
return {
|
|
4736
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation
|
|
4658
|
+
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
4737
4659
|
? deserializeAws_json1_1ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
4738
4660
|
: undefined,
|
|
4739
4661
|
};
|
|
@@ -4895,21 +4817,19 @@ const deserializeAws_json1_1FirewallRules = (output, context) => {
|
|
|
4895
4817
|
};
|
|
4896
4818
|
const deserializeAws_json1_1GetFirewallConfigResponse = (output, context) => {
|
|
4897
4819
|
return {
|
|
4898
|
-
FirewallConfig: output.FirewallConfig
|
|
4899
|
-
? deserializeAws_json1_1FirewallConfig(output.FirewallConfig, context)
|
|
4900
|
-
: undefined,
|
|
4820
|
+
FirewallConfig: output.FirewallConfig != null ? deserializeAws_json1_1FirewallConfig(output.FirewallConfig, context) : undefined,
|
|
4901
4821
|
};
|
|
4902
4822
|
};
|
|
4903
4823
|
const deserializeAws_json1_1GetFirewallDomainListResponse = (output, context) => {
|
|
4904
4824
|
return {
|
|
4905
|
-
FirewallDomainList: output.FirewallDomainList
|
|
4825
|
+
FirewallDomainList: output.FirewallDomainList != null
|
|
4906
4826
|
? deserializeAws_json1_1FirewallDomainList(output.FirewallDomainList, context)
|
|
4907
4827
|
: undefined,
|
|
4908
4828
|
};
|
|
4909
4829
|
};
|
|
4910
4830
|
const deserializeAws_json1_1GetFirewallRuleGroupAssociationResponse = (output, context) => {
|
|
4911
4831
|
return {
|
|
4912
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation
|
|
4832
|
+
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
4913
4833
|
? deserializeAws_json1_1FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
4914
4834
|
: undefined,
|
|
4915
4835
|
};
|
|
@@ -4921,35 +4841,33 @@ const deserializeAws_json1_1GetFirewallRuleGroupPolicyResponse = (output, contex
|
|
|
4921
4841
|
};
|
|
4922
4842
|
const deserializeAws_json1_1GetFirewallRuleGroupResponse = (output, context) => {
|
|
4923
4843
|
return {
|
|
4924
|
-
FirewallRuleGroup: output.FirewallRuleGroup
|
|
4844
|
+
FirewallRuleGroup: output.FirewallRuleGroup != null
|
|
4925
4845
|
? deserializeAws_json1_1FirewallRuleGroup(output.FirewallRuleGroup, context)
|
|
4926
4846
|
: undefined,
|
|
4927
4847
|
};
|
|
4928
4848
|
};
|
|
4929
4849
|
const deserializeAws_json1_1GetResolverConfigResponse = (output, context) => {
|
|
4930
4850
|
return {
|
|
4931
|
-
ResolverConfig: output.ResolverConfig
|
|
4932
|
-
? deserializeAws_json1_1ResolverConfig(output.ResolverConfig, context)
|
|
4933
|
-
: undefined,
|
|
4851
|
+
ResolverConfig: output.ResolverConfig != null ? deserializeAws_json1_1ResolverConfig(output.ResolverConfig, context) : undefined,
|
|
4934
4852
|
};
|
|
4935
4853
|
};
|
|
4936
4854
|
const deserializeAws_json1_1GetResolverDnssecConfigResponse = (output, context) => {
|
|
4937
4855
|
return {
|
|
4938
|
-
ResolverDNSSECConfig: output.ResolverDNSSECConfig
|
|
4856
|
+
ResolverDNSSECConfig: output.ResolverDNSSECConfig != null
|
|
4939
4857
|
? deserializeAws_json1_1ResolverDnssecConfig(output.ResolverDNSSECConfig, context)
|
|
4940
4858
|
: undefined,
|
|
4941
4859
|
};
|
|
4942
4860
|
};
|
|
4943
4861
|
const deserializeAws_json1_1GetResolverEndpointResponse = (output, context) => {
|
|
4944
4862
|
return {
|
|
4945
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
4863
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
4946
4864
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
4947
4865
|
: undefined,
|
|
4948
4866
|
};
|
|
4949
4867
|
};
|
|
4950
4868
|
const deserializeAws_json1_1GetResolverQueryLogConfigAssociationResponse = (output, context) => {
|
|
4951
4869
|
return {
|
|
4952
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation
|
|
4870
|
+
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
4953
4871
|
? deserializeAws_json1_1ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
4954
4872
|
: undefined,
|
|
4955
4873
|
};
|
|
@@ -4961,14 +4879,14 @@ const deserializeAws_json1_1GetResolverQueryLogConfigPolicyResponse = (output, c
|
|
|
4961
4879
|
};
|
|
4962
4880
|
const deserializeAws_json1_1GetResolverQueryLogConfigResponse = (output, context) => {
|
|
4963
4881
|
return {
|
|
4964
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig
|
|
4882
|
+
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
4965
4883
|
? deserializeAws_json1_1ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
4966
4884
|
: undefined,
|
|
4967
4885
|
};
|
|
4968
4886
|
};
|
|
4969
4887
|
const deserializeAws_json1_1GetResolverRuleAssociationResponse = (output, context) => {
|
|
4970
4888
|
return {
|
|
4971
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation
|
|
4889
|
+
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
4972
4890
|
? deserializeAws_json1_1ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
4973
4891
|
: undefined,
|
|
4974
4892
|
};
|
|
@@ -4980,9 +4898,7 @@ const deserializeAws_json1_1GetResolverRulePolicyResponse = (output, context) =>
|
|
|
4980
4898
|
};
|
|
4981
4899
|
const deserializeAws_json1_1GetResolverRuleResponse = (output, context) => {
|
|
4982
4900
|
return {
|
|
4983
|
-
ResolverRule: output.ResolverRule
|
|
4984
|
-
? deserializeAws_json1_1ResolverRule(output.ResolverRule, context)
|
|
4985
|
-
: undefined,
|
|
4901
|
+
ResolverRule: output.ResolverRule != null ? deserializeAws_json1_1ResolverRule(output.ResolverRule, context) : undefined,
|
|
4986
4902
|
};
|
|
4987
4903
|
};
|
|
4988
4904
|
const deserializeAws_json1_1ImportFirewallDomainsResponse = (output, context) => {
|
|
@@ -5054,7 +4970,7 @@ const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
|
5054
4970
|
};
|
|
5055
4971
|
const deserializeAws_json1_1ListFirewallConfigsResponse = (output, context) => {
|
|
5056
4972
|
return {
|
|
5057
|
-
FirewallConfigs: output.FirewallConfigs
|
|
4973
|
+
FirewallConfigs: output.FirewallConfigs != null
|
|
5058
4974
|
? deserializeAws_json1_1FirewallConfigList(output.FirewallConfigs, context)
|
|
5059
4975
|
: undefined,
|
|
5060
4976
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -5062,7 +4978,7 @@ const deserializeAws_json1_1ListFirewallConfigsResponse = (output, context) => {
|
|
|
5062
4978
|
};
|
|
5063
4979
|
const deserializeAws_json1_1ListFirewallDomainListsResponse = (output, context) => {
|
|
5064
4980
|
return {
|
|
5065
|
-
FirewallDomainLists: output.FirewallDomainLists
|
|
4981
|
+
FirewallDomainLists: output.FirewallDomainLists != null
|
|
5066
4982
|
? deserializeAws_json1_1FirewallDomainListMetadataList(output.FirewallDomainLists, context)
|
|
5067
4983
|
: undefined,
|
|
5068
4984
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -5070,15 +4986,13 @@ const deserializeAws_json1_1ListFirewallDomainListsResponse = (output, context)
|
|
|
5070
4986
|
};
|
|
5071
4987
|
const deserializeAws_json1_1ListFirewallDomainsResponse = (output, context) => {
|
|
5072
4988
|
return {
|
|
5073
|
-
Domains: output.Domains
|
|
5074
|
-
? deserializeAws_json1_1FirewallDomains(output.Domains, context)
|
|
5075
|
-
: undefined,
|
|
4989
|
+
Domains: output.Domains != null ? deserializeAws_json1_1FirewallDomains(output.Domains, context) : undefined,
|
|
5076
4990
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5077
4991
|
};
|
|
5078
4992
|
};
|
|
5079
4993
|
const deserializeAws_json1_1ListFirewallRuleGroupAssociationsResponse = (output, context) => {
|
|
5080
4994
|
return {
|
|
5081
|
-
FirewallRuleGroupAssociations: output.FirewallRuleGroupAssociations
|
|
4995
|
+
FirewallRuleGroupAssociations: output.FirewallRuleGroupAssociations != null
|
|
5082
4996
|
? deserializeAws_json1_1FirewallRuleGroupAssociations(output.FirewallRuleGroupAssociations, context)
|
|
5083
4997
|
: undefined,
|
|
5084
4998
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -5086,7 +5000,7 @@ const deserializeAws_json1_1ListFirewallRuleGroupAssociationsResponse = (output,
|
|
|
5086
5000
|
};
|
|
5087
5001
|
const deserializeAws_json1_1ListFirewallRuleGroupsResponse = (output, context) => {
|
|
5088
5002
|
return {
|
|
5089
|
-
FirewallRuleGroups: output.FirewallRuleGroups
|
|
5003
|
+
FirewallRuleGroups: output.FirewallRuleGroups != null
|
|
5090
5004
|
? deserializeAws_json1_1FirewallRuleGroupMetadataList(output.FirewallRuleGroups, context)
|
|
5091
5005
|
: undefined,
|
|
5092
5006
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -5094,16 +5008,14 @@ const deserializeAws_json1_1ListFirewallRuleGroupsResponse = (output, context) =
|
|
|
5094
5008
|
};
|
|
5095
5009
|
const deserializeAws_json1_1ListFirewallRulesResponse = (output, context) => {
|
|
5096
5010
|
return {
|
|
5097
|
-
FirewallRules: output.FirewallRules
|
|
5098
|
-
? deserializeAws_json1_1FirewallRules(output.FirewallRules, context)
|
|
5099
|
-
: undefined,
|
|
5011
|
+
FirewallRules: output.FirewallRules != null ? deserializeAws_json1_1FirewallRules(output.FirewallRules, context) : undefined,
|
|
5100
5012
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5101
5013
|
};
|
|
5102
5014
|
};
|
|
5103
5015
|
const deserializeAws_json1_1ListResolverConfigsResponse = (output, context) => {
|
|
5104
5016
|
return {
|
|
5105
5017
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5106
|
-
ResolverConfigs: output.ResolverConfigs
|
|
5018
|
+
ResolverConfigs: output.ResolverConfigs != null
|
|
5107
5019
|
? deserializeAws_json1_1ResolverConfigList(output.ResolverConfigs, context)
|
|
5108
5020
|
: undefined,
|
|
5109
5021
|
};
|
|
@@ -5111,16 +5023,14 @@ const deserializeAws_json1_1ListResolverConfigsResponse = (output, context) => {
|
|
|
5111
5023
|
const deserializeAws_json1_1ListResolverDnssecConfigsResponse = (output, context) => {
|
|
5112
5024
|
return {
|
|
5113
5025
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5114
|
-
ResolverDnssecConfigs: output.ResolverDnssecConfigs
|
|
5026
|
+
ResolverDnssecConfigs: output.ResolverDnssecConfigs != null
|
|
5115
5027
|
? deserializeAws_json1_1ResolverDnssecConfigList(output.ResolverDnssecConfigs, context)
|
|
5116
5028
|
: undefined,
|
|
5117
5029
|
};
|
|
5118
5030
|
};
|
|
5119
5031
|
const deserializeAws_json1_1ListResolverEndpointIpAddressesResponse = (output, context) => {
|
|
5120
5032
|
return {
|
|
5121
|
-
IpAddresses: output.IpAddresses
|
|
5122
|
-
? deserializeAws_json1_1IpAddressesResponse(output.IpAddresses, context)
|
|
5123
|
-
: undefined,
|
|
5033
|
+
IpAddresses: output.IpAddresses != null ? deserializeAws_json1_1IpAddressesResponse(output.IpAddresses, context) : undefined,
|
|
5124
5034
|
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
5125
5035
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5126
5036
|
};
|
|
@@ -5129,7 +5039,7 @@ const deserializeAws_json1_1ListResolverEndpointsResponse = (output, context) =>
|
|
|
5129
5039
|
return {
|
|
5130
5040
|
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
5131
5041
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5132
|
-
ResolverEndpoints: output.ResolverEndpoints
|
|
5042
|
+
ResolverEndpoints: output.ResolverEndpoints != null
|
|
5133
5043
|
? deserializeAws_json1_1ResolverEndpoints(output.ResolverEndpoints, context)
|
|
5134
5044
|
: undefined,
|
|
5135
5045
|
};
|
|
@@ -5137,7 +5047,7 @@ const deserializeAws_json1_1ListResolverEndpointsResponse = (output, context) =>
|
|
|
5137
5047
|
const deserializeAws_json1_1ListResolverQueryLogConfigAssociationsResponse = (output, context) => {
|
|
5138
5048
|
return {
|
|
5139
5049
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5140
|
-
ResolverQueryLogConfigAssociations: output.ResolverQueryLogConfigAssociations
|
|
5050
|
+
ResolverQueryLogConfigAssociations: output.ResolverQueryLogConfigAssociations != null
|
|
5141
5051
|
? deserializeAws_json1_1ResolverQueryLogConfigAssociationList(output.ResolverQueryLogConfigAssociations, context)
|
|
5142
5052
|
: undefined,
|
|
5143
5053
|
TotalCount: (0, smithy_client_1.expectInt32)(output.TotalCount),
|
|
@@ -5147,7 +5057,7 @@ const deserializeAws_json1_1ListResolverQueryLogConfigAssociationsResponse = (ou
|
|
|
5147
5057
|
const deserializeAws_json1_1ListResolverQueryLogConfigsResponse = (output, context) => {
|
|
5148
5058
|
return {
|
|
5149
5059
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5150
|
-
ResolverQueryLogConfigs: output.ResolverQueryLogConfigs
|
|
5060
|
+
ResolverQueryLogConfigs: output.ResolverQueryLogConfigs != null
|
|
5151
5061
|
? deserializeAws_json1_1ResolverQueryLogConfigList(output.ResolverQueryLogConfigs, context)
|
|
5152
5062
|
: undefined,
|
|
5153
5063
|
TotalCount: (0, smithy_client_1.expectInt32)(output.TotalCount),
|
|
@@ -5158,7 +5068,7 @@ const deserializeAws_json1_1ListResolverRuleAssociationsResponse = (output, cont
|
|
|
5158
5068
|
return {
|
|
5159
5069
|
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
5160
5070
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5161
|
-
ResolverRuleAssociations: output.ResolverRuleAssociations
|
|
5071
|
+
ResolverRuleAssociations: output.ResolverRuleAssociations != null
|
|
5162
5072
|
? deserializeAws_json1_1ResolverRuleAssociations(output.ResolverRuleAssociations, context)
|
|
5163
5073
|
: undefined,
|
|
5164
5074
|
};
|
|
@@ -5167,17 +5077,13 @@ const deserializeAws_json1_1ListResolverRulesResponse = (output, context) => {
|
|
|
5167
5077
|
return {
|
|
5168
5078
|
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
5169
5079
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5170
|
-
ResolverRules: output.ResolverRules
|
|
5171
|
-
? deserializeAws_json1_1ResolverRules(output.ResolverRules, context)
|
|
5172
|
-
: undefined,
|
|
5080
|
+
ResolverRules: output.ResolverRules != null ? deserializeAws_json1_1ResolverRules(output.ResolverRules, context) : undefined,
|
|
5173
5081
|
};
|
|
5174
5082
|
};
|
|
5175
5083
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
5176
5084
|
return {
|
|
5177
5085
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5178
|
-
Tags: output.Tags
|
|
5179
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
5180
|
-
: undefined,
|
|
5086
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
5181
5087
|
};
|
|
5182
5088
|
};
|
|
5183
5089
|
const deserializeAws_json1_1PutFirewallRuleGroupPolicyResponse = (output, context) => {
|
|
@@ -5244,7 +5150,7 @@ const deserializeAws_json1_1ResolverEndpoint = (output, context) => {
|
|
|
5244
5150
|
IpAddressCount: (0, smithy_client_1.expectInt32)(output.IpAddressCount),
|
|
5245
5151
|
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
5246
5152
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5247
|
-
SecurityGroupIds: output.SecurityGroupIds
|
|
5153
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
5248
5154
|
? deserializeAws_json1_1SecurityGroupIds(output.SecurityGroupIds, context)
|
|
5249
5155
|
: undefined,
|
|
5250
5156
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
@@ -5324,9 +5230,7 @@ const deserializeAws_json1_1ResolverRule = (output, context) => {
|
|
|
5324
5230
|
ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
|
|
5325
5231
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5326
5232
|
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5327
|
-
TargetIps: output.TargetIps
|
|
5328
|
-
? deserializeAws_json1_1TargetList(output.TargetIps, context)
|
|
5329
|
-
: undefined,
|
|
5233
|
+
TargetIps: output.TargetIps != null ? deserializeAws_json1_1TargetList(output.TargetIps, context) : undefined,
|
|
5330
5234
|
};
|
|
5331
5235
|
};
|
|
5332
5236
|
const deserializeAws_json1_1ResolverRuleAssociation = (output, context) => {
|
|
@@ -5448,9 +5352,7 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
|
5448
5352
|
};
|
|
5449
5353
|
const deserializeAws_json1_1UpdateFirewallConfigResponse = (output, context) => {
|
|
5450
5354
|
return {
|
|
5451
|
-
FirewallConfig: output.FirewallConfig
|
|
5452
|
-
? deserializeAws_json1_1FirewallConfig(output.FirewallConfig, context)
|
|
5453
|
-
: undefined,
|
|
5355
|
+
FirewallConfig: output.FirewallConfig != null ? deserializeAws_json1_1FirewallConfig(output.FirewallConfig, context) : undefined,
|
|
5454
5356
|
};
|
|
5455
5357
|
};
|
|
5456
5358
|
const deserializeAws_json1_1UpdateFirewallDomainsResponse = (output, context) => {
|
|
@@ -5463,44 +5365,38 @@ const deserializeAws_json1_1UpdateFirewallDomainsResponse = (output, context) =>
|
|
|
5463
5365
|
};
|
|
5464
5366
|
const deserializeAws_json1_1UpdateFirewallRuleGroupAssociationResponse = (output, context) => {
|
|
5465
5367
|
return {
|
|
5466
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation
|
|
5368
|
+
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
5467
5369
|
? deserializeAws_json1_1FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
5468
5370
|
: undefined,
|
|
5469
5371
|
};
|
|
5470
5372
|
};
|
|
5471
5373
|
const deserializeAws_json1_1UpdateFirewallRuleResponse = (output, context) => {
|
|
5472
5374
|
return {
|
|
5473
|
-
FirewallRule: output.FirewallRule
|
|
5474
|
-
? deserializeAws_json1_1FirewallRule(output.FirewallRule, context)
|
|
5475
|
-
: undefined,
|
|
5375
|
+
FirewallRule: output.FirewallRule != null ? deserializeAws_json1_1FirewallRule(output.FirewallRule, context) : undefined,
|
|
5476
5376
|
};
|
|
5477
5377
|
};
|
|
5478
5378
|
const deserializeAws_json1_1UpdateResolverConfigResponse = (output, context) => {
|
|
5479
5379
|
return {
|
|
5480
|
-
ResolverConfig: output.ResolverConfig
|
|
5481
|
-
? deserializeAws_json1_1ResolverConfig(output.ResolverConfig, context)
|
|
5482
|
-
: undefined,
|
|
5380
|
+
ResolverConfig: output.ResolverConfig != null ? deserializeAws_json1_1ResolverConfig(output.ResolverConfig, context) : undefined,
|
|
5483
5381
|
};
|
|
5484
5382
|
};
|
|
5485
5383
|
const deserializeAws_json1_1UpdateResolverDnssecConfigResponse = (output, context) => {
|
|
5486
5384
|
return {
|
|
5487
|
-
ResolverDNSSECConfig: output.ResolverDNSSECConfig
|
|
5385
|
+
ResolverDNSSECConfig: output.ResolverDNSSECConfig != null
|
|
5488
5386
|
? deserializeAws_json1_1ResolverDnssecConfig(output.ResolverDNSSECConfig, context)
|
|
5489
5387
|
: undefined,
|
|
5490
5388
|
};
|
|
5491
5389
|
};
|
|
5492
5390
|
const deserializeAws_json1_1UpdateResolverEndpointResponse = (output, context) => {
|
|
5493
5391
|
return {
|
|
5494
|
-
ResolverEndpoint: output.ResolverEndpoint
|
|
5392
|
+
ResolverEndpoint: output.ResolverEndpoint != null
|
|
5495
5393
|
? deserializeAws_json1_1ResolverEndpoint(output.ResolverEndpoint, context)
|
|
5496
5394
|
: undefined,
|
|
5497
5395
|
};
|
|
5498
5396
|
};
|
|
5499
5397
|
const deserializeAws_json1_1UpdateResolverRuleResponse = (output, context) => {
|
|
5500
5398
|
return {
|
|
5501
|
-
ResolverRule: output.ResolverRule
|
|
5502
|
-
? deserializeAws_json1_1ResolverRule(output.ResolverRule, context)
|
|
5503
|
-
: undefined,
|
|
5399
|
+
ResolverRule: output.ResolverRule != null ? deserializeAws_json1_1ResolverRule(output.ResolverRule, context) : undefined,
|
|
5504
5400
|
};
|
|
5505
5401
|
};
|
|
5506
5402
|
const deserializeAws_json1_1ValidationException = (output, context) => {
|