@aws-sdk/client-ecr 3.33.0 → 3.34.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 (140) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/ECR.ts +37 -0
  3. package/ECRClient.ts +6 -0
  4. package/commands/DescribeImageReplicationStatusCommand.ts +102 -0
  5. package/dist/cjs/ECR.js +15 -0
  6. package/dist/cjs/ECR.js.map +1 -1
  7. package/dist/cjs/ECRClient.js.map +1 -1
  8. package/dist/cjs/commands/DescribeImageReplicationStatusCommand.js +61 -0
  9. package/dist/cjs/commands/DescribeImageReplicationStatusCommand.js.map +1 -0
  10. package/dist/cjs/index.js +1 -0
  11. package/dist/cjs/index.js.map +1 -1
  12. package/dist/cjs/models/models_0.js +67 -21
  13. package/dist/cjs/models/models_0.js.map +1 -1
  14. package/dist/cjs/package.json +39 -39
  15. package/dist/cjs/protocols/Aws_json1_1.js +193 -2
  16. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  17. package/dist/es/ECR.js +16 -12
  18. package/dist/es/ECR.js.map +1 -1
  19. package/dist/es/ECRClient.js +1 -17
  20. package/dist/es/ECRClient.js.map +1 -1
  21. package/dist/es/commands/BatchCheckLayerAvailabilityCommand.js +2 -34
  22. package/dist/es/commands/BatchCheckLayerAvailabilityCommand.js.map +1 -1
  23. package/dist/es/commands/BatchDeleteImageCommand.js +2 -32
  24. package/dist/es/commands/BatchDeleteImageCommand.js.map +1 -1
  25. package/dist/es/commands/BatchGetImageCommand.js +2 -30
  26. package/dist/es/commands/BatchGetImageCommand.js.map +1 -1
  27. package/dist/es/commands/CompleteLayerUploadCommand.js +2 -35
  28. package/dist/es/commands/CompleteLayerUploadCommand.js.map +1 -1
  29. package/dist/es/commands/CreateRepositoryCommand.js +2 -28
  30. package/dist/es/commands/CreateRepositoryCommand.js.map +1 -1
  31. package/dist/es/commands/DeleteLifecyclePolicyCommand.js +2 -27
  32. package/dist/es/commands/DeleteLifecyclePolicyCommand.js.map +1 -1
  33. package/dist/es/commands/DeleteRegistryPolicyCommand.js +2 -27
  34. package/dist/es/commands/DeleteRegistryPolicyCommand.js.map +1 -1
  35. package/dist/es/commands/DeleteRepositoryCommand.js +2 -29
  36. package/dist/es/commands/DeleteRepositoryCommand.js.map +1 -1
  37. package/dist/es/commands/DeleteRepositoryPolicyCommand.js +2 -27
  38. package/dist/es/commands/DeleteRepositoryPolicyCommand.js.map +1 -1
  39. package/dist/es/commands/DescribeImageReplicationStatusCommand.js +40 -0
  40. package/dist/es/commands/DescribeImageReplicationStatusCommand.js.map +1 -0
  41. package/dist/es/commands/DescribeImageScanFindingsCommand.js +2 -27
  42. package/dist/es/commands/DescribeImageScanFindingsCommand.js.map +1 -1
  43. package/dist/es/commands/DescribeImagesCommand.js +2 -33
  44. package/dist/es/commands/DescribeImagesCommand.js.map +1 -1
  45. package/dist/es/commands/DescribeRegistryCommand.js +2 -29
  46. package/dist/es/commands/DescribeRegistryCommand.js.map +1 -1
  47. package/dist/es/commands/DescribeRepositoriesCommand.js +2 -27
  48. package/dist/es/commands/DescribeRepositoriesCommand.js.map +1 -1
  49. package/dist/es/commands/GetAuthorizationTokenCommand.js +2 -34
  50. package/dist/es/commands/GetAuthorizationTokenCommand.js.map +1 -1
  51. package/dist/es/commands/GetDownloadUrlForLayerCommand.js +2 -34
  52. package/dist/es/commands/GetDownloadUrlForLayerCommand.js.map +1 -1
  53. package/dist/es/commands/GetLifecyclePolicyCommand.js +2 -27
  54. package/dist/es/commands/GetLifecyclePolicyCommand.js.map +1 -1
  55. package/dist/es/commands/GetLifecyclePolicyPreviewCommand.js +2 -28
  56. package/dist/es/commands/GetLifecyclePolicyPreviewCommand.js.map +1 -1
  57. package/dist/es/commands/GetRegistryPolicyCommand.js +2 -27
  58. package/dist/es/commands/GetRegistryPolicyCommand.js.map +1 -1
  59. package/dist/es/commands/GetRepositoryPolicyCommand.js +2 -27
  60. package/dist/es/commands/GetRepositoryPolicyCommand.js.map +1 -1
  61. package/dist/es/commands/InitiateLayerUploadCommand.js +2 -34
  62. package/dist/es/commands/InitiateLayerUploadCommand.js.map +1 -1
  63. package/dist/es/commands/ListImagesCommand.js +2 -33
  64. package/dist/es/commands/ListImagesCommand.js.map +1 -1
  65. package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
  66. package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
  67. package/dist/es/commands/PutImageCommand.js +2 -35
  68. package/dist/es/commands/PutImageCommand.js.map +1 -1
  69. package/dist/es/commands/PutImageScanningConfigurationCommand.js +2 -27
  70. package/dist/es/commands/PutImageScanningConfigurationCommand.js.map +1 -1
  71. package/dist/es/commands/PutImageTagMutabilityCommand.js +2 -29
  72. package/dist/es/commands/PutImageTagMutabilityCommand.js.map +1 -1
  73. package/dist/es/commands/PutLifecyclePolicyCommand.js +2 -29
  74. package/dist/es/commands/PutLifecyclePolicyCommand.js.map +1 -1
  75. package/dist/es/commands/PutRegistryPolicyCommand.js +2 -29
  76. package/dist/es/commands/PutRegistryPolicyCommand.js.map +1 -1
  77. package/dist/es/commands/PutReplicationConfigurationCommand.js +2 -37
  78. package/dist/es/commands/PutReplicationConfigurationCommand.js.map +1 -1
  79. package/dist/es/commands/SetRepositoryPolicyCommand.js +2 -29
  80. package/dist/es/commands/SetRepositoryPolicyCommand.js.map +1 -1
  81. package/dist/es/commands/StartImageScanCommand.js +2 -30
  82. package/dist/es/commands/StartImageScanCommand.js.map +1 -1
  83. package/dist/es/commands/StartLifecyclePolicyPreviewCommand.js +2 -28
  84. package/dist/es/commands/StartLifecyclePolicyPreviewCommand.js.map +1 -1
  85. package/dist/es/commands/TagResourceCommand.js +2 -28
  86. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  87. package/dist/es/commands/UntagResourceCommand.js +2 -27
  88. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  89. package/dist/es/commands/UploadLayerPartCommand.js +2 -34
  90. package/dist/es/commands/UploadLayerPartCommand.js.map +1 -1
  91. package/dist/es/endpoints.js +1 -1
  92. package/dist/es/endpoints.js.map +1 -1
  93. package/dist/es/index.js +1 -0
  94. package/dist/es/index.js.map +1 -1
  95. package/dist/es/models/models_0.js +34 -377
  96. package/dist/es/models/models_0.js.map +1 -1
  97. package/dist/es/package.json +39 -39
  98. package/dist/es/pagination/DescribeImageScanFindingsPaginator.js +16 -28
  99. package/dist/es/pagination/DescribeImageScanFindingsPaginator.js.map +1 -1
  100. package/dist/es/pagination/DescribeImagesPaginator.js +16 -28
  101. package/dist/es/pagination/DescribeImagesPaginator.js.map +1 -1
  102. package/dist/es/pagination/DescribeRepositoriesPaginator.js +16 -28
  103. package/dist/es/pagination/DescribeRepositoriesPaginator.js.map +1 -1
  104. package/dist/es/pagination/GetLifecyclePolicyPreviewPaginator.js +16 -28
  105. package/dist/es/pagination/GetLifecyclePolicyPreviewPaginator.js.map +1 -1
  106. package/dist/es/pagination/ListImagesPaginator.js +16 -28
  107. package/dist/es/pagination/ListImagesPaginator.js.map +1 -1
  108. package/dist/es/protocols/Aws_json1_1.js +1069 -882
  109. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  110. package/dist/es/runtimeConfig.browser.js +0 -3
  111. package/dist/es/runtimeConfig.browser.js.map +1 -1
  112. package/dist/es/runtimeConfig.js +0 -3
  113. package/dist/es/runtimeConfig.js.map +1 -1
  114. package/dist/es/runtimeConfig.native.js +0 -3
  115. package/dist/es/runtimeConfig.native.js.map +1 -1
  116. package/dist/es/runtimeConfig.shared.js +0 -3
  117. package/dist/es/runtimeConfig.shared.js.map +1 -1
  118. package/dist/es/waiters/waitForImageScanComplete.js +9 -18
  119. package/dist/es/waiters/waitForImageScanComplete.js.map +1 -1
  120. package/dist/es/waiters/waitForLifecyclePolicyPreviewComplete.js +9 -18
  121. package/dist/es/waiters/waitForLifecyclePolicyPreviewComplete.js.map +1 -1
  122. package/dist/types/ECR.d.ts +7 -0
  123. package/dist/types/ECRClient.d.ts +3 -2
  124. package/dist/types/commands/DescribeImageReplicationStatusCommand.d.ts +35 -0
  125. package/dist/types/index.d.ts +1 -0
  126. package/dist/types/models/models_0.d.ts +154 -43
  127. package/dist/types/protocols/Aws_json1_1.d.ts +3 -0
  128. package/dist/types/ts3.4/ECR.d.ts +7 -0
  129. package/dist/types/ts3.4/ECRClient.d.ts +3 -2
  130. package/dist/types/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +35 -0
  131. package/dist/types/ts3.4/index.d.ts +1 -0
  132. package/dist/types/ts3.4/models/models_0.d.ts +154 -43
  133. package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
  134. package/index.ts +1 -0
  135. package/models/models_0.ts +190 -51
  136. package/package.json +39 -39
  137. package/protocols/Aws_json1_1.ts +229 -0
  138. package/tsconfig.es.json +0 -2
  139. package/tsconfig.json +4 -5
  140. package/tsconfig.types.json +8 -0
