@aws-sdk/client-apprunner 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_0.js +191 -303
- package/dist-es/protocols/Aws_json1_0.js +143 -255
- package/package.json +26 -26
|
@@ -2161,196 +2161,163 @@ var deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = function (pars
|
|
|
2161
2161
|
});
|
|
2162
2162
|
}); };
|
|
2163
2163
|
var serializeAws_json1_0AssociateCustomDomainRequest = function (input, context) {
|
|
2164
|
-
return __assign(__assign(__assign({}, (input.DomainName
|
|
2165
|
-
input.EnableWWWSubdomain !== null && { EnableWWWSubdomain: input.EnableWWWSubdomain })), (input.ServiceArn !== undefined && input.ServiceArn !== null && { ServiceArn: input.ServiceArn }));
|
|
2164
|
+
return __assign(__assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.EnableWWWSubdomain != null && { EnableWWWSubdomain: input.EnableWWWSubdomain })), (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2166
2165
|
};
|
|
2167
2166
|
var serializeAws_json1_0AuthenticationConfiguration = function (input, context) {
|
|
2168
|
-
return __assign(__assign({}, (input.AccessRoleArn
|
|
2167
|
+
return __assign(__assign({}, (input.AccessRoleArn != null && { AccessRoleArn: input.AccessRoleArn })), (input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }));
|
|
2169
2168
|
};
|
|
2170
2169
|
var serializeAws_json1_0CodeConfiguration = function (input, context) {
|
|
2171
|
-
return __assign(__assign({}, (input.CodeConfigurationValues
|
|
2172
|
-
input.CodeConfigurationValues !== null && {
|
|
2170
|
+
return __assign(__assign({}, (input.CodeConfigurationValues != null && {
|
|
2173
2171
|
CodeConfigurationValues: serializeAws_json1_0CodeConfigurationValues(input.CodeConfigurationValues, context),
|
|
2174
|
-
})), (input.ConfigurationSource
|
|
2175
|
-
input.ConfigurationSource !== null && { ConfigurationSource: input.ConfigurationSource }));
|
|
2172
|
+
})), (input.ConfigurationSource != null && { ConfigurationSource: input.ConfigurationSource }));
|
|
2176
2173
|
};
|
|
2177
2174
|
var serializeAws_json1_0CodeConfigurationValues = function (input, context) {
|
|
2178
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.BuildCommand
|
|
2179
|
-
input.RuntimeEnvironmentVariables !== null && {
|
|
2175
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.BuildCommand != null && { BuildCommand: input.BuildCommand })), (input.Port != null && { Port: input.Port })), (input.Runtime != null && { Runtime: input.Runtime })), (input.RuntimeEnvironmentVariables != null && {
|
|
2180
2176
|
RuntimeEnvironmentVariables: serializeAws_json1_0RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
|
|
2181
|
-
})), (input.StartCommand
|
|
2177
|
+
})), (input.StartCommand != null && { StartCommand: input.StartCommand }));
|
|
2182
2178
|
};
|
|
2183
2179
|
var serializeAws_json1_0CodeRepository = function (input, context) {
|
|
2184
|
-
return __assign(__assign(__assign({}, (input.CodeConfiguration
|
|
2185
|
-
input.CodeConfiguration !== null && {
|
|
2180
|
+
return __assign(__assign(__assign({}, (input.CodeConfiguration != null && {
|
|
2186
2181
|
CodeConfiguration: serializeAws_json1_0CodeConfiguration(input.CodeConfiguration, context),
|
|
2187
|
-
})), (input.RepositoryUrl
|
|
2188
|
-
input.SourceCodeVersion !== null && {
|
|
2182
|
+
})), (input.RepositoryUrl != null && { RepositoryUrl: input.RepositoryUrl })), (input.SourceCodeVersion != null && {
|
|
2189
2183
|
SourceCodeVersion: serializeAws_json1_0SourceCodeVersion(input.SourceCodeVersion, context),
|
|
2190
2184
|
}));
|
|
2191
2185
|
};
|
|
2192
2186
|
var serializeAws_json1_0CreateAutoScalingConfigurationRequest = function (input, context) {
|
|
2193
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationName
|
|
2194
|
-
input.AutoScalingConfigurationName !== null && {
|
|
2187
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationName != null && {
|
|
2195
2188
|
AutoScalingConfigurationName: input.AutoScalingConfigurationName,
|
|
2196
|
-
})), (input.MaxConcurrency
|
|
2197
|
-
input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxSize !== undefined && input.MaxSize !== null && { MaxSize: input.MaxSize })), (input.MinSize !== undefined && input.MinSize !== null && { MinSize: input.MinSize })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2189
|
+
})), (input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxSize != null && { MaxSize: input.MaxSize })), (input.MinSize != null && { MinSize: input.MinSize })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2198
2190
|
};
|
|
2199
2191
|
var serializeAws_json1_0CreateConnectionRequest = function (input, context) {
|
|
2200
|
-
return __assign(__assign(__assign({}, (input.ConnectionName
|
|
2201
|
-
input.ConnectionName !== null && { ConnectionName: input.ConnectionName })), (input.ProviderType !== undefined && input.ProviderType !== null && { ProviderType: input.ProviderType })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2192
|
+
return __assign(__assign(__assign({}, (input.ConnectionName != null && { ConnectionName: input.ConnectionName })), (input.ProviderType != null && { ProviderType: input.ProviderType })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2202
2193
|
};
|
|
2203
2194
|
var serializeAws_json1_0CreateObservabilityConfigurationRequest = function (input, context) {
|
|
2204
|
-
return __assign(__assign(__assign({}, (input.ObservabilityConfigurationName
|
|
2205
|
-
input.ObservabilityConfigurationName !== null && {
|
|
2195
|
+
return __assign(__assign(__assign({}, (input.ObservabilityConfigurationName != null && {
|
|
2206
2196
|
ObservabilityConfigurationName: input.ObservabilityConfigurationName,
|
|
2207
|
-
})), (input.Tags
|
|
2208
|
-
input.TraceConfiguration !== null && {
|
|
2197
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) })), (input.TraceConfiguration != null && {
|
|
2209
2198
|
TraceConfiguration: serializeAws_json1_0TraceConfiguration(input.TraceConfiguration, context),
|
|
2210
2199
|
}));
|
|
2211
2200
|
};
|
|
2212
2201
|
var serializeAws_json1_0CreateServiceRequest = function (input, context) {
|
|
2213
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationArn
|
|
2214
|
-
|
|
2215
|
-
|
|
2202
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationArn != null && {
|
|
2203
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
2204
|
+
})), (input.EncryptionConfiguration != null && {
|
|
2216
2205
|
EncryptionConfiguration: serializeAws_json1_0EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2217
|
-
})), (input.HealthCheckConfiguration
|
|
2218
|
-
input.HealthCheckConfiguration !== null && {
|
|
2206
|
+
})), (input.HealthCheckConfiguration != null && {
|
|
2219
2207
|
HealthCheckConfiguration: serializeAws_json1_0HealthCheckConfiguration(input.HealthCheckConfiguration, context),
|
|
2220
|
-
})), (input.InstanceConfiguration
|
|
2221
|
-
input.InstanceConfiguration !== null && {
|
|
2208
|
+
})), (input.InstanceConfiguration != null && {
|
|
2222
2209
|
InstanceConfiguration: serializeAws_json1_0InstanceConfiguration(input.InstanceConfiguration, context),
|
|
2223
|
-
})), (input.NetworkConfiguration
|
|
2224
|
-
input.NetworkConfiguration !== null && {
|
|
2210
|
+
})), (input.NetworkConfiguration != null && {
|
|
2225
2211
|
NetworkConfiguration: serializeAws_json1_0NetworkConfiguration(input.NetworkConfiguration, context),
|
|
2226
|
-
})), (input.ObservabilityConfiguration
|
|
2227
|
-
input.ObservabilityConfiguration !== null && {
|
|
2212
|
+
})), (input.ObservabilityConfiguration != null && {
|
|
2228
2213
|
ObservabilityConfiguration: serializeAws_json1_0ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
2229
|
-
})), (input.ServiceName
|
|
2230
|
-
input.SourceConfiguration !== null && {
|
|
2214
|
+
})), (input.ServiceName != null && { ServiceName: input.ServiceName })), (input.SourceConfiguration != null && {
|
|
2231
2215
|
SourceConfiguration: serializeAws_json1_0SourceConfiguration(input.SourceConfiguration, context),
|
|
2232
|
-
})), (input.Tags
|
|
2216
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2233
2217
|
};
|
|
2234
2218
|
var serializeAws_json1_0CreateVpcConnectorRequest = function (input, context) {
|
|
2235
|
-
return __assign(__assign(__assign(__assign({}, (input.SecurityGroups
|
|
2236
|
-
input.SecurityGroups !== null && {
|
|
2219
|
+
return __assign(__assign(__assign(__assign({}, (input.SecurityGroups != null && {
|
|
2237
2220
|
SecurityGroups: serializeAws_json1_0StringList(input.SecurityGroups, context),
|
|
2238
|
-
})), (input.Subnets
|
|
2239
|
-
input.Subnets !== null && { Subnets: serializeAws_json1_0StringList(input.Subnets, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) })), (input.VpcConnectorName !== undefined &&
|
|
2240
|
-
input.VpcConnectorName !== null && { VpcConnectorName: input.VpcConnectorName }));
|
|
2221
|
+
})), (input.Subnets != null && { Subnets: serializeAws_json1_0StringList(input.Subnets, context) })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) })), (input.VpcConnectorName != null && { VpcConnectorName: input.VpcConnectorName }));
|
|
2241
2222
|
};
|
|
2242
2223
|
var serializeAws_json1_0DeleteAutoScalingConfigurationRequest = function (input, context) {
|
|
2243
|
-
return __assign({}, (input.AutoScalingConfigurationArn
|
|
2244
|
-
|
|
2224
|
+
return __assign({}, (input.AutoScalingConfigurationArn != null && {
|
|
2225
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
2226
|
+
}));
|
|
2245
2227
|
};
|
|
2246
2228
|
var serializeAws_json1_0DeleteConnectionRequest = function (input, context) {
|
|
2247
|
-
return __assign({}, (input.ConnectionArn
|
|
2229
|
+
return __assign({}, (input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }));
|
|
2248
2230
|
};
|
|
2249
2231
|
var serializeAws_json1_0DeleteObservabilityConfigurationRequest = function (input, context) {
|
|
2250
|
-
return __assign({}, (input.ObservabilityConfigurationArn
|
|
2251
|
-
input.ObservabilityConfigurationArn !== null && {
|
|
2232
|
+
return __assign({}, (input.ObservabilityConfigurationArn != null && {
|
|
2252
2233
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
2253
2234
|
}));
|
|
2254
2235
|
};
|
|
2255
2236
|
var serializeAws_json1_0DeleteServiceRequest = function (input, context) {
|
|
2256
|
-
return __assign({}, (input.ServiceArn
|
|
2237
|
+
return __assign({}, (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2257
2238
|
};
|
|
2258
2239
|
var serializeAws_json1_0DeleteVpcConnectorRequest = function (input, context) {
|
|
2259
|
-
return __assign({}, (input.VpcConnectorArn
|
|
2260
|
-
input.VpcConnectorArn !== null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2240
|
+
return __assign({}, (input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2261
2241
|
};
|
|
2262
2242
|
var serializeAws_json1_0DescribeAutoScalingConfigurationRequest = function (input, context) {
|
|
2263
|
-
return __assign({}, (input.AutoScalingConfigurationArn
|
|
2264
|
-
|
|
2243
|
+
return __assign({}, (input.AutoScalingConfigurationArn != null && {
|
|
2244
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
2245
|
+
}));
|
|
2265
2246
|
};
|
|
2266
2247
|
var serializeAws_json1_0DescribeCustomDomainsRequest = function (input, context) {
|
|
2267
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2248
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2268
2249
|
};
|
|
2269
2250
|
var serializeAws_json1_0DescribeObservabilityConfigurationRequest = function (input, context) {
|
|
2270
|
-
return __assign({}, (input.ObservabilityConfigurationArn
|
|
2271
|
-
input.ObservabilityConfigurationArn !== null && {
|
|
2251
|
+
return __assign({}, (input.ObservabilityConfigurationArn != null && {
|
|
2272
2252
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
2273
2253
|
}));
|
|
2274
2254
|
};
|
|
2275
2255
|
var serializeAws_json1_0DescribeServiceRequest = function (input, context) {
|
|
2276
|
-
return __assign({}, (input.ServiceArn
|
|
2256
|
+
return __assign({}, (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2277
2257
|
};
|
|
2278
2258
|
var serializeAws_json1_0DescribeVpcConnectorRequest = function (input, context) {
|
|
2279
|
-
return __assign({}, (input.VpcConnectorArn
|
|
2280
|
-
input.VpcConnectorArn !== null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2259
|
+
return __assign({}, (input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2281
2260
|
};
|
|
2282
2261
|
var serializeAws_json1_0DisassociateCustomDomainRequest = function (input, context) {
|
|
2283
|
-
return __assign(__assign({}, (input.DomainName
|
|
2262
|
+
return __assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2284
2263
|
};
|
|
2285
2264
|
var serializeAws_json1_0EgressConfiguration = function (input, context) {
|
|
2286
|
-
return __assign(__assign({}, (input.EgressType
|
|
2287
|
-
input.VpcConnectorArn !== null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2265
|
+
return __assign(__assign({}, (input.EgressType != null && { EgressType: input.EgressType })), (input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2288
2266
|
};
|
|
2289
2267
|
var serializeAws_json1_0EncryptionConfiguration = function (input, context) {
|
|
2290
|
-
return __assign({}, (input.KmsKey
|
|
2268
|
+
return __assign({}, (input.KmsKey != null && { KmsKey: input.KmsKey }));
|
|
2291
2269
|
};
|
|
2292
2270
|
var serializeAws_json1_0HealthCheckConfiguration = function (input, context) {
|
|
2293
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.HealthyThreshold
|
|
2294
|
-
input.HealthyThreshold !== null && { HealthyThreshold: input.HealthyThreshold })), (input.Interval !== undefined && input.Interval !== null && { Interval: input.Interval })), (input.Path !== undefined && input.Path !== null && { Path: input.Path })), (input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol })), (input.Timeout !== undefined && input.Timeout !== null && { Timeout: input.Timeout })), (input.UnhealthyThreshold !== undefined &&
|
|
2295
|
-
input.UnhealthyThreshold !== null && { UnhealthyThreshold: input.UnhealthyThreshold }));
|
|
2271
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.HealthyThreshold != null && { HealthyThreshold: input.HealthyThreshold })), (input.Interval != null && { Interval: input.Interval })), (input.Path != null && { Path: input.Path })), (input.Protocol != null && { Protocol: input.Protocol })), (input.Timeout != null && { Timeout: input.Timeout })), (input.UnhealthyThreshold != null && { UnhealthyThreshold: input.UnhealthyThreshold }));
|
|
2296
2272
|
};
|
|
2297
2273
|
var serializeAws_json1_0ImageConfiguration = function (input, context) {
|
|
2298
|
-
return __assign(__assign(__assign({}, (input.Port
|
|
2299
|
-
input.RuntimeEnvironmentVariables !== null && {
|
|
2274
|
+
return __assign(__assign(__assign({}, (input.Port != null && { Port: input.Port })), (input.RuntimeEnvironmentVariables != null && {
|
|
2300
2275
|
RuntimeEnvironmentVariables: serializeAws_json1_0RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
|
|
2301
|
-
})), (input.StartCommand
|
|
2276
|
+
})), (input.StartCommand != null && { StartCommand: input.StartCommand }));
|
|
2302
2277
|
};
|
|
2303
2278
|
var serializeAws_json1_0ImageRepository = function (input, context) {
|
|
2304
|
-
return __assign(__assign(__assign({}, (input.ImageConfiguration
|
|
2305
|
-
input.ImageConfiguration !== null && {
|
|
2279
|
+
return __assign(__assign(__assign({}, (input.ImageConfiguration != null && {
|
|
2306
2280
|
ImageConfiguration: serializeAws_json1_0ImageConfiguration(input.ImageConfiguration, context),
|
|
2307
|
-
})), (input.ImageIdentifier
|
|
2308
|
-
input.ImageIdentifier !== null && { ImageIdentifier: input.ImageIdentifier })), (input.ImageRepositoryType !== undefined &&
|
|
2309
|
-
input.ImageRepositoryType !== null && { ImageRepositoryType: input.ImageRepositoryType }));
|
|
2281
|
+
})), (input.ImageIdentifier != null && { ImageIdentifier: input.ImageIdentifier })), (input.ImageRepositoryType != null && { ImageRepositoryType: input.ImageRepositoryType }));
|
|
2310
2282
|
};
|
|
2311
2283
|
var serializeAws_json1_0InstanceConfiguration = function (input, context) {
|
|
2312
|
-
return __assign(__assign(__assign({}, (input.Cpu
|
|
2313
|
-
input.InstanceRoleArn !== null && { InstanceRoleArn: input.InstanceRoleArn })), (input.Memory !== undefined && input.Memory !== null && { Memory: input.Memory }));
|
|
2284
|
+
return __assign(__assign(__assign({}, (input.Cpu != null && { Cpu: input.Cpu })), (input.InstanceRoleArn != null && { InstanceRoleArn: input.InstanceRoleArn })), (input.Memory != null && { Memory: input.Memory }));
|
|
2314
2285
|
};
|
|
2315
2286
|
var serializeAws_json1_0ListAutoScalingConfigurationsRequest = function (input, context) {
|
|
2316
|
-
return __assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationName
|
|
2317
|
-
input.AutoScalingConfigurationName !== null && {
|
|
2287
|
+
return __assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationName != null && {
|
|
2318
2288
|
AutoScalingConfigurationName: input.AutoScalingConfigurationName,
|
|
2319
|
-
})), (input.LatestOnly
|
|
2289
|
+
})), (input.LatestOnly != null && { LatestOnly: input.LatestOnly })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2320
2290
|
};
|
|
2321
2291
|
var serializeAws_json1_0ListConnectionsRequest = function (input, context) {
|
|
2322
|
-
return __assign(__assign(__assign({}, (input.ConnectionName
|
|
2323
|
-
input.ConnectionName !== null && { ConnectionName: input.ConnectionName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
2292
|
+
return __assign(__assign(__assign({}, (input.ConnectionName != null && { ConnectionName: input.ConnectionName })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2324
2293
|
};
|
|
2325
2294
|
var serializeAws_json1_0ListObservabilityConfigurationsRequest = function (input, context) {
|
|
2326
|
-
return __assign(__assign(__assign(__assign({}, (input.LatestOnly
|
|
2327
|
-
input.ObservabilityConfigurationName !== null && {
|
|
2295
|
+
return __assign(__assign(__assign(__assign({}, (input.LatestOnly != null && { LatestOnly: input.LatestOnly })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ObservabilityConfigurationName != null && {
|
|
2328
2296
|
ObservabilityConfigurationName: input.ObservabilityConfigurationName,
|
|
2329
2297
|
}));
|
|
2330
2298
|
};
|
|
2331
2299
|
var serializeAws_json1_0ListOperationsRequest = function (input, context) {
|
|
2332
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2300
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2333
2301
|
};
|
|
2334
2302
|
var serializeAws_json1_0ListServicesRequest = function (input, context) {
|
|
2335
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2303
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2336
2304
|
};
|
|
2337
2305
|
var serializeAws_json1_0ListTagsForResourceRequest = function (input, context) {
|
|
2338
|
-
return __assign({}, (input.ResourceArn
|
|
2306
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
2339
2307
|
};
|
|
2340
2308
|
var serializeAws_json1_0ListVpcConnectorsRequest = function (input, context) {
|
|
2341
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2309
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2342
2310
|
};
|
|
2343
2311
|
var serializeAws_json1_0NetworkConfiguration = function (input, context) {
|
|
2344
|
-
return __assign({}, (input.EgressConfiguration
|
|
2345
|
-
input.EgressConfiguration !== null && {
|
|
2312
|
+
return __assign({}, (input.EgressConfiguration != null && {
|
|
2346
2313
|
EgressConfiguration: serializeAws_json1_0EgressConfiguration(input.EgressConfiguration, context),
|
|
2347
2314
|
}));
|
|
2348
2315
|
};
|
|
2349
2316
|
var serializeAws_json1_0PauseServiceRequest = function (input, context) {
|
|
2350
|
-
return __assign({}, (input.ServiceArn
|
|
2317
|
+
return __assign({}, (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2351
2318
|
};
|
|
2352
2319
|
var serializeAws_json1_0ResumeServiceRequest = function (input, context) {
|
|
2353
|
-
return __assign({}, (input.ServiceArn
|
|
2320
|
+
return __assign({}, (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2354
2321
|
};
|
|
2355
2322
|
var serializeAws_json1_0RuntimeEnvironmentVariables = function (input, context) {
|
|
2356
2323
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -2363,30 +2330,24 @@ var serializeAws_json1_0RuntimeEnvironmentVariables = function (input, context)
|
|
|
2363
2330
|
}, {});
|
|
2364
2331
|
};
|
|
2365
2332
|
var serializeAws_json1_0ServiceObservabilityConfiguration = function (input, context) {
|
|
2366
|
-
return __assign(__assign({}, (input.ObservabilityConfigurationArn
|
|
2367
|
-
input.ObservabilityConfigurationArn !== null && {
|
|
2333
|
+
return __assign(__assign({}, (input.ObservabilityConfigurationArn != null && {
|
|
2368
2334
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
2369
|
-
})), (input.ObservabilityEnabled
|
|
2370
|
-
input.ObservabilityEnabled !== null && { ObservabilityEnabled: input.ObservabilityEnabled }));
|
|
2335
|
+
})), (input.ObservabilityEnabled != null && { ObservabilityEnabled: input.ObservabilityEnabled }));
|
|
2371
2336
|
};
|
|
2372
2337
|
var serializeAws_json1_0SourceCodeVersion = function (input, context) {
|
|
2373
|
-
return __assign(__assign({}, (input.Type
|
|
2338
|
+
return __assign(__assign({}, (input.Type != null && { Type: input.Type })), (input.Value != null && { Value: input.Value }));
|
|
2374
2339
|
};
|
|
2375
2340
|
var serializeAws_json1_0SourceConfiguration = function (input, context) {
|
|
2376
|
-
return __assign(__assign(__assign(__assign({}, (input.AuthenticationConfiguration
|
|
2377
|
-
input.AuthenticationConfiguration !== null && {
|
|
2341
|
+
return __assign(__assign(__assign(__assign({}, (input.AuthenticationConfiguration != null && {
|
|
2378
2342
|
AuthenticationConfiguration: serializeAws_json1_0AuthenticationConfiguration(input.AuthenticationConfiguration, context),
|
|
2379
|
-
})), (input.AutoDeploymentsEnabled
|
|
2380
|
-
input.AutoDeploymentsEnabled !== null && { AutoDeploymentsEnabled: input.AutoDeploymentsEnabled })), (input.CodeRepository !== undefined &&
|
|
2381
|
-
input.CodeRepository !== null && {
|
|
2343
|
+
})), (input.AutoDeploymentsEnabled != null && { AutoDeploymentsEnabled: input.AutoDeploymentsEnabled })), (input.CodeRepository != null && {
|
|
2382
2344
|
CodeRepository: serializeAws_json1_0CodeRepository(input.CodeRepository, context),
|
|
2383
|
-
})), (input.ImageRepository
|
|
2384
|
-
input.ImageRepository !== null && {
|
|
2345
|
+
})), (input.ImageRepository != null && {
|
|
2385
2346
|
ImageRepository: serializeAws_json1_0ImageRepository(input.ImageRepository, context),
|
|
2386
2347
|
}));
|
|
2387
2348
|
};
|
|
2388
2349
|
var serializeAws_json1_0StartDeploymentRequest = function (input, context) {
|
|
2389
|
-
return __assign({}, (input.ServiceArn
|
|
2350
|
+
return __assign({}, (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2390
2351
|
};
|
|
2391
2352
|
var serializeAws_json1_0StringList = function (input, context) {
|
|
2392
2353
|
return input
|
|
@@ -2399,7 +2360,7 @@ var serializeAws_json1_0StringList = function (input, context) {
|
|
|
2399
2360
|
});
|
|
2400
2361
|
};
|
|
2401
2362
|
var serializeAws_json1_0Tag = function (input, context) {
|
|
2402
|
-
return __assign(__assign({}, (input.Key
|
|
2363
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2403
2364
|
};
|
|
2404
2365
|
var serializeAws_json1_0TagKeyList = function (input, context) {
|
|
2405
2366
|
return input
|
|
@@ -2422,39 +2383,32 @@ var serializeAws_json1_0TagList = function (input, context) {
|
|
|
2422
2383
|
});
|
|
2423
2384
|
};
|
|
2424
2385
|
var serializeAws_json1_0TagResourceRequest = function (input, context) {
|
|
2425
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
2386
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2426
2387
|
};
|
|
2427
2388
|
var serializeAws_json1_0TraceConfiguration = function (input, context) {
|
|
2428
|
-
return __assign({}, (input.Vendor
|
|
2389
|
+
return __assign({}, (input.Vendor != null && { Vendor: input.Vendor }));
|
|
2429
2390
|
};
|
|
2430
2391
|
var serializeAws_json1_0UntagResourceRequest = function (input, context) {
|
|
2431
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
2432
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
|
|
2392
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
|
|
2433
2393
|
};
|
|
2434
2394
|
var serializeAws_json1_0UpdateServiceRequest = function (input, context) {
|
|
2435
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationArn
|
|
2436
|
-
|
|
2437
|
-
|
|
2395
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationArn != null && {
|
|
2396
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
2397
|
+
})), (input.HealthCheckConfiguration != null && {
|
|
2438
2398
|
HealthCheckConfiguration: serializeAws_json1_0HealthCheckConfiguration(input.HealthCheckConfiguration, context),
|
|
2439
|
-
})), (input.InstanceConfiguration
|
|
2440
|
-
input.InstanceConfiguration !== null && {
|
|
2399
|
+
})), (input.InstanceConfiguration != null && {
|
|
2441
2400
|
InstanceConfiguration: serializeAws_json1_0InstanceConfiguration(input.InstanceConfiguration, context),
|
|
2442
|
-
})), (input.NetworkConfiguration
|
|
2443
|
-
input.NetworkConfiguration !== null && {
|
|
2401
|
+
})), (input.NetworkConfiguration != null && {
|
|
2444
2402
|
NetworkConfiguration: serializeAws_json1_0NetworkConfiguration(input.NetworkConfiguration, context),
|
|
2445
|
-
})), (input.ObservabilityConfiguration
|
|
2446
|
-
input.ObservabilityConfiguration !== null && {
|
|
2403
|
+
})), (input.ObservabilityConfiguration != null && {
|
|
2447
2404
|
ObservabilityConfiguration: serializeAws_json1_0ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
2448
|
-
})), (input.ServiceArn
|
|
2449
|
-
input.SourceConfiguration !== null && {
|
|
2405
|
+
})), (input.ServiceArn != null && { ServiceArn: input.ServiceArn })), (input.SourceConfiguration != null && {
|
|
2450
2406
|
SourceConfiguration: serializeAws_json1_0SourceConfiguration(input.SourceConfiguration, context),
|
|
2451
2407
|
}));
|
|
2452
2408
|
};
|
|
2453
2409
|
var deserializeAws_json1_0AssociateCustomDomainResponse = function (output, context) {
|
|
2454
2410
|
return {
|
|
2455
|
-
CustomDomain: output.CustomDomain
|
|
2456
|
-
? deserializeAws_json1_0CustomDomain(output.CustomDomain, context)
|
|
2457
|
-
: undefined,
|
|
2411
|
+
CustomDomain: output.CustomDomain != null ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context) : undefined,
|
|
2458
2412
|
DNSTarget: __expectString(output.DNSTarget),
|
|
2459
2413
|
ServiceArn: __expectString(output.ServiceArn),
|
|
2460
2414
|
};
|
|
@@ -2470,12 +2424,8 @@ var deserializeAws_json1_0AutoScalingConfiguration = function (output, context)
|
|
|
2470
2424
|
AutoScalingConfigurationArn: __expectString(output.AutoScalingConfigurationArn),
|
|
2471
2425
|
AutoScalingConfigurationName: __expectString(output.AutoScalingConfigurationName),
|
|
2472
2426
|
AutoScalingConfigurationRevision: __expectInt32(output.AutoScalingConfigurationRevision),
|
|
2473
|
-
CreatedAt: output.CreatedAt
|
|
2474
|
-
|
|
2475
|
-
: undefined,
|
|
2476
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
2477
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt)))
|
|
2478
|
-
: undefined,
|
|
2427
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2428
|
+
DeletedAt: output.DeletedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt))) : undefined,
|
|
2479
2429
|
Latest: __expectBoolean(output.Latest),
|
|
2480
2430
|
MaxConcurrency: __expectInt32(output.MaxConcurrency),
|
|
2481
2431
|
MaxSize: __expectInt32(output.MaxSize),
|
|
@@ -2522,7 +2472,7 @@ var deserializeAws_json1_0CertificateValidationRecordList = function (output, co
|
|
|
2522
2472
|
};
|
|
2523
2473
|
var deserializeAws_json1_0CodeConfiguration = function (output, context) {
|
|
2524
2474
|
return {
|
|
2525
|
-
CodeConfigurationValues: output.CodeConfigurationValues
|
|
2475
|
+
CodeConfigurationValues: output.CodeConfigurationValues != null
|
|
2526
2476
|
? deserializeAws_json1_0CodeConfigurationValues(output.CodeConfigurationValues, context)
|
|
2527
2477
|
: undefined,
|
|
2528
2478
|
ConfigurationSource: __expectString(output.ConfigurationSource),
|
|
@@ -2533,7 +2483,7 @@ var deserializeAws_json1_0CodeConfigurationValues = function (output, context) {
|
|
|
2533
2483
|
BuildCommand: __expectString(output.BuildCommand),
|
|
2534
2484
|
Port: __expectString(output.Port),
|
|
2535
2485
|
Runtime: __expectString(output.Runtime),
|
|
2536
|
-
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables
|
|
2486
|
+
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
|
|
2537
2487
|
? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
|
|
2538
2488
|
: undefined,
|
|
2539
2489
|
StartCommand: __expectString(output.StartCommand),
|
|
@@ -2541,11 +2491,11 @@ var deserializeAws_json1_0CodeConfigurationValues = function (output, context) {
|
|
|
2541
2491
|
};
|
|
2542
2492
|
var deserializeAws_json1_0CodeRepository = function (output, context) {
|
|
2543
2493
|
return {
|
|
2544
|
-
CodeConfiguration: output.CodeConfiguration
|
|
2494
|
+
CodeConfiguration: output.CodeConfiguration != null
|
|
2545
2495
|
? deserializeAws_json1_0CodeConfiguration(output.CodeConfiguration, context)
|
|
2546
2496
|
: undefined,
|
|
2547
2497
|
RepositoryUrl: __expectString(output.RepositoryUrl),
|
|
2548
|
-
SourceCodeVersion: output.SourceCodeVersion
|
|
2498
|
+
SourceCodeVersion: output.SourceCodeVersion != null
|
|
2549
2499
|
? deserializeAws_json1_0SourceCodeVersion(output.SourceCodeVersion, context)
|
|
2550
2500
|
: undefined,
|
|
2551
2501
|
};
|
|
@@ -2554,9 +2504,7 @@ var deserializeAws_json1_0Connection = function (output, context) {
|
|
|
2554
2504
|
return {
|
|
2555
2505
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
2556
2506
|
ConnectionName: __expectString(output.ConnectionName),
|
|
2557
|
-
CreatedAt: output.CreatedAt
|
|
2558
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2559
|
-
: undefined,
|
|
2507
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2560
2508
|
ProviderType: __expectString(output.ProviderType),
|
|
2561
2509
|
Status: __expectString(output.Status),
|
|
2562
2510
|
};
|
|
@@ -2565,9 +2513,7 @@ var deserializeAws_json1_0ConnectionSummary = function (output, context) {
|
|
|
2565
2513
|
return {
|
|
2566
2514
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
2567
2515
|
ConnectionName: __expectString(output.ConnectionName),
|
|
2568
|
-
CreatedAt: output.CreatedAt
|
|
2569
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2570
|
-
: undefined,
|
|
2516
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2571
2517
|
ProviderType: __expectString(output.ProviderType),
|
|
2572
2518
|
Status: __expectString(output.Status),
|
|
2573
2519
|
};
|
|
@@ -2585,21 +2531,19 @@ var deserializeAws_json1_0ConnectionSummaryList = function (output, context) {
|
|
|
2585
2531
|
};
|
|
2586
2532
|
var deserializeAws_json1_0CreateAutoScalingConfigurationResponse = function (output, context) {
|
|
2587
2533
|
return {
|
|
2588
|
-
AutoScalingConfiguration: output.AutoScalingConfiguration
|
|
2534
|
+
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2589
2535
|
? deserializeAws_json1_0AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2590
2536
|
: undefined,
|
|
2591
2537
|
};
|
|
2592
2538
|
};
|
|
2593
2539
|
var deserializeAws_json1_0CreateConnectionResponse = function (output, context) {
|
|
2594
2540
|
return {
|
|
2595
|
-
Connection: output.Connection
|
|
2596
|
-
? deserializeAws_json1_0Connection(output.Connection, context)
|
|
2597
|
-
: undefined,
|
|
2541
|
+
Connection: output.Connection != null ? deserializeAws_json1_0Connection(output.Connection, context) : undefined,
|
|
2598
2542
|
};
|
|
2599
2543
|
};
|
|
2600
2544
|
var deserializeAws_json1_0CreateObservabilityConfigurationResponse = function (output, context) {
|
|
2601
2545
|
return {
|
|
2602
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2546
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2603
2547
|
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2604
2548
|
: undefined,
|
|
2605
2549
|
};
|
|
@@ -2607,21 +2551,17 @@ var deserializeAws_json1_0CreateObservabilityConfigurationResponse = function (o
|
|
|
2607
2551
|
var deserializeAws_json1_0CreateServiceResponse = function (output, context) {
|
|
2608
2552
|
return {
|
|
2609
2553
|
OperationId: __expectString(output.OperationId),
|
|
2610
|
-
Service: output.Service
|
|
2611
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2612
|
-
: undefined,
|
|
2554
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2613
2555
|
};
|
|
2614
2556
|
};
|
|
2615
2557
|
var deserializeAws_json1_0CreateVpcConnectorResponse = function (output, context) {
|
|
2616
2558
|
return {
|
|
2617
|
-
VpcConnector: output.VpcConnector
|
|
2618
|
-
? deserializeAws_json1_0VpcConnector(output.VpcConnector, context)
|
|
2619
|
-
: undefined,
|
|
2559
|
+
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2620
2560
|
};
|
|
2621
2561
|
};
|
|
2622
2562
|
var deserializeAws_json1_0CustomDomain = function (output, context) {
|
|
2623
2563
|
return {
|
|
2624
|
-
CertificateValidationRecords: output.CertificateValidationRecords
|
|
2564
|
+
CertificateValidationRecords: output.CertificateValidationRecords != null
|
|
2625
2565
|
? deserializeAws_json1_0CertificateValidationRecordList(output.CertificateValidationRecords, context)
|
|
2626
2566
|
: undefined,
|
|
2627
2567
|
DomainName: __expectString(output.DomainName),
|
|
@@ -2642,21 +2582,19 @@ var deserializeAws_json1_0CustomDomainList = function (output, context) {
|
|
|
2642
2582
|
};
|
|
2643
2583
|
var deserializeAws_json1_0DeleteAutoScalingConfigurationResponse = function (output, context) {
|
|
2644
2584
|
return {
|
|
2645
|
-
AutoScalingConfiguration: output.AutoScalingConfiguration
|
|
2585
|
+
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2646
2586
|
? deserializeAws_json1_0AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2647
2587
|
: undefined,
|
|
2648
2588
|
};
|
|
2649
2589
|
};
|
|
2650
2590
|
var deserializeAws_json1_0DeleteConnectionResponse = function (output, context) {
|
|
2651
2591
|
return {
|
|
2652
|
-
Connection: output.Connection
|
|
2653
|
-
? deserializeAws_json1_0Connection(output.Connection, context)
|
|
2654
|
-
: undefined,
|
|
2592
|
+
Connection: output.Connection != null ? deserializeAws_json1_0Connection(output.Connection, context) : undefined,
|
|
2655
2593
|
};
|
|
2656
2594
|
};
|
|
2657
2595
|
var deserializeAws_json1_0DeleteObservabilityConfigurationResponse = function (output, context) {
|
|
2658
2596
|
return {
|
|
2659
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2597
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2660
2598
|
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2661
2599
|
: undefined,
|
|
2662
2600
|
};
|
|
@@ -2664,30 +2602,24 @@ var deserializeAws_json1_0DeleteObservabilityConfigurationResponse = function (o
|
|
|
2664
2602
|
var deserializeAws_json1_0DeleteServiceResponse = function (output, context) {
|
|
2665
2603
|
return {
|
|
2666
2604
|
OperationId: __expectString(output.OperationId),
|
|
2667
|
-
Service: output.Service
|
|
2668
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2669
|
-
: undefined,
|
|
2605
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2670
2606
|
};
|
|
2671
2607
|
};
|
|
2672
2608
|
var deserializeAws_json1_0DeleteVpcConnectorResponse = function (output, context) {
|
|
2673
2609
|
return {
|
|
2674
|
-
VpcConnector: output.VpcConnector
|
|
2675
|
-
? deserializeAws_json1_0VpcConnector(output.VpcConnector, context)
|
|
2676
|
-
: undefined,
|
|
2610
|
+
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2677
2611
|
};
|
|
2678
2612
|
};
|
|
2679
2613
|
var deserializeAws_json1_0DescribeAutoScalingConfigurationResponse = function (output, context) {
|
|
2680
2614
|
return {
|
|
2681
|
-
AutoScalingConfiguration: output.AutoScalingConfiguration
|
|
2615
|
+
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2682
2616
|
? deserializeAws_json1_0AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2683
2617
|
: undefined,
|
|
2684
2618
|
};
|
|
2685
2619
|
};
|
|
2686
2620
|
var deserializeAws_json1_0DescribeCustomDomainsResponse = function (output, context) {
|
|
2687
2621
|
return {
|
|
2688
|
-
CustomDomains: output.CustomDomains
|
|
2689
|
-
? deserializeAws_json1_0CustomDomainList(output.CustomDomains, context)
|
|
2690
|
-
: undefined,
|
|
2622
|
+
CustomDomains: output.CustomDomains != null ? deserializeAws_json1_0CustomDomainList(output.CustomDomains, context) : undefined,
|
|
2691
2623
|
DNSTarget: __expectString(output.DNSTarget),
|
|
2692
2624
|
NextToken: __expectString(output.NextToken),
|
|
2693
2625
|
ServiceArn: __expectString(output.ServiceArn),
|
|
@@ -2695,30 +2627,24 @@ var deserializeAws_json1_0DescribeCustomDomainsResponse = function (output, cont
|
|
|
2695
2627
|
};
|
|
2696
2628
|
var deserializeAws_json1_0DescribeObservabilityConfigurationResponse = function (output, context) {
|
|
2697
2629
|
return {
|
|
2698
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2630
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2699
2631
|
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2700
2632
|
: undefined,
|
|
2701
2633
|
};
|
|
2702
2634
|
};
|
|
2703
2635
|
var deserializeAws_json1_0DescribeServiceResponse = function (output, context) {
|
|
2704
2636
|
return {
|
|
2705
|
-
Service: output.Service
|
|
2706
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2707
|
-
: undefined,
|
|
2637
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2708
2638
|
};
|
|
2709
2639
|
};
|
|
2710
2640
|
var deserializeAws_json1_0DescribeVpcConnectorResponse = function (output, context) {
|
|
2711
2641
|
return {
|
|
2712
|
-
VpcConnector: output.VpcConnector
|
|
2713
|
-
? deserializeAws_json1_0VpcConnector(output.VpcConnector, context)
|
|
2714
|
-
: undefined,
|
|
2642
|
+
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2715
2643
|
};
|
|
2716
2644
|
};
|
|
2717
2645
|
var deserializeAws_json1_0DisassociateCustomDomainResponse = function (output, context) {
|
|
2718
2646
|
return {
|
|
2719
|
-
CustomDomain: output.CustomDomain
|
|
2720
|
-
? deserializeAws_json1_0CustomDomain(output.CustomDomain, context)
|
|
2721
|
-
: undefined,
|
|
2647
|
+
CustomDomain: output.CustomDomain != null ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context) : undefined,
|
|
2722
2648
|
DNSTarget: __expectString(output.DNSTarget),
|
|
2723
2649
|
ServiceArn: __expectString(output.ServiceArn),
|
|
2724
2650
|
};
|
|
@@ -2747,7 +2673,7 @@ var deserializeAws_json1_0HealthCheckConfiguration = function (output, context)
|
|
|
2747
2673
|
var deserializeAws_json1_0ImageConfiguration = function (output, context) {
|
|
2748
2674
|
return {
|
|
2749
2675
|
Port: __expectString(output.Port),
|
|
2750
|
-
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables
|
|
2676
|
+
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
|
|
2751
2677
|
? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
|
|
2752
2678
|
: undefined,
|
|
2753
2679
|
StartCommand: __expectString(output.StartCommand),
|
|
@@ -2755,7 +2681,7 @@ var deserializeAws_json1_0ImageConfiguration = function (output, context) {
|
|
|
2755
2681
|
};
|
|
2756
2682
|
var deserializeAws_json1_0ImageRepository = function (output, context) {
|
|
2757
2683
|
return {
|
|
2758
|
-
ImageConfiguration: output.ImageConfiguration
|
|
2684
|
+
ImageConfiguration: output.ImageConfiguration != null
|
|
2759
2685
|
? deserializeAws_json1_0ImageConfiguration(output.ImageConfiguration, context)
|
|
2760
2686
|
: undefined,
|
|
2761
2687
|
ImageIdentifier: __expectString(output.ImageIdentifier),
|
|
@@ -2786,7 +2712,7 @@ var deserializeAws_json1_0InvalidStateException = function (output, context) {
|
|
|
2786
2712
|
};
|
|
2787
2713
|
var deserializeAws_json1_0ListAutoScalingConfigurationsResponse = function (output, context) {
|
|
2788
2714
|
return {
|
|
2789
|
-
AutoScalingConfigurationSummaryList: output.AutoScalingConfigurationSummaryList
|
|
2715
|
+
AutoScalingConfigurationSummaryList: output.AutoScalingConfigurationSummaryList != null
|
|
2790
2716
|
? deserializeAws_json1_0AutoScalingConfigurationSummaryList(output.AutoScalingConfigurationSummaryList, context)
|
|
2791
2717
|
: undefined,
|
|
2792
2718
|
NextToken: __expectString(output.NextToken),
|
|
@@ -2794,7 +2720,7 @@ var deserializeAws_json1_0ListAutoScalingConfigurationsResponse = function (outp
|
|
|
2794
2720
|
};
|
|
2795
2721
|
var deserializeAws_json1_0ListConnectionsResponse = function (output, context) {
|
|
2796
2722
|
return {
|
|
2797
|
-
ConnectionSummaryList: output.ConnectionSummaryList
|
|
2723
|
+
ConnectionSummaryList: output.ConnectionSummaryList != null
|
|
2798
2724
|
? deserializeAws_json1_0ConnectionSummaryList(output.ConnectionSummaryList, context)
|
|
2799
2725
|
: undefined,
|
|
2800
2726
|
NextToken: __expectString(output.NextToken),
|
|
@@ -2803,8 +2729,7 @@ var deserializeAws_json1_0ListConnectionsResponse = function (output, context) {
|
|
|
2803
2729
|
var deserializeAws_json1_0ListObservabilityConfigurationsResponse = function (output, context) {
|
|
2804
2730
|
return {
|
|
2805
2731
|
NextToken: __expectString(output.NextToken),
|
|
2806
|
-
ObservabilityConfigurationSummaryList: output.ObservabilityConfigurationSummaryList
|
|
2807
|
-
output.ObservabilityConfigurationSummaryList !== null
|
|
2732
|
+
ObservabilityConfigurationSummaryList: output.ObservabilityConfigurationSummaryList != null
|
|
2808
2733
|
? deserializeAws_json1_0ObservabilityConfigurationSummaryList(output.ObservabilityConfigurationSummaryList, context)
|
|
2809
2734
|
: undefined,
|
|
2810
2735
|
};
|
|
@@ -2812,7 +2737,7 @@ var deserializeAws_json1_0ListObservabilityConfigurationsResponse = function (ou
|
|
|
2812
2737
|
var deserializeAws_json1_0ListOperationsResponse = function (output, context) {
|
|
2813
2738
|
return {
|
|
2814
2739
|
NextToken: __expectString(output.NextToken),
|
|
2815
|
-
OperationSummaryList: output.OperationSummaryList
|
|
2740
|
+
OperationSummaryList: output.OperationSummaryList != null
|
|
2816
2741
|
? deserializeAws_json1_0OperationSummaryList(output.OperationSummaryList, context)
|
|
2817
2742
|
: undefined,
|
|
2818
2743
|
};
|
|
@@ -2820,47 +2745,39 @@ var deserializeAws_json1_0ListOperationsResponse = function (output, context) {
|
|
|
2820
2745
|
var deserializeAws_json1_0ListServicesResponse = function (output, context) {
|
|
2821
2746
|
return {
|
|
2822
2747
|
NextToken: __expectString(output.NextToken),
|
|
2823
|
-
ServiceSummaryList: output.ServiceSummaryList
|
|
2748
|
+
ServiceSummaryList: output.ServiceSummaryList != null
|
|
2824
2749
|
? deserializeAws_json1_0ServiceSummaryList(output.ServiceSummaryList, context)
|
|
2825
2750
|
: undefined,
|
|
2826
2751
|
};
|
|
2827
2752
|
};
|
|
2828
2753
|
var deserializeAws_json1_0ListTagsForResourceResponse = function (output, context) {
|
|
2829
2754
|
return {
|
|
2830
|
-
Tags: output.Tags
|
|
2831
|
-
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
2832
|
-
: undefined,
|
|
2755
|
+
Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
|
|
2833
2756
|
};
|
|
2834
2757
|
};
|
|
2835
2758
|
var deserializeAws_json1_0ListVpcConnectorsResponse = function (output, context) {
|
|
2836
2759
|
return {
|
|
2837
2760
|
NextToken: __expectString(output.NextToken),
|
|
2838
|
-
VpcConnectors: output.VpcConnectors
|
|
2839
|
-
? deserializeAws_json1_0VpcConnectors(output.VpcConnectors, context)
|
|
2840
|
-
: undefined,
|
|
2761
|
+
VpcConnectors: output.VpcConnectors != null ? deserializeAws_json1_0VpcConnectors(output.VpcConnectors, context) : undefined,
|
|
2841
2762
|
};
|
|
2842
2763
|
};
|
|
2843
2764
|
var deserializeAws_json1_0NetworkConfiguration = function (output, context) {
|
|
2844
2765
|
return {
|
|
2845
|
-
EgressConfiguration: output.EgressConfiguration
|
|
2766
|
+
EgressConfiguration: output.EgressConfiguration != null
|
|
2846
2767
|
? deserializeAws_json1_0EgressConfiguration(output.EgressConfiguration, context)
|
|
2847
2768
|
: undefined,
|
|
2848
2769
|
};
|
|
2849
2770
|
};
|
|
2850
2771
|
var deserializeAws_json1_0ObservabilityConfiguration = function (output, context) {
|
|
2851
2772
|
return {
|
|
2852
|
-
CreatedAt: output.CreatedAt
|
|
2853
|
-
|
|
2854
|
-
: undefined,
|
|
2855
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
2856
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt)))
|
|
2857
|
-
: undefined,
|
|
2773
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2774
|
+
DeletedAt: output.DeletedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt))) : undefined,
|
|
2858
2775
|
Latest: __expectBoolean(output.Latest),
|
|
2859
2776
|
ObservabilityConfigurationArn: __expectString(output.ObservabilityConfigurationArn),
|
|
2860
2777
|
ObservabilityConfigurationName: __expectString(output.ObservabilityConfigurationName),
|
|
2861
2778
|
ObservabilityConfigurationRevision: __expectInt32(output.ObservabilityConfigurationRevision),
|
|
2862
2779
|
Status: __expectString(output.Status),
|
|
2863
|
-
TraceConfiguration: output.TraceConfiguration
|
|
2780
|
+
TraceConfiguration: output.TraceConfiguration != null
|
|
2864
2781
|
? deserializeAws_json1_0TraceConfiguration(output.TraceConfiguration, context)
|
|
2865
2782
|
: undefined,
|
|
2866
2783
|
};
|
|
@@ -2885,19 +2802,13 @@ var deserializeAws_json1_0ObservabilityConfigurationSummaryList = function (outp
|
|
|
2885
2802
|
};
|
|
2886
2803
|
var deserializeAws_json1_0OperationSummary = function (output, context) {
|
|
2887
2804
|
return {
|
|
2888
|
-
EndedAt: output.EndedAt
|
|
2889
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndedAt)))
|
|
2890
|
-
: undefined,
|
|
2805
|
+
EndedAt: output.EndedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndedAt))) : undefined,
|
|
2891
2806
|
Id: __expectString(output.Id),
|
|
2892
|
-
StartedAt: output.StartedAt
|
|
2893
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
|
|
2894
|
-
: undefined,
|
|
2807
|
+
StartedAt: output.StartedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt))) : undefined,
|
|
2895
2808
|
Status: __expectString(output.Status),
|
|
2896
2809
|
TargetArn: __expectString(output.TargetArn),
|
|
2897
2810
|
Type: __expectString(output.Type),
|
|
2898
|
-
UpdatedAt: output.UpdatedAt
|
|
2899
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
2900
|
-
: undefined,
|
|
2811
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2901
2812
|
};
|
|
2902
2813
|
};
|
|
2903
2814
|
var deserializeAws_json1_0OperationSummaryList = function (output, context) {
|
|
@@ -2914,9 +2825,7 @@ var deserializeAws_json1_0OperationSummaryList = function (output, context) {
|
|
|
2914
2825
|
var deserializeAws_json1_0PauseServiceResponse = function (output, context) {
|
|
2915
2826
|
return {
|
|
2916
2827
|
OperationId: __expectString(output.OperationId),
|
|
2917
|
-
Service: output.Service
|
|
2918
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2919
|
-
: undefined,
|
|
2828
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2920
2829
|
};
|
|
2921
2830
|
};
|
|
2922
2831
|
var deserializeAws_json1_0ResourceNotFoundException = function (output, context) {
|
|
@@ -2927,9 +2836,7 @@ var deserializeAws_json1_0ResourceNotFoundException = function (output, context)
|
|
|
2927
2836
|
var deserializeAws_json1_0ResumeServiceResponse = function (output, context) {
|
|
2928
2837
|
return {
|
|
2929
2838
|
OperationId: __expectString(output.OperationId),
|
|
2930
|
-
Service: output.Service
|
|
2931
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2932
|
-
: undefined,
|
|
2839
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2933
2840
|
};
|
|
2934
2841
|
};
|
|
2935
2842
|
var deserializeAws_json1_0RuntimeEnvironmentVariables = function (output, context) {
|
|
@@ -2944,41 +2851,35 @@ var deserializeAws_json1_0RuntimeEnvironmentVariables = function (output, contex
|
|
|
2944
2851
|
};
|
|
2945
2852
|
var deserializeAws_json1_0Service = function (output, context) {
|
|
2946
2853
|
return {
|
|
2947
|
-
AutoScalingConfigurationSummary: output.AutoScalingConfigurationSummary
|
|
2854
|
+
AutoScalingConfigurationSummary: output.AutoScalingConfigurationSummary != null
|
|
2948
2855
|
? deserializeAws_json1_0AutoScalingConfigurationSummary(output.AutoScalingConfigurationSummary, context)
|
|
2949
2856
|
: undefined,
|
|
2950
|
-
CreatedAt: output.CreatedAt
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
2954
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt)))
|
|
2955
|
-
: undefined,
|
|
2956
|
-
EncryptionConfiguration: output.EncryptionConfiguration !== undefined && output.EncryptionConfiguration !== null
|
|
2857
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2858
|
+
DeletedAt: output.DeletedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt))) : undefined,
|
|
2859
|
+
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
2957
2860
|
? deserializeAws_json1_0EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
2958
2861
|
: undefined,
|
|
2959
|
-
HealthCheckConfiguration: output.HealthCheckConfiguration
|
|
2862
|
+
HealthCheckConfiguration: output.HealthCheckConfiguration != null
|
|
2960
2863
|
? deserializeAws_json1_0HealthCheckConfiguration(output.HealthCheckConfiguration, context)
|
|
2961
2864
|
: undefined,
|
|
2962
|
-
InstanceConfiguration: output.InstanceConfiguration
|
|
2865
|
+
InstanceConfiguration: output.InstanceConfiguration != null
|
|
2963
2866
|
? deserializeAws_json1_0InstanceConfiguration(output.InstanceConfiguration, context)
|
|
2964
2867
|
: undefined,
|
|
2965
|
-
NetworkConfiguration: output.NetworkConfiguration
|
|
2868
|
+
NetworkConfiguration: output.NetworkConfiguration != null
|
|
2966
2869
|
? deserializeAws_json1_0NetworkConfiguration(output.NetworkConfiguration, context)
|
|
2967
2870
|
: undefined,
|
|
2968
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2871
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2969
2872
|
? deserializeAws_json1_0ServiceObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2970
2873
|
: undefined,
|
|
2971
2874
|
ServiceArn: __expectString(output.ServiceArn),
|
|
2972
2875
|
ServiceId: __expectString(output.ServiceId),
|
|
2973
2876
|
ServiceName: __expectString(output.ServiceName),
|
|
2974
2877
|
ServiceUrl: __expectString(output.ServiceUrl),
|
|
2975
|
-
SourceConfiguration: output.SourceConfiguration
|
|
2878
|
+
SourceConfiguration: output.SourceConfiguration != null
|
|
2976
2879
|
? deserializeAws_json1_0SourceConfiguration(output.SourceConfiguration, context)
|
|
2977
2880
|
: undefined,
|
|
2978
2881
|
Status: __expectString(output.Status),
|
|
2979
|
-
UpdatedAt: output.UpdatedAt
|
|
2980
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
2981
|
-
: undefined,
|
|
2882
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2982
2883
|
};
|
|
2983
2884
|
};
|
|
2984
2885
|
var deserializeAws_json1_0ServiceObservabilityConfiguration = function (output, context) {
|
|
@@ -2994,17 +2895,13 @@ var deserializeAws_json1_0ServiceQuotaExceededException = function (output, cont
|
|
|
2994
2895
|
};
|
|
2995
2896
|
var deserializeAws_json1_0ServiceSummary = function (output, context) {
|
|
2996
2897
|
return {
|
|
2997
|
-
CreatedAt: output.CreatedAt
|
|
2998
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2999
|
-
: undefined,
|
|
2898
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
3000
2899
|
ServiceArn: __expectString(output.ServiceArn),
|
|
3001
2900
|
ServiceId: __expectString(output.ServiceId),
|
|
3002
2901
|
ServiceName: __expectString(output.ServiceName),
|
|
3003
2902
|
ServiceUrl: __expectString(output.ServiceUrl),
|
|
3004
2903
|
Status: __expectString(output.Status),
|
|
3005
|
-
UpdatedAt: output.UpdatedAt
|
|
3006
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
3007
|
-
: undefined,
|
|
2904
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
3008
2905
|
};
|
|
3009
2906
|
};
|
|
3010
2907
|
var deserializeAws_json1_0ServiceSummaryList = function (output, context) {
|
|
@@ -3026,14 +2923,12 @@ var deserializeAws_json1_0SourceCodeVersion = function (output, context) {
|
|
|
3026
2923
|
};
|
|
3027
2924
|
var deserializeAws_json1_0SourceConfiguration = function (output, context) {
|
|
3028
2925
|
return {
|
|
3029
|
-
AuthenticationConfiguration: output.AuthenticationConfiguration
|
|
2926
|
+
AuthenticationConfiguration: output.AuthenticationConfiguration != null
|
|
3030
2927
|
? deserializeAws_json1_0AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
3031
2928
|
: undefined,
|
|
3032
2929
|
AutoDeploymentsEnabled: __expectBoolean(output.AutoDeploymentsEnabled),
|
|
3033
|
-
CodeRepository: output.CodeRepository
|
|
3034
|
-
|
|
3035
|
-
: undefined,
|
|
3036
|
-
ImageRepository: output.ImageRepository !== undefined && output.ImageRepository !== null
|
|
2930
|
+
CodeRepository: output.CodeRepository != null ? deserializeAws_json1_0CodeRepository(output.CodeRepository, context) : undefined,
|
|
2931
|
+
ImageRepository: output.ImageRepository != null
|
|
3037
2932
|
? deserializeAws_json1_0ImageRepository(output.ImageRepository, context)
|
|
3038
2933
|
: undefined,
|
|
3039
2934
|
};
|
|
@@ -3085,26 +2980,16 @@ var deserializeAws_json1_0UntagResourceResponse = function (output, context) {
|
|
|
3085
2980
|
var deserializeAws_json1_0UpdateServiceResponse = function (output, context) {
|
|
3086
2981
|
return {
|
|
3087
2982
|
OperationId: __expectString(output.OperationId),
|
|
3088
|
-
Service: output.Service
|
|
3089
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
3090
|
-
: undefined,
|
|
2983
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
3091
2984
|
};
|
|
3092
2985
|
};
|
|
3093
2986
|
var deserializeAws_json1_0VpcConnector = function (output, context) {
|
|
3094
2987
|
return {
|
|
3095
|
-
CreatedAt: output.CreatedAt
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
3099
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt)))
|
|
3100
|
-
: undefined,
|
|
3101
|
-
SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null
|
|
3102
|
-
? deserializeAws_json1_0StringList(output.SecurityGroups, context)
|
|
3103
|
-
: undefined,
|
|
2988
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2989
|
+
DeletedAt: output.DeletedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt))) : undefined,
|
|
2990
|
+
SecurityGroups: output.SecurityGroups != null ? deserializeAws_json1_0StringList(output.SecurityGroups, context) : undefined,
|
|
3104
2991
|
Status: __expectString(output.Status),
|
|
3105
|
-
Subnets: output.Subnets
|
|
3106
|
-
? deserializeAws_json1_0StringList(output.Subnets, context)
|
|
3107
|
-
: undefined,
|
|
2992
|
+
Subnets: output.Subnets != null ? deserializeAws_json1_0StringList(output.Subnets, context) : undefined,
|
|
3108
2993
|
VpcConnectorArn: __expectString(output.VpcConnectorArn),
|
|
3109
2994
|
VpcConnectorName: __expectString(output.VpcConnectorName),
|
|
3110
2995
|
VpcConnectorRevision: __expectInt32(output.VpcConnectorRevision),
|
|
@@ -3177,6 +3062,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
3177
3062
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
3178
3063
|
var sanitizeErrorCode = function (rawValue) {
|
|
3179
3064
|
var cleanValue = rawValue;
|
|
3065
|
+
if (typeof cleanValue === "number") {
|
|
3066
|
+
cleanValue = cleanValue.toString();
|
|
3067
|
+
}
|
|
3180
3068
|
if (cleanValue.indexOf(":") >= 0) {
|
|
3181
3069
|
cleanValue = cleanValue.split(":")[0];
|
|
3182
3070
|
}
|