@aws-sdk/client-apprunner 3.29.0 → 3.33.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.
Files changed (78) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/cjs/AppRunnerClient.js +13 -13
  3. package/dist/cjs/AppRunnerClient.js.map +1 -1
  4. package/dist/cjs/commands/AssociateCustomDomainCommand.js +3 -3
  5. package/dist/cjs/commands/AssociateCustomDomainCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateAutoScalingConfigurationCommand.js +3 -3
  7. package/dist/cjs/commands/CreateAutoScalingConfigurationCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateConnectionCommand.js +3 -3
  9. package/dist/cjs/commands/CreateConnectionCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateServiceCommand.js +3 -3
  11. package/dist/cjs/commands/CreateServiceCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteAutoScalingConfigurationCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteAutoScalingConfigurationCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeleteConnectionCommand.js +3 -3
  15. package/dist/cjs/commands/DeleteConnectionCommand.js.map +1 -1
  16. package/dist/cjs/commands/DeleteServiceCommand.js +3 -3
  17. package/dist/cjs/commands/DeleteServiceCommand.js.map +1 -1
  18. package/dist/cjs/commands/DescribeAutoScalingConfigurationCommand.js +3 -3
  19. package/dist/cjs/commands/DescribeAutoScalingConfigurationCommand.js.map +1 -1
  20. package/dist/cjs/commands/DescribeCustomDomainsCommand.js +3 -3
  21. package/dist/cjs/commands/DescribeCustomDomainsCommand.js.map +1 -1
  22. package/dist/cjs/commands/DescribeServiceCommand.js +3 -3
  23. package/dist/cjs/commands/DescribeServiceCommand.js.map +1 -1
  24. package/dist/cjs/commands/DisassociateCustomDomainCommand.js +3 -3
  25. package/dist/cjs/commands/DisassociateCustomDomainCommand.js.map +1 -1
  26. package/dist/cjs/commands/ListAutoScalingConfigurationsCommand.js +3 -3
  27. package/dist/cjs/commands/ListAutoScalingConfigurationsCommand.js.map +1 -1
  28. package/dist/cjs/commands/ListConnectionsCommand.js +3 -3
  29. package/dist/cjs/commands/ListConnectionsCommand.js.map +1 -1
  30. package/dist/cjs/commands/ListOperationsCommand.js +3 -3
  31. package/dist/cjs/commands/ListOperationsCommand.js.map +1 -1
  32. package/dist/cjs/commands/ListServicesCommand.js +3 -3
  33. package/dist/cjs/commands/ListServicesCommand.js.map +1 -1
  34. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  35. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  36. package/dist/cjs/commands/PauseServiceCommand.js +3 -3
  37. package/dist/cjs/commands/PauseServiceCommand.js.map +1 -1
  38. package/dist/cjs/commands/ResumeServiceCommand.js +3 -3
  39. package/dist/cjs/commands/ResumeServiceCommand.js.map +1 -1
  40. package/dist/cjs/commands/StartDeploymentCommand.js +3 -3
  41. package/dist/cjs/commands/StartDeploymentCommand.js.map +1 -1
  42. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  43. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  44. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  45. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  46. package/dist/cjs/commands/UpdateServiceCommand.js +3 -3
  47. package/dist/cjs/commands/UpdateServiceCommand.js.map +1 -1
  48. package/dist/cjs/endpoints.js +1 -1
  49. package/dist/cjs/endpoints.js.map +1 -1
  50. package/dist/cjs/index.js +31 -31
  51. package/dist/cjs/index.js.map +1 -1
  52. package/dist/cjs/models/index.js +1 -1
  53. package/dist/cjs/models/index.js.map +1 -1
  54. package/dist/cjs/package.json +31 -31
  55. package/dist/cjs/protocols/Aws_json1_0.js +104 -102
  56. package/dist/cjs/protocols/Aws_json1_0.js.map +1 -1
  57. package/dist/cjs/runtimeConfig.browser.js +4 -4
  58. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  59. package/dist/cjs/runtimeConfig.js +8 -8
  60. package/dist/cjs/runtimeConfig.js.map +1 -1
  61. package/dist/cjs/runtimeConfig.native.js +1 -1
  62. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  63. package/dist/es/package.json +31 -31
  64. package/dist/es/pagination/DescribeCustomDomainsPaginator.js +4 -4
  65. package/dist/es/pagination/DescribeCustomDomainsPaginator.js.map +1 -1
  66. package/dist/es/pagination/ListAutoScalingConfigurationsPaginator.js +4 -4
  67. package/dist/es/pagination/ListAutoScalingConfigurationsPaginator.js.map +1 -1
  68. package/dist/es/pagination/ListConnectionsPaginator.js +4 -4
  69. package/dist/es/pagination/ListConnectionsPaginator.js.map +1 -1
  70. package/dist/es/pagination/ListOperationsPaginator.js +4 -4
  71. package/dist/es/pagination/ListOperationsPaginator.js.map +1 -1
  72. package/dist/es/pagination/ListServicesPaginator.js +4 -4
  73. package/dist/es/pagination/ListServicesPaginator.js.map +1 -1
  74. package/dist/es/protocols/Aws_json1_0.js +15 -13
  75. package/dist/es/protocols/Aws_json1_0.js.map +1 -1
  76. package/package.json +31 -31
  77. package/protocols/Aws_json1_0.ts +17 -12
  78. package/tsconfig.json +1 -2