@@ -190,7 +190,7 @@ export namespace ServerException {
190
190
  }
191
191
 
192
192
  /**
193
- * <p>An object with identifying information for an Amazon ECR image.</p>
193
+ * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
194
194
  */
195
195
  export interface ImageIdentifier {
196
196
  /**
@@ -707,6 +707,12 @@ export namespace Tag {
707
707
  }
708
708
 
709
709
  export interface CreateRepositoryRequest {
710
+ /**
711
+ * <p>The AWS account ID associated with the registry to create the repository.
712
+ * If you do not specify a registry, the default registry is assumed.</p>
713
+ */
714
+ registryId?: string;
715
+
710
716
  /**
711
717
  * <p>The name to use for the repository. The repository name may be specified on its own
712
718
  * (such as <code>nginx-web-app</code>) or it can be prepended with a namespace to group
@@ -1030,6 +1036,24 @@ export namespace RegistryPolicyNotFoundException {
1030
1036
  });
1031
1037
  }
1032
1038
 
1039
+ /**
1040
+ * <p>There was an exception validating this request.</p>
1041
+ */
1042
+ export interface ValidationException extends __SmithyException, $MetadataBearer {
1043
+ name: "ValidationException";
1044
+ $fault: "client";
1045
+ message?: string;
1046
+ }
1047
+
1048
+ export namespace ValidationException {
1049
+ /**
1050
+ * @internal
1051
+ */
1052
+ export const filterSensitiveLog = (obj: ValidationException): any => ({
1053
+ ...obj,
1054
+ });
1055
+ }
1056
+
1033
1057
  export interface DeleteRepositoryRequest {
1034
1058
  /**
1035
1059
  * <p>The Amazon Web Services account ID associated with the registry that contains the repository to
@@ -1166,6 +1190,116 @@ export namespace RepositoryPolicyNotFoundException {
1166
1190
  });
1167
1191
  }
1168
1192
 
1193
+ export interface DescribeImageReplicationStatusRequest {
1194
+ /**
1195
+ * <p>The name of the repository that the image is in.</p>
1196
+ */
1197
+ repositoryName: string | undefined;
1198
+
1199
+ /**
1200
+ * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
1201
+ */
1202
+ imageId: ImageIdentifier | undefined;
1203
+
1204
+ /**
1205
+ * <p>The Amazon Web Services account ID associated with the registry. If you do not specify a registry, the default registry is assumed.</p>
1206
+ */
1207
+ registryId?: string;
1208
+ }
1209
+
1210
+ export namespace DescribeImageReplicationStatusRequest {
1211
+ /**
1212
+ * @internal
1213
+ */
1214
+ export const filterSensitiveLog = (obj: DescribeImageReplicationStatusRequest): any => ({
1215
+ ...obj,
1216
+ });
1217
+ }
1218
+
1219
+ export enum ReplicationStatus {
1220
+ COMPLETE = "COMPLETE",
1221
+ FAILED = "FAILED",
1222
+ IN_PROGRESS = "IN_PROGRESS",
1223
+ }
1224
+
1225
+ /**
1226
+ * <p>The status of the replication process for an image.</p>
1227
+ */
1228
+ export interface ImageReplicationStatus {
1229
+ /**
1230
+ * <p>The destination Region for the image replication.</p>
1231
+ */
1232
+ region?: string;
1233
+
1234
+ /**
1235
+ * <p>The AWS account ID associated with the registry to which the image belongs.</p>
1236
+ */
1237
+ registryId?: string;
1238
+
1239
+ /**
1240
+ * <p>The image replication status.</p>
1241
+ */
1242
+ status?: ReplicationStatus | string;
1243
+
1244
+ /**
1245
+ * <p>The failure code for a replication that has failed.</p>
1246
+ */
1247
+ failureCode?: string;
1248
+ }
1249
+
1250
+ export namespace ImageReplicationStatus {
1251
+ /**
1252
+ * @internal
1253
+ */
1254
+ export const filterSensitiveLog = (obj: ImageReplicationStatus): any => ({
1255
+ ...obj,
1256
+ });
1257
+ }
1258
+
1259
+ export interface DescribeImageReplicationStatusResponse {
1260
+ /**
1261
+ * <p>The repository name associated with the request.</p>
1262
+ */
1263
+ repositoryName?: string;
1264
+
1265
+ /**
1266
+ * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
1267
+ */
1268
+ imageId?: ImageIdentifier;
1269
+
1270
+ /**
1271
+ * <p>The replication status details for the images in the specified repository.</p>
1272
+ */
1273
+ replicationStatuses?: ImageReplicationStatus[];
1274
+ }
1275
+
1276
+ export namespace DescribeImageReplicationStatusResponse {
1277
+ /**
1278
+ * @internal
1279
+ */
1280
+ export const filterSensitiveLog = (obj: DescribeImageReplicationStatusResponse): any => ({
1281
+ ...obj,
1282
+ });
1283
+ }
1284
+
1285
+ /**
1286
+ * <p>The image requested does not exist in the specified repository.</p>
1287
+ */
1288
+ export interface ImageNotFoundException extends __SmithyException, $MetadataBearer {
1289
+ name: "ImageNotFoundException";
1290
+ $fault: "client";
1291
+ message?: string;
1292
+ }
1293
+
1294
+ export namespace ImageNotFoundException {
1295
+ /**
1296
+ * @internal
1297
+ */
1298
+ export const filterSensitiveLog = (obj: ImageNotFoundException): any => ({
1299
+ ...obj,
1300
+ });
1301
+ }
1302
+
1169
1303
  export enum TagStatus {
1170
1304
  ANY = "ANY",
1171
1305
  TAGGED = "TAGGED",
@@ -1418,24 +1552,6 @@ export namespace DescribeImagesResponse {
1418
1552
  });
1419
1553
  }
