@aws-sdk/client-ecr 3.934.0 → 3.936.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 (53) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +538 -154
  3. package/dist-es/ECR.js +10 -0
  4. package/dist-es/commands/DeregisterPullTimeUpdateExclusionCommand.js +16 -0
  5. package/dist-es/commands/ListImageReferrersCommand.js +16 -0
  6. package/dist-es/commands/ListPullTimeUpdateExclusionsCommand.js +16 -0
  7. package/dist-es/commands/RegisterPullTimeUpdateExclusionCommand.js +16 -0
  8. package/dist-es/commands/UpdateImageStorageClassCommand.js +16 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/index.js +2 -1
  11. package/dist-es/models/enums.js +141 -0
  12. package/dist-es/models/errors.js +551 -0
  13. package/dist-es/models/models_0.js +1 -595
  14. package/dist-es/schemas/schemas_0.js +259 -52
  15. package/dist-types/ECR.d.ts +36 -0
  16. package/dist-types/ECRClient.d.ts +7 -2
  17. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +1 -1
  18. package/dist-types/commands/BatchDeleteImageCommand.d.ts +1 -1
  19. package/dist-types/commands/BatchGetImageCommand.d.ts +1 -1
  20. package/dist-types/commands/DeregisterPullTimeUpdateExclusionCommand.d.ts +107 -0
  21. package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeImagesCommand.d.ts +11 -8
  23. package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +9 -1
  24. package/dist-types/commands/ListImageReferrersCommand.d.ts +224 -0
  25. package/dist-types/commands/ListImagesCommand.d.ts +1 -0
  26. package/dist-types/commands/ListPullTimeUpdateExclusionsCommand.d.ts +127 -0
  27. package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +3 -0
  28. package/dist-types/commands/RegisterPullTimeUpdateExclusionCommand.d.ts +93 -0
  29. package/dist-types/commands/StartImageScanCommand.d.ts +8 -6
  30. package/dist-types/commands/UpdateImageStorageClassCommand.d.ts +156 -0
  31. package/dist-types/commands/index.d.ts +5 -0
  32. package/dist-types/index.d.ts +3 -1
  33. package/dist-types/models/enums.d.ts +349 -0
  34. package/dist-types/models/errors.d.ts +597 -0
  35. package/dist-types/models/models_0.d.ts +372 -812
  36. package/dist-types/schemas/schemas_0.d.ts +29 -0
  37. package/dist-types/ts3.4/ECR.d.ts +92 -0
  38. package/dist-types/ts3.4/ECRClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/DeregisterPullTimeUpdateExclusionCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/ListImageReferrersCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/ListPullTimeUpdateExclusionsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/RegisterPullTimeUpdateExclusionCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/UpdateImageStorageClassCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  45. package/dist-types/ts3.4/index.d.ts +3 -1
  46. package/dist-types/ts3.4/models/enums.d.ts +187 -0
  47. package/dist-types/ts3.4/models/errors.d.ts +369 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +100 -461
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
  50. package/package.json +19 -19
  51. package/dist-es/models/index.js +0 -1
  52. package/dist-types/models/index.d.ts +0 -1
  53. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -0,0 +1,127 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
