@aws-sdk/client-ecr 3.36.0 → 3.39.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 (114) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/ECR.js +0 -11
  3. package/dist-cjs/ECRClient.js +0 -16
  4. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +0 -31
  5. package/dist-cjs/commands/BatchDeleteImageCommand.js +0 -29
  6. package/dist-cjs/commands/BatchGetImageCommand.js +0 -27
  7. package/dist-cjs/commands/CompleteLayerUploadCommand.js +0 -32
  8. package/dist-cjs/commands/CreateRepositoryCommand.js +0 -25
  9. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +0 -24
  10. package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +0 -24
  11. package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -26
  12. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +0 -24
  13. package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +0 -24
  14. package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +0 -24
  15. package/dist-cjs/commands/DescribeImagesCommand.js +0 -30
  16. package/dist-cjs/commands/DescribeRegistryCommand.js +0 -26
  17. package/dist-cjs/commands/DescribeRepositoriesCommand.js +0 -24
  18. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -31
  19. package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +0 -31
  20. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +0 -24
  21. package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +0 -25
  22. package/dist-cjs/commands/GetRegistryPolicyCommand.js +0 -24
  23. package/dist-cjs/commands/GetRepositoryPolicyCommand.js +0 -24
  24. package/dist-cjs/commands/InitiateLayerUploadCommand.js +0 -31
  25. package/dist-cjs/commands/ListImagesCommand.js +0 -30
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  27. package/dist-cjs/commands/PutImageCommand.js +0 -32
  28. package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +0 -24
  29. package/dist-cjs/commands/PutImageTagMutabilityCommand.js +0 -26
  30. package/dist-cjs/commands/PutLifecyclePolicyCommand.js +0 -26
  31. package/dist-cjs/commands/PutRegistryPolicyCommand.js +0 -26
  32. package/dist-cjs/commands/PutReplicationConfigurationCommand.js +0 -34
  33. package/dist-cjs/commands/SetRepositoryPolicyCommand.js +0 -26
  34. package/dist-cjs/commands/StartImageScanCommand.js +0 -27
  35. package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +0 -25
  36. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  37. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  38. package/dist-cjs/commands/UploadLayerPartCommand.js +0 -31
  39. package/dist-cjs/commands/index.js +38 -0
  40. package/dist-cjs/endpoints.js +10 -1
  41. package/dist-cjs/index.js +5 -45
  42. package/dist-cjs/models/models_0.js +0 -381
  43. package/dist-cjs/pagination/DescribeImageScanFindingsPaginator.js +0 -10
  44. package/dist-cjs/pagination/DescribeImagesPaginator.js +0 -10
  45. package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +0 -10
  46. package/dist-cjs/pagination/GetLifecyclePolicyPreviewPaginator.js +0 -10
  47. package/dist-cjs/pagination/ListImagesPaginator.js +0 -10
  48. package/dist-cjs/pagination/index.js +9 -0
  49. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  50. package/dist-cjs/runtimeConfig.browser.js +1 -5
  51. package/dist-cjs/runtimeConfig.js +1 -5
  52. package/dist-cjs/runtimeConfig.native.js +0 -3
  53. package/dist-cjs/runtimeConfig.shared.js +0 -3
  54. package/dist-cjs/waiters/index.js +5 -0
  55. package/dist-cjs/waiters/waitForImageScanComplete.js +0 -9
  56. package/dist-cjs/waiters/waitForLifecyclePolicyPreviewComplete.js +0 -9
  57. package/dist-es/commands/index.js +35 -0
  58. package/dist-es/endpoints.js +10 -1
  59. package/dist-es/index.js +5 -45
  60. package/dist-es/pagination/index.js +6 -0
  61. package/dist-es/waiters/index.js +2 -0
  62. package/dist-types/commands/index.d.ts +35 -0
  63. package/dist-types/index.d.ts +5 -45
  64. package/dist-types/pagination/index.d.ts +6 -0
  65. package/dist-types/ts3.4/ECR.d.ts +36 -216
  66. package/dist-types/ts3.4/ECRClient.d.ts +24 -97
  67. package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -27
  68. package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -25
  69. package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +2 -23
  70. package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -28
  71. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -21
  72. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +2 -20
  74. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -22
  75. package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -20
  76. package/dist-types/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +2 -20
  78. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -26
  79. package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +2 -22
  80. package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -27
  82. package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +2 -27
  83. package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +2 -21
  85. package/dist-types/ts3.4/commands/GetRegistryPolicyCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -27
  88. package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +2 -26
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/PutImageCommand.d.ts +2 -28
  91. package/dist-types/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +2 -22
  93. package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +2 -22
  94. package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +2 -22
  95. package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +2 -30
  96. package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -22
  97. package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +2 -23
  98. package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +2 -21
  99. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -27
  102. package/dist-types/ts3.4/commands/index.d.ts +35 -0
  103. package/dist-types/ts3.4/index.d.ts +5 -45
  104. package/dist-types/ts3.4/models/models_0.d.ts +478 -1712
  105. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  109. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  110. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  111. package/dist-types/ts3.4/waiters/waitForImageScanComplete.d.ts +2 -9
  112. package/dist-types/ts3.4/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +2 -9
  113. package/dist-types/waiters/index.d.ts +2 -0
  114. package/package.json +33 -33
