@aws-sdk/client-mediaconvert 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 (84) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/cjs/MediaConvertClient.js +13 -13
  3. package/dist/cjs/MediaConvertClient.js.map +1 -1
  4. package/dist/cjs/commands/AssociateCertificateCommand.js +3 -3
  5. package/dist/cjs/commands/AssociateCertificateCommand.js.map +1 -1
  6. package/dist/cjs/commands/CancelJobCommand.js +3 -3
  7. package/dist/cjs/commands/CancelJobCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateJobCommand.js +3 -3
  9. package/dist/cjs/commands/CreateJobCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateJobTemplateCommand.js +3 -3
  11. package/dist/cjs/commands/CreateJobTemplateCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreatePresetCommand.js +3 -3
  13. package/dist/cjs/commands/CreatePresetCommand.js.map +1 -1
  14. package/dist/cjs/commands/CreateQueueCommand.js +3 -3
  15. package/dist/cjs/commands/CreateQueueCommand.js.map +1 -1
  16. package/dist/cjs/commands/DeleteJobTemplateCommand.js +3 -3
  17. package/dist/cjs/commands/DeleteJobTemplateCommand.js.map +1 -1
  18. package/dist/cjs/commands/DeletePresetCommand.js +3 -3
  19. package/dist/cjs/commands/DeletePresetCommand.js.map +1 -1
  20. package/dist/cjs/commands/DeleteQueueCommand.js +3 -3
  21. package/dist/cjs/commands/DeleteQueueCommand.js.map +1 -1
  22. package/dist/cjs/commands/DescribeEndpointsCommand.js +3 -3
  23. package/dist/cjs/commands/DescribeEndpointsCommand.js.map +1 -1
  24. package/dist/cjs/commands/DisassociateCertificateCommand.js +3 -3
  25. package/dist/cjs/commands/DisassociateCertificateCommand.js.map +1 -1
  26. package/dist/cjs/commands/GetJobCommand.js +3 -3
  27. package/dist/cjs/commands/GetJobCommand.js.map +1 -1
  28. package/dist/cjs/commands/GetJobTemplateCommand.js +3 -3
  29. package/dist/cjs/commands/GetJobTemplateCommand.js.map +1 -1
  30. package/dist/cjs/commands/GetPresetCommand.js +3 -3
  31. package/dist/cjs/commands/GetPresetCommand.js.map +1 -1
  32. package/dist/cjs/commands/GetQueueCommand.js +3 -3
  33. package/dist/cjs/commands/GetQueueCommand.js.map +1 -1
  34. package/dist/cjs/commands/ListJobTemplatesCommand.js +3 -3
  35. package/dist/cjs/commands/ListJobTemplatesCommand.js.map +1 -1
  36. package/dist/cjs/commands/ListJobsCommand.js +3 -3
  37. package/dist/cjs/commands/ListJobsCommand.js.map +1 -1
  38. package/dist/cjs/commands/ListPresetsCommand.js +3 -3
  39. package/dist/cjs/commands/ListPresetsCommand.js.map +1 -1
  40. package/dist/cjs/commands/ListQueuesCommand.js +3 -3
  41. package/dist/cjs/commands/ListQueuesCommand.js.map +1 -1
  42. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  43. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  44. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  45. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  46. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  47. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  48. package/dist/cjs/commands/UpdateJobTemplateCommand.js +3 -3
  49. package/dist/cjs/commands/UpdateJobTemplateCommand.js.map +1 -1
  50. package/dist/cjs/commands/UpdatePresetCommand.js +3 -3
  51. package/dist/cjs/commands/UpdatePresetCommand.js.map +1 -1
  52. package/dist/cjs/commands/UpdateQueueCommand.js +3 -3
  53. package/dist/cjs/commands/UpdateQueueCommand.js.map +1 -1
  54. package/dist/cjs/endpoints.js +1 -1
  55. package/dist/cjs/endpoints.js.map +1 -1
  56. package/dist/cjs/index.js +34 -34
  57. package/dist/cjs/index.js.map +1 -1
  58. package/dist/cjs/models/index.js +2 -2
  59. package/dist/cjs/models/index.js.map +1 -1
  60. package/dist/cjs/package.json +31 -31
  61. package/dist/cjs/protocols/Aws_restJson1.js +901 -901
  62. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  63. package/dist/cjs/runtimeConfig.browser.js +4 -4
  64. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  65. package/dist/cjs/runtimeConfig.js +8 -8
  66. package/dist/cjs/runtimeConfig.js.map +1 -1
  67. package/dist/cjs/runtimeConfig.native.js +1 -1
  68. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  69. package/dist/es/package.json +31 -31
  70. package/dist/es/pagination/DescribeEndpointsPaginator.js +4 -4
  71. package/dist/es/pagination/DescribeEndpointsPaginator.js.map +1 -1
  72. package/dist/es/pagination/ListJobTemplatesPaginator.js +4 -4
  73. package/dist/es/pagination/ListJobTemplatesPaginator.js.map +1 -1
  74. package/dist/es/pagination/ListJobsPaginator.js +4 -4
  75. package/dist/es/pagination/ListJobsPaginator.js.map +1 -1
  76. package/dist/es/pagination/ListPresetsPaginator.js +4 -4
  77. package/dist/es/pagination/ListPresetsPaginator.js.map +1 -1
  78. package/dist/es/pagination/ListQueuesPaginator.js +4 -4
  79. package/dist/es/pagination/ListQueuesPaginator.js.map +1 -1
  80. package/dist/es/protocols/Aws_restJson1.js +14 -14
  81. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  82. package/package.json +31 -31
  83. package/protocols/Aws_restJson1.ts +15 -13
  84. package/tsconfig.json +1 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediaconvert",