1420
1554
 
1421
- /**
1422
- * <p>The image requested does not exist in the specified repository.</p>
1423
- */
1424
- export interface ImageNotFoundException extends __SmithyException, $MetadataBearer {
1425
- name: "ImageNotFoundException";
1426
- $fault: "client";
1427
- message?: string;
1428
- }
1429
-
1430
- export namespace ImageNotFoundException {
1431
- /**
1432
- * @internal
1433
- */
1434
- export const filterSensitiveLog = (obj: ImageNotFoundException): any => ({
1435
- ...obj,
1436
- });
1437
- }
1438
-
1439
1555
  export interface DescribeImageScanFindingsRequest {
1440
1556
  /**
1441
1557
  * <p>The Amazon Web Services account ID associated with the registry that contains the repository in
@@ -1449,7 +1565,7 @@ export interface DescribeImageScanFindingsRequest {
1449
1565
  repositoryName: string | undefined;
1450
1566
 
1451
1567
  /**
1452
- * <p>An object with identifying information for an Amazon ECR image.</p>
1568
+ * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
1453
1569
  */
1454
1570
  imageId: ImageIdentifier | undefined;
1455
1571
 
@@ -1594,7 +1710,7 @@ export interface DescribeImageScanFindingsResponse {
1594
1710
  repositoryName?: string;
1595
1711
 
1596
1712
  /**
1597
- * <p>An object with identifying information for an Amazon ECR image.</p>
1713
+ * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
1598
1714
  */
1599
1715
  imageId?: ImageIdentifier;
1600
1716
 
@@ -1658,16 +1774,17 @@ export namespace DescribeRegistryRequest {
1658
1774
  }
1659
1775
 
1660
1776
  /**
1661
- * <p>An array of objects representing the details of a replication destination.</p>
1777
+ * <p>An array of objects representing the destination for a replication rule.</p>
1662
1778
  */
1663
1779
  export interface ReplicationDestination {
1664
1780
  /**
1665
- * <p>A Region to replicate to.</p>
1781
+ * <p>The Region to replicate to.</p>
1666
1782
  */
1667
1783
  region: string | undefined;
1668
1784
 
1669
1785
  /**
1670
- * <p>The account ID of the destination registry to replicate to.</p>
1786
+ * <p>The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring
1787
+ * cross-Region replication within your own registry, specify your own account ID.</p>
1671
1788
  */
1672
1789
  registryId: string | undefined;
1673
1790
  }
@@ -1681,16 +1798,57 @@ export namespace ReplicationDestination {
1681
1798
  });
1682
1799
  }