@@ -2035,39 +2035,39 @@ const deserializeAws_json1_0AssociateCustomDomainResponse = (output, context) =>
2035
2035
  CustomDomain: output.CustomDomain !== undefined && output.CustomDomain !== null
2036
2036
  ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context)
2037
2037
  : undefined,
2038
- DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
2039
- ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
2038
+ DNSTarget: smithy_client_1.expectString(output.DNSTarget),
2039
+ ServiceArn: smithy_client_1.expectString(output.ServiceArn),
2040
2040
  };
2041
2041
  };
2042
2042
  const deserializeAws_json1_0AuthenticationConfiguration = (output, context) => {
2043
2043
  return {
2044
- AccessRoleArn: (0, smithy_client_1.expectString)(output.AccessRoleArn),
2045
- ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
2044
+ AccessRoleArn: smithy_client_1.expectString(output.AccessRoleArn),
2045
+ ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
2046
2046
  };
2047
2047
  };
2048
2048
  const deserializeAws_json1_0AutoScalingConfiguration = (output, context) => {
2049
2049
  return {
2050
- AutoScalingConfigurationArn: (0, smithy_client_1.expectString)(output.AutoScalingConfigurationArn),
2051
- AutoScalingConfigurationName: (0, smithy_client_1.expectString)(output.AutoScalingConfigurationName),
2052
- AutoScalingConfigurationRevision: (0, smithy_client_1.expectInt32)(output.AutoScalingConfigurationRevision),
2050
+ AutoScalingConfigurationArn: smithy_client_1.expectString(output.AutoScalingConfigurationArn),
2051
+ AutoScalingConfigurationName: smithy_client_1.expectString(output.AutoScalingConfigurationName),
2052
+ AutoScalingConfigurationRevision: smithy_client_1.expectInt32(output.AutoScalingConfigurationRevision),
2053
2053
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2054
- ? new Date(Math.round(output.CreatedAt * 1000))
2054
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2055
2055
  : undefined,
2056
2056
  DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
2057
- ? new Date(Math.round(output.DeletedAt * 1000))
2057
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletedAt)))
2058
2058
  : undefined,
2059
- Latest: (0, smithy_client_1.expectBoolean)(output.Latest),
2060
- MaxConcurrency: (0, smithy_client_1.expectInt32)(output.MaxConcurrency),
2061
- MaxSize: (0, smithy_client_1.expectInt32)(output.MaxSize),
2062
- MinSize: (0, smithy_client_1.expectInt32)(output.MinSize),
2063
- Status: (0, smithy_client_1.expectString)(output.Status),
2059
+ Latest: smithy_client_1.expectBoolean(output.Latest),
2060
+ MaxConcurrency: smithy_client_1.expectInt32(output.MaxConcurrency),
2061
+ MaxSize: smithy_client_1.expectInt32(output.MaxSize),
2062
+ MinSize: smithy_client_1.expectInt32(output.MinSize),
2063
+ Status: smithy_client_1.expectString(output.Status),
2064
2064
  };
2065
2065
  };