3
3
  "description": "AWS SDK for JavaScript Mediaconvert Client for Node.js, Browser and React Native",
4
- "version": "3.29.0",
4
+ "version": "3.33.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,39 +27,39 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.29.0",
31
- "@aws-sdk/config-resolver": "3.29.0",
32
- "@aws-sdk/credential-provider-node": "3.29.0",
33
- "@aws-sdk/fetch-http-handler": "3.29.0",
34
- "@aws-sdk/hash-node": "3.29.0",
35
- "@aws-sdk/invalid-dependency": "3.29.0",
36
- "@aws-sdk/middleware-content-length": "3.29.0",
37
- "@aws-sdk/middleware-host-header": "3.29.0",
38
- "@aws-sdk/middleware-logger": "3.29.0",
39
- "@aws-sdk/middleware-retry": "3.29.0",
40
- "@aws-sdk/middleware-serde": "3.29.0",
41
- "@aws-sdk/middleware-signing": "3.29.0",
42
- "@aws-sdk/middleware-stack": "3.29.0",
43
- "@aws-sdk/middleware-user-agent": "3.29.0",
44
- "@aws-sdk/node-config-provider": "3.29.0",
45
- "@aws-sdk/node-http-handler": "3.29.0",
46
- "@aws-sdk/protocol-http": "3.29.0",
47
- "@aws-sdk/smithy-client": "3.29.0",
48
- "@aws-sdk/types": "3.29.0",
49
- "@aws-sdk/url-parser": "3.29.0",
50
- "@aws-sdk/util-base64-browser": "3.29.0",
51
- "@aws-sdk/util-base64-node": "3.29.0",
52
- "@aws-sdk/util-body-length-browser": "3.29.0",
53
- "@aws-sdk/util-body-length-node": "3.29.0",
54
- "@aws-sdk/util-user-agent-browser": "3.29.0",
55
- "@aws-sdk/util-user-agent-node": "3.29.0",
56
- "@aws-sdk/util-utf8-browser": "3.29.0",
57
- "@aws-sdk/util-utf8-node": "3.29.0",
30
+ "@aws-sdk/client-sts": "3.33.0",
31
+ "@aws-sdk/config-resolver": "3.33.0",
32
+ "@aws-sdk/credential-provider-node": "3.33.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.33.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.33.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0",
59
59
  "uuid": "^8.3.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.29.0",
62
+ "@aws-sdk/client-documentation-generator": "3.32.0",
63
63
  "@types/node": "^12.7.5",
64
64
  "@types/uuid": "^8.3.0",
65
65
  "downlevel-dts": "0.7.0",
@@ -67,7 +67,7 @@
67
67
  "rimraf": "^3.0.0",
68
68
  "ts-jest": "^26.4.1",
69
69
  "typedoc": "^0.19.2",
70
- "typescript": "~4.4.2"
70
+ "typescript": "~4.3.5"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=10.0.0"
@@ -209,10 +209,12 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a
209
209
  import {
210
210
  expectInt32 as __expectInt32,
211
211
  expectNonNull as __expectNonNull,
212
+ expectNumber as __expectNumber,
212
213
  expectObject as __expectObject,
213
214
  expectString as __expectString,
214
215
  extendedEncodeURIComponent as __extendedEncodeURIComponent,
215
216
  limitedParseDouble as __limitedParseDouble,
217
+ parseEpochTimestamp as __parseEpochTimestamp,
216
218
  serializeFloat as __serializeFloat,
217
219
  } from "@aws-sdk/smithy-client";