4
+ import { ListPullTimeUpdateExclusionsRequest, ListPullTimeUpdateExclusionsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPullTimeUpdateExclusionsCommand}.
14
+ */
15
+ export interface ListPullTimeUpdateExclusionsCommandInput extends ListPullTimeUpdateExclusionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPullTimeUpdateExclusionsCommand}.
21
+ */
22
+ export interface ListPullTimeUpdateExclusionsCommandOutput extends ListPullTimeUpdateExclusionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListPullTimeUpdateExclusionsCommand_base: {
25
+ new (input: ListPullTimeUpdateExclusionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPullTimeUpdateExclusionsCommandInput, ListPullTimeUpdateExclusionsCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListPullTimeUpdateExclusionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListPullTimeUpdateExclusionsCommandInput, ListPullTimeUpdateExclusionsCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the IAM principals that are excluded from having their image pull times recorded.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ECRClient, ListPullTimeUpdateExclusionsCommand } from "@aws-sdk/client-ecr"; // ES Modules import
35
+ * // const { ECRClient, ListPullTimeUpdateExclusionsCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
36
+ * // import type { ECRClientConfig } from "@aws-sdk/client-ecr";
37
+ * const config = {}; // type is ECRClientConfig
38
+ * const client = new ECRClient(config);
39
+ * const input = { // ListPullTimeUpdateExclusionsRequest
40
+ * maxResults: Number("int"),
41
+ * nextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListPullTimeUpdateExclusionsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListPullTimeUpdateExclusionsResponse
46
+ * // pullTimeUpdateExclusions: [ // PullTimeUpdateExclusionList
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // nextToken: "STRING_VALUE",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListPullTimeUpdateExclusionsCommandInput - {@link ListPullTimeUpdateExclusionsCommandInput}
55
+ * @returns {@link ListPullTimeUpdateExclusionsCommandOutput}
56
+ * @see {@link ListPullTimeUpdateExclusionsCommandInput} for command's `input` shape.
57
+ * @see {@link ListPullTimeUpdateExclusionsCommandOutput} for command's `response` shape.
58
+ * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
59
+ *
60
+ * @throws {@link InvalidParameterException} (client fault)
61
+ * <p>The specified parameter is invalid. Review the available parameters for the API
62
+ * request.</p>
63
+ *
64
+ * @throws {@link LimitExceededException} (client fault)
65
+ * <p>The operation did not succeed because it would have exceeded a service limit for your
66
+ * account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
67
+ * the Amazon Elastic Container Registry User Guide.</p>
68
+ *
69
+ * @throws {@link ServerException} (server fault)
70
+ * <p>These errors are usually caused by a server-side issue.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>There was an exception validating this request.</p>
74
+ *
75
+ * @throws {@link ECRServiceException}
76
+ * <p>Base exception class for all service exceptions from ECR service.</p>
77
+ *
78
+ *
79
+ * @example To list all pull time update exclusions
80
+ * ```javascript
81
+ * // This example lists all IAM principals that are excluded from having their image pull timestamps recorded in the registry.
82
+ * const input = { /* empty *\/ };
83
+ * const command = new ListPullTimeUpdateExclusionsCommand(input);
84
+ * const response = await client.send(command);
85
+ * /* response is
86
+ * {
87
+ * pullTimeUpdateExclusions: [
88
+ * "arn:aws:iam::012345678910:role/ECRAccess"
89
+ * ]
90
+ * }
91
+ * *\/
92
+ * ```
93
+ *
94
+ * @example To list pull time update exclusions with pagination
95
+ * ```javascript
96
+ * // This example lists pull time update exclusions with pagination, requesting a maximum of 2 results per page.
97
+ * const input = {
98
+ * maxResults: 2
99
+ * };
100
+ * const command = new ListPullTimeUpdateExclusionsCommand(input);
101
+ * const response = await client.send(command);
102
+ * /* response is
103
+ * {
104
+ * nextToken: "eyJlbmNyeXB0ZWREYXRhIjpbXX0=",
105
+ * pullTimeUpdateExclusions: [
106
+ * "arn:aws:iam::012345678910:role/ECRAccess",
107
+ * "arn:aws:iam::012345678910:role/CICDPipeline"
108
+ * ]
109
+ * }
110
+ * *\/
111
+ * ```
112
+ *
113
+ * @public
114
+ */
115
+ export declare class ListPullTimeUpdateExclusionsCommand extends ListPullTimeUpdateExclusionsCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: ListPullTimeUpdateExclusionsRequest;
120
+ output: ListPullTimeUpdateExclusionsResponse;
121
+ };
122
+ sdk: {
123
+ input: ListPullTimeUpdateExclusionsCommandInput;
124
+ output: ListPullTimeUpdateExclusionsCommandOutput;
125
+ };
126
+ };
127
+ }
@@ -77,6 +77,9 @@ declare const PutRegistryScanningConfigurationCommand_base: {
77
77
  * @see {@link PutRegistryScanningConfigurationCommandOutput} for command's `response` shape.
78
78
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
79
79
  *
80
+ * @throws {@link BlockedByOrganizationPolicyException} (client fault)
81
+ * <p>The operation did not succeed because the account is managed by a organization policy.</p>
82
+ *
80
83
  * @throws {@link InvalidParameterException} (client fault)
81
84
  * <p>The specified parameter is invalid. Review the available parameters for the API
82
85
  * request.</p>
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
4
+ import { RegisterPullTimeUpdateExclusionRequest, RegisterPullTimeUpdateExclusionResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RegisterPullTimeUpdateExclusionCommand}.
14
+ */
15
+ export interface RegisterPullTimeUpdateExclusionCommandInput extends RegisterPullTimeUpdateExclusionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RegisterPullTimeUpdateExclusionCommand}.
21
+ */
22
+ export interface RegisterPullTimeUpdateExclusionCommandOutput extends RegisterPullTimeUpdateExclusionResponse, __MetadataBearer {
23
+ }
24
+ declare const RegisterPullTimeUpdateExclusionCommand_base: {
25
+ new (input: RegisterPullTimeUpdateExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterPullTimeUpdateExclusionCommandInput, RegisterPullTimeUpdateExclusionCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RegisterPullTimeUpdateExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterPullTimeUpdateExclusionCommandInput, RegisterPullTimeUpdateExclusionCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Adds an IAM principal to the pull time update exclusion list for a registry. Amazon ECR will not record the pull time if an excluded principal pulls an image.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ECRClient, RegisterPullTimeUpdateExclusionCommand } from "@aws-sdk/client-ecr"; // ES Modules import
35
+ * // const { ECRClient, RegisterPullTimeUpdateExclusionCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
36
+ * // import type { ECRClientConfig } from "@aws-sdk/client-ecr";
37
+ * const config = {}; // type is ECRClientConfig
38
+ * const client = new ECRClient(config);
39
+ * const input = { // RegisterPullTimeUpdateExclusionRequest
40
+ * principalArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new RegisterPullTimeUpdateExclusionCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // RegisterPullTimeUpdateExclusionResponse
45
+ * // principalArn: "STRING_VALUE",
46
+ * // createdAt: new Date("TIMESTAMP"),
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param RegisterPullTimeUpdateExclusionCommandInput - {@link RegisterPullTimeUpdateExclusionCommandInput}
52
+ * @returns {@link RegisterPullTimeUpdateExclusionCommandOutput}
53
+ * @see {@link RegisterPullTimeUpdateExclusionCommandInput} for command's `input` shape.
54
+ * @see {@link RegisterPullTimeUpdateExclusionCommandOutput} for command's `response` shape.
55
+ * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
56
+ *
57
+ * @throws {@link ExclusionAlreadyExistsException} (client fault)
58
+ * <p>The specified pull time update exclusion already exists for the registry.</p>
59
+ *
60
+ * @throws {@link InvalidParameterException} (client fault)
61
+ * <p>The specified parameter is invalid. Review the available parameters for the API
62
+ * request.</p>
63
+ *
64
+ * @throws {@link LimitExceededException} (client fault)
65
+ * <p>The operation did not succeed because it would have exceeded a service limit for your
66
+ * account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
67
+ * the Amazon Elastic Container Registry User Guide.</p>
68
+ *
69
+ * @throws {@link ServerException} (server fault)
70
+ * <p>These errors are usually caused by a server-side issue.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>There was an exception validating this request.</p>
74
+ *
75
+ * @throws {@link ECRServiceException}
76
+ * <p>Base exception class for all service exceptions from ECR service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class RegisterPullTimeUpdateExclusionCommand extends RegisterPullTimeUpdateExclusionCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: RegisterPullTimeUpdateExclusionRequest;
86
+ output: RegisterPullTimeUpdateExclusionResponse;
87
+ };
88
+ sdk: {
89
+ input: RegisterPullTimeUpdateExclusionCommandInput;
90
+ output: RegisterPullTimeUpdateExclusionCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -28,11 +28,10 @@ declare const StartImageScanCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Starts a basic image vulnerability scan.</p>
31
- * <p> A basic image scan can only be started once per 24
32
- * hours on an individual image. This limit includes if an image was scanned on initial
33
- * push. You can start up to 100,000 basic scans per 24 hours. This limit includes both scans on initial push
34
- * and scans initiated by the StartImageScan API. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning-basic.html">Basic scanning</a> in the
35
- * <i>Amazon Elastic Container Registry User Guide</i>.</p>
31
+ * <p> A basic image scan can only be started once per 24 hours on an individual image. This
32
+ * limit includes if an image was scanned on initial push. You can start up to 100,000
33
+ * basic scans per 24 hours. This limit includes both scans on initial push and scans
34
+ * initiated by the StartImageScan API. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning-basic.html">Basic scanning</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
36
35
  * @example
37
36
  * Use a bare-bones client and the command you need to make an API call.
38
37
  * ```javascript
@@ -59,7 +58,7 @@ declare const StartImageScanCommand_base: {
59
58
  * // imageTag: "STRING_VALUE",
60
59
  * // },
61
60
  * // imageScanStatus: { // ImageScanStatus
62
- * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE" || "LIMIT_EXCEEDED",
61
+ * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE" || "LIMIT_EXCEEDED" || "IMAGE_ARCHIVED",
63
62
  * // description: "STRING_VALUE",
64
63
  * // },
65
64
  * // };
@@ -72,6 +71,9 @@ declare const StartImageScanCommand_base: {
72
71
  * @see {@link StartImageScanCommandOutput} for command's `response` shape.
73
72
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
74
73
  *
74
+ * @throws {@link ImageArchivedException} (client fault)
75
+ * <p>The specified image is archived and cannot be scanned.</p>
76
+ *
75
77
  * @throws {@link ImageNotFoundException} (client fault)
76
78
  * <p>The image requested does not exist in the specified repository.</p>
77
79
  *
@@ -0,0 +1,156 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
4
+ import { UpdateImageStorageClassRequest, UpdateImageStorageClassResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateImageStorageClassCommand}.
14
+ */
15
+ export interface UpdateImageStorageClassCommandInput extends UpdateImageStorageClassRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateImageStorageClassCommand}.
21
+ */
22
+ export interface UpdateImageStorageClassCommandOutput extends UpdateImageStorageClassResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateImageStorageClassCommand_base: {
25
+ new (input: UpdateImageStorageClassCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateImageStorageClassCommandInput, UpdateImageStorageClassCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateImageStorageClassCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateImageStorageClassCommandInput, UpdateImageStorageClassCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Transitions an image between storage classes. You can transition images from Amazon ECR standard storage class to Amazon ECR archival storage class for long-term storage, or restore archived images back to Amazon ECR standard.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ECRClient, UpdateImageStorageClassCommand } from "@aws-sdk/client-ecr"; // ES Modules import
35
+ * // const { ECRClient, UpdateImageStorageClassCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
36
+ * // import type { ECRClientConfig } from "@aws-sdk/client-ecr";
37
+ * const config = {}; // type is ECRClientConfig
38
+ * const client = new ECRClient(config);
39
+ * const input = { // UpdateImageStorageClassRequest
40
+ * registryId: "STRING_VALUE",
41
+ * repositoryName: "STRING_VALUE", // required
42
+ * imageId: { // ImageIdentifier
43
+ * imageDigest: "STRING_VALUE",
44
+ * imageTag: "STRING_VALUE",
45
+ * },
46
+ * targetStorageClass: "STANDARD" || "ARCHIVE", // required
47
+ * };
48
+ * const command = new UpdateImageStorageClassCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // UpdateImageStorageClassResponse
51
+ * // registryId: "STRING_VALUE",
52
+ * // repositoryName: "STRING_VALUE",
53
+ * // imageId: { // ImageIdentifier
54
+ * // imageDigest: "STRING_VALUE",
55
+ * // imageTag: "STRING_VALUE",
56
+ * // },
57
+ * // imageStatus: "ACTIVE" || "ARCHIVED" || "ACTIVATING",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param UpdateImageStorageClassCommandInput - {@link UpdateImageStorageClassCommandInput}
63
+ * @returns {@link UpdateImageStorageClassCommandOutput}
64
+ * @see {@link UpdateImageStorageClassCommandInput} for command's `input` shape.
65
+ * @see {@link UpdateImageStorageClassCommandOutput} for command's `response` shape.
66
+ * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
67
+ *
68
+ * @throws {@link ImageNotFoundException} (client fault)
69
+ * <p>The image requested does not exist in the specified repository.</p>
70
+ *
71
+ * @throws {@link ImageStorageClassUpdateNotSupportedException} (client fault)
72
+ * <p>The requested image storage class update is not supported.</p>
73
+ *
74
+ * @throws {@link InvalidParameterException} (client fault)
75
+ * <p>The specified parameter is invalid. Review the available parameters for the API
76
+ * request.</p>
77
+ *
78
+ * @throws {@link RepositoryNotFoundException} (client fault)
79
+ * <p>The specified repository could not be found. Check the spelling of the specified
80
+ * repository and ensure that you are performing operations on the correct registry.</p>
81
+ *
82
+ * @throws {@link ServerException} (server fault)
83
+ * <p>These errors are usually caused by a server-side issue.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>There was an exception validating this request.</p>
87
+ *
88
+ * @throws {@link ECRServiceException}
89
+ * <p>Base exception class for all service exceptions from ECR service.</p>
90
+ *
91
+ *
92
+ * @example To transition an image to Amazon ECR Archive
93
+ * ```javascript
94
+ * // This example transitions an image with a specific digest in the hello-repository repository to Amazon ECR Archive storage for long-term archival.
95
+ * const input = {
96
+ * imageId: {
97
+ * imageDigest: "sha256:0b1a4e0c81c434fa7928e5c4a2651a521ebabc4ff200c65f7e25b99373efca3b"
98
+ * },
99
+ * registryId: "724772093679",
100
+ * repositoryName: "hello-repository",
101
+ * targetStorageClass: "ARCHIVE"
102
+ * };
103
+ * const command = new UpdateImageStorageClassCommand(input);
104
+ * const response = await client.send(command);
105
+ * /* response is
106
+ * {
107
+ * imageId: {
108
+ * imageDigest: "sha256:0b1a4e0c81c434fa7928e5c4a2651a521ebabc4ff200c65f7e25b99373efca3b"
109
+ * },
110
+ * imageStatus: "ARCHIVED",
111
+ * registryId: "724772093679",
112
+ * repositoryName: "hello-repository"
113
+ * }
114
+ * *\/
115
+ * ```
116
+ *
117
+ * @example To restore an archived image to Amazon ECR Standard
118
+ * ```javascript
119
+ * // This example restores an archived image with a specific digest back to Amazon ECR Standard storage.
120
+ * const input = {
121
+ * imageId: {
122
+ * imageDigest: "sha256:0b1a4e0c81c434fa7928e5c4a2651a521ebabc4ff200c65f7e25b99373efca3b"
123
+ * },
124
+ * registryId: "724772093679",
125
+ * repositoryName: "hello-repository",
126
+ * targetStorageClass: "STANDARD"
127
+ * };
128
+ * const command = new UpdateImageStorageClassCommand(input);
129
+ * const response = await client.send(command);
130
+ * /* response is
131
+ * {
132
+ * imageId: {
133
+ * imageDigest: "sha256:0b1a4e0c81c434fa7928e5c4a2651a521ebabc4ff200c65f7e25b99373efca3b"
134
+ * },
135
+ * imageStatus: "ACTIVATING",
136
+ * registryId: "724772093679",
137
+ * repositoryName: "hello-repository"
138
+ * }
139
+ * *\/
140
+ * ```
141
+ *
142
+ * @public
143
+ */
144
+ export declare class UpdateImageStorageClassCommand extends UpdateImageStorageClassCommand_base {
145
+ /** @internal type navigation helper, not in runtime. */
146
+ protected static __types: {
147
+ api: {
148
+ input: UpdateImageStorageClassRequest;
149
+ output: UpdateImageStorageClassResponse;
150
+ };
151
+ sdk: {
152
+ input: UpdateImageStorageClassCommandInput;
153
+ output: UpdateImageStorageClassCommandOutput;
154
+ };
155
+ };
156
+ }
@@ -12,6 +12,7 @@ export * from "./DeleteRegistryPolicyCommand";
12
12
  export * from "./DeleteRepositoryCommand";
13
13
  export * from "./DeleteRepositoryCreationTemplateCommand";
14
14
  export * from "./DeleteRepositoryPolicyCommand";
15
+ export * from "./DeregisterPullTimeUpdateExclusionCommand";
15
16
  export * from "./DescribeImageReplicationStatusCommand";
16
17
  export * from "./DescribeImageScanFindingsCommand";
17
18
  export * from "./DescribeImagesCommand";
@@ -28,7 +29,9 @@ export * from "./GetRegistryPolicyCommand";
28
29
  export * from "./GetRegistryScanningConfigurationCommand";
29
30
  export * from "./GetRepositoryPolicyCommand";
30
31
  export * from "./InitiateLayerUploadCommand";
32
+ export * from "./ListImageReferrersCommand";
31
33
  export * from "./ListImagesCommand";
34
+ export * from "./ListPullTimeUpdateExclusionsCommand";
32
35
  export * from "./ListTagsForResourceCommand";
33
36
  export * from "./PutAccountSettingCommand";
34
37
  export * from "./PutImageCommand";
@@ -38,11 +41,13 @@ export * from "./PutLifecyclePolicyCommand";
38
41
  export * from "./PutRegistryPolicyCommand";
39
42
  export * from "./PutRegistryScanningConfigurationCommand";
40
43
  export * from "./PutReplicationConfigurationCommand";
44
+ export * from "./RegisterPullTimeUpdateExclusionCommand";
41
45
  export * from "./SetRepositoryPolicyCommand";
42
46
  export * from "./StartImageScanCommand";
43
47
  export * from "./StartLifecyclePolicyPreviewCommand";
44
48
  export * from "./TagResourceCommand";
45
49
  export * from "./UntagResourceCommand";
50
+ export * from "./UpdateImageStorageClassCommand";
46
51
  export * from "./UpdatePullThroughCacheRuleCommand";
47
52
  export * from "./UpdateRepositoryCreationTemplateCommand";
48
53
  export * from "./UploadLayerPartCommand";
@@ -19,5 +19,7 @@ export type { ECRExtensionConfiguration } from "./extensionConfiguration";
19
19
  export * from "./commands";
20
20
  export * from "./pagination";
21
21
  export * from "./waiters";
22
- export * from "./models";
22
+ export * from "./models/enums";
23
+ export * from "./models/errors";
24
+ export type * from "./models/models_0";
23
25
  export { ECRServiceException } from "./models/ECRServiceException";