2066
2066
  const deserializeAws_json1_0AutoScalingConfigurationSummary = (output, context) => {
2067
2067
  return {
2068
- AutoScalingConfigurationArn: (0, smithy_client_1.expectString)(output.AutoScalingConfigurationArn),
2069
- AutoScalingConfigurationName: (0, smithy_client_1.expectString)(output.AutoScalingConfigurationName),
2070
- AutoScalingConfigurationRevision: (0, smithy_client_1.expectInt32)(output.AutoScalingConfigurationRevision),
2068
+ AutoScalingConfigurationArn: smithy_client_1.expectString(output.AutoScalingConfigurationArn),
2069
+ AutoScalingConfigurationName: smithy_client_1.expectString(output.AutoScalingConfigurationName),
2070
+ AutoScalingConfigurationRevision: smithy_client_1.expectInt32(output.AutoScalingConfigurationRevision),
2071
2071
  };
2072
2072
  };
2073
2073
  const deserializeAws_json1_0AutoScalingConfigurationSummaryList = (output, context) => {
@@ -2082,10 +2082,10 @@ const deserializeAws_json1_0AutoScalingConfigurationSummaryList = (output, conte
2082
2082
  };
2083
2083
  const deserializeAws_json1_0CertificateValidationRecord = (output, context) => {
2084
2084
  return {
2085
- Name: (0, smithy_client_1.expectString)(output.Name),
2086
- Status: (0, smithy_client_1.expectString)(output.Status),
2087
- Type: (0, smithy_client_1.expectString)(output.Type),
2088
- Value: (0, smithy_client_1.expectString)(output.Value),
2085
+ Name: smithy_client_1.expectString(output.Name),
2086
+ Status: smithy_client_1.expectString(output.Status),
2087
+ Type: smithy_client_1.expectString(output.Type),
2088
+ Value: smithy_client_1.expectString(output.Value),
2089
2089
  };
2090
2090
  };
2091
2091
  const deserializeAws_json1_0CertificateValidationRecordList = (output, context) => {
@@ -2103,18 +2103,18 @@ const deserializeAws_json1_0CodeConfiguration = (output, context) => {
2103
2103
  CodeConfigurationValues: output.CodeConfigurationValues !== undefined && output.CodeConfigurationValues !== null
2104
2104
  ? deserializeAws_json1_0CodeConfigurationValues(output.CodeConfigurationValues, context)
2105
2105
  : undefined,
2106
- ConfigurationSource: (0, smithy_client_1.expectString)(output.ConfigurationSource),
2106
+ ConfigurationSource: smithy_client_1.expectString(output.ConfigurationSource),
2107
2107
  };
2108
2108
  };
2109
2109
  const deserializeAws_json1_0CodeConfigurationValues = (output, context) => {
2110
2110
  return {
2111
- BuildCommand: (0, smithy_client_1.expectString)(output.BuildCommand),
2112
- Port: (0, smithy_client_1.expectString)(output.Port),
2113
- Runtime: (0, smithy_client_1.expectString)(output.Runtime),
2111
+ BuildCommand: smithy_client_1.expectString(output.BuildCommand),
2112
+ Port: smithy_client_1.expectString(output.Port),
2113
+ Runtime: smithy_client_1.expectString(output.Runtime),
2114
2114
  RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables !== undefined && output.RuntimeEnvironmentVariables !== null
2115
2115
  ? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
2116
2116
  : undefined,
2117
- StartCommand: (0, smithy_client_1.expectString)(output.StartCommand),
2117
+ StartCommand: smithy_client_1.expectString(output.StartCommand),
2118
2118
  };
2119
2119
  };
2120
2120
  const deserializeAws_json1_0CodeRepository = (output, context) => {
@@ -2122,7 +2122,7 @@ const deserializeAws_json1_0CodeRepository = (output, context) => {
2122
2122
  CodeConfiguration: output.CodeConfiguration !== undefined && output.CodeConfiguration !== null
2123
2123
  ? deserializeAws_json1_0CodeConfiguration(output.CodeConfiguration, context)
2124
2124
  : undefined,
2125
- RepositoryUrl: (0, smithy_client_1.expectString)(output.RepositoryUrl),
2125
+ RepositoryUrl: smithy_client_1.expectString(output.RepositoryUrl),
2126
2126
  SourceCodeVersion: output.SourceCodeVersion !== undefined && output.SourceCodeVersion !== null
2127
2127
  ? deserializeAws_json1_0SourceCodeVersion(output.SourceCodeVersion, context)
2128
2128
  : undefined,
@@ -2130,24 +2130,24 @@ const deserializeAws_json1_0CodeRepository = (output, context) => {
2130
2130
  };
2131
2131
  const deserializeAws_json1_0Connection = (output, context) => {
2132
2132
  return {
2133
- ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
2134
- ConnectionName: (0, smithy_client_1.expectString)(output.ConnectionName),
2133
+ ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
2134
+ ConnectionName: smithy_client_1.expectString(output.ConnectionName),
2135
2135
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2136
- ? new Date(Math.round(output.CreatedAt * 1000))
2136
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2137
2137
  : undefined,
2138
- ProviderType: (0, smithy_client_1.expectString)(output.ProviderType),
2139
- Status: (0, smithy_client_1.expectString)(output.Status),
2138
+ ProviderType: smithy_client_1.expectString(output.ProviderType),
2139
+ Status: smithy_client_1.expectString(output.Status),
2140
2140
  };
2141
2141
  };
2142
2142
  const deserializeAws_json1_0ConnectionSummary = (output, context) => {
2143
2143
  return {
2144
- ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
2145
- ConnectionName: (0, smithy_client_1.expectString)(output.ConnectionName),
2144
+ ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
2145
+ ConnectionName: smithy_client_1.expectString(output.ConnectionName),
2146
2146
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2147
- ? new Date(Math.round(output.CreatedAt * 1000))
2147
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2148
2148
  : undefined,
2149
- ProviderType: (0, smithy_client_1.expectString)(output.ProviderType),
2150
- Status: (0, smithy_client_1.expectString)(output.Status),
2149
+ ProviderType: smithy_client_1.expectString(output.ProviderType),
2150
+ Status: smithy_client_1.expectString(output.Status),
2151
2151
  };
2152
2152
  };
2153
2153
  const deserializeAws_json1_0ConnectionSummaryList = (output, context) => {
@@ -2176,7 +2176,7 @@ const deserializeAws_json1_0CreateConnectionResponse = (output, context) => {
2176
2176
  };
2177
2177
  const deserializeAws_json1_0CreateServiceResponse = (output, context) => {
2178
2178
  return {
2179
- OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2179
+ OperationId: smithy_client_1.expectString(output.OperationId),
2180
2180
  Service: output.Service !== undefined && output.Service !== null
2181
2181
  ? deserializeAws_json1_0Service(output.Service, context)
2182
2182
  : undefined,
@@ -2187,9 +2187,9 @@ const deserializeAws_json1_0CustomDomain = (output, context) => {
2187
2187
  CertificateValidationRecords: output.CertificateValidationRecords !== undefined && output.CertificateValidationRecords !== null
2188
2188
  ? deserializeAws_json1_0CertificateValidationRecordList(output.CertificateValidationRecords, context)
2189
2189
  : undefined,
2190
- DomainName: (0, smithy_client_1.expectString)(output.DomainName),
2191
- EnableWWWSubdomain: (0, smithy_client_1.expectBoolean)(output.EnableWWWSubdomain),
2192
- Status: (0, smithy_client_1.expectString)(output.Status),
2190
+ DomainName: smithy_client_1.expectString(output.DomainName),
2191
+ EnableWWWSubdomain: smithy_client_1.expectBoolean(output.EnableWWWSubdomain),
2192
+ Status: smithy_client_1.expectString(output.Status),
2193
2193
  };
2194
2194
  };
2195
2195
  const deserializeAws_json1_0CustomDomainList = (output, context) => {
@@ -2218,7 +2218,7 @@ const deserializeAws_json1_0DeleteConnectionResponse = (output, context) => {
2218
2218
  };
2219
2219
  const deserializeAws_json1_0DeleteServiceResponse = (output, context) => {
2220
2220
  return {
2221
- OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2221
+ OperationId: smithy_client_1.expectString(output.OperationId),
2222
2222
  Service: output.Service !== undefined && output.Service !== null
2223
2223
  ? deserializeAws_json1_0Service(output.Service, context)
2224
2224
  : undefined,
@@ -2236,9 +2236,9 @@ const deserializeAws_json1_0DescribeCustomDomainsResponse = (output, context) =>
2236
2236
  CustomDomains: output.CustomDomains !== undefined && output.CustomDomains !== null
2237
2237
  ? deserializeAws_json1_0CustomDomainList(output.CustomDomains, context)
2238
2238
  : undefined,
2239
- DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
2240
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2241
- ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
2239
+ DNSTarget: smithy_client_1.expectString(output.DNSTarget),
2240
+ NextToken: smithy_client_1.expectString(output.NextToken),
2241
+ ServiceArn: smithy_client_1.expectString(output.ServiceArn),
2242
2242
  };
2243
2243
  };
2244
2244
  const deserializeAws_json1_0DescribeServiceResponse = (output, context) => {
@@ -2253,32 +2253,32 @@ const deserializeAws_json1_0DisassociateCustomDomainResponse = (output, context)
2253
2253
  CustomDomain: output.CustomDomain !== undefined && output.CustomDomain !== null
2254
2254
  ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context)
2255
2255
  : undefined,
2256
- DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
2257
- ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
2256
+ DNSTarget: smithy_client_1.expectString(output.DNSTarget),
2257
+ ServiceArn: smithy_client_1.expectString(output.ServiceArn),
2258
2258
  };
2259
2259
  };
2260
2260
  const deserializeAws_json1_0EncryptionConfiguration = (output, context) => {
2261
2261
  return {
2262
- KmsKey: (0, smithy_client_1.expectString)(output.KmsKey),
2262
+ KmsKey: smithy_client_1.expectString(output.KmsKey),
2263
2263
  };
2264
2264
  };
2265
2265
  const deserializeAws_json1_0HealthCheckConfiguration = (output, context) => {
2266
2266
  return {
2267
- HealthyThreshold: (0, smithy_client_1.expectInt32)(output.HealthyThreshold),
2268
- Interval: (0, smithy_client_1.expectInt32)(output.Interval),
2269
- Path: (0, smithy_client_1.expectString)(output.Path),
2270
- Protocol: (0, smithy_client_1.expectString)(output.Protocol),
2271
- Timeout: (0, smithy_client_1.expectInt32)(output.Timeout),
2272
- UnhealthyThreshold: (0, smithy_client_1.expectInt32)(output.UnhealthyThreshold),
2267
+ HealthyThreshold: smithy_client_1.expectInt32(output.HealthyThreshold),
2268
+ Interval: smithy_client_1.expectInt32(output.Interval),
2269
+ Path: smithy_client_1.expectString(output.Path),
2270
+ Protocol: smithy_client_1.expectString(output.Protocol),
2271
+ Timeout: smithy_client_1.expectInt32(output.Timeout),
2272
+ UnhealthyThreshold: smithy_client_1.expectInt32(output.UnhealthyThreshold),
2273
2273
  };
2274
2274
  };
2275
2275
  const deserializeAws_json1_0ImageConfiguration = (output, context) => {
2276
2276
  return {
2277
- Port: (0, smithy_client_1.expectString)(output.Port),
2277
+ Port: smithy_client_1.expectString(output.Port),
2278
2278
  RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables !== undefined && output.RuntimeEnvironmentVariables !== null
2279
2279
  ? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
2280
2280
  : undefined,
2281
- StartCommand: (0, smithy_client_1.expectString)(output.StartCommand),
2281
+ StartCommand: smithy_client_1.expectString(output.StartCommand),
2282
2282
  };
2283
2283
  };
2284
2284
  const deserializeAws_json1_0ImageRepository = (output, context) => {
@@ -2286,30 +2286,30 @@ const deserializeAws_json1_0ImageRepository = (output, context) => {
2286
2286
  ImageConfiguration: output.ImageConfiguration !== undefined && output.ImageConfiguration !== null
2287
2287
  ? deserializeAws_json1_0ImageConfiguration(output.ImageConfiguration, context)
2288
2288
  : undefined,
2289
- ImageIdentifier: (0, smithy_client_1.expectString)(output.ImageIdentifier),
2290
- ImageRepositoryType: (0, smithy_client_1.expectString)(output.ImageRepositoryType),
2289
+ ImageIdentifier: smithy_client_1.expectString(output.ImageIdentifier),
2290
+ ImageRepositoryType: smithy_client_1.expectString(output.ImageRepositoryType),
2291
2291
  };
2292
2292
  };
2293
2293
  const deserializeAws_json1_0InstanceConfiguration = (output, context) => {
2294
2294
  return {
2295
- Cpu: (0, smithy_client_1.expectString)(output.Cpu),
2296
- InstanceRoleArn: (0, smithy_client_1.expectString)(output.InstanceRoleArn),
2297
- Memory: (0, smithy_client_1.expectString)(output.Memory),
2295
+ Cpu: smithy_client_1.expectString(output.Cpu),
2296
+ InstanceRoleArn: smithy_client_1.expectString(output.InstanceRoleArn),
2297
+ Memory: smithy_client_1.expectString(output.Memory),
2298
2298
  };
2299
2299
  };
2300
2300
  const deserializeAws_json1_0InternalServiceErrorException = (output, context) => {
2301
2301
  return {
2302
- Message: (0, smithy_client_1.expectString)(output.Message),
2302
+ Message: smithy_client_1.expectString(output.Message),
2303
2303
  };
2304
2304
  };
2305
2305
  const deserializeAws_json1_0InvalidRequestException = (output, context) => {
2306
2306
  return {
2307
- Message: (0, smithy_client_1.expectString)(output.Message),
2307
+ Message: smithy_client_1.expectString(output.Message),
2308
2308
  };
2309
2309
  };
2310
2310
  const deserializeAws_json1_0InvalidStateException = (output, context) => {
2311
2311
  return {
2312
- Message: (0, smithy_client_1.expectString)(output.Message),
2312
+ Message: smithy_client_1.expectString(output.Message),
2313
2313
  };
2314
2314
  };
2315
2315
  const deserializeAws_json1_0ListAutoScalingConfigurationsResponse = (output, context) => {
@@ -2317,7 +2317,7 @@ const deserializeAws_json1_0ListAutoScalingConfigurationsResponse = (output, con
2317
2317
  AutoScalingConfigurationSummaryList: output.AutoScalingConfigurationSummaryList !== undefined && output.AutoScalingConfigurationSummaryList !== null
2318
2318
  ? deserializeAws_json1_0AutoScalingConfigurationSummaryList(output.AutoScalingConfigurationSummaryList, context)
2319
2319
  : undefined,
2320
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2320
+ NextToken: smithy_client_1.expectString(output.NextToken),
2321
2321
  };
2322
2322
  };
2323
2323
  const deserializeAws_json1_0ListConnectionsResponse = (output, context) => {
@@ -2325,12 +2325,12 @@ const deserializeAws_json1_0ListConnectionsResponse = (output, context) => {
2325
2325
  ConnectionSummaryList: output.ConnectionSummaryList !== undefined && output.ConnectionSummaryList !== null
2326
2326
  ? deserializeAws_json1_0ConnectionSummaryList(output.ConnectionSummaryList, context)
2327
2327
  : undefined,
2328
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2328
+ NextToken: smithy_client_1.expectString(output.NextToken),
2329
2329
  };
2330
2330
  };
2331
2331
  const deserializeAws_json1_0ListOperationsResponse = (output, context) => {
2332
2332
  return {
2333
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2333
+ NextToken: smithy_client_1.expectString(output.NextToken),
2334
2334
  OperationSummaryList: output.OperationSummaryList !== undefined && output.OperationSummaryList !== null
2335
2335
  ? deserializeAws_json1_0OperationSummaryList(output.OperationSummaryList, context)
2336
2336
  : undefined,
@@ -2338,7 +2338,7 @@ const deserializeAws_json1_0ListOperationsResponse = (output, context) => {
2338
2338
  };
2339
2339
  const deserializeAws_json1_0ListServicesResponse = (output, context) => {
2340
2340
  return {
2341
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2341
+ NextToken: smithy_client_1.expectString(output.NextToken),
2342
2342
  ServiceSummaryList: output.ServiceSummaryList !== undefined && output.ServiceSummaryList !== null
2343
2343
  ? deserializeAws_json1_0ServiceSummaryList(output.ServiceSummaryList, context)
2344
2344
  : undefined,
@@ -2353,16 +2353,18 @@ const deserializeAws_json1_0ListTagsForResourceResponse = (output, context) => {
2353
2353
  };
2354
2354
  const deserializeAws_json1_0OperationSummary = (output, context) => {
2355
2355
  return {
2356
- EndedAt: output.EndedAt !== undefined && output.EndedAt !== null ? new Date(Math.round(output.EndedAt * 1000)) : undefined,
2357
- Id: (0, smithy_client_1.expectString)(output.Id),
2356
+ EndedAt: output.EndedAt !== undefined && output.EndedAt !== null
2357
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndedAt)))
2358
+ : undefined,
2359
+ Id: smithy_client_1.expectString(output.Id),
2358
2360
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
2359
- ? new Date(Math.round(output.StartedAt * 1000))
2361
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
2360
2362
  : undefined,
2361
- Status: (0, smithy_client_1.expectString)(output.Status),
2362
- TargetArn: (0, smithy_client_1.expectString)(output.TargetArn),
2363
- Type: (0, smithy_client_1.expectString)(output.Type),
2363
+ Status: smithy_client_1.expectString(output.Status),
2364
+ TargetArn: smithy_client_1.expectString(output.TargetArn),
2365
+ Type: smithy_client_1.expectString(output.Type),
2364
2366
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
2365
- ? new Date(Math.round(output.UpdatedAt * 1000))
2367
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
2366
2368
  : undefined,
2367
2369
  };
2368
2370
  };
@@ -2378,7 +2380,7 @@ const deserializeAws_json1_0OperationSummaryList = (output, context) => {
2378
2380
  };
2379
2381
  const deserializeAws_json1_0PauseServiceResponse = (output, context) => {
2380
2382
  return {
2381
- OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2383
+ OperationId: smithy_client_1.expectString(output.OperationId),
2382
2384
  Service: output.Service !== undefined && output.Service !== null
2383
2385
  ? deserializeAws_json1_0Service(output.Service, context)
2384
2386
  : undefined,
@@ -2386,12 +2388,12 @@ const deserializeAws_json1_0PauseServiceResponse = (output, context) => {
2386
2388
  };
2387
2389
  const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
2388
2390
  return {
2389
- Message: (0, smithy_client_1.expectString)(output.Message),
2391
+ Message: smithy_client_1.expectString(output.Message),
2390
2392
  };
2391
2393
  };
2392
2394
  const deserializeAws_json1_0ResumeServiceResponse = (output, context) => {
2393
2395
  return {
2394
- OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2396
+ OperationId: smithy_client_1.expectString(output.OperationId),
2395
2397
  Service: output.Service !== undefined && output.Service !== null
2396
2398
  ? deserializeAws_json1_0Service(output.Service, context)
2397
2399
  : undefined,
@@ -2404,7 +2406,7 @@ const deserializeAws_json1_0RuntimeEnvironmentVariables = (output, context) => {
2404
2406
  }
2405
2407
  return {
2406
2408
  ...acc,
2407
- [key]: (0, smithy_client_1.expectString)(value),
2409
+ [key]: smithy_client_1.expectString(value),
2408
2410
  };
2409
2411
  }, {});
2410
2412
  };
@@ -2414,10 +2416,10 @@ const deserializeAws_json1_0Service = (output, context) => {
2414
2416
  ? deserializeAws_json1_0AutoScalingConfigurationSummary(output.AutoScalingConfigurationSummary, context)
2415
2417
  : undefined,
2416
2418
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2417
- ? new Date(Math.round(output.CreatedAt * 1000))
2419
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2418
2420
  : undefined,
2419
2421
  DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
2420
- ? new Date(Math.round(output.DeletedAt * 1000))
2422
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletedAt)))
2421
2423
  : undefined,
2422
2424
  EncryptionConfiguration: output.EncryptionConfiguration !== undefined && output.EncryptionConfiguration !== null
2423
2425
  ? deserializeAws_json1_0EncryptionConfiguration(output.EncryptionConfiguration, context)
@@ -2428,36 +2430,36 @@ const deserializeAws_json1_0Service = (output, context) => {
2428
2430
  InstanceConfiguration: output.InstanceConfiguration !== undefined && output.InstanceConfiguration !== null
2429
2431
  ? deserializeAws_json1_0InstanceConfiguration(output.InstanceConfiguration, context)
2430
2432
  : undefined,
2431
- ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
2432
- ServiceId: (0, smithy_client_1.expectString)(output.ServiceId),
2433
- ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
2434
- ServiceUrl: (0, smithy_client_1.expectString)(output.ServiceUrl),
2433
+ ServiceArn: smithy_client_1.expectString(output.ServiceArn),
2434
+ ServiceId: smithy_client_1.expectString(output.ServiceId),
2435
+ ServiceName: smithy_client_1.expectString(output.ServiceName),
2436
+ ServiceUrl: smithy_client_1.expectString(output.ServiceUrl),
2435
2437
  SourceConfiguration: output.SourceConfiguration !== undefined && output.SourceConfiguration !== null
2436
2438
  ? deserializeAws_json1_0SourceConfiguration(output.SourceConfiguration, context)
2437
2439
  : undefined,
2438
- Status: (0, smithy_client_1.expectString)(output.Status),
2440
+ Status: smithy_client_1.expectString(output.Status),
2439
2441
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
2440
- ? new Date(Math.round(output.UpdatedAt * 1000))
2442
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
2441
2443
  : undefined,
2442
2444
  };
2443
2445
  };
2444
2446
  const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) => {
2445
2447
  return {
2446
- Message: (0, smithy_client_1.expectString)(output.Message),
2448
+ Message: smithy_client_1.expectString(output.Message),
2447
2449
  };
2448
2450
  };
2449
2451
  const deserializeAws_json1_0ServiceSummary = (output, context) => {
2450
2452
  return {
2451
2453
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2452
- ? new Date(Math.round(output.CreatedAt * 1000))
2454
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2453
2455
  : undefined,
2454
- ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
2455
- ServiceId: (0, smithy_client_1.expectString)(output.ServiceId),
2456
- ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
2457
- ServiceUrl: (0, smithy_client_1.expectString)(output.ServiceUrl),
2458
- Status: (0, smithy_client_1.expectString)(output.Status),
2456
+ ServiceArn: smithy_client_1.expectString(output.ServiceArn),
2457
+ ServiceId: smithy_client_1.expectString(output.ServiceId),
2458
+ ServiceName: smithy_client_1.expectString(output.ServiceName),
2459
+ ServiceUrl: smithy_client_1.expectString(output.ServiceUrl),
2460
+ Status: smithy_client_1.expectString(output.Status),
2459
2461
  UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
2460
- ? new Date(Math.round(output.UpdatedAt * 1000))
2462
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
2461
2463
  : undefined,
2462
2464
  };
2463
2465
  };
@@ -2473,8 +2475,8 @@ const deserializeAws_json1_0ServiceSummaryList = (output, context) => {
2473
2475
  };
2474
2476
  const deserializeAws_json1_0SourceCodeVersion = (output, context) => {
2475
2477
  return {
2476
- Type: (0, smithy_client_1.expectString)(output.Type),
2477
- Value: (0, smithy_client_1.expectString)(output.Value),
2478
+ Type: smithy_client_1.expectString(output.Type),
2479
+ Value: smithy_client_1.expectString(output.Value),
2478
2480
  };
2479
2481
  };
2480
2482
  const deserializeAws_json1_0SourceConfiguration = (output, context) => {
@@ -2482,7 +2484,7 @@ const deserializeAws_json1_0SourceConfiguration = (output, context) => {
2482
2484
  AuthenticationConfiguration: output.AuthenticationConfiguration !== undefined && output.AuthenticationConfiguration !== null
2483
2485
  ? deserializeAws_json1_0AuthenticationConfiguration(output.AuthenticationConfiguration, context)
2484
2486
  : undefined,
2485
- AutoDeploymentsEnabled: (0, smithy_client_1.expectBoolean)(output.AutoDeploymentsEnabled),
2487
+ AutoDeploymentsEnabled: smithy_client_1.expectBoolean(output.AutoDeploymentsEnabled),
2486
2488
  CodeRepository: output.CodeRepository !== undefined && output.CodeRepository !== null
2487
2489
  ? deserializeAws_json1_0CodeRepository(output.CodeRepository, context)
2488
2490
  : undefined,
@@ -2493,13 +2495,13 @@ const deserializeAws_json1_0SourceConfiguration = (output, context) => {
2493
2495
  };
2494
2496
  const deserializeAws_json1_0StartDeploymentResponse = (output, context) => {
2495
2497
  return {
2496
- OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2498
+ OperationId: smithy_client_1.expectString(output.OperationId),
2497
2499
  };
2498
2500
  };
2499
2501
  const deserializeAws_json1_0Tag = (output, context) => {
2500
2502
  return {
2501
- Key: (0, smithy_client_1.expectString)(output.Key),
2502
- Value: (0, smithy_client_1.expectString)(output.Value),
2503
+ Key: smithy_client_1.expectString(output.Key),
2504
+ Value: smithy_client_1.expectString(output.Value),
2503
2505
  };
2504
2506
  };
2505
2507
  const deserializeAws_json1_0TagList = (output, context) => {
@@ -2520,7 +2522,7 @@ const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
2520
2522
  };
2521
2523
  const deserializeAws_json1_0UpdateServiceResponse = (output, context) => {
2522
2524
  return {
2523
- OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2525
+ OperationId: smithy_client_1.expectString(output.OperationId),
2524
2526
  Service: output.Service !== undefined && output.Service !== null
2525
2527
  ? deserializeAws_json1_0Service(output.Service, context)
2526
2528
  : undefined,