1683
1800
 
1801
+ export enum RepositoryFilterType {
1802
+ PREFIX_MATCH = "PREFIX_MATCH",
1803
+ }
1804
+
1684
1805
  /**
1685
- * <p>An array of objects representing the replication destinations for a replication
1686
- * configuration. A replication configuration may contain only one replication rule but the
1687
- * rule may contain one or more replication destinations.</p>
1806
+ * <p>The filter settings used with image replication. Specifying a repository filter to a
1807
+ * replication rule provides a method for controlling which repositories in a private
1808
+ * registry are replicated. If no repository filter is specified, all images in the
1809
+ * repository are replicated.</p>
1810
+ */
1811
+ export interface RepositoryFilter {
1812
+ /**
1813
+ * <p>The repository filter details. When the <code>PREFIX_MATCH</code> filter type is
1814
+ * specified, this value is required and should be the repository name prefix to configure
1815
+ * replication for.</p>
1816
+ */
1817
+ filter: string | undefined;
1818
+
1819
+ /**
1820
+ * <p>The repository filter type. The only supported value is <code>PREFIX_MATCH</code>,
1821
+ * which is a repository name prefix specified with the <code>filter</code>
1822
+ * parameter.</p>
1823
+ */
1824
+ filterType: RepositoryFilterType | string | undefined;
1825
+ }
1826
+
1827
+ export namespace RepositoryFilter {
1828
+ /**
1829
+ * @internal
1830
+ */
1831
+ export const filterSensitiveLog = (obj: RepositoryFilter): any => ({
1832
+ ...obj,
1833
+ });
1834
+ }
1835
+
1836
+ /**
1837
+ * <p>An array of objects representing the replication destinations and repository filters
1838
+ * for a replication configuration.</p>
1688
1839
  */