@@ -0,0 +1,6 @@
1
+ export * from "./DescribeImageScanFindingsPaginator";
2
+ export * from "./DescribeImagesPaginator";
3
+ export * from "./DescribeRepositoriesPaginator";
4
+ export * from "./GetLifecyclePolicyPreviewPaginator";
5
+ export * from "./Interfaces";
6
+ export * from "./ListImagesPaginator";
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { ECRClientConfig } from "./ECRClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: ECRClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
2
  import { ECRClientConfig } from "./ECRClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: ECRClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
@@ -1,7 +1,5 @@
1
1
  import { ECRClientConfig } from "./ECRClient";
2
- /**
3
- * @internal
4
- */
2
+
5
3
  export declare const getRuntimeConfig: (config: ECRClientConfig) => {
6
4
  runtime: string;
7
5
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,8 +1,6 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { ECRClientConfig } from "./ECRClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: ECRClientConfig) => {
7
5
  apiVersion: string;
8
6
  disableHostPrefix: boolean;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForImageScanComplete";
2
+ export * from "./waitForLifecyclePolicyPreviewComplete";
@@ -1,14 +1,7 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
2
2
  import { DescribeImageScanFindingsCommandInput } from "../commands/DescribeImageScanFindingsCommand";
3
3
  import { ECRClient } from "../ECRClient";
4
- /**
5
- * Wait until an image scan is complete and findings can be accessed
6
- * @deprecated Use waitUntilImageScanComplete instead. waitForImageScanComplete does not throw error in non-success cases.
7
- */
4
+
8
5
  export declare const waitForImageScanComplete: (params: WaiterConfiguration<ECRClient>, input: DescribeImageScanFindingsCommandInput) => Promise<WaiterResult>;
9
- /**
10
- * Wait until an image scan is complete and findings can be accessed
11
- * @param params - Waiter configuration options.
12
- * @param input - The input to DescribeImageScanFindingsCommand for polling.
13
- */
6
+
14
7
  export declare const waitUntilImageScanComplete: (params: WaiterConfiguration<ECRClient>, input: DescribeImageScanFindingsCommandInput) => Promise<WaiterResult>;
@@ -1,14 +1,7 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
2
2
  import { GetLifecyclePolicyPreviewCommandInput } from "../commands/GetLifecyclePolicyPreviewCommand";
3
3
  import { ECRClient } from "../ECRClient";
4
- /**
5
- * Wait until a lifecycle policy preview request is complete and results can be accessed
6
- * @deprecated Use waitUntilLifecyclePolicyPreviewComplete instead. waitForLifecyclePolicyPreviewComplete does not throw error in non-success cases.
7
- */
4
+
8
5
  export declare const waitForLifecyclePolicyPreviewComplete: (params: WaiterConfiguration<ECRClient>, input: GetLifecyclePolicyPreviewCommandInput) => Promise<WaiterResult>;
9
- /**
10
- * Wait until a lifecycle policy preview request is complete and results can be accessed
11
- * @param params - Waiter configuration options.
12
- * @param input - The input to GetLifecyclePolicyPreviewCommand for polling.
13
- */
6
+
14
7
  export declare const waitUntilLifecyclePolicyPreviewComplete: (params: WaiterConfiguration<ECRClient>, input: GetLifecyclePolicyPreviewCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForImageScanComplete";
2
+ export * from "./waitForLifecyclePolicyPreviewComplete";
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.36.0",
4
+ "version": "3.39.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -19,41 +19,41 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "^1.0.0",
23
- "@aws-crypto/sha256-js": "^1.0.0",
24
- "@aws-sdk/client-sts": "3.36.0",
25
- "@aws-sdk/config-resolver": "3.36.0",
26
- "@aws-sdk/credential-provider-node": "3.36.0",
27
- "@aws-sdk/fetch-http-handler": "3.36.0",
28
- "@aws-sdk/hash-node": "3.36.0",
29
- "@aws-sdk/invalid-dependency": "3.36.0",
30
- "@aws-sdk/middleware-content-length": "3.36.0",
31
- "@aws-sdk/middleware-host-header": "3.36.0",
32
- "@aws-sdk/middleware-logger": "3.36.0",
33
- "@aws-sdk/middleware-retry": "3.36.0",
34
- "@aws-sdk/middleware-serde": "3.36.0",
35
- "@aws-sdk/middleware-signing": "3.36.0",
36
- "@aws-sdk/middleware-stack": "3.36.0",
37
- "@aws-sdk/middleware-user-agent": "3.36.0",
38
- "@aws-sdk/node-config-provider": "3.36.0",
39
- "@aws-sdk/node-http-handler": "3.36.0",
40
- "@aws-sdk/protocol-http": "3.36.0",
41
- "@aws-sdk/smithy-client": "3.36.0",
42
- "@aws-sdk/types": "3.36.0",
43
- "@aws-sdk/url-parser": "3.36.0",
44
- "@aws-sdk/util-base64-browser": "3.36.0",
45
- "@aws-sdk/util-base64-node": "3.36.0",
46
- "@aws-sdk/util-body-length-browser": "3.36.0",
47
- "@aws-sdk/util-body-length-node": "3.36.0",
48
- "@aws-sdk/util-user-agent-browser": "3.36.0",
49
- "@aws-sdk/util-user-agent-node": "3.36.0",
50
- "@aws-sdk/util-utf8-browser": "3.36.0",
51
- "@aws-sdk/util-utf8-node": "3.36.0",
52
- "@aws-sdk/util-waiter": "3.36.0",
22
+ "@aws-crypto/sha256-browser": "2.0.0",
23
+ "@aws-crypto/sha256-js": "2.0.0",
24
+ "@aws-sdk/client-sts": "3.39.0",
25
+ "@aws-sdk/config-resolver": "3.39.0",
26
+ "@aws-sdk/credential-provider-node": "3.39.0",
27
+ "@aws-sdk/fetch-http-handler": "3.38.0",
28
+ "@aws-sdk/hash-node": "3.38.0",
29
+ "@aws-sdk/invalid-dependency": "3.38.0",
30
+ "@aws-sdk/middleware-content-length": "3.38.0",
31
+ "@aws-sdk/middleware-host-header": "3.38.0",
32
+ "@aws-sdk/middleware-logger": "3.38.0",
33
+ "@aws-sdk/middleware-retry": "3.39.0",
34
+ "@aws-sdk/middleware-serde": "3.38.0",
35
+ "@aws-sdk/middleware-signing": "3.39.0",
36
+ "@aws-sdk/middleware-stack": "3.38.0",
37
+ "@aws-sdk/middleware-user-agent": "3.38.0",
38
+ "@aws-sdk/node-config-provider": "3.39.0",
39
+ "@aws-sdk/node-http-handler": "3.38.0",
40
+ "@aws-sdk/protocol-http": "3.38.0",
41
+ "@aws-sdk/smithy-client": "3.38.0",
42
+ "@aws-sdk/types": "3.38.0",
43
+ "@aws-sdk/url-parser": "3.38.0",
44
+ "@aws-sdk/util-base64-browser": "3.37.0",
45
+ "@aws-sdk/util-base64-node": "3.37.0",
46
+ "@aws-sdk/util-body-length-browser": "3.37.0",
47
+ "@aws-sdk/util-body-length-node": "3.37.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.38.0",
49
+ "@aws-sdk/util-user-agent-node": "3.39.0",
50
+ "@aws-sdk/util-utf8-browser": "3.37.0",
51
+ "@aws-sdk/util-utf8-node": "3.37.0",
52
+ "@aws-sdk/util-waiter": "3.38.0",
53
53
  "tslib": "^2.3.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@aws-sdk/client-documentation-generator": "3.36.0",
56
+ "@aws-sdk/service-client-documentation-generator": "3.38.0",
57
57
  "@types/node": "^12.7.5",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "jest": "^26.1.0",