218
220
  import {
@@ -8466,7 +8468,7 @@ const deserializeAws_restJson1Job = (output: any, context: __SerdeContext): Job
8466
8468
  BillingTagsSource: __expectString(output.billingTagsSource),
8467
8469
  CreatedAt:
8468
8470
  output.createdAt !== undefined && output.createdAt !== null
8469
- ? new Date(Math.round(output.createdAt * 1000))
8471
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
8470
8472
  : undefined,
8471
8473
  CurrentPhase: __expectString(output.currentPhase),
8472
8474
  ErrorCode: __expectInt32(output.errorCode),
@@ -8585,7 +8587,7 @@ const deserializeAws_restJson1JobTemplate = (output: any, context: __SerdeContex
8585
8587
  Category: __expectString(output.category),
8586
8588
  CreatedAt:
8587
8589
  output.createdAt !== undefined && output.createdAt !== null
8588
- ? new Date(Math.round(output.createdAt * 1000))
8590
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
8589
8591
  : undefined,
8590
8592
  Description: __expectString(output.description),
8591
8593
  HopDestinations:
@@ -8594,7 +8596,7 @@ const deserializeAws_restJson1JobTemplate = (output: any, context: __SerdeContex
8594
8596
  : undefined,
8595
8597
  LastUpdated:
8596
8598
  output.lastUpdated !== undefined && output.lastUpdated !== null
8597
- ? new Date(Math.round(output.lastUpdated * 1000))
8599
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
8598
8600
  : undefined,
8599
8601
  Name: __expectString(output.name),
8600
8602
  Priority: __expectInt32(output.priority),
@@ -9189,12 +9191,12 @@ const deserializeAws_restJson1Preset = (output: any, context: __SerdeContext): P
9189
9191
  Category: __expectString(output.category),
9190
9192
  CreatedAt:
9191
9193
  output.createdAt !== undefined && output.createdAt !== null
9192
- ? new Date(Math.round(output.createdAt * 1000))
9194
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
9193
9195
  : undefined,
9194
9196
  Description: __expectString(output.description),
9195
9197
  LastUpdated:
9196
9198
  output.lastUpdated !== undefined && output.lastUpdated !== null
9197
- ? new Date(Math.round(output.lastUpdated * 1000))
9199
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
9198
9200
  : undefined,
9199
9201
  Name: __expectString(output.name),
9200
9202
  Settings:
@@ -9249,12 +9251,12 @@ const deserializeAws_restJson1Queue = (output: any, context: __SerdeContext): Qu
9249
9251
  Arn: __expectString(output.arn),
9250
9252
  CreatedAt:
9251
9253
  output.createdAt !== undefined && output.createdAt !== null
9252
- ? new Date(Math.round(output.createdAt * 1000))
9254
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
9253
9255
  : undefined,
9254
9256
  Description: __expectString(output.description),
9255
9257
  LastUpdated:
9256
9258
  output.lastUpdated !== undefined && output.lastUpdated !== null
9257
- ? new Date(Math.round(output.lastUpdated * 1000))
9259
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
9258
9260
  : undefined,
9259
9261
  Name: __expectString(output.name),
9260
9262
  PricingPlan: __expectString(output.pricingPlan),
@@ -9275,7 +9277,7 @@ const deserializeAws_restJson1QueueTransition = (output: any, context: __SerdeCo
9275
9277
  SourceQueue: __expectString(output.sourceQueue),
9276
9278
  Timestamp:
9277
9279
  output.timestamp !== undefined && output.timestamp !== null
9278
- ? new Date(Math.round(output.timestamp * 1000))
9280
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp)))
9279
9281
  : undefined,
9280
9282
  } as any;
9281
9283
  };
@@ -9305,11 +9307,11 @@ const deserializeAws_restJson1ReservationPlan = (output: any, context: __SerdeCo
9305
9307
  Commitment: __expectString(output.commitment),
9306
9308
  ExpiresAt:
9307
9309
  output.expiresAt !== undefined && output.expiresAt !== null
9308
- ? new Date(Math.round(output.expiresAt * 1000))
9310
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expiresAt)))
9309
9311
  : undefined,
9310
9312
  PurchasedAt:
9311
9313
  output.purchasedAt !== undefined && output.purchasedAt !== null
9312
- ? new Date(Math.round(output.purchasedAt * 1000))
9314
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.purchasedAt)))
9313
9315
  : undefined,
9314
9316
  RenewalType: __expectString(output.renewalType),
9315
9317
  ReservedSlots: __expectInt32(output.reservedSlots),
@@ -9473,15 +9475,15 @@ const deserializeAws_restJson1Timing = (output: any, context: __SerdeContext): T
9473
9475
  return {
9474
9476
  FinishTime:
9475
9477
  output.finishTime !== undefined && output.finishTime !== null
9476
- ? new Date(Math.round(output.finishTime * 1000))
9478
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.finishTime)))
9477
9479
  : undefined,
9478
9480
  StartTime:
9479
9481
  output.startTime !== undefined && output.startTime !== null
9480
- ? new Date(Math.round(output.startTime * 1000))
9482
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
9481
9483
  : undefined,
9482
9484
  SubmitTime:
9483
9485
  output.submitTime !== undefined && output.submitTime !== null
9484
- ? new Date(Math.round(output.submitTime * 1000))
9486
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.submitTime)))
9485
9487
  : undefined,
9486
9488
  } as any;
9487
9489
  };
package/tsconfig.json CHANGED
@@ -13,8 +13,7 @@
13
13
  "resolveJsonModule": true,
14
14
  "esModuleInterop": true,
15
15
  "declarationDir": "./dist/types",
16
- "outDir": "dist/cjs",
17
- "useUnknownInCatchVariables": false
16
+ "outDir": "dist/cjs"
18
17
  },
19
18
  "typedocOptions": {
20
19
  "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],