1689
1840
  export interface ReplicationRule {
1690
1841
  /**
1691
- * <p>An array of objects representing the details of a replication destination.</p>
1842
+ * <p>An array of objects representing the destination for a replication rule.</p>
1692
1843
  */
1693
1844
  destinations: ReplicationDestination[] | undefined;
1845
+
1846
+ /**
1847
+ * <p>An array of objects representing the filters for a replication rule. Specifying a
1848
+ * repository filter for a replication rule provides a method for controlling which
1849
+ * repositories in a private registry are replicated.</p>
1850
+ */
1851
+ repositoryFilters?: RepositoryFilter[];
1694
1852
  }
1695
1853
 
1696
1854
  export namespace ReplicationRule {
@@ -1707,9 +1865,8 @@ export namespace ReplicationRule {
1707
1865
  */
1708
1866
  export interface ReplicationConfiguration {
1709
1867
  /**
1710
- * <p>An array of objects representing the replication rules for a replication
1711
- * configuration. A replication configuration may contain only one replication rule but the
1712
- * rule may contain one or more replication destinations.</p>
1868
+ * <p>An array of objects representing the replication destinations and repository filters
1869
+ * for a replication configuration.</p>
1713
1870
  */
1714
1871
  rules: ReplicationRule[] | undefined;
1715
1872
  }
@@ -1744,24 +1901,6 @@ export namespace DescribeRegistryResponse {
1744
1901
  });
1745
1902
  }
