@aws-sdk/client-eventbridge 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 +427 -572
- package/dist-es/protocols/Aws_json1_1.js +267 -412
- package/package.json +28 -28
|
@@ -4051,33 +4051,28 @@ var deserializeAws_json1_1ResourceNotFoundExceptionResponse = function (parsedOu
|
|
|
4051
4051
|
});
|
|
4052
4052
|
}); };
|
|
4053
4053
|
var serializeAws_json1_1ActivateEventSourceRequest = function (input, context) {
|
|
4054
|
-
return __assign({}, (input.Name
|
|
4054
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4055
4055
|
};
|
|
4056
4056
|
var serializeAws_json1_1AwsVpcConfiguration = function (input, context) {
|
|
4057
|
-
return __assign(__assign(__assign({}, (input.AssignPublicIp
|
|
4058
|
-
input.AssignPublicIp !== null && { AssignPublicIp: input.AssignPublicIp })), (input.SecurityGroups !== undefined &&
|
|
4059
|
-
input.SecurityGroups !== null && {
|
|
4057
|
+
return __assign(__assign(__assign({}, (input.AssignPublicIp != null && { AssignPublicIp: input.AssignPublicIp })), (input.SecurityGroups != null && {
|
|
4060
4058
|
SecurityGroups: serializeAws_json1_1StringList(input.SecurityGroups, context),
|
|
4061
|
-
})), (input.Subnets
|
|
4062
|
-
input.Subnets !== null && { Subnets: serializeAws_json1_1StringList(input.Subnets, context) }));
|
|
4059
|
+
})), (input.Subnets != null && { Subnets: serializeAws_json1_1StringList(input.Subnets, context) }));
|
|
4063
4060
|
};
|
|
4064
4061
|
var serializeAws_json1_1BatchArrayProperties = function (input, context) {
|
|
4065
|
-
return __assign({}, (input.Size
|
|
4062
|
+
return __assign({}, (input.Size != null && { Size: input.Size }));
|
|
4066
4063
|
};
|
|
4067
4064
|
var serializeAws_json1_1BatchParameters = function (input, context) {
|
|
4068
|
-
return __assign(__assign(__assign(__assign({}, (input.ArrayProperties
|
|
4069
|
-
input.ArrayProperties !== null && {
|
|
4065
|
+
return __assign(__assign(__assign(__assign({}, (input.ArrayProperties != null && {
|
|
4070
4066
|
ArrayProperties: serializeAws_json1_1BatchArrayProperties(input.ArrayProperties, context),
|
|
4071
|
-
})), (input.JobDefinition
|
|
4072
|
-
input.RetryStrategy !== null && {
|
|
4067
|
+
})), (input.JobDefinition != null && { JobDefinition: input.JobDefinition })), (input.JobName != null && { JobName: input.JobName })), (input.RetryStrategy != null && {
|
|
4073
4068
|
RetryStrategy: serializeAws_json1_1BatchRetryStrategy(input.RetryStrategy, context),
|
|
4074
4069
|
}));
|
|
4075
4070
|
};
|
|
4076
4071
|
var serializeAws_json1_1BatchRetryStrategy = function (input, context) {
|
|
4077
|
-
return __assign({}, (input.Attempts
|
|
4072
|
+
return __assign({}, (input.Attempts != null && { Attempts: input.Attempts }));
|
|
4078
4073
|
};
|
|
4079
4074
|
var serializeAws_json1_1CancelReplayRequest = function (input, context) {
|
|
4080
|
-
return __assign({}, (input.ReplayName
|
|
4075
|
+
return __assign({}, (input.ReplayName != null && { ReplayName: input.ReplayName }));
|
|
4081
4076
|
};
|
|
4082
4077
|
var serializeAws_json1_1CapacityProviderStrategy = function (input, context) {
|
|
4083
4078
|
return input
|
|
@@ -4090,14 +4085,13 @@ var serializeAws_json1_1CapacityProviderStrategy = function (input, context) {
|
|
|
4090
4085
|
});
|
|
4091
4086
|
};
|
|
4092
4087
|
var serializeAws_json1_1CapacityProviderStrategyItem = function (input, context) {
|
|
4093
|
-
return __assign(__assign(__assign({}, (input.base
|
|
4094
|
-
input.capacityProvider !== null && { capacityProvider: input.capacityProvider })), (input.weight !== undefined && input.weight !== null && { weight: input.weight }));
|
|
4088
|
+
return __assign(__assign(__assign({}, (input.base != null && { base: input.base })), (input.capacityProvider != null && { capacityProvider: input.capacityProvider })), (input.weight != null && { weight: input.weight }));
|
|
4095
4089
|
};
|
|
4096
4090
|
var serializeAws_json1_1Condition = function (input, context) {
|
|
4097
|
-
return __assign(__assign(__assign({}, (input.Key
|
|
4091
|
+
return __assign(__assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Type != null && { Type: input.Type })), (input.Value != null && { Value: input.Value }));
|
|
4098
4092
|
};
|
|
4099
4093
|
var serializeAws_json1_1ConnectionBodyParameter = function (input, context) {
|
|
4100
|
-
return __assign(__assign(__assign({}, (input.IsValueSecret
|
|
4094
|
+
return __assign(__assign(__assign({}, (input.IsValueSecret != null && { IsValueSecret: input.IsValueSecret })), (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
4101
4095
|
};
|
|
4102
4096
|
var serializeAws_json1_1ConnectionBodyParametersList = function (input, context) {
|
|
4103
4097
|
return input
|
|
@@ -4110,7 +4104,7 @@ var serializeAws_json1_1ConnectionBodyParametersList = function (input, context)
|
|
|
4110
4104
|
});
|
|
4111
4105
|
};
|
|
4112
4106
|
var serializeAws_json1_1ConnectionHeaderParameter = function (input, context) {
|
|
4113
|
-
return __assign(__assign(__assign({}, (input.IsValueSecret
|
|
4107
|
+
return __assign(__assign(__assign({}, (input.IsValueSecret != null && { IsValueSecret: input.IsValueSecret })), (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
4114
4108
|
};
|
|
4115
4109
|
var serializeAws_json1_1ConnectionHeaderParametersList = function (input, context) {
|
|
4116
4110
|
return input
|
|
@@ -4123,19 +4117,16 @@ var serializeAws_json1_1ConnectionHeaderParametersList = function (input, contex
|
|
|
4123
4117
|
});
|
|
4124
4118
|
};
|
|
4125
4119
|
var serializeAws_json1_1ConnectionHttpParameters = function (input, context) {
|
|
4126
|
-
return __assign(__assign(__assign({}, (input.BodyParameters
|
|
4127
|
-
input.BodyParameters !== null && {
|
|
4120
|
+
return __assign(__assign(__assign({}, (input.BodyParameters != null && {
|
|
4128
4121
|
BodyParameters: serializeAws_json1_1ConnectionBodyParametersList(input.BodyParameters, context),
|
|
4129
|
-
})), (input.HeaderParameters
|
|
4130
|
-
input.HeaderParameters !== null && {
|
|
4122
|
+
})), (input.HeaderParameters != null && {
|
|
4131
4123
|
HeaderParameters: serializeAws_json1_1ConnectionHeaderParametersList(input.HeaderParameters, context),
|
|
4132
|
-
})), (input.QueryStringParameters
|
|
4133
|
-
input.QueryStringParameters !== null && {
|
|
4124
|
+
})), (input.QueryStringParameters != null && {
|
|
4134
4125
|
QueryStringParameters: serializeAws_json1_1ConnectionQueryStringParametersList(input.QueryStringParameters, context),
|
|
4135
4126
|
}));
|
|
4136
4127
|
};
|
|
4137
4128
|
var serializeAws_json1_1ConnectionQueryStringParameter = function (input, context) {
|
|
4138
|
-
return __assign(__assign(__assign({}, (input.IsValueSecret
|
|
4129
|
+
return __assign(__assign(__assign({}, (input.IsValueSecret != null && { IsValueSecret: input.IsValueSecret })), (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
4139
4130
|
};
|
|
4140
4131
|
var serializeAws_json1_1ConnectionQueryStringParametersList = function (input, context) {
|
|
4141
4132
|
return input
|
|
@@ -4148,158 +4139,136 @@ var serializeAws_json1_1ConnectionQueryStringParametersList = function (input, c
|
|
|
4148
4139
|
});
|
|
4149
4140
|
};
|
|
4150
4141
|
var serializeAws_json1_1CreateApiDestinationRequest = function (input, context) {
|
|
4151
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConnectionArn
|
|
4152
|
-
input.InvocationEndpoint !== null && { InvocationEndpoint: input.InvocationEndpoint })), (input.InvocationRateLimitPerSecond !== undefined &&
|
|
4153
|
-
input.InvocationRateLimitPerSecond !== null && {
|
|
4142
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn })), (input.Description != null && { Description: input.Description })), (input.HttpMethod != null && { HttpMethod: input.HttpMethod })), (input.InvocationEndpoint != null && { InvocationEndpoint: input.InvocationEndpoint })), (input.InvocationRateLimitPerSecond != null && {
|
|
4154
4143
|
InvocationRateLimitPerSecond: input.InvocationRateLimitPerSecond,
|
|
4155
|
-
})), (input.Name
|
|
4144
|
+
})), (input.Name != null && { Name: input.Name }));
|
|
4156
4145
|
};
|
|
4157
4146
|
var serializeAws_json1_1CreateArchiveRequest = function (input, context) {
|
|
4158
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ArchiveName
|
|
4159
|
-
input.EventSourceArn !== null && { EventSourceArn: input.EventSourceArn })), (input.RetentionDays !== undefined && input.RetentionDays !== null && { RetentionDays: input.RetentionDays }));
|
|
4147
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ArchiveName != null && { ArchiveName: input.ArchiveName })), (input.Description != null && { Description: input.Description })), (input.EventPattern != null && { EventPattern: input.EventPattern })), (input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn })), (input.RetentionDays != null && { RetentionDays: input.RetentionDays }));
|
|
4160
4148
|
};
|
|
4161
4149
|
var serializeAws_json1_1CreateConnectionApiKeyAuthRequestParameters = function (input, context) {
|
|
4162
|
-
return __assign(__assign({}, (input.ApiKeyName
|
|
4150
|
+
return __assign(__assign({}, (input.ApiKeyName != null && { ApiKeyName: input.ApiKeyName })), (input.ApiKeyValue != null && { ApiKeyValue: input.ApiKeyValue }));
|
|
4163
4151
|
};
|
|
4164
4152
|
var serializeAws_json1_1CreateConnectionAuthRequestParameters = function (input, context) {
|
|
4165
|
-
return __assign(__assign(__assign(__assign({}, (input.ApiKeyAuthParameters
|
|
4166
|
-
input.ApiKeyAuthParameters !== null && {
|
|
4153
|
+
return __assign(__assign(__assign(__assign({}, (input.ApiKeyAuthParameters != null && {
|
|
4167
4154
|
ApiKeyAuthParameters: serializeAws_json1_1CreateConnectionApiKeyAuthRequestParameters(input.ApiKeyAuthParameters, context),
|
|
4168
|
-
})), (input.BasicAuthParameters
|
|
4169
|
-
input.BasicAuthParameters !== null && {
|
|
4155
|
+
})), (input.BasicAuthParameters != null && {
|
|
4170
4156
|
BasicAuthParameters: serializeAws_json1_1CreateConnectionBasicAuthRequestParameters(input.BasicAuthParameters, context),
|
|
4171
|
-
})), (input.InvocationHttpParameters
|
|
4172
|
-
input.InvocationHttpParameters !== null && {
|
|
4157
|
+
})), (input.InvocationHttpParameters != null && {
|
|
4173
4158
|
InvocationHttpParameters: serializeAws_json1_1ConnectionHttpParameters(input.InvocationHttpParameters, context),
|
|
4174
|
-
})), (input.OAuthParameters
|
|
4175
|
-
input.OAuthParameters !== null && {
|
|
4159
|
+
})), (input.OAuthParameters != null && {
|
|
4176
4160
|
OAuthParameters: serializeAws_json1_1CreateConnectionOAuthRequestParameters(input.OAuthParameters, context),
|
|
4177
4161
|
}));
|
|
4178
4162
|
};
|
|
4179
4163
|
var serializeAws_json1_1CreateConnectionBasicAuthRequestParameters = function (input, context) {
|
|
4180
|
-
return __assign(__assign({}, (input.Password
|
|
4164
|
+
return __assign(__assign({}, (input.Password != null && { Password: input.Password })), (input.Username != null && { Username: input.Username }));
|
|
4181
4165
|
};
|
|
4182
4166
|
var serializeAws_json1_1CreateConnectionOAuthClientRequestParameters = function (input, context) {
|
|
4183
|
-
return __assign(__assign({}, (input.ClientID
|
|
4167
|
+
return __assign(__assign({}, (input.ClientID != null && { ClientID: input.ClientID })), (input.ClientSecret != null && { ClientSecret: input.ClientSecret }));
|
|
4184
4168
|
};
|
|
4185
4169
|
var serializeAws_json1_1CreateConnectionOAuthRequestParameters = function (input, context) {
|
|
4186
|
-
return __assign(__assign(__assign(__assign({}, (input.AuthorizationEndpoint
|
|
4187
|
-
input.AuthorizationEndpoint !== null && { AuthorizationEndpoint: input.AuthorizationEndpoint })), (input.ClientParameters !== undefined &&
|
|
4188
|
-
input.ClientParameters !== null && {
|
|
4170
|
+
return __assign(__assign(__assign(__assign({}, (input.AuthorizationEndpoint != null && { AuthorizationEndpoint: input.AuthorizationEndpoint })), (input.ClientParameters != null && {
|
|
4189
4171
|
ClientParameters: serializeAws_json1_1CreateConnectionOAuthClientRequestParameters(input.ClientParameters, context),
|
|
4190
|
-
})), (input.HttpMethod
|
|
4191
|
-
input.OAuthHttpParameters !== null && {
|
|
4172
|
+
})), (input.HttpMethod != null && { HttpMethod: input.HttpMethod })), (input.OAuthHttpParameters != null && {
|
|
4192
4173
|
OAuthHttpParameters: serializeAws_json1_1ConnectionHttpParameters(input.OAuthHttpParameters, context),
|
|
4193
4174
|
}));
|
|
4194
4175
|
};
|
|
4195
4176
|
var serializeAws_json1_1CreateConnectionRequest = function (input, context) {
|
|
4196
|
-
return __assign(__assign(__assign(__assign({}, (input.AuthParameters
|
|
4197
|
-
input.AuthParameters !== null && {
|
|
4177
|
+
return __assign(__assign(__assign(__assign({}, (input.AuthParameters != null && {
|
|
4198
4178
|
AuthParameters: serializeAws_json1_1CreateConnectionAuthRequestParameters(input.AuthParameters, context),
|
|
4199
|
-
})), (input.AuthorizationType
|
|
4200
|
-
input.AuthorizationType !== null && { AuthorizationType: input.AuthorizationType })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
4179
|
+
})), (input.AuthorizationType != null && { AuthorizationType: input.AuthorizationType })), (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name }));
|
|
4201
4180
|
};
|
|
4202
4181
|
var serializeAws_json1_1CreateEndpointRequest = function (input, context) {
|
|
4203
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
4204
|
-
|
|
4205
|
-
|
|
4182
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.EventBuses != null && {
|
|
4183
|
+
EventBuses: serializeAws_json1_1EndpointEventBusList(input.EventBuses, context),
|
|
4184
|
+
})), (input.Name != null && { Name: input.Name })), (input.ReplicationConfig != null && {
|
|
4206
4185
|
ReplicationConfig: serializeAws_json1_1ReplicationConfig(input.ReplicationConfig, context),
|
|
4207
|
-
})), (input.RoleArn
|
|
4208
|
-
input.RoutingConfig !== null && {
|
|
4186
|
+
})), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.RoutingConfig != null && {
|
|
4209
4187
|
RoutingConfig: serializeAws_json1_1RoutingConfig(input.RoutingConfig, context),
|
|
4210
4188
|
}));
|
|
4211
4189
|
};
|
|
4212
4190
|
var serializeAws_json1_1CreateEventBusRequest = function (input, context) {
|
|
4213
|
-
return __assign(__assign(__assign({}, (input.EventSourceName
|
|
4214
|
-
input.EventSourceName !== null && { EventSourceName: input.EventSourceName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4191
|
+
return __assign(__assign(__assign({}, (input.EventSourceName != null && { EventSourceName: input.EventSourceName })), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4215
4192
|
};
|
|
4216
4193
|
var serializeAws_json1_1CreatePartnerEventSourceRequest = function (input, context) {
|
|
4217
|
-
return __assign(__assign({}, (input.Account
|
|
4194
|
+
return __assign(__assign({}, (input.Account != null && { Account: input.Account })), (input.Name != null && { Name: input.Name }));
|
|
4218
4195
|
};
|
|
4219
4196
|
var serializeAws_json1_1DeactivateEventSourceRequest = function (input, context) {
|
|
4220
|
-
return __assign({}, (input.Name
|
|
4197
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4221
4198
|
};
|
|
4222
4199
|
var serializeAws_json1_1DeadLetterConfig = function (input, context) {
|
|
4223
|
-
return __assign({}, (input.Arn
|
|
4200
|
+
return __assign({}, (input.Arn != null && { Arn: input.Arn }));
|
|
4224
4201
|
};
|
|
4225
4202
|
var serializeAws_json1_1DeauthorizeConnectionRequest = function (input, context) {
|
|
4226
|
-
return __assign({}, (input.Name
|
|
4203
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4227
4204
|
};
|
|
4228
4205
|
var serializeAws_json1_1DeleteApiDestinationRequest = function (input, context) {
|
|
4229
|
-
return __assign({}, (input.Name
|
|
4206
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4230
4207
|
};
|
|
4231
4208
|
var serializeAws_json1_1DeleteArchiveRequest = function (input, context) {
|
|
4232
|
-
return __assign({}, (input.ArchiveName
|
|
4209
|
+
return __assign({}, (input.ArchiveName != null && { ArchiveName: input.ArchiveName }));
|
|
4233
4210
|
};
|
|
4234
4211
|
var serializeAws_json1_1DeleteConnectionRequest = function (input, context) {
|
|
4235
|
-
return __assign({}, (input.Name
|
|
4212
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4236
4213
|
};
|
|
4237
4214
|
var serializeAws_json1_1DeleteEndpointRequest = function (input, context) {
|
|
4238
|
-
return __assign({}, (input.Name
|
|
4215
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4239
4216
|
};
|
|
4240
4217
|
var serializeAws_json1_1DeleteEventBusRequest = function (input, context) {
|
|
4241
|
-
return __assign({}, (input.Name
|
|
4218
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4242
4219
|
};
|
|
4243
4220
|
var serializeAws_json1_1DeletePartnerEventSourceRequest = function (input, context) {
|
|
4244
|
-
return __assign(__assign({}, (input.Account
|
|
4221
|
+
return __assign(__assign({}, (input.Account != null && { Account: input.Account })), (input.Name != null && { Name: input.Name }));
|
|
4245
4222
|
};
|
|
4246
4223
|
var serializeAws_json1_1DeleteRuleRequest = function (input, context) {
|
|
4247
|
-
return __assign(__assign(__assign({}, (input.EventBusName
|
|
4224
|
+
return __assign(__assign(__assign({}, (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.Force != null && { Force: input.Force })), (input.Name != null && { Name: input.Name }));
|
|
4248
4225
|
};
|
|
4249
4226
|
var serializeAws_json1_1DescribeApiDestinationRequest = function (input, context) {
|
|
4250
|
-
return __assign({}, (input.Name
|
|
4227
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4251
4228
|
};
|
|
4252
4229
|
var serializeAws_json1_1DescribeArchiveRequest = function (input, context) {
|
|
4253
|
-
return __assign({}, (input.ArchiveName
|
|
4230
|
+
return __assign({}, (input.ArchiveName != null && { ArchiveName: input.ArchiveName }));
|
|
4254
4231
|
};
|
|
4255
4232
|
var serializeAws_json1_1DescribeConnectionRequest = function (input, context) {
|
|
4256
|
-
return __assign({}, (input.Name
|
|
4233
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4257
4234
|
};
|
|
4258
4235
|
var serializeAws_json1_1DescribeEndpointRequest = function (input, context) {
|
|
4259
|
-
return __assign(__assign({}, (input.HomeRegion
|
|
4236
|
+
return __assign(__assign({}, (input.HomeRegion != null && { HomeRegion: input.HomeRegion })), (input.Name != null && { Name: input.Name }));
|
|
4260
4237
|
};
|
|
4261
4238
|
var serializeAws_json1_1DescribeEventBusRequest = function (input, context) {
|
|
4262
|
-
return __assign({}, (input.Name
|
|
4239
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4263
4240
|
};
|
|
4264
4241
|
var serializeAws_json1_1DescribeEventSourceRequest = function (input, context) {
|
|
4265
|
-
return __assign({}, (input.Name
|
|
4242
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4266
4243
|
};
|
|
4267
4244
|
var serializeAws_json1_1DescribePartnerEventSourceRequest = function (input, context) {
|
|
4268
|
-
return __assign({}, (input.Name
|
|
4245
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4269
4246
|
};
|
|
4270
4247
|
var serializeAws_json1_1DescribeReplayRequest = function (input, context) {
|
|
4271
|
-
return __assign({}, (input.ReplayName
|
|
4248
|
+
return __assign({}, (input.ReplayName != null && { ReplayName: input.ReplayName }));
|
|
4272
4249
|
};
|
|
4273
4250
|
var serializeAws_json1_1DescribeRuleRequest = function (input, context) {
|
|
4274
|
-
return __assign(__assign({}, (input.EventBusName
|
|
4251
|
+
return __assign(__assign({}, (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.Name != null && { Name: input.Name }));
|
|
4275
4252
|
};
|
|
4276
4253
|
var serializeAws_json1_1DisableRuleRequest = function (input, context) {
|
|
4277
|
-
return __assign(__assign({}, (input.EventBusName
|
|
4254
|
+
return __assign(__assign({}, (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.Name != null && { Name: input.Name }));
|
|
4278
4255
|
};
|
|
4279
4256
|
var serializeAws_json1_1EcsParameters = function (input, context) {
|
|
4280
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CapacityProviderStrategy
|
|
4281
|
-
input.CapacityProviderStrategy !== null && {
|
|
4257
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CapacityProviderStrategy != null && {
|
|
4282
4258
|
CapacityProviderStrategy: serializeAws_json1_1CapacityProviderStrategy(input.CapacityProviderStrategy, context),
|
|
4283
|
-
})), (input.EnableECSManagedTags
|
|
4284
|
-
input.EnableECSManagedTags !== null && { EnableECSManagedTags: input.EnableECSManagedTags })), (input.EnableExecuteCommand !== undefined &&
|
|
4285
|
-
input.EnableExecuteCommand !== null && { EnableExecuteCommand: input.EnableExecuteCommand })), (input.Group !== undefined && input.Group !== null && { Group: input.Group })), (input.LaunchType !== undefined && input.LaunchType !== null && { LaunchType: input.LaunchType })), (input.NetworkConfiguration !== undefined &&
|
|
4286
|
-
input.NetworkConfiguration !== null && {
|
|
4259
|
+
})), (input.EnableECSManagedTags != null && { EnableECSManagedTags: input.EnableECSManagedTags })), (input.EnableExecuteCommand != null && { EnableExecuteCommand: input.EnableExecuteCommand })), (input.Group != null && { Group: input.Group })), (input.LaunchType != null && { LaunchType: input.LaunchType })), (input.NetworkConfiguration != null && {
|
|
4287
4260
|
NetworkConfiguration: serializeAws_json1_1NetworkConfiguration(input.NetworkConfiguration, context),
|
|
4288
|
-
})), (input.PlacementConstraints
|
|
4289
|
-
input.PlacementConstraints !== null && {
|
|
4261
|
+
})), (input.PlacementConstraints != null && {
|
|
4290
4262
|
PlacementConstraints: serializeAws_json1_1PlacementConstraints(input.PlacementConstraints, context),
|
|
4291
|
-
})), (input.PlacementStrategy
|
|
4292
|
-
input.PlacementStrategy !== null && {
|
|
4263
|
+
})), (input.PlacementStrategy != null && {
|
|
4293
4264
|
PlacementStrategy: serializeAws_json1_1PlacementStrategies(input.PlacementStrategy, context),
|
|
4294
|
-
})), (input.PlatformVersion
|
|
4295
|
-
input.PlatformVersion !== null && { PlatformVersion: input.PlatformVersion })), (input.PropagateTags !== undefined && input.PropagateTags !== null && { PropagateTags: input.PropagateTags })), (input.ReferenceId !== undefined && input.ReferenceId !== null && { ReferenceId: input.ReferenceId })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TaskCount !== undefined && input.TaskCount !== null && { TaskCount: input.TaskCount })), (input.TaskDefinitionArn !== undefined &&
|
|
4296
|
-
input.TaskDefinitionArn !== null && { TaskDefinitionArn: input.TaskDefinitionArn }));
|
|
4265
|
+
})), (input.PlatformVersion != null && { PlatformVersion: input.PlatformVersion })), (input.PropagateTags != null && { PropagateTags: input.PropagateTags })), (input.ReferenceId != null && { ReferenceId: input.ReferenceId })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TaskCount != null && { TaskCount: input.TaskCount })), (input.TaskDefinitionArn != null && { TaskDefinitionArn: input.TaskDefinitionArn }));
|
|
4297
4266
|
};
|
|
4298
4267
|
var serializeAws_json1_1EnableRuleRequest = function (input, context) {
|
|
4299
|
-
return __assign(__assign({}, (input.EventBusName
|
|
4268
|
+
return __assign(__assign({}, (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.Name != null && { Name: input.Name }));
|
|
4300
4269
|
};
|
|
4301
4270
|
var serializeAws_json1_1EndpointEventBus = function (input, context) {
|
|
4302
|
-
return __assign({}, (input.EventBusArn
|
|
4271
|
+
return __assign({}, (input.EventBusArn != null && { EventBusArn: input.EventBusArn }));
|
|
4303
4272
|
};
|
|
4304
4273
|
var serializeAws_json1_1EndpointEventBusList = function (input, context) {
|
|
4305
4274
|
return input
|
|
@@ -4322,9 +4291,7 @@ var serializeAws_json1_1EventResourceList = function (input, context) {
|
|
|
4322
4291
|
});
|
|
4323
4292
|
};
|
|
4324
4293
|
var serializeAws_json1_1FailoverConfig = function (input, context) {
|
|
4325
|
-
return __assign(__assign({}, (input.Primary
|
|
4326
|
-
input.Primary !== null && { Primary: serializeAws_json1_1Primary(input.Primary, context) })), (input.Secondary !== undefined &&
|
|
4327
|
-
input.Secondary !== null && { Secondary: serializeAws_json1_1Secondary(input.Secondary, context) }));
|
|
4294
|
+
return __assign(__assign({}, (input.Primary != null && { Primary: serializeAws_json1_1Primary(input.Primary, context) })), (input.Secondary != null && { Secondary: serializeAws_json1_1Secondary(input.Secondary, context) }));
|
|
4328
4295
|
};
|
|
4329
4296
|
var serializeAws_json1_1HeaderParametersMap = function (input, context) {
|
|
4330
4297
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4337,73 +4304,63 @@ var serializeAws_json1_1HeaderParametersMap = function (input, context) {
|
|
|
4337
4304
|
}, {});
|
|
4338
4305
|
};
|
|
4339
4306
|
var serializeAws_json1_1HttpParameters = function (input, context) {
|
|
4340
|
-
return __assign(__assign(__assign({}, (input.HeaderParameters
|
|
4341
|
-
input.HeaderParameters !== null && {
|
|
4307
|
+
return __assign(__assign(__assign({}, (input.HeaderParameters != null && {
|
|
4342
4308
|
HeaderParameters: serializeAws_json1_1HeaderParametersMap(input.HeaderParameters, context),
|
|
4343
|
-
})), (input.PathParameterValues
|
|
4344
|
-
input.PathParameterValues !== null && {
|
|
4309
|
+
})), (input.PathParameterValues != null && {
|
|
4345
4310
|
PathParameterValues: serializeAws_json1_1PathParameterList(input.PathParameterValues, context),
|
|
4346
|
-
})), (input.QueryStringParameters
|
|
4347
|
-
input.QueryStringParameters !== null && {
|
|
4311
|
+
})), (input.QueryStringParameters != null && {
|
|
4348
4312
|
QueryStringParameters: serializeAws_json1_1QueryStringParametersMap(input.QueryStringParameters, context),
|
|
4349
4313
|
}));
|
|
4350
4314
|
};
|
|
4351
4315
|
var serializeAws_json1_1InputTransformer = function (input, context) {
|
|
4352
|
-
return __assign(__assign({}, (input.InputPathsMap
|
|
4353
|
-
input.InputPathsMap !== null && {
|
|
4316
|
+
return __assign(__assign({}, (input.InputPathsMap != null && {
|
|
4354
4317
|
InputPathsMap: serializeAws_json1_1TransformerPaths(input.InputPathsMap, context),
|
|
4355
|
-
})), (input.InputTemplate
|
|
4318
|
+
})), (input.InputTemplate != null && { InputTemplate: input.InputTemplate }));
|
|
4356
4319
|
};
|
|
4357
4320
|
var serializeAws_json1_1KinesisParameters = function (input, context) {
|
|
4358
|
-
return __assign({}, (input.PartitionKeyPath
|
|
4359
|
-
input.PartitionKeyPath !== null && { PartitionKeyPath: input.PartitionKeyPath }));
|
|
4321
|
+
return __assign({}, (input.PartitionKeyPath != null && { PartitionKeyPath: input.PartitionKeyPath }));
|
|
4360
4322
|
};
|
|
4361
4323
|
var serializeAws_json1_1ListApiDestinationsRequest = function (input, context) {
|
|
4362
|
-
return __assign(__assign(__assign(__assign({}, (input.ConnectionArn
|
|
4324
|
+
return __assign(__assign(__assign(__assign({}, (input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn })), (input.Limit != null && { Limit: input.Limit })), (input.NamePrefix != null && { NamePrefix: input.NamePrefix })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4363
4325
|
};
|
|
4364
4326
|
var serializeAws_json1_1ListArchivesRequest = function (input, context) {
|
|
4365
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.EventSourceArn
|
|
4366
|
-
input.EventSourceArn !== null && { EventSourceArn: input.EventSourceArn })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NamePrefix !== undefined && input.NamePrefix !== null && { NamePrefix: input.NamePrefix })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.State !== undefined && input.State !== null && { State: input.State }));
|
|
4327
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn })), (input.Limit != null && { Limit: input.Limit })), (input.NamePrefix != null && { NamePrefix: input.NamePrefix })), (input.NextToken != null && { NextToken: input.NextToken })), (input.State != null && { State: input.State }));
|
|
4367
4328
|
};
|
|
4368
4329
|
var serializeAws_json1_1ListConnectionsRequest = function (input, context) {
|
|
4369
|
-
return __assign(__assign(__assign(__assign({}, (input.ConnectionState
|
|
4370
|
-
input.ConnectionState !== null && { ConnectionState: input.ConnectionState })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NamePrefix !== undefined && input.NamePrefix !== null && { NamePrefix: input.NamePrefix })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
4330
|
+
return __assign(__assign(__assign(__assign({}, (input.ConnectionState != null && { ConnectionState: input.ConnectionState })), (input.Limit != null && { Limit: input.Limit })), (input.NamePrefix != null && { NamePrefix: input.NamePrefix })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4371
4331
|
};
|
|
4372
4332
|
var serializeAws_json1_1ListEndpointsRequest = function (input, context) {
|
|
4373
|
-
return __assign(__assign(__assign(__assign({}, (input.HomeRegion
|
|
4333
|
+
return __assign(__assign(__assign(__assign({}, (input.HomeRegion != null && { HomeRegion: input.HomeRegion })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NamePrefix != null && { NamePrefix: input.NamePrefix })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4374
4334
|
};
|
|
4375
4335
|
var serializeAws_json1_1ListEventBusesRequest = function (input, context) {
|
|
4376
|
-
return __assign(__assign(__assign({}, (input.Limit
|
|
4336
|
+
return __assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NamePrefix != null && { NamePrefix: input.NamePrefix })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4377
4337
|
};
|
|
4378
4338
|
var serializeAws_json1_1ListEventSourcesRequest = function (input, context) {
|
|
4379
|
-
return __assign(__assign(__assign({}, (input.Limit
|
|
4339
|
+
return __assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NamePrefix != null && { NamePrefix: input.NamePrefix })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4380
4340
|
};
|
|
4381
4341
|
var serializeAws_json1_1ListPartnerEventSourceAccountsRequest = function (input, context) {
|
|
4382
|
-
return __assign(__assign(__assign({}, (input.EventSourceName
|
|
4383
|
-
input.EventSourceName !== null && { EventSourceName: input.EventSourceName })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
4342
|
+
return __assign(__assign(__assign({}, (input.EventSourceName != null && { EventSourceName: input.EventSourceName })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4384
4343
|
};
|
|
4385
4344
|
var serializeAws_json1_1ListPartnerEventSourcesRequest = function (input, context) {
|
|
4386
|
-
return __assign(__assign(__assign({}, (input.Limit
|
|
4345
|
+
return __assign(__assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.NamePrefix != null && { NamePrefix: input.NamePrefix })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4387
4346
|
};
|
|
4388
4347
|
var serializeAws_json1_1ListReplaysRequest = function (input, context) {
|
|
4389
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.EventSourceArn
|
|
4390
|
-
input.EventSourceArn !== null && { EventSourceArn: input.EventSourceArn })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NamePrefix !== undefined && input.NamePrefix !== null && { NamePrefix: input.NamePrefix })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.State !== undefined && input.State !== null && { State: input.State }));
|
|
4348
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn })), (input.Limit != null && { Limit: input.Limit })), (input.NamePrefix != null && { NamePrefix: input.NamePrefix })), (input.NextToken != null && { NextToken: input.NextToken })), (input.State != null && { State: input.State }));
|
|
4391
4349
|
};
|
|
4392
4350
|
var serializeAws_json1_1ListRuleNamesByTargetRequest = function (input, context) {
|
|
4393
|
-
return __assign(__assign(__assign(__assign({}, (input.EventBusName
|
|
4351
|
+
return __assign(__assign(__assign(__assign({}, (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.TargetArn != null && { TargetArn: input.TargetArn }));
|
|
4394
4352
|
};
|
|
4395
4353
|
var serializeAws_json1_1ListRulesRequest = function (input, context) {
|
|
4396
|
-
return __assign(__assign(__assign(__assign({}, (input.EventBusName
|
|
4354
|
+
return __assign(__assign(__assign(__assign({}, (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.Limit != null && { Limit: input.Limit })), (input.NamePrefix != null && { NamePrefix: input.NamePrefix })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4397
4355
|
};
|
|
4398
4356
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
4399
|
-
return __assign({}, (input.ResourceARN
|
|
4357
|
+
return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
4400
4358
|
};
|
|
4401
4359
|
var serializeAws_json1_1ListTargetsByRuleRequest = function (input, context) {
|
|
4402
|
-
return __assign(__assign(__assign(__assign({}, (input.EventBusName
|
|
4360
|
+
return __assign(__assign(__assign(__assign({}, (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Rule != null && { Rule: input.Rule }));
|
|
4403
4361
|
};
|
|
4404
4362
|
var serializeAws_json1_1NetworkConfiguration = function (input, context) {
|
|
4405
|
-
return __assign({}, (input.awsvpcConfiguration
|
|
4406
|
-
input.awsvpcConfiguration !== null && {
|
|
4363
|
+
return __assign({}, (input.awsvpcConfiguration != null && {
|
|
4407
4364
|
awsvpcConfiguration: serializeAws_json1_1AwsVpcConfiguration(input.awsvpcConfiguration, context),
|
|
4408
4365
|
}));
|
|
4409
4366
|
};
|
|
@@ -4418,7 +4375,7 @@ var serializeAws_json1_1PathParameterList = function (input, context) {
|
|
|
4418
4375
|
});
|
|
4419
4376
|
};
|
|
4420
4377
|
var serializeAws_json1_1PlacementConstraint = function (input, context) {
|
|
4421
|
-
return __assign(__assign({}, (input.expression
|
|
4378
|
+
return __assign(__assign({}, (input.expression != null && { expression: input.expression })), (input.type != null && { type: input.type }));
|
|
4422
4379
|
};
|
|
4423
4380
|
var serializeAws_json1_1PlacementConstraints = function (input, context) {
|
|
4424
4381
|
return input
|
|
@@ -4441,18 +4398,16 @@ var serializeAws_json1_1PlacementStrategies = function (input, context) {
|
|
|
4441
4398
|
});
|
|
4442
4399
|
};
|
|
4443
4400
|
var serializeAws_json1_1PlacementStrategy = function (input, context) {
|
|
4444
|
-
return __assign(__assign({}, (input.field
|
|
4401
|
+
return __assign(__assign({}, (input.field != null && { field: input.field })), (input.type != null && { type: input.type }));
|
|
4445
4402
|
};
|
|
4446
4403
|
var serializeAws_json1_1Primary = function (input, context) {
|
|
4447
|
-
return __assign({}, (input.HealthCheck
|
|
4404
|
+
return __assign({}, (input.HealthCheck != null && { HealthCheck: input.HealthCheck }));
|
|
4448
4405
|
};
|
|
4449
4406
|
var serializeAws_json1_1PutEventsRequest = function (input, context) {
|
|
4450
|
-
return __assign(__assign({}, (input.EndpointId
|
|
4451
|
-
input.Entries !== null && { Entries: serializeAws_json1_1PutEventsRequestEntryList(input.Entries, context) }));
|
|
4407
|
+
return __assign(__assign({}, (input.EndpointId != null && { EndpointId: input.EndpointId })), (input.Entries != null && { Entries: serializeAws_json1_1PutEventsRequestEntryList(input.Entries, context) }));
|
|
4452
4408
|
};
|
|
4453
4409
|
var serializeAws_json1_1PutEventsRequestEntry = function (input, context) {
|
|
4454
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Detail
|
|
4455
|
-
input.Resources !== null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) })), (input.Source !== undefined && input.Source !== null && { Source: input.Source })), (input.Time !== undefined && input.Time !== null && { Time: Math.round(input.Time.getTime() / 1000) })), (input.TraceHeader !== undefined && input.TraceHeader !== null && { TraceHeader: input.TraceHeader }));
|
|
4410
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Detail != null && { Detail: input.Detail })), (input.DetailType != null && { DetailType: input.DetailType })), (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) })), (input.Source != null && { Source: input.Source })), (input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) })), (input.TraceHeader != null && { TraceHeader: input.TraceHeader }));
|
|
4456
4411
|
};
|
|
4457
4412
|
var serializeAws_json1_1PutEventsRequestEntryList = function (input, context) {
|
|
4458
4413
|
return input
|
|
@@ -4465,14 +4420,12 @@ var serializeAws_json1_1PutEventsRequestEntryList = function (input, context) {
|
|
|
4465
4420
|
});
|
|
4466
4421
|
};
|
|
4467
4422
|
var serializeAws_json1_1PutPartnerEventsRequest = function (input, context) {
|
|
4468
|
-
return __assign({}, (input.Entries
|
|
4469
|
-
input.Entries !== null && {
|
|
4423
|
+
return __assign({}, (input.Entries != null && {
|
|
4470
4424
|
Entries: serializeAws_json1_1PutPartnerEventsRequestEntryList(input.Entries, context),
|
|
4471
4425
|
}));
|
|
4472
4426
|
};
|
|
4473
4427
|
var serializeAws_json1_1PutPartnerEventsRequestEntry = function (input, context) {
|
|
4474
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Detail
|
|
4475
|
-
input.Resources !== null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) })), (input.Source !== undefined && input.Source !== null && { Source: input.Source })), (input.Time !== undefined && input.Time !== null && { Time: Math.round(input.Time.getTime() / 1000) }));
|
|
4428
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Detail != null && { Detail: input.Detail })), (input.DetailType != null && { DetailType: input.DetailType })), (input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) })), (input.Source != null && { Source: input.Source })), (input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }));
|
|
4476
4429
|
};
|
|
4477
4430
|
var serializeAws_json1_1PutPartnerEventsRequestEntryList = function (input, context) {
|
|
4478
4431
|
return input
|
|
@@ -4485,16 +4438,13 @@ var serializeAws_json1_1PutPartnerEventsRequestEntryList = function (input, cont
|
|
|
4485
4438
|
});
|
|
4486
4439
|
};
|
|
4487
4440
|
var serializeAws_json1_1PutPermissionRequest = function (input, context) {
|
|
4488
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Action
|
|
4489
|
-
input.Condition !== null && { Condition: serializeAws_json1_1Condition(input.Condition, context) })), (input.EventBusName !== undefined && input.EventBusName !== null && { EventBusName: input.EventBusName })), (input.Policy !== undefined && input.Policy !== null && { Policy: input.Policy })), (input.Principal !== undefined && input.Principal !== null && { Principal: input.Principal })), (input.StatementId !== undefined && input.StatementId !== null && { StatementId: input.StatementId }));
|
|
4441
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Action != null && { Action: input.Action })), (input.Condition != null && { Condition: serializeAws_json1_1Condition(input.Condition, context) })), (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.Policy != null && { Policy: input.Policy })), (input.Principal != null && { Principal: input.Principal })), (input.StatementId != null && { StatementId: input.StatementId }));
|
|
4490
4442
|
};
|
|
4491
4443
|
var serializeAws_json1_1PutRuleRequest = function (input, context) {
|
|
4492
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
4493
|
-
input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression })), (input.State !== undefined && input.State !== null && { State: input.State })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4444
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.EventPattern != null && { EventPattern: input.EventPattern })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression })), (input.State != null && { State: input.State })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4494
4445
|
};
|
|
4495
4446
|
var serializeAws_json1_1PutTargetsRequest = function (input, context) {
|
|
4496
|
-
return __assign(__assign(__assign({}, (input.EventBusName
|
|
4497
|
-
input.Targets !== null && { Targets: serializeAws_json1_1TargetList(input.Targets, context) }));
|
|
4447
|
+
return __assign(__assign(__assign({}, (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.Rule != null && { Rule: input.Rule })), (input.Targets != null && { Targets: serializeAws_json1_1TargetList(input.Targets, context) }));
|
|
4498
4448
|
};
|
|
4499
4449
|
var serializeAws_json1_1QueryStringParametersMap = function (input, context) {
|
|
4500
4450
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4507,19 +4457,16 @@ var serializeAws_json1_1QueryStringParametersMap = function (input, context) {
|
|
|
4507
4457
|
}, {});
|
|
4508
4458
|
};
|
|
4509
4459
|
var serializeAws_json1_1RedshiftDataParameters = function (input, context) {
|
|
4510
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Database
|
|
4511
|
-
input.SecretManagerArn !== null && { SecretManagerArn: input.SecretManagerArn })), (input.Sql !== undefined && input.Sql !== null && { Sql: input.Sql })), (input.StatementName !== undefined && input.StatementName !== null && { StatementName: input.StatementName })), (input.WithEvent !== undefined && input.WithEvent !== null && { WithEvent: input.WithEvent }));
|
|
4460
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.DbUser != null && { DbUser: input.DbUser })), (input.SecretManagerArn != null && { SecretManagerArn: input.SecretManagerArn })), (input.Sql != null && { Sql: input.Sql })), (input.StatementName != null && { StatementName: input.StatementName })), (input.WithEvent != null && { WithEvent: input.WithEvent }));
|
|
4512
4461
|
};
|
|
4513
4462
|
var serializeAws_json1_1RemovePermissionRequest = function (input, context) {
|
|
4514
|
-
return __assign(__assign(__assign({}, (input.EventBusName
|
|
4515
|
-
input.RemoveAllPermissions !== null && { RemoveAllPermissions: input.RemoveAllPermissions })), (input.StatementId !== undefined && input.StatementId !== null && { StatementId: input.StatementId }));
|
|
4463
|
+
return __assign(__assign(__assign({}, (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.RemoveAllPermissions != null && { RemoveAllPermissions: input.RemoveAllPermissions })), (input.StatementId != null && { StatementId: input.StatementId }));
|
|
4516
4464
|
};
|
|
4517
4465
|
var serializeAws_json1_1RemoveTargetsRequest = function (input, context) {
|
|
4518
|
-
return __assign(__assign(__assign(__assign({}, (input.EventBusName
|
|
4466
|
+
return __assign(__assign(__assign(__assign({}, (input.EventBusName != null && { EventBusName: input.EventBusName })), (input.Force != null && { Force: input.Force })), (input.Ids != null && { Ids: serializeAws_json1_1TargetIdList(input.Ids, context) })), (input.Rule != null && { Rule: input.Rule }));
|
|
4519
4467
|
};
|
|
4520
4468
|
var serializeAws_json1_1ReplayDestination = function (input, context) {
|
|
4521
|
-
return __assign(__assign({}, (input.Arn
|
|
4522
|
-
input.FilterArns !== null && {
|
|
4469
|
+
return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.FilterArns != null && {
|
|
4523
4470
|
FilterArns: serializeAws_json1_1ReplayDestinationFilters(input.FilterArns, context),
|
|
4524
4471
|
}));
|
|
4525
4472
|
};
|
|
@@ -4534,28 +4481,23 @@ var serializeAws_json1_1ReplayDestinationFilters = function (input, context) {
|
|
|
4534
4481
|
});
|
|
4535
4482
|
};
|
|
4536
4483
|
var serializeAws_json1_1ReplicationConfig = function (input, context) {
|
|
4537
|
-
return __assign({}, (input.State
|
|
4484
|
+
return __assign({}, (input.State != null && { State: input.State }));
|
|
4538
4485
|
};
|
|
4539
4486
|
var serializeAws_json1_1RetryPolicy = function (input, context) {
|
|
4540
|
-
return __assign(__assign({}, (input.MaximumEventAgeInSeconds
|
|
4541
|
-
input.MaximumEventAgeInSeconds !== null && { MaximumEventAgeInSeconds: input.MaximumEventAgeInSeconds })), (input.MaximumRetryAttempts !== undefined &&
|
|
4542
|
-
input.MaximumRetryAttempts !== null && { MaximumRetryAttempts: input.MaximumRetryAttempts }));
|
|
4487
|
+
return __assign(__assign({}, (input.MaximumEventAgeInSeconds != null && { MaximumEventAgeInSeconds: input.MaximumEventAgeInSeconds })), (input.MaximumRetryAttempts != null && { MaximumRetryAttempts: input.MaximumRetryAttempts }));
|
|
4543
4488
|
};
|
|
4544
4489
|
var serializeAws_json1_1RoutingConfig = function (input, context) {
|
|
4545
|
-
return __assign({}, (input.FailoverConfig
|
|
4546
|
-
input.FailoverConfig !== null && {
|
|
4490
|
+
return __assign({}, (input.FailoverConfig != null && {
|
|
4547
4491
|
FailoverConfig: serializeAws_json1_1FailoverConfig(input.FailoverConfig, context),
|
|
4548
4492
|
}));
|
|
4549
4493
|
};
|
|
4550
4494
|
var serializeAws_json1_1RunCommandParameters = function (input, context) {
|
|
4551
|
-
return __assign({}, (input.RunCommandTargets
|
|
4552
|
-
input.RunCommandTargets !== null && {
|
|
4495
|
+
return __assign({}, (input.RunCommandTargets != null && {
|
|
4553
4496
|
RunCommandTargets: serializeAws_json1_1RunCommandTargets(input.RunCommandTargets, context),
|
|
4554
4497
|
}));
|
|
4555
4498
|
};
|
|
4556
4499
|
var serializeAws_json1_1RunCommandTarget = function (input, context) {
|
|
4557
|
-
return __assign(__assign({}, (input.Key
|
|
4558
|
-
input.Values !== null && { Values: serializeAws_json1_1RunCommandTargetValues(input.Values, context) }));
|
|
4500
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Values != null && { Values: serializeAws_json1_1RunCommandTargetValues(input.Values, context) }));
|
|
4559
4501
|
};
|
|
4560
4502
|
var serializeAws_json1_1RunCommandTargets = function (input, context) {
|
|
4561
4503
|
return input
|
|
@@ -4578,7 +4520,7 @@ var serializeAws_json1_1RunCommandTargetValues = function (input, context) {
|
|
|
4578
4520
|
});
|
|
4579
4521
|
};
|
|
4580
4522
|
var serializeAws_json1_1SageMakerPipelineParameter = function (input, context) {
|
|
4581
|
-
return __assign(__assign({}, (input.Name
|
|
4523
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Value != null && { Value: input.Value }));
|
|
4582
4524
|
};
|
|
4583
4525
|
var serializeAws_json1_1SageMakerPipelineParameterList = function (input, context) {
|
|
4584
4526
|
return input
|
|
@@ -4591,24 +4533,20 @@ var serializeAws_json1_1SageMakerPipelineParameterList = function (input, contex
|
|
|
4591
4533
|
});
|
|
4592
4534
|
};
|
|
4593
4535
|
var serializeAws_json1_1SageMakerPipelineParameters = function (input, context) {
|
|
4594
|
-
return __assign({}, (input.PipelineParameterList
|
|
4595
|
-
input.PipelineParameterList !== null && {
|
|
4536
|
+
return __assign({}, (input.PipelineParameterList != null && {
|
|
4596
4537
|
PipelineParameterList: serializeAws_json1_1SageMakerPipelineParameterList(input.PipelineParameterList, context),
|
|
4597
4538
|
}));
|
|
4598
4539
|
};
|
|
4599
4540
|
var serializeAws_json1_1Secondary = function (input, context) {
|
|
4600
|
-
return __assign({}, (input.Route
|
|
4541
|
+
return __assign({}, (input.Route != null && { Route: input.Route }));
|
|
4601
4542
|
};
|
|
4602
4543
|
var serializeAws_json1_1SqsParameters = function (input, context) {
|
|
4603
|
-
return __assign({}, (input.MessageGroupId
|
|
4604
|
-
input.MessageGroupId !== null && { MessageGroupId: input.MessageGroupId }));
|
|
4544
|
+
return __assign({}, (input.MessageGroupId != null && { MessageGroupId: input.MessageGroupId }));
|
|
4605
4545
|
};
|
|
4606
4546
|
var serializeAws_json1_1StartReplayRequest = function (input, context) {
|
|
4607
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
input.EventSourceArn !== null && { EventSourceArn: input.EventSourceArn })), (input.EventStartTime !== undefined &&
|
|
4611
|
-
input.EventStartTime !== null && { EventStartTime: Math.round(input.EventStartTime.getTime() / 1000) })), (input.ReplayName !== undefined && input.ReplayName !== null && { ReplayName: input.ReplayName }));
|
|
4547
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Destination != null && {
|
|
4548
|
+
Destination: serializeAws_json1_1ReplayDestination(input.Destination, context),
|
|
4549
|
+
})), (input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000) })), (input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn })), (input.EventStartTime != null && { EventStartTime: Math.round(input.EventStartTime.getTime() / 1000) })), (input.ReplayName != null && { ReplayName: input.ReplayName }));
|
|
4612
4550
|
};
|
|
4613
4551
|
var serializeAws_json1_1StringList = function (input, context) {
|
|
4614
4552
|
return input
|
|
@@ -4621,7 +4559,7 @@ var serializeAws_json1_1StringList = function (input, context) {
|
|
|
4621
4559
|
});
|
|
4622
4560
|
};
|
|
4623
4561
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
4624
|
-
return __assign(__assign({}, (input.Key
|
|
4562
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
4625
4563
|
};
|
|
4626
4564
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
4627
4565
|
return input
|
|
@@ -4644,39 +4582,28 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
4644
4582
|
});
|
|
4645
4583
|
};
|
|
4646
4584
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
4647
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
4585
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4648
4586
|
};
|
|
4649
4587
|
var serializeAws_json1_1Target = function (input, context) {
|
|
4650
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Arn
|
|
4651
|
-
input.BatchParameters !== null && {
|
|
4588
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.BatchParameters != null && {
|
|
4652
4589
|
BatchParameters: serializeAws_json1_1BatchParameters(input.BatchParameters, context),
|
|
4653
|
-
})), (input.DeadLetterConfig
|
|
4654
|
-
input.DeadLetterConfig !== null && {
|
|
4590
|
+
})), (input.DeadLetterConfig != null && {
|
|
4655
4591
|
DeadLetterConfig: serializeAws_json1_1DeadLetterConfig(input.DeadLetterConfig, context),
|
|
4656
|
-
})), (input.EcsParameters
|
|
4657
|
-
input.EcsParameters !== null && {
|
|
4592
|
+
})), (input.EcsParameters != null && {
|
|
4658
4593
|
EcsParameters: serializeAws_json1_1EcsParameters(input.EcsParameters, context),
|
|
4659
|
-
})), (input.HttpParameters
|
|
4660
|
-
input.HttpParameters !== null && {
|
|
4594
|
+
})), (input.HttpParameters != null && {
|
|
4661
4595
|
HttpParameters: serializeAws_json1_1HttpParameters(input.HttpParameters, context),
|
|
4662
|
-
})), (input.Id
|
|
4663
|
-
input.InputTransformer !== null && {
|
|
4596
|
+
})), (input.Id != null && { Id: input.Id })), (input.Input != null && { Input: input.Input })), (input.InputPath != null && { InputPath: input.InputPath })), (input.InputTransformer != null && {
|
|
4664
4597
|
InputTransformer: serializeAws_json1_1InputTransformer(input.InputTransformer, context),
|
|
4665
|
-
})), (input.KinesisParameters
|
|
4666
|
-
input.KinesisParameters !== null && {
|
|
4598
|
+
})), (input.KinesisParameters != null && {
|
|
4667
4599
|
KinesisParameters: serializeAws_json1_1KinesisParameters(input.KinesisParameters, context),
|
|
4668
|
-
})), (input.RedshiftDataParameters
|
|
4669
|
-
input.RedshiftDataParameters !== null && {
|
|
4600
|
+
})), (input.RedshiftDataParameters != null && {
|
|
4670
4601
|
RedshiftDataParameters: serializeAws_json1_1RedshiftDataParameters(input.RedshiftDataParameters, context),
|
|
4671
|
-
})), (input.RetryPolicy
|
|
4672
|
-
input.RetryPolicy !== null && { RetryPolicy: serializeAws_json1_1RetryPolicy(input.RetryPolicy, context) })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.RunCommandParameters !== undefined &&
|
|
4673
|
-
input.RunCommandParameters !== null && {
|
|
4602
|
+
})), (input.RetryPolicy != null && { RetryPolicy: serializeAws_json1_1RetryPolicy(input.RetryPolicy, context) })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.RunCommandParameters != null && {
|
|
4674
4603
|
RunCommandParameters: serializeAws_json1_1RunCommandParameters(input.RunCommandParameters, context),
|
|
4675
|
-
})), (input.SageMakerPipelineParameters
|
|
4676
|
-
input.SageMakerPipelineParameters !== null && {
|
|
4604
|
+
})), (input.SageMakerPipelineParameters != null && {
|
|
4677
4605
|
SageMakerPipelineParameters: serializeAws_json1_1SageMakerPipelineParameters(input.SageMakerPipelineParameters, context),
|
|
4678
|
-
})), (input.SqsParameters
|
|
4679
|
-
input.SqsParameters !== null && {
|
|
4606
|
+
})), (input.SqsParameters != null && {
|
|
4680
4607
|
SqsParameters: serializeAws_json1_1SqsParameters(input.SqsParameters, context),
|
|
4681
4608
|
}));
|
|
4682
4609
|
};
|
|
@@ -4701,7 +4628,7 @@ var serializeAws_json1_1TargetList = function (input, context) {
|
|
|
4701
4628
|
});
|
|
4702
4629
|
};
|
|
4703
4630
|
var serializeAws_json1_1TestEventPatternRequest = function (input, context) {
|
|
4704
|
-
return __assign(__assign({}, (input.Event
|
|
4631
|
+
return __assign(__assign({}, (input.Event != null && { Event: input.Event })), (input.EventPattern != null && { EventPattern: input.EventPattern }));
|
|
4705
4632
|
};
|
|
4706
4633
|
var serializeAws_json1_1TransformerPaths = function (input, context) {
|
|
4707
4634
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4714,67 +4641,54 @@ var serializeAws_json1_1TransformerPaths = function (input, context) {
|
|
|
4714
4641
|
}, {});
|
|
4715
4642
|
};
|
|
4716
4643
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
4717
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
4718
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
4644
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
4719
4645
|
};
|
|
4720
4646
|
var serializeAws_json1_1UpdateApiDestinationRequest = function (input, context) {
|
|
4721
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConnectionArn
|
|
4722
|
-
input.InvocationEndpoint !== null && { InvocationEndpoint: input.InvocationEndpoint })), (input.InvocationRateLimitPerSecond !== undefined &&
|
|
4723
|
-
input.InvocationRateLimitPerSecond !== null && {
|
|
4647
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn })), (input.Description != null && { Description: input.Description })), (input.HttpMethod != null && { HttpMethod: input.HttpMethod })), (input.InvocationEndpoint != null && { InvocationEndpoint: input.InvocationEndpoint })), (input.InvocationRateLimitPerSecond != null && {
|
|
4724
4648
|
InvocationRateLimitPerSecond: input.InvocationRateLimitPerSecond,
|
|
4725
|
-
})), (input.Name
|
|
4649
|
+
})), (input.Name != null && { Name: input.Name }));
|
|
4726
4650
|
};
|
|
4727
4651
|
var serializeAws_json1_1UpdateArchiveRequest = function (input, context) {
|
|
4728
|
-
return __assign(__assign(__assign(__assign({}, (input.ArchiveName
|
|
4652
|
+
return __assign(__assign(__assign(__assign({}, (input.ArchiveName != null && { ArchiveName: input.ArchiveName })), (input.Description != null && { Description: input.Description })), (input.EventPattern != null && { EventPattern: input.EventPattern })), (input.RetentionDays != null && { RetentionDays: input.RetentionDays }));
|
|
4729
4653
|
};
|
|
4730
4654
|
var serializeAws_json1_1UpdateConnectionApiKeyAuthRequestParameters = function (input, context) {
|
|
4731
|
-
return __assign(__assign({}, (input.ApiKeyName
|
|
4655
|
+
return __assign(__assign({}, (input.ApiKeyName != null && { ApiKeyName: input.ApiKeyName })), (input.ApiKeyValue != null && { ApiKeyValue: input.ApiKeyValue }));
|
|
4732
4656
|
};
|
|
4733
4657
|
var serializeAws_json1_1UpdateConnectionAuthRequestParameters = function (input, context) {
|
|
4734
|
-
return __assign(__assign(__assign(__assign({}, (input.ApiKeyAuthParameters
|
|
4735
|
-
input.ApiKeyAuthParameters !== null && {
|
|
4658
|
+
return __assign(__assign(__assign(__assign({}, (input.ApiKeyAuthParameters != null && {
|
|
4736
4659
|
ApiKeyAuthParameters: serializeAws_json1_1UpdateConnectionApiKeyAuthRequestParameters(input.ApiKeyAuthParameters, context),
|
|
4737
|
-
})), (input.BasicAuthParameters
|
|
4738
|
-
input.BasicAuthParameters !== null && {
|
|
4660
|
+
})), (input.BasicAuthParameters != null && {
|
|
4739
4661
|
BasicAuthParameters: serializeAws_json1_1UpdateConnectionBasicAuthRequestParameters(input.BasicAuthParameters, context),
|
|
4740
|
-
})), (input.InvocationHttpParameters
|
|
4741
|
-
input.InvocationHttpParameters !== null && {
|
|
4662
|
+
})), (input.InvocationHttpParameters != null && {
|
|
4742
4663
|
InvocationHttpParameters: serializeAws_json1_1ConnectionHttpParameters(input.InvocationHttpParameters, context),
|
|
4743
|
-
})), (input.OAuthParameters
|
|
4744
|
-
input.OAuthParameters !== null && {
|
|
4664
|
+
})), (input.OAuthParameters != null && {
|
|
4745
4665
|
OAuthParameters: serializeAws_json1_1UpdateConnectionOAuthRequestParameters(input.OAuthParameters, context),
|
|
4746
4666
|
}));
|
|
4747
4667
|
};
|
|
4748
4668
|
var serializeAws_json1_1UpdateConnectionBasicAuthRequestParameters = function (input, context) {
|
|
4749
|
-
return __assign(__assign({}, (input.Password
|
|
4669
|
+
return __assign(__assign({}, (input.Password != null && { Password: input.Password })), (input.Username != null && { Username: input.Username }));
|
|
4750
4670
|
};
|
|
4751
4671
|
var serializeAws_json1_1UpdateConnectionOAuthClientRequestParameters = function (input, context) {
|
|
4752
|
-
return __assign(__assign({}, (input.ClientID
|
|
4672
|
+
return __assign(__assign({}, (input.ClientID != null && { ClientID: input.ClientID })), (input.ClientSecret != null && { ClientSecret: input.ClientSecret }));
|
|
4753
4673
|
};
|
|
4754
4674
|
var serializeAws_json1_1UpdateConnectionOAuthRequestParameters = function (input, context) {
|
|
4755
|
-
return __assign(__assign(__assign(__assign({}, (input.AuthorizationEndpoint
|
|
4756
|
-
input.AuthorizationEndpoint !== null && { AuthorizationEndpoint: input.AuthorizationEndpoint })), (input.ClientParameters !== undefined &&
|
|
4757
|
-
input.ClientParameters !== null && {
|
|
4675
|
+
return __assign(__assign(__assign(__assign({}, (input.AuthorizationEndpoint != null && { AuthorizationEndpoint: input.AuthorizationEndpoint })), (input.ClientParameters != null && {
|
|
4758
4676
|
ClientParameters: serializeAws_json1_1UpdateConnectionOAuthClientRequestParameters(input.ClientParameters, context),
|
|
4759
|
-
})), (input.HttpMethod
|
|
4760
|
-
input.OAuthHttpParameters !== null && {
|
|
4677
|
+
})), (input.HttpMethod != null && { HttpMethod: input.HttpMethod })), (input.OAuthHttpParameters != null && {
|
|
4761
4678
|
OAuthHttpParameters: serializeAws_json1_1ConnectionHttpParameters(input.OAuthHttpParameters, context),
|
|
4762
4679
|
}));
|
|
4763
4680
|
};
|
|
4764
4681
|
var serializeAws_json1_1UpdateConnectionRequest = function (input, context) {
|
|
4765
|
-
return __assign(__assign(__assign(__assign({}, (input.AuthParameters
|
|
4766
|
-
input.AuthParameters !== null && {
|
|
4682
|
+
return __assign(__assign(__assign(__assign({}, (input.AuthParameters != null && {
|
|
4767
4683
|
AuthParameters: serializeAws_json1_1UpdateConnectionAuthRequestParameters(input.AuthParameters, context),
|
|
4768
|
-
})), (input.AuthorizationType
|
|
4769
|
-
input.AuthorizationType !== null && { AuthorizationType: input.AuthorizationType })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
4684
|
+
})), (input.AuthorizationType != null && { AuthorizationType: input.AuthorizationType })), (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name }));
|
|
4770
4685
|
};
|
|
4771
4686
|
var serializeAws_json1_1UpdateEndpointRequest = function (input, context) {
|
|
4772
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
4773
|
-
|
|
4774
|
-
|
|
4687
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.EventBuses != null && {
|
|
4688
|
+
EventBuses: serializeAws_json1_1EndpointEventBusList(input.EventBuses, context),
|
|
4689
|
+
})), (input.Name != null && { Name: input.Name })), (input.ReplicationConfig != null && {
|
|
4775
4690
|
ReplicationConfig: serializeAws_json1_1ReplicationConfig(input.ReplicationConfig, context),
|
|
4776
|
-
})), (input.RoleArn
|
|
4777
|
-
input.RoutingConfig !== null && {
|
|
4691
|
+
})), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.RoutingConfig != null && {
|
|
4778
4692
|
RoutingConfig: serializeAws_json1_1RoutingConfig(input.RoutingConfig, context),
|
|
4779
4693
|
}));
|
|
4780
4694
|
};
|
|
@@ -4783,13 +4697,13 @@ var deserializeAws_json1_1ApiDestination = function (output, context) {
|
|
|
4783
4697
|
ApiDestinationArn: __expectString(output.ApiDestinationArn),
|
|
4784
4698
|
ApiDestinationState: __expectString(output.ApiDestinationState),
|
|
4785
4699
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
4786
|
-
CreationTime: output.CreationTime
|
|
4700
|
+
CreationTime: output.CreationTime != null
|
|
4787
4701
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4788
4702
|
: undefined,
|
|
4789
4703
|
HttpMethod: __expectString(output.HttpMethod),
|
|
4790
4704
|
InvocationEndpoint: __expectString(output.InvocationEndpoint),
|
|
4791
4705
|
InvocationRateLimitPerSecond: __expectInt32(output.InvocationRateLimitPerSecond),
|
|
4792
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4706
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4793
4707
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4794
4708
|
: undefined,
|
|
4795
4709
|
Name: __expectString(output.Name),
|
|
@@ -4809,7 +4723,7 @@ var deserializeAws_json1_1ApiDestinationResponseList = function (output, context
|
|
|
4809
4723
|
var deserializeAws_json1_1Archive = function (output, context) {
|
|
4810
4724
|
return {
|
|
4811
4725
|
ArchiveName: __expectString(output.ArchiveName),
|
|
4812
|
-
CreationTime: output.CreationTime
|
|
4726
|
+
CreationTime: output.CreationTime != null
|
|
4813
4727
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4814
4728
|
: undefined,
|
|
4815
4729
|
EventCount: __expectLong(output.EventCount),
|
|
@@ -4834,12 +4748,8 @@ var deserializeAws_json1_1ArchiveResponseList = function (output, context) {
|
|
|
4834
4748
|
var deserializeAws_json1_1AwsVpcConfiguration = function (output, context) {
|
|
4835
4749
|
return {
|
|
4836
4750
|
AssignPublicIp: __expectString(output.AssignPublicIp),
|
|
4837
|
-
SecurityGroups: output.SecurityGroups
|
|
4838
|
-
|
|
4839
|
-
: undefined,
|
|
4840
|
-
Subnets: output.Subnets !== undefined && output.Subnets !== null
|
|
4841
|
-
? deserializeAws_json1_1StringList(output.Subnets, context)
|
|
4842
|
-
: undefined,
|
|
4751
|
+
SecurityGroups: output.SecurityGroups != null ? deserializeAws_json1_1StringList(output.SecurityGroups, context) : undefined,
|
|
4752
|
+
Subnets: output.Subnets != null ? deserializeAws_json1_1StringList(output.Subnets, context) : undefined,
|
|
4843
4753
|
};
|
|
4844
4754
|
};
|
|
4845
4755
|
var deserializeAws_json1_1BatchArrayProperties = function (output, context) {
|
|
@@ -4849,12 +4759,12 @@ var deserializeAws_json1_1BatchArrayProperties = function (output, context) {
|
|
|
4849
4759
|
};
|
|
4850
4760
|
var deserializeAws_json1_1BatchParameters = function (output, context) {
|
|
4851
4761
|
return {
|
|
4852
|
-
ArrayProperties: output.ArrayProperties
|
|
4762
|
+
ArrayProperties: output.ArrayProperties != null
|
|
4853
4763
|
? deserializeAws_json1_1BatchArrayProperties(output.ArrayProperties, context)
|
|
4854
4764
|
: undefined,
|
|
4855
4765
|
JobDefinition: __expectString(output.JobDefinition),
|
|
4856
4766
|
JobName: __expectString(output.JobName),
|
|
4857
|
-
RetryStrategy: output.RetryStrategy
|
|
4767
|
+
RetryStrategy: output.RetryStrategy != null
|
|
4858
4768
|
? deserializeAws_json1_1BatchRetryStrategy(output.RetryStrategy, context)
|
|
4859
4769
|
: undefined,
|
|
4860
4770
|
};
|
|
@@ -4899,13 +4809,13 @@ var deserializeAws_json1_1Connection = function (output, context) {
|
|
|
4899
4809
|
AuthorizationType: __expectString(output.AuthorizationType),
|
|
4900
4810
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
4901
4811
|
ConnectionState: __expectString(output.ConnectionState),
|
|
4902
|
-
CreationTime: output.CreationTime
|
|
4812
|
+
CreationTime: output.CreationTime != null
|
|
4903
4813
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4904
4814
|
: undefined,
|
|
4905
|
-
LastAuthorizedTime: output.LastAuthorizedTime
|
|
4815
|
+
LastAuthorizedTime: output.LastAuthorizedTime != null
|
|
4906
4816
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAuthorizedTime)))
|
|
4907
4817
|
: undefined,
|
|
4908
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4818
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4909
4819
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4910
4820
|
: undefined,
|
|
4911
4821
|
Name: __expectString(output.Name),
|
|
@@ -4919,16 +4829,16 @@ var deserializeAws_json1_1ConnectionApiKeyAuthResponseParameters = function (out
|
|
|
4919
4829
|
};
|
|
4920
4830
|
var deserializeAws_json1_1ConnectionAuthResponseParameters = function (output, context) {
|
|
4921
4831
|
return {
|
|
4922
|
-
ApiKeyAuthParameters: output.ApiKeyAuthParameters
|
|
4832
|
+
ApiKeyAuthParameters: output.ApiKeyAuthParameters != null
|
|
4923
4833
|
? deserializeAws_json1_1ConnectionApiKeyAuthResponseParameters(output.ApiKeyAuthParameters, context)
|
|
4924
4834
|
: undefined,
|
|
4925
|
-
BasicAuthParameters: output.BasicAuthParameters
|
|
4835
|
+
BasicAuthParameters: output.BasicAuthParameters != null
|
|
4926
4836
|
? deserializeAws_json1_1ConnectionBasicAuthResponseParameters(output.BasicAuthParameters, context)
|
|
4927
4837
|
: undefined,
|
|
4928
|
-
InvocationHttpParameters: output.InvocationHttpParameters
|
|
4838
|
+
InvocationHttpParameters: output.InvocationHttpParameters != null
|
|
4929
4839
|
? deserializeAws_json1_1ConnectionHttpParameters(output.InvocationHttpParameters, context)
|
|
4930
4840
|
: undefined,
|
|
4931
|
-
OAuthParameters: output.OAuthParameters
|
|
4841
|
+
OAuthParameters: output.OAuthParameters != null
|
|
4932
4842
|
? deserializeAws_json1_1ConnectionOAuthResponseParameters(output.OAuthParameters, context)
|
|
4933
4843
|
: undefined,
|
|
4934
4844
|
};
|
|
@@ -4976,13 +4886,13 @@ var deserializeAws_json1_1ConnectionHeaderParametersList = function (output, con
|
|
|
4976
4886
|
};
|
|
4977
4887
|
var deserializeAws_json1_1ConnectionHttpParameters = function (output, context) {
|
|
4978
4888
|
return {
|
|
4979
|
-
BodyParameters: output.BodyParameters
|
|
4889
|
+
BodyParameters: output.BodyParameters != null
|
|
4980
4890
|
? deserializeAws_json1_1ConnectionBodyParametersList(output.BodyParameters, context)
|
|
4981
4891
|
: undefined,
|
|
4982
|
-
HeaderParameters: output.HeaderParameters
|
|
4892
|
+
HeaderParameters: output.HeaderParameters != null
|
|
4983
4893
|
? deserializeAws_json1_1ConnectionHeaderParametersList(output.HeaderParameters, context)
|
|
4984
4894
|
: undefined,
|
|
4985
|
-
QueryStringParameters: output.QueryStringParameters
|
|
4895
|
+
QueryStringParameters: output.QueryStringParameters != null
|
|
4986
4896
|
? deserializeAws_json1_1ConnectionQueryStringParametersList(output.QueryStringParameters, context)
|
|
4987
4897
|
: undefined,
|
|
4988
4898
|
};
|
|
@@ -4995,11 +4905,11 @@ var deserializeAws_json1_1ConnectionOAuthClientResponseParameters = function (ou
|
|
|
4995
4905
|
var deserializeAws_json1_1ConnectionOAuthResponseParameters = function (output, context) {
|
|
4996
4906
|
return {
|
|
4997
4907
|
AuthorizationEndpoint: __expectString(output.AuthorizationEndpoint),
|
|
4998
|
-
ClientParameters: output.ClientParameters
|
|
4908
|
+
ClientParameters: output.ClientParameters != null
|
|
4999
4909
|
? deserializeAws_json1_1ConnectionOAuthClientResponseParameters(output.ClientParameters, context)
|
|
5000
4910
|
: undefined,
|
|
5001
4911
|
HttpMethod: __expectString(output.HttpMethod),
|
|
5002
|
-
OAuthHttpParameters: output.OAuthHttpParameters
|
|
4912
|
+
OAuthHttpParameters: output.OAuthHttpParameters != null
|
|
5003
4913
|
? deserializeAws_json1_1ConnectionHttpParameters(output.OAuthHttpParameters, context)
|
|
5004
4914
|
: undefined,
|
|
5005
4915
|
};
|
|
@@ -5037,10 +4947,10 @@ var deserializeAws_json1_1CreateApiDestinationResponse = function (output, conte
|
|
|
5037
4947
|
return {
|
|
5038
4948
|
ApiDestinationArn: __expectString(output.ApiDestinationArn),
|
|
5039
4949
|
ApiDestinationState: __expectString(output.ApiDestinationState),
|
|
5040
|
-
CreationTime: output.CreationTime
|
|
4950
|
+
CreationTime: output.CreationTime != null
|
|
5041
4951
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5042
4952
|
: undefined,
|
|
5043
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4953
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
5044
4954
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
5045
4955
|
: undefined,
|
|
5046
4956
|
};
|
|
@@ -5048,7 +4958,7 @@ var deserializeAws_json1_1CreateApiDestinationResponse = function (output, conte
|
|
|
5048
4958
|
var deserializeAws_json1_1CreateArchiveResponse = function (output, context) {
|
|
5049
4959
|
return {
|
|
5050
4960
|
ArchiveArn: __expectString(output.ArchiveArn),
|
|
5051
|
-
CreationTime: output.CreationTime
|
|
4961
|
+
CreationTime: output.CreationTime != null
|
|
5052
4962
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5053
4963
|
: undefined,
|
|
5054
4964
|
State: __expectString(output.State),
|
|
@@ -5059,10 +4969,10 @@ var deserializeAws_json1_1CreateConnectionResponse = function (output, context)
|
|
|
5059
4969
|
return {
|
|
5060
4970
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
5061
4971
|
ConnectionState: __expectString(output.ConnectionState),
|
|
5062
|
-
CreationTime: output.CreationTime
|
|
4972
|
+
CreationTime: output.CreationTime != null
|
|
5063
4973
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5064
4974
|
: undefined,
|
|
5065
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4975
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
5066
4976
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
5067
4977
|
: undefined,
|
|
5068
4978
|
};
|
|
@@ -5070,17 +4980,13 @@ var deserializeAws_json1_1CreateConnectionResponse = function (output, context)
|
|
|
5070
4980
|
var deserializeAws_json1_1CreateEndpointResponse = function (output, context) {
|
|
5071
4981
|
return {
|
|
5072
4982
|
Arn: __expectString(output.Arn),
|
|
5073
|
-
EventBuses: output.EventBuses
|
|
5074
|
-
? deserializeAws_json1_1EndpointEventBusList(output.EventBuses, context)
|
|
5075
|
-
: undefined,
|
|
4983
|
+
EventBuses: output.EventBuses != null ? deserializeAws_json1_1EndpointEventBusList(output.EventBuses, context) : undefined,
|
|
5076
4984
|
Name: __expectString(output.Name),
|
|
5077
|
-
ReplicationConfig: output.ReplicationConfig
|
|
4985
|
+
ReplicationConfig: output.ReplicationConfig != null
|
|
5078
4986
|
? deserializeAws_json1_1ReplicationConfig(output.ReplicationConfig, context)
|
|
5079
4987
|
: undefined,
|
|
5080
4988
|
RoleArn: __expectString(output.RoleArn),
|
|
5081
|
-
RoutingConfig: output.RoutingConfig
|
|
5082
|
-
? deserializeAws_json1_1RoutingConfig(output.RoutingConfig, context)
|
|
5083
|
-
: undefined,
|
|
4989
|
+
RoutingConfig: output.RoutingConfig != null ? deserializeAws_json1_1RoutingConfig(output.RoutingConfig, context) : undefined,
|
|
5084
4990
|
State: __expectString(output.State),
|
|
5085
4991
|
};
|
|
5086
4992
|
};
|
|
@@ -5103,13 +5009,13 @@ var deserializeAws_json1_1DeauthorizeConnectionResponse = function (output, cont
|
|
|
5103
5009
|
return {
|
|
5104
5010
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
5105
5011
|
ConnectionState: __expectString(output.ConnectionState),
|
|
5106
|
-
CreationTime: output.CreationTime
|
|
5012
|
+
CreationTime: output.CreationTime != null
|
|
5107
5013
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5108
5014
|
: undefined,
|
|
5109
|
-
LastAuthorizedTime: output.LastAuthorizedTime
|
|
5015
|
+
LastAuthorizedTime: output.LastAuthorizedTime != null
|
|
5110
5016
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAuthorizedTime)))
|
|
5111
5017
|
: undefined,
|
|
5112
|
-
LastModifiedTime: output.LastModifiedTime
|
|
5018
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
5113
5019
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
5114
5020
|
: undefined,
|
|
5115
5021
|
};
|
|
@@ -5124,13 +5030,13 @@ var deserializeAws_json1_1DeleteConnectionResponse = function (output, context)
|
|
|
5124
5030
|
return {
|
|
5125
5031
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
5126
5032
|
ConnectionState: __expectString(output.ConnectionState),
|
|
5127
|
-
CreationTime: output.CreationTime
|
|
5033
|
+
CreationTime: output.CreationTime != null
|
|
5128
5034
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5129
5035
|
: undefined,
|
|
5130
|
-
LastAuthorizedTime: output.LastAuthorizedTime
|
|
5036
|
+
LastAuthorizedTime: output.LastAuthorizedTime != null
|
|
5131
5037
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAuthorizedTime)))
|
|
5132
5038
|
: undefined,
|
|
5133
|
-
LastModifiedTime: output.LastModifiedTime
|
|
5039
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
5134
5040
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
5135
5041
|
: undefined,
|
|
5136
5042
|
};
|
|
@@ -5143,14 +5049,14 @@ var deserializeAws_json1_1DescribeApiDestinationResponse = function (output, con
|
|
|
5143
5049
|
ApiDestinationArn: __expectString(output.ApiDestinationArn),
|
|
5144
5050
|
ApiDestinationState: __expectString(output.ApiDestinationState),
|
|
5145
5051
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
5146
|
-
CreationTime: output.CreationTime
|
|
5052
|
+
CreationTime: output.CreationTime != null
|
|
5147
5053
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5148
5054
|
: undefined,
|
|
5149
5055
|
Description: __expectString(output.Description),
|
|
5150
5056
|
HttpMethod: __expectString(output.HttpMethod),
|
|
5151
5057
|
InvocationEndpoint: __expectString(output.InvocationEndpoint),
|
|
5152
5058
|
InvocationRateLimitPerSecond: __expectInt32(output.InvocationRateLimitPerSecond),
|
|
5153
|
-
LastModifiedTime: output.LastModifiedTime
|
|
5059
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
5154
5060
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
5155
5061
|
: undefined,
|
|
5156
5062
|
Name: __expectString(output.Name),
|
|
@@ -5160,7 +5066,7 @@ var deserializeAws_json1_1DescribeArchiveResponse = function (output, context) {
|
|
|
5160
5066
|
return {
|
|
5161
5067
|
ArchiveArn: __expectString(output.ArchiveArn),
|
|
5162
5068
|
ArchiveName: __expectString(output.ArchiveName),
|
|
5163
|
-
CreationTime: output.CreationTime
|
|
5069
|
+
CreationTime: output.CreationTime != null
|
|
5164
5070
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5165
5071
|
: undefined,
|
|
5166
5072
|
Description: __expectString(output.Description),
|
|
@@ -5175,20 +5081,20 @@ var deserializeAws_json1_1DescribeArchiveResponse = function (output, context) {
|
|
|
5175
5081
|
};
|
|
5176
5082
|
var deserializeAws_json1_1DescribeConnectionResponse = function (output, context) {
|
|
5177
5083
|
return {
|
|
5178
|
-
AuthParameters: output.AuthParameters
|
|
5084
|
+
AuthParameters: output.AuthParameters != null
|
|
5179
5085
|
? deserializeAws_json1_1ConnectionAuthResponseParameters(output.AuthParameters, context)
|
|
5180
5086
|
: undefined,
|
|
5181
5087
|
AuthorizationType: __expectString(output.AuthorizationType),
|
|
5182
5088
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
5183
5089
|
ConnectionState: __expectString(output.ConnectionState),
|
|
5184
|
-
CreationTime: output.CreationTime
|
|
5090
|
+
CreationTime: output.CreationTime != null
|
|
5185
5091
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5186
5092
|
: undefined,
|
|
5187
5093
|
Description: __expectString(output.Description),
|
|
5188
|
-
LastAuthorizedTime: output.LastAuthorizedTime
|
|
5094
|
+
LastAuthorizedTime: output.LastAuthorizedTime != null
|
|
5189
5095
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAuthorizedTime)))
|
|
5190
5096
|
: undefined,
|
|
5191
|
-
LastModifiedTime: output.LastModifiedTime
|
|
5097
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
5192
5098
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
5193
5099
|
: undefined,
|
|
5194
5100
|
Name: __expectString(output.Name),
|
|
@@ -5199,26 +5105,22 @@ var deserializeAws_json1_1DescribeConnectionResponse = function (output, context
|
|
|
5199
5105
|
var deserializeAws_json1_1DescribeEndpointResponse = function (output, context) {
|
|
5200
5106
|
return {
|
|
5201
5107
|
Arn: __expectString(output.Arn),
|
|
5202
|
-
CreationTime: output.CreationTime
|
|
5108
|
+
CreationTime: output.CreationTime != null
|
|
5203
5109
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5204
5110
|
: undefined,
|
|
5205
5111
|
Description: __expectString(output.Description),
|
|
5206
5112
|
EndpointId: __expectString(output.EndpointId),
|
|
5207
5113
|
EndpointUrl: __expectString(output.EndpointUrl),
|
|
5208
|
-
EventBuses: output.EventBuses
|
|
5209
|
-
|
|
5210
|
-
: undefined,
|
|
5211
|
-
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
5114
|
+
EventBuses: output.EventBuses != null ? deserializeAws_json1_1EndpointEventBusList(output.EventBuses, context) : undefined,
|
|
5115
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
5212
5116
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
5213
5117
|
: undefined,
|
|
5214
5118
|
Name: __expectString(output.Name),
|
|
5215
|
-
ReplicationConfig: output.ReplicationConfig
|
|
5119
|
+
ReplicationConfig: output.ReplicationConfig != null
|
|
5216
5120
|
? deserializeAws_json1_1ReplicationConfig(output.ReplicationConfig, context)
|
|
5217
5121
|
: undefined,
|
|
5218
5122
|
RoleArn: __expectString(output.RoleArn),
|
|
5219
|
-
RoutingConfig: output.RoutingConfig
|
|
5220
|
-
? deserializeAws_json1_1RoutingConfig(output.RoutingConfig, context)
|
|
5221
|
-
: undefined,
|
|
5123
|
+
RoutingConfig: output.RoutingConfig != null ? deserializeAws_json1_1RoutingConfig(output.RoutingConfig, context) : undefined,
|
|
5222
5124
|
State: __expectString(output.State),
|
|
5223
5125
|
StateReason: __expectString(output.StateReason),
|
|
5224
5126
|
};
|
|
@@ -5234,10 +5136,10 @@ var deserializeAws_json1_1DescribeEventSourceResponse = function (output, contex
|
|
|
5234
5136
|
return {
|
|
5235
5137
|
Arn: __expectString(output.Arn),
|
|
5236
5138
|
CreatedBy: __expectString(output.CreatedBy),
|
|
5237
|
-
CreationTime: output.CreationTime
|
|
5139
|
+
CreationTime: output.CreationTime != null
|
|
5238
5140
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5239
5141
|
: undefined,
|
|
5240
|
-
ExpirationTime: output.ExpirationTime
|
|
5142
|
+
ExpirationTime: output.ExpirationTime != null
|
|
5241
5143
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationTime)))
|
|
5242
5144
|
: undefined,
|
|
5243
5145
|
Name: __expectString(output.Name),
|
|
@@ -5253,25 +5155,23 @@ var deserializeAws_json1_1DescribePartnerEventSourceResponse = function (output,
|
|
|
5253
5155
|
var deserializeAws_json1_1DescribeReplayResponse = function (output, context) {
|
|
5254
5156
|
return {
|
|
5255
5157
|
Description: __expectString(output.Description),
|
|
5256
|
-
Destination: output.Destination
|
|
5257
|
-
|
|
5258
|
-
: undefined,
|
|
5259
|
-
EventEndTime: output.EventEndTime !== undefined && output.EventEndTime !== null
|
|
5158
|
+
Destination: output.Destination != null ? deserializeAws_json1_1ReplayDestination(output.Destination, context) : undefined,
|
|
5159
|
+
EventEndTime: output.EventEndTime != null
|
|
5260
5160
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventEndTime)))
|
|
5261
5161
|
: undefined,
|
|
5262
|
-
EventLastReplayedTime: output.EventLastReplayedTime
|
|
5162
|
+
EventLastReplayedTime: output.EventLastReplayedTime != null
|
|
5263
5163
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventLastReplayedTime)))
|
|
5264
5164
|
: undefined,
|
|
5265
5165
|
EventSourceArn: __expectString(output.EventSourceArn),
|
|
5266
|
-
EventStartTime: output.EventStartTime
|
|
5166
|
+
EventStartTime: output.EventStartTime != null
|
|
5267
5167
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventStartTime)))
|
|
5268
5168
|
: undefined,
|
|
5269
5169
|
ReplayArn: __expectString(output.ReplayArn),
|
|
5270
|
-
ReplayEndTime: output.ReplayEndTime
|
|
5170
|
+
ReplayEndTime: output.ReplayEndTime != null
|
|
5271
5171
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplayEndTime)))
|
|
5272
5172
|
: undefined,
|
|
5273
5173
|
ReplayName: __expectString(output.ReplayName),
|
|
5274
|
-
ReplayStartTime: output.ReplayStartTime
|
|
5174
|
+
ReplayStartTime: output.ReplayStartTime != null
|
|
5275
5175
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplayStartTime)))
|
|
5276
5176
|
: undefined,
|
|
5277
5177
|
State: __expectString(output.State),
|
|
@@ -5294,28 +5194,26 @@ var deserializeAws_json1_1DescribeRuleResponse = function (output, context) {
|
|
|
5294
5194
|
};
|
|
5295
5195
|
var deserializeAws_json1_1EcsParameters = function (output, context) {
|
|
5296
5196
|
return {
|
|
5297
|
-
CapacityProviderStrategy: output.CapacityProviderStrategy
|
|
5197
|
+
CapacityProviderStrategy: output.CapacityProviderStrategy != null
|
|
5298
5198
|
? deserializeAws_json1_1CapacityProviderStrategy(output.CapacityProviderStrategy, context)
|
|
5299
5199
|
: undefined,
|
|
5300
5200
|
EnableECSManagedTags: __expectBoolean(output.EnableECSManagedTags),
|
|
5301
5201
|
EnableExecuteCommand: __expectBoolean(output.EnableExecuteCommand),
|
|
5302
5202
|
Group: __expectString(output.Group),
|
|
5303
5203
|
LaunchType: __expectString(output.LaunchType),
|
|
5304
|
-
NetworkConfiguration: output.NetworkConfiguration
|
|
5204
|
+
NetworkConfiguration: output.NetworkConfiguration != null
|
|
5305
5205
|
? deserializeAws_json1_1NetworkConfiguration(output.NetworkConfiguration, context)
|
|
5306
5206
|
: undefined,
|
|
5307
|
-
PlacementConstraints: output.PlacementConstraints
|
|
5207
|
+
PlacementConstraints: output.PlacementConstraints != null
|
|
5308
5208
|
? deserializeAws_json1_1PlacementConstraints(output.PlacementConstraints, context)
|
|
5309
5209
|
: undefined,
|
|
5310
|
-
PlacementStrategy: output.PlacementStrategy
|
|
5210
|
+
PlacementStrategy: output.PlacementStrategy != null
|
|
5311
5211
|
? deserializeAws_json1_1PlacementStrategies(output.PlacementStrategy, context)
|
|
5312
5212
|
: undefined,
|
|
5313
5213
|
PlatformVersion: __expectString(output.PlatformVersion),
|
|
5314
5214
|
PropagateTags: __expectString(output.PropagateTags),
|
|
5315
5215
|
ReferenceId: __expectString(output.ReferenceId),
|
|
5316
|
-
Tags: output.Tags
|
|
5317
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
5318
|
-
: undefined,
|
|
5216
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
5319
5217
|
TaskCount: __expectInt32(output.TaskCount),
|
|
5320
5218
|
TaskDefinitionArn: __expectString(output.TaskDefinitionArn),
|
|
5321
5219
|
};
|
|
@@ -5323,26 +5221,22 @@ var deserializeAws_json1_1EcsParameters = function (output, context) {
|
|
|
5323
5221
|
var deserializeAws_json1_1Endpoint = function (output, context) {
|
|
5324
5222
|
return {
|
|
5325
5223
|
Arn: __expectString(output.Arn),
|
|
5326
|
-
CreationTime: output.CreationTime
|
|
5224
|
+
CreationTime: output.CreationTime != null
|
|
5327
5225
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5328
5226
|
: undefined,
|
|
5329
5227
|
Description: __expectString(output.Description),
|
|
5330
5228
|
EndpointId: __expectString(output.EndpointId),
|
|
5331
5229
|
EndpointUrl: __expectString(output.EndpointUrl),
|
|
5332
|
-
EventBuses: output.EventBuses
|
|
5333
|
-
|
|
5334
|
-
: undefined,
|
|
5335
|
-
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
5230
|
+
EventBuses: output.EventBuses != null ? deserializeAws_json1_1EndpointEventBusList(output.EventBuses, context) : undefined,
|
|
5231
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
5336
5232
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
5337
5233
|
: undefined,
|
|
5338
5234
|
Name: __expectString(output.Name),
|
|
5339
|
-
ReplicationConfig: output.ReplicationConfig
|
|
5235
|
+
ReplicationConfig: output.ReplicationConfig != null
|
|
5340
5236
|
? deserializeAws_json1_1ReplicationConfig(output.ReplicationConfig, context)
|
|
5341
5237
|
: undefined,
|
|
5342
5238
|
RoleArn: __expectString(output.RoleArn),
|
|
5343
|
-
RoutingConfig: output.RoutingConfig
|
|
5344
|
-
? deserializeAws_json1_1RoutingConfig(output.RoutingConfig, context)
|
|
5345
|
-
: undefined,
|
|
5239
|
+
RoutingConfig: output.RoutingConfig != null ? deserializeAws_json1_1RoutingConfig(output.RoutingConfig, context) : undefined,
|
|
5346
5240
|
State: __expectString(output.State),
|
|
5347
5241
|
StateReason: __expectString(output.StateReason),
|
|
5348
5242
|
};
|
|
@@ -5396,10 +5290,10 @@ var deserializeAws_json1_1EventSource = function (output, context) {
|
|
|
5396
5290
|
return {
|
|
5397
5291
|
Arn: __expectString(output.Arn),
|
|
5398
5292
|
CreatedBy: __expectString(output.CreatedBy),
|
|
5399
|
-
CreationTime: output.CreationTime
|
|
5293
|
+
CreationTime: output.CreationTime != null
|
|
5400
5294
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5401
5295
|
: undefined,
|
|
5402
|
-
ExpirationTime: output.ExpirationTime
|
|
5296
|
+
ExpirationTime: output.ExpirationTime != null
|
|
5403
5297
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationTime)))
|
|
5404
5298
|
: undefined,
|
|
5405
5299
|
Name: __expectString(output.Name),
|
|
@@ -5419,12 +5313,8 @@ var deserializeAws_json1_1EventSourceList = function (output, context) {
|
|
|
5419
5313
|
};
|
|
5420
5314
|
var deserializeAws_json1_1FailoverConfig = function (output, context) {
|
|
5421
5315
|
return {
|
|
5422
|
-
Primary: output.Primary
|
|
5423
|
-
|
|
5424
|
-
: undefined,
|
|
5425
|
-
Secondary: output.Secondary !== undefined && output.Secondary !== null
|
|
5426
|
-
? deserializeAws_json1_1Secondary(output.Secondary, context)
|
|
5427
|
-
: undefined,
|
|
5316
|
+
Primary: output.Primary != null ? deserializeAws_json1_1Primary(output.Primary, context) : undefined,
|
|
5317
|
+
Secondary: output.Secondary != null ? deserializeAws_json1_1Secondary(output.Secondary, context) : undefined,
|
|
5428
5318
|
};
|
|
5429
5319
|
};
|
|
5430
5320
|
var deserializeAws_json1_1HeaderParametersMap = function (output, context) {
|
|
@@ -5439,13 +5329,13 @@ var deserializeAws_json1_1HeaderParametersMap = function (output, context) {
|
|
|
5439
5329
|
};
|
|
5440
5330
|
var deserializeAws_json1_1HttpParameters = function (output, context) {
|
|
5441
5331
|
return {
|
|
5442
|
-
HeaderParameters: output.HeaderParameters
|
|
5332
|
+
HeaderParameters: output.HeaderParameters != null
|
|
5443
5333
|
? deserializeAws_json1_1HeaderParametersMap(output.HeaderParameters, context)
|
|
5444
5334
|
: undefined,
|
|
5445
|
-
PathParameterValues: output.PathParameterValues
|
|
5335
|
+
PathParameterValues: output.PathParameterValues != null
|
|
5446
5336
|
? deserializeAws_json1_1PathParameterList(output.PathParameterValues, context)
|
|
5447
5337
|
: undefined,
|
|
5448
|
-
QueryStringParameters: output.QueryStringParameters
|
|
5338
|
+
QueryStringParameters: output.QueryStringParameters != null
|
|
5449
5339
|
? deserializeAws_json1_1QueryStringParametersMap(output.QueryStringParameters, context)
|
|
5450
5340
|
: undefined,
|
|
5451
5341
|
};
|
|
@@ -5457,9 +5347,7 @@ var deserializeAws_json1_1IllegalStatusException = function (output, context) {
|
|
|
5457
5347
|
};
|
|
5458
5348
|
var deserializeAws_json1_1InputTransformer = function (output, context) {
|
|
5459
5349
|
return {
|
|
5460
|
-
InputPathsMap: output.InputPathsMap
|
|
5461
|
-
? deserializeAws_json1_1TransformerPaths(output.InputPathsMap, context)
|
|
5462
|
-
: undefined,
|
|
5350
|
+
InputPathsMap: output.InputPathsMap != null ? deserializeAws_json1_1TransformerPaths(output.InputPathsMap, context) : undefined,
|
|
5463
5351
|
InputTemplate: __expectString(output.InputTemplate),
|
|
5464
5352
|
};
|
|
5465
5353
|
};
|
|
@@ -5490,7 +5378,7 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
5490
5378
|
};
|
|
5491
5379
|
var deserializeAws_json1_1ListApiDestinationsResponse = function (output, context) {
|
|
5492
5380
|
return {
|
|
5493
|
-
ApiDestinations: output.ApiDestinations
|
|
5381
|
+
ApiDestinations: output.ApiDestinations != null
|
|
5494
5382
|
? deserializeAws_json1_1ApiDestinationResponseList(output.ApiDestinations, context)
|
|
5495
5383
|
: undefined,
|
|
5496
5384
|
NextToken: __expectString(output.NextToken),
|
|
@@ -5498,15 +5386,13 @@ var deserializeAws_json1_1ListApiDestinationsResponse = function (output, contex
|
|
|
5498
5386
|
};
|
|
5499
5387
|
var deserializeAws_json1_1ListArchivesResponse = function (output, context) {
|
|
5500
5388
|
return {
|
|
5501
|
-
Archives: output.Archives
|
|
5502
|
-
? deserializeAws_json1_1ArchiveResponseList(output.Archives, context)
|
|
5503
|
-
: undefined,
|
|
5389
|
+
Archives: output.Archives != null ? deserializeAws_json1_1ArchiveResponseList(output.Archives, context) : undefined,
|
|
5504
5390
|
NextToken: __expectString(output.NextToken),
|
|
5505
5391
|
};
|
|
5506
5392
|
};
|
|
5507
5393
|
var deserializeAws_json1_1ListConnectionsResponse = function (output, context) {
|
|
5508
5394
|
return {
|
|
5509
|
-
Connections: output.Connections
|
|
5395
|
+
Connections: output.Connections != null
|
|
5510
5396
|
? deserializeAws_json1_1ConnectionResponseList(output.Connections, context)
|
|
5511
5397
|
: undefined,
|
|
5512
5398
|
NextToken: __expectString(output.NextToken),
|
|
@@ -5514,32 +5400,26 @@ var deserializeAws_json1_1ListConnectionsResponse = function (output, context) {
|
|
|
5514
5400
|
};
|
|
5515
5401
|
var deserializeAws_json1_1ListEndpointsResponse = function (output, context) {
|
|
5516
5402
|
return {
|
|
5517
|
-
Endpoints: output.Endpoints
|
|
5518
|
-
? deserializeAws_json1_1EndpointList(output.Endpoints, context)
|
|
5519
|
-
: undefined,
|
|
5403
|
+
Endpoints: output.Endpoints != null ? deserializeAws_json1_1EndpointList(output.Endpoints, context) : undefined,
|
|
5520
5404
|
NextToken: __expectString(output.NextToken),
|
|
5521
5405
|
};
|
|
5522
5406
|
};
|
|
5523
5407
|
var deserializeAws_json1_1ListEventBusesResponse = function (output, context) {
|
|
5524
5408
|
return {
|
|
5525
|
-
EventBuses: output.EventBuses
|
|
5526
|
-
? deserializeAws_json1_1EventBusList(output.EventBuses, context)
|
|
5527
|
-
: undefined,
|
|
5409
|
+
EventBuses: output.EventBuses != null ? deserializeAws_json1_1EventBusList(output.EventBuses, context) : undefined,
|
|
5528
5410
|
NextToken: __expectString(output.NextToken),
|
|
5529
5411
|
};
|
|
5530
5412
|
};
|
|
5531
5413
|
var deserializeAws_json1_1ListEventSourcesResponse = function (output, context) {
|
|
5532
5414
|
return {
|
|
5533
|
-
EventSources: output.EventSources
|
|
5534
|
-
? deserializeAws_json1_1EventSourceList(output.EventSources, context)
|
|
5535
|
-
: undefined,
|
|
5415
|
+
EventSources: output.EventSources != null ? deserializeAws_json1_1EventSourceList(output.EventSources, context) : undefined,
|
|
5536
5416
|
NextToken: __expectString(output.NextToken),
|
|
5537
5417
|
};
|
|
5538
5418
|
};
|
|
5539
5419
|
var deserializeAws_json1_1ListPartnerEventSourceAccountsResponse = function (output, context) {
|
|
5540
5420
|
return {
|
|
5541
5421
|
NextToken: __expectString(output.NextToken),
|
|
5542
|
-
PartnerEventSourceAccounts: output.PartnerEventSourceAccounts
|
|
5422
|
+
PartnerEventSourceAccounts: output.PartnerEventSourceAccounts != null
|
|
5543
5423
|
? deserializeAws_json1_1PartnerEventSourceAccountList(output.PartnerEventSourceAccounts, context)
|
|
5544
5424
|
: undefined,
|
|
5545
5425
|
};
|
|
@@ -5547,7 +5427,7 @@ var deserializeAws_json1_1ListPartnerEventSourceAccountsResponse = function (out
|
|
|
5547
5427
|
var deserializeAws_json1_1ListPartnerEventSourcesResponse = function (output, context) {
|
|
5548
5428
|
return {
|
|
5549
5429
|
NextToken: __expectString(output.NextToken),
|
|
5550
|
-
PartnerEventSources: output.PartnerEventSources
|
|
5430
|
+
PartnerEventSources: output.PartnerEventSources != null
|
|
5551
5431
|
? deserializeAws_json1_1PartnerEventSourceList(output.PartnerEventSources, context)
|
|
5552
5432
|
: undefined,
|
|
5553
5433
|
};
|
|
@@ -5555,40 +5435,30 @@ var deserializeAws_json1_1ListPartnerEventSourcesResponse = function (output, co
|
|
|
5555
5435
|
var deserializeAws_json1_1ListReplaysResponse = function (output, context) {
|
|
5556
5436
|
return {
|
|
5557
5437
|
NextToken: __expectString(output.NextToken),
|
|
5558
|
-
Replays: output.Replays
|
|
5559
|
-
? deserializeAws_json1_1ReplayList(output.Replays, context)
|
|
5560
|
-
: undefined,
|
|
5438
|
+
Replays: output.Replays != null ? deserializeAws_json1_1ReplayList(output.Replays, context) : undefined,
|
|
5561
5439
|
};
|
|
5562
5440
|
};
|
|
5563
5441
|
var deserializeAws_json1_1ListRuleNamesByTargetResponse = function (output, context) {
|
|
5564
5442
|
return {
|
|
5565
5443
|
NextToken: __expectString(output.NextToken),
|
|
5566
|
-
RuleNames: output.RuleNames
|
|
5567
|
-
? deserializeAws_json1_1RuleNameList(output.RuleNames, context)
|
|
5568
|
-
: undefined,
|
|
5444
|
+
RuleNames: output.RuleNames != null ? deserializeAws_json1_1RuleNameList(output.RuleNames, context) : undefined,
|
|
5569
5445
|
};
|
|
5570
5446
|
};
|
|
5571
5447
|
var deserializeAws_json1_1ListRulesResponse = function (output, context) {
|
|
5572
5448
|
return {
|
|
5573
5449
|
NextToken: __expectString(output.NextToken),
|
|
5574
|
-
Rules: output.Rules
|
|
5575
|
-
? deserializeAws_json1_1RuleResponseList(output.Rules, context)
|
|
5576
|
-
: undefined,
|
|
5450
|
+
Rules: output.Rules != null ? deserializeAws_json1_1RuleResponseList(output.Rules, context) : undefined,
|
|
5577
5451
|
};
|
|
5578
5452
|
};
|
|
5579
5453
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
5580
5454
|
return {
|
|
5581
|
-
Tags: output.Tags
|
|
5582
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
5583
|
-
: undefined,
|
|
5455
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
5584
5456
|
};
|
|
5585
5457
|
};
|
|
5586
5458
|
var deserializeAws_json1_1ListTargetsByRuleResponse = function (output, context) {
|
|
5587
5459
|
return {
|
|
5588
5460
|
NextToken: __expectString(output.NextToken),
|
|
5589
|
-
Targets: output.Targets
|
|
5590
|
-
? deserializeAws_json1_1TargetList(output.Targets, context)
|
|
5591
|
-
: undefined,
|
|
5461
|
+
Targets: output.Targets != null ? deserializeAws_json1_1TargetList(output.Targets, context) : undefined,
|
|
5592
5462
|
};
|
|
5593
5463
|
};
|
|
5594
5464
|
var deserializeAws_json1_1ManagedRuleException = function (output, context) {
|
|
@@ -5598,7 +5468,7 @@ var deserializeAws_json1_1ManagedRuleException = function (output, context) {
|
|
|
5598
5468
|
};
|
|
5599
5469
|
var deserializeAws_json1_1NetworkConfiguration = function (output, context) {
|
|
5600
5470
|
return {
|
|
5601
|
-
awsvpcConfiguration: output.awsvpcConfiguration
|
|
5471
|
+
awsvpcConfiguration: output.awsvpcConfiguration != null
|
|
5602
5472
|
? deserializeAws_json1_1AwsVpcConfiguration(output.awsvpcConfiguration, context)
|
|
5603
5473
|
: undefined,
|
|
5604
5474
|
};
|
|
@@ -5617,10 +5487,10 @@ var deserializeAws_json1_1PartnerEventSource = function (output, context) {
|
|
|
5617
5487
|
var deserializeAws_json1_1PartnerEventSourceAccount = function (output, context) {
|
|
5618
5488
|
return {
|
|
5619
5489
|
Account: __expectString(output.Account),
|
|
5620
|
-
CreationTime: output.CreationTime
|
|
5490
|
+
CreationTime: output.CreationTime != null
|
|
5621
5491
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5622
5492
|
: undefined,
|
|
5623
|
-
ExpirationTime: output.ExpirationTime
|
|
5493
|
+
ExpirationTime: output.ExpirationTime != null
|
|
5624
5494
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationTime)))
|
|
5625
5495
|
: undefined,
|
|
5626
5496
|
State: __expectString(output.State),
|
|
@@ -5705,9 +5575,7 @@ var deserializeAws_json1_1Primary = function (output, context) {
|
|
|
5705
5575
|
};
|
|
5706
5576
|
var deserializeAws_json1_1PutEventsResponse = function (output, context) {
|
|
5707
5577
|
return {
|
|
5708
|
-
Entries: output.Entries
|
|
5709
|
-
? deserializeAws_json1_1PutEventsResultEntryList(output.Entries, context)
|
|
5710
|
-
: undefined,
|
|
5578
|
+
Entries: output.Entries != null ? deserializeAws_json1_1PutEventsResultEntryList(output.Entries, context) : undefined,
|
|
5711
5579
|
FailedEntryCount: __expectInt32(output.FailedEntryCount),
|
|
5712
5580
|
};
|
|
5713
5581
|
};
|
|
@@ -5731,7 +5599,7 @@ var deserializeAws_json1_1PutEventsResultEntryList = function (output, context)
|
|
|
5731
5599
|
};
|
|
5732
5600
|
var deserializeAws_json1_1PutPartnerEventsResponse = function (output, context) {
|
|
5733
5601
|
return {
|
|
5734
|
-
Entries: output.Entries
|
|
5602
|
+
Entries: output.Entries != null
|
|
5735
5603
|
? deserializeAws_json1_1PutPartnerEventsResultEntryList(output.Entries, context)
|
|
5736
5604
|
: undefined,
|
|
5737
5605
|
FailedEntryCount: __expectInt32(output.FailedEntryCount),
|
|
@@ -5762,7 +5630,7 @@ var deserializeAws_json1_1PutRuleResponse = function (output, context) {
|
|
|
5762
5630
|
};
|
|
5763
5631
|
var deserializeAws_json1_1PutTargetsResponse = function (output, context) {
|
|
5764
5632
|
return {
|
|
5765
|
-
FailedEntries: output.FailedEntries
|
|
5633
|
+
FailedEntries: output.FailedEntries != null
|
|
5766
5634
|
? deserializeAws_json1_1PutTargetsResultEntryList(output.FailedEntries, context)
|
|
5767
5635
|
: undefined,
|
|
5768
5636
|
FailedEntryCount: __expectInt32(output.FailedEntryCount),
|
|
@@ -5808,7 +5676,7 @@ var deserializeAws_json1_1RedshiftDataParameters = function (output, context) {
|
|
|
5808
5676
|
};
|
|
5809
5677
|
var deserializeAws_json1_1RemoveTargetsResponse = function (output, context) {
|
|
5810
5678
|
return {
|
|
5811
|
-
FailedEntries: output.FailedEntries
|
|
5679
|
+
FailedEntries: output.FailedEntries != null
|
|
5812
5680
|
? deserializeAws_json1_1RemoveTargetsResultEntryList(output.FailedEntries, context)
|
|
5813
5681
|
: undefined,
|
|
5814
5682
|
FailedEntryCount: __expectInt32(output.FailedEntryCount),
|
|
@@ -5834,21 +5702,21 @@ var deserializeAws_json1_1RemoveTargetsResultEntryList = function (output, conte
|
|
|
5834
5702
|
};
|
|
5835
5703
|
var deserializeAws_json1_1Replay = function (output, context) {
|
|
5836
5704
|
return {
|
|
5837
|
-
EventEndTime: output.EventEndTime
|
|
5705
|
+
EventEndTime: output.EventEndTime != null
|
|
5838
5706
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventEndTime)))
|
|
5839
5707
|
: undefined,
|
|
5840
|
-
EventLastReplayedTime: output.EventLastReplayedTime
|
|
5708
|
+
EventLastReplayedTime: output.EventLastReplayedTime != null
|
|
5841
5709
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventLastReplayedTime)))
|
|
5842
5710
|
: undefined,
|
|
5843
5711
|
EventSourceArn: __expectString(output.EventSourceArn),
|
|
5844
|
-
EventStartTime: output.EventStartTime
|
|
5712
|
+
EventStartTime: output.EventStartTime != null
|
|
5845
5713
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventStartTime)))
|
|
5846
5714
|
: undefined,
|
|
5847
|
-
ReplayEndTime: output.ReplayEndTime
|
|
5715
|
+
ReplayEndTime: output.ReplayEndTime != null
|
|
5848
5716
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplayEndTime)))
|
|
5849
5717
|
: undefined,
|
|
5850
5718
|
ReplayName: __expectString(output.ReplayName),
|
|
5851
|
-
ReplayStartTime: output.ReplayStartTime
|
|
5719
|
+
ReplayStartTime: output.ReplayStartTime != null
|
|
5852
5720
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplayStartTime)))
|
|
5853
5721
|
: undefined,
|
|
5854
5722
|
State: __expectString(output.State),
|
|
@@ -5858,7 +5726,7 @@ var deserializeAws_json1_1Replay = function (output, context) {
|
|
|
5858
5726
|
var deserializeAws_json1_1ReplayDestination = function (output, context) {
|
|
5859
5727
|
return {
|
|
5860
5728
|
Arn: __expectString(output.Arn),
|
|
5861
|
-
FilterArns: output.FilterArns
|
|
5729
|
+
FilterArns: output.FilterArns != null
|
|
5862
5730
|
? deserializeAws_json1_1ReplayDestinationFilters(output.FilterArns, context)
|
|
5863
5731
|
: undefined,
|
|
5864
5732
|
};
|
|
@@ -5908,9 +5776,7 @@ var deserializeAws_json1_1RetryPolicy = function (output, context) {
|
|
|
5908
5776
|
};
|
|
5909
5777
|
var deserializeAws_json1_1RoutingConfig = function (output, context) {
|
|
5910
5778
|
return {
|
|
5911
|
-
FailoverConfig: output.FailoverConfig
|
|
5912
|
-
? deserializeAws_json1_1FailoverConfig(output.FailoverConfig, context)
|
|
5913
|
-
: undefined,
|
|
5779
|
+
FailoverConfig: output.FailoverConfig != null ? deserializeAws_json1_1FailoverConfig(output.FailoverConfig, context) : undefined,
|
|
5914
5780
|
};
|
|
5915
5781
|
};
|
|
5916
5782
|
var deserializeAws_json1_1Rule = function (output, context) {
|
|
@@ -5950,7 +5816,7 @@ var deserializeAws_json1_1RuleResponseList = function (output, context) {
|
|
|
5950
5816
|
};
|
|
5951
5817
|
var deserializeAws_json1_1RunCommandParameters = function (output, context) {
|
|
5952
5818
|
return {
|
|
5953
|
-
RunCommandTargets: output.RunCommandTargets
|
|
5819
|
+
RunCommandTargets: output.RunCommandTargets != null
|
|
5954
5820
|
? deserializeAws_json1_1RunCommandTargets(output.RunCommandTargets, context)
|
|
5955
5821
|
: undefined,
|
|
5956
5822
|
};
|
|
@@ -5958,9 +5824,7 @@ var deserializeAws_json1_1RunCommandParameters = function (output, context) {
|
|
|
5958
5824
|
var deserializeAws_json1_1RunCommandTarget = function (output, context) {
|
|
5959
5825
|
return {
|
|
5960
5826
|
Key: __expectString(output.Key),
|
|
5961
|
-
Values: output.Values
|
|
5962
|
-
? deserializeAws_json1_1RunCommandTargetValues(output.Values, context)
|
|
5963
|
-
: undefined,
|
|
5827
|
+
Values: output.Values != null ? deserializeAws_json1_1RunCommandTargetValues(output.Values, context) : undefined,
|
|
5964
5828
|
};
|
|
5965
5829
|
};
|
|
5966
5830
|
var deserializeAws_json1_1RunCommandTargets = function (output, context) {
|
|
@@ -6004,7 +5868,7 @@ var deserializeAws_json1_1SageMakerPipelineParameterList = function (output, con
|
|
|
6004
5868
|
};
|
|
6005
5869
|
var deserializeAws_json1_1SageMakerPipelineParameters = function (output, context) {
|
|
6006
5870
|
return {
|
|
6007
|
-
PipelineParameterList: output.PipelineParameterList
|
|
5871
|
+
PipelineParameterList: output.PipelineParameterList != null
|
|
6008
5872
|
? deserializeAws_json1_1SageMakerPipelineParameterList(output.PipelineParameterList, context)
|
|
6009
5873
|
: undefined,
|
|
6010
5874
|
};
|
|
@@ -6022,7 +5886,7 @@ var deserializeAws_json1_1SqsParameters = function (output, context) {
|
|
|
6022
5886
|
var deserializeAws_json1_1StartReplayResponse = function (output, context) {
|
|
6023
5887
|
return {
|
|
6024
5888
|
ReplayArn: __expectString(output.ReplayArn),
|
|
6025
|
-
ReplayStartTime: output.ReplayStartTime
|
|
5889
|
+
ReplayStartTime: output.ReplayStartTime != null
|
|
6026
5890
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplayStartTime)))
|
|
6027
5891
|
: undefined,
|
|
6028
5892
|
State: __expectString(output.State),
|
|
@@ -6063,43 +5927,35 @@ var deserializeAws_json1_1TagResourceResponse = function (output, context) {
|
|
|
6063
5927
|
var deserializeAws_json1_1Target = function (output, context) {
|
|
6064
5928
|
return {
|
|
6065
5929
|
Arn: __expectString(output.Arn),
|
|
6066
|
-
BatchParameters: output.BatchParameters
|
|
5930
|
+
BatchParameters: output.BatchParameters != null
|
|
6067
5931
|
? deserializeAws_json1_1BatchParameters(output.BatchParameters, context)
|
|
6068
5932
|
: undefined,
|
|
6069
|
-
DeadLetterConfig: output.DeadLetterConfig
|
|
5933
|
+
DeadLetterConfig: output.DeadLetterConfig != null
|
|
6070
5934
|
? deserializeAws_json1_1DeadLetterConfig(output.DeadLetterConfig, context)
|
|
6071
5935
|
: undefined,
|
|
6072
|
-
EcsParameters: output.EcsParameters
|
|
6073
|
-
|
|
6074
|
-
: undefined,
|
|
6075
|
-
HttpParameters: output.HttpParameters !== undefined && output.HttpParameters !== null
|
|
6076
|
-
? deserializeAws_json1_1HttpParameters(output.HttpParameters, context)
|
|
6077
|
-
: undefined,
|
|
5936
|
+
EcsParameters: output.EcsParameters != null ? deserializeAws_json1_1EcsParameters(output.EcsParameters, context) : undefined,
|
|
5937
|
+
HttpParameters: output.HttpParameters != null ? deserializeAws_json1_1HttpParameters(output.HttpParameters, context) : undefined,
|
|
6078
5938
|
Id: __expectString(output.Id),
|
|
6079
5939
|
Input: __expectString(output.Input),
|
|
6080
5940
|
InputPath: __expectString(output.InputPath),
|
|
6081
|
-
InputTransformer: output.InputTransformer
|
|
5941
|
+
InputTransformer: output.InputTransformer != null
|
|
6082
5942
|
? deserializeAws_json1_1InputTransformer(output.InputTransformer, context)
|
|
6083
5943
|
: undefined,
|
|
6084
|
-
KinesisParameters: output.KinesisParameters
|
|
5944
|
+
KinesisParameters: output.KinesisParameters != null
|
|
6085
5945
|
? deserializeAws_json1_1KinesisParameters(output.KinesisParameters, context)
|
|
6086
5946
|
: undefined,
|
|
6087
|
-
RedshiftDataParameters: output.RedshiftDataParameters
|
|
5947
|
+
RedshiftDataParameters: output.RedshiftDataParameters != null
|
|
6088
5948
|
? deserializeAws_json1_1RedshiftDataParameters(output.RedshiftDataParameters, context)
|
|
6089
5949
|
: undefined,
|
|
6090
|
-
RetryPolicy: output.RetryPolicy
|
|
6091
|
-
? deserializeAws_json1_1RetryPolicy(output.RetryPolicy, context)
|
|
6092
|
-
: undefined,
|
|
5950
|
+
RetryPolicy: output.RetryPolicy != null ? deserializeAws_json1_1RetryPolicy(output.RetryPolicy, context) : undefined,
|
|
6093
5951
|
RoleArn: __expectString(output.RoleArn),
|
|
6094
|
-
RunCommandParameters: output.RunCommandParameters
|
|
5952
|
+
RunCommandParameters: output.RunCommandParameters != null
|
|
6095
5953
|
? deserializeAws_json1_1RunCommandParameters(output.RunCommandParameters, context)
|
|
6096
5954
|
: undefined,
|
|
6097
|
-
SageMakerPipelineParameters: output.SageMakerPipelineParameters
|
|
5955
|
+
SageMakerPipelineParameters: output.SageMakerPipelineParameters != null
|
|
6098
5956
|
? deserializeAws_json1_1SageMakerPipelineParameters(output.SageMakerPipelineParameters, context)
|
|
6099
5957
|
: undefined,
|
|
6100
|
-
SqsParameters: output.SqsParameters
|
|
6101
|
-
? deserializeAws_json1_1SqsParameters(output.SqsParameters, context)
|
|
6102
|
-
: undefined,
|
|
5958
|
+
SqsParameters: output.SqsParameters != null ? deserializeAws_json1_1SqsParameters(output.SqsParameters, context) : undefined,
|
|
6103
5959
|
};
|
|
6104
5960
|
};
|
|
6105
5961
|
var deserializeAws_json1_1TargetList = function (output, context) {
|
|
@@ -6135,10 +5991,10 @@ var deserializeAws_json1_1UpdateApiDestinationResponse = function (output, conte
|
|
|
6135
5991
|
return {
|
|
6136
5992
|
ApiDestinationArn: __expectString(output.ApiDestinationArn),
|
|
6137
5993
|
ApiDestinationState: __expectString(output.ApiDestinationState),
|
|
6138
|
-
CreationTime: output.CreationTime
|
|
5994
|
+
CreationTime: output.CreationTime != null
|
|
6139
5995
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
6140
5996
|
: undefined,
|
|
6141
|
-
LastModifiedTime: output.LastModifiedTime
|
|
5997
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
6142
5998
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
6143
5999
|
: undefined,
|
|
6144
6000
|
};
|
|
@@ -6146,7 +6002,7 @@ var deserializeAws_json1_1UpdateApiDestinationResponse = function (output, conte
|
|
|
6146
6002
|
var deserializeAws_json1_1UpdateArchiveResponse = function (output, context) {
|
|
6147
6003
|
return {
|
|
6148
6004
|
ArchiveArn: __expectString(output.ArchiveArn),
|
|
6149
|
-
CreationTime: output.CreationTime
|
|
6005
|
+
CreationTime: output.CreationTime != null
|
|
6150
6006
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
6151
6007
|
: undefined,
|
|
6152
6008
|
State: __expectString(output.State),
|
|
@@ -6157,13 +6013,13 @@ var deserializeAws_json1_1UpdateConnectionResponse = function (output, context)
|
|
|
6157
6013
|
return {
|
|
6158
6014
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
6159
6015
|
ConnectionState: __expectString(output.ConnectionState),
|
|
6160
|
-
CreationTime: output.CreationTime
|
|
6016
|
+
CreationTime: output.CreationTime != null
|
|
6161
6017
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
6162
6018
|
: undefined,
|
|
6163
|
-
LastAuthorizedTime: output.LastAuthorizedTime
|
|
6019
|
+
LastAuthorizedTime: output.LastAuthorizedTime != null
|
|
6164
6020
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAuthorizedTime)))
|
|
6165
6021
|
: undefined,
|
|
6166
|
-
LastModifiedTime: output.LastModifiedTime
|
|
6022
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
6167
6023
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
6168
6024
|
: undefined,
|
|
6169
6025
|
};
|
|
@@ -6173,17 +6029,13 @@ var deserializeAws_json1_1UpdateEndpointResponse = function (output, context) {
|
|
|
6173
6029
|
Arn: __expectString(output.Arn),
|
|
6174
6030
|
EndpointId: __expectString(output.EndpointId),
|
|
6175
6031
|
EndpointUrl: __expectString(output.EndpointUrl),
|
|
6176
|
-
EventBuses: output.EventBuses
|
|
6177
|
-
? deserializeAws_json1_1EndpointEventBusList(output.EventBuses, context)
|
|
6178
|
-
: undefined,
|
|
6032
|
+
EventBuses: output.EventBuses != null ? deserializeAws_json1_1EndpointEventBusList(output.EventBuses, context) : undefined,
|
|
6179
6033
|
Name: __expectString(output.Name),
|
|
6180
|
-
ReplicationConfig: output.ReplicationConfig
|
|
6034
|
+
ReplicationConfig: output.ReplicationConfig != null
|
|
6181
6035
|
? deserializeAws_json1_1ReplicationConfig(output.ReplicationConfig, context)
|
|
6182
6036
|
: undefined,
|
|
6183
6037
|
RoleArn: __expectString(output.RoleArn),
|
|
6184
|
-
RoutingConfig: output.RoutingConfig
|
|
6185
|
-
? deserializeAws_json1_1RoutingConfig(output.RoutingConfig, context)
|
|
6186
|
-
: undefined,
|
|
6038
|
+
RoutingConfig: output.RoutingConfig != null ? deserializeAws_json1_1RoutingConfig(output.RoutingConfig, context) : undefined,
|
|
6187
6039
|
State: __expectString(output.State),
|
|
6188
6040
|
};
|
|
6189
6041
|
};
|
|
@@ -6243,6 +6095,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
6243
6095
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
6244
6096
|
var sanitizeErrorCode = function (rawValue) {
|
|
6245
6097
|
var cleanValue = rawValue;
|
|
6098
|
+
if (typeof cleanValue === "number") {
|
|
6099
|
+
cleanValue = cleanValue.toString();
|
|
6100
|
+
}
|
|
6246
6101
|
if (cleanValue.indexOf(":") >= 0) {
|
|
6247
6102
|
cleanValue = cleanValue.split(":")[0];
|
|
6248
6103
|
}
|