1746
1903
 
1747
- /**
1748
- * <p>There was an exception validating this request.</p>
1749
- */
1750
- export interface ValidationException extends __SmithyException, $MetadataBearer {
1751
- name: "ValidationException";
1752
- $fault: "client";
1753
- message?: string;
1754
- }
1755
-
1756
- export namespace ValidationException {
1757
- /**
1758
- * @internal
1759
- */
1760
- export const filterSensitiveLog = (obj: ValidationException): any => ({
1761
- ...obj,
1762
- });
1763
- }
1764
-
1765
1904
  export interface DescribeRepositoriesRequest {
1766
1905
  /**
1767
1906
  * <p>The Amazon Web Services account ID associated with the registry that contains the repositories to be
@@ -2997,7 +3136,7 @@ export interface StartImageScanRequest {
2997
3136
  repositoryName: string | undefined;
2998
3137
 
2999
3138
  /**
3000
- * <p>An object with identifying information for an Amazon ECR image.</p>
3139
+ * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
3001
3140
  */
3002
3141
  imageId: ImageIdentifier | undefined;
3003
3142
  }
@@ -3023,7 +3162,7 @@ export interface StartImageScanResponse {
3023
3162
  repositoryName?: string;
3024
3163
 
3025
3164
  /**
3026
- * <p>An object with identifying information for an Amazon ECR image.</p>
3165
+ * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
3027
3166
  */
3028
3167
  imageId?: ImageIdentifier;
3029
3168
 
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecr",
3
3
  "description": "AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native",
4
- "version": "3.33.0",
4
+ "version": "3.34.0",
5
5
  "scripts": {
6
- "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
- "build-documentation": "yarn remove-documentation && typedoc ./",
8
- "remove-definitions": "rimraf ./types",
9
- "remove-dist": "rimraf ./dist",
10
- "remove-documentation": "rimraf ./docs",
11
- "test": "exit 0",
6
+ "build": "yarn build:cjs && yarn build:es && yarn build:types",
12
7
  "build:cjs": "tsc -p tsconfig.json",
8
+ "build:docs": "yarn clean:docs && typedoc ./",
13
9
  "build:es": "tsc -p tsconfig.es.json",
14
- "build": "yarn build:cjs && yarn build:es",
15
- "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "clean": "yarn clean:dist && yarn clean:docs",
12
+ "clean:dist": "rimraf ./dist",
13
+ "clean:docs": "rimraf ./docs",
14
+ "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
15
+ "test": "exit 0"
16
16
  },
17
17
  "main": "./dist/cjs/index.js",
18
18
  "types": "./dist/types/index.d.ts",
@@ -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.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
- "@aws-sdk/util-waiter": "3.32.0",
30
+ "@aws-sdk/client-sts": "3.34.0",
31
+ "@aws-sdk/config-resolver": "3.34.0",
32
+ "@aws-sdk/credential-provider-node": "3.34.0",
33
+ "@aws-sdk/fetch-http-handler": "3.34.0",
34
+ "@aws-sdk/hash-node": "3.34.0",
35
+ "@aws-sdk/invalid-dependency": "3.34.0",
36
+ "@aws-sdk/middleware-content-length": "3.34.0",
37
+ "@aws-sdk/middleware-host-header": "3.34.0",
38
+ "@aws-sdk/middleware-logger": "3.34.0",
39
+ "@aws-sdk/middleware-retry": "3.34.0",
40
+ "@aws-sdk/middleware-serde": "3.34.0",
41
+ "@aws-sdk/middleware-signing": "3.34.0",
42
+ "@aws-sdk/middleware-stack": "3.34.0",
43
+ "@aws-sdk/middleware-user-agent": "3.34.0",
44
+ "@aws-sdk/node-config-provider": "3.34.0",
45
+ "@aws-sdk/node-http-handler": "3.34.0",
46
+ "@aws-sdk/protocol-http": "3.34.0",
47
+ "@aws-sdk/smithy-client": "3.34.0",
48
+ "@aws-sdk/types": "3.34.0",
49
+ "@aws-sdk/url-parser": "3.34.0",
50
+ "@aws-sdk/util-base64-browser": "3.34.0",
51
+ "@aws-sdk/util-base64-node": "3.34.0",
52
+ "@aws-sdk/util-body-length-browser": "3.34.0",
53
+ "@aws-sdk/util-body-length-node": "3.34.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.34.0",
55
+ "@aws-sdk/util-user-agent-node": "3.34.0",
56
+ "@aws-sdk/util-utf8-browser": "3.34.0",
57
+ "@aws-sdk/util-utf8-node": "3.34.0",
58
+ "@aws-sdk/util-waiter": "3.34.0",
59
59
  "tslib": "^2.3.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.32.0",
62
+ "@aws-sdk/client-documentation-generator": "3.34.0",
63
63
  "@types/node": "^12.7.5",
64
64
  "downlevel-dts": "0.7.0",
65
65
  "jest": "^26.1.0",