@aws-sdk/client-ecr 3.289.0 → 3.292.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 (42) hide show
  1. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +12 -0
  2. package/dist-types/commands/BatchDeleteImageCommand.d.ts +12 -0
  3. package/dist-types/commands/BatchGetImageCommand.d.ts +12 -0
  4. package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +15 -0
  5. package/dist-types/commands/CompleteLayerUploadCommand.d.ts +32 -0
  6. package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +23 -0
  7. package/dist-types/commands/CreateRepositoryCommand.d.ts +27 -0
  8. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +16 -0
  9. package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +15 -0
  10. package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +14 -0
  11. package/dist-types/commands/DeleteRepositoryCommand.d.ts +19 -0
  12. package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +16 -0
  13. package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +18 -0
  14. package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +22 -0
  15. package/dist-types/commands/DescribeImagesCommand.d.ts +15 -0
  16. package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +15 -0
  17. package/dist-types/commands/DescribeRegistryCommand.d.ts +11 -0
  18. package/dist-types/commands/DescribeRepositoriesCommand.d.ts +12 -0
  19. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +8 -0
  20. package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +20 -0
  21. package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +16 -0
  22. package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +15 -0
  23. package/dist-types/commands/GetRegistryPolicyCommand.d.ts +14 -0
  24. package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +11 -0
  25. package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +16 -0
  26. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +15 -0
  27. package/dist-types/commands/ListImagesCommand.d.ts +12 -0
  28. package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -0
  29. package/dist-types/commands/PutImageCommand.d.ts +39 -0
  30. package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +15 -0
  31. package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +12 -0
  32. package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +12 -0
  33. package/dist-types/commands/PutRegistryPolicyCommand.d.ts +11 -0
  34. package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +11 -0
  35. package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +11 -0
  36. package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +12 -0
  37. package/dist-types/commands/StartImageScanCommand.d.ts +26 -0
  38. package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +20 -0
  39. package/dist-types/commands/TagResourceCommand.d.ts +20 -0
  40. package/dist-types/commands/UntagResourceCommand.d.ts +20 -0
  41. package/dist-types/commands/UploadLayerPartCommand.d.ts +28 -0
  42. package/package.json +36 -41
@@ -36,6 +36,18 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
36
36
  * @see {@link BatchCheckLayerAvailabilityCommandOutput} for command's `response` shape.
37
37
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
38
38
  *
39
+ * @throws {@link InvalidParameterException} (client fault)
40
+ * <p>The specified parameter is invalid. Review the available parameters for the API
41
+ * request.</p>
42
+ *
43
+ * @throws {@link RepositoryNotFoundException} (client fault)
44
+ * <p>The specified repository could not be found. Check the spelling of the specified
45
+ * repository and ensure that you are performing operations on the correct registry.</p>
46
+ *
47
+ * @throws {@link ServerException} (server fault)
48
+ * <p>These errors are usually caused by a server-side issue.</p>
49
+ *
50
+ *
39
51
  */
40
52
  export declare class BatchCheckLayerAvailabilityCommand extends $Command<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput, ECRClientResolvedConfig> {
41
53
  readonly input: BatchCheckLayerAvailabilityCommandInput;
@@ -34,6 +34,18 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
34
34
  * @see {@link BatchDeleteImageCommandOutput} for command's `response` shape.
35
35
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
36
36
  *
37
+ * @throws {@link InvalidParameterException} (client fault)
38
+ * <p>The specified parameter is invalid. Review the available parameters for the API
39
+ * request.</p>
40
+ *
41
+ * @throws {@link RepositoryNotFoundException} (client fault)
42
+ * <p>The specified repository could not be found. Check the spelling of the specified
43
+ * repository and ensure that you are performing operations on the correct registry.</p>
44
+ *
45
+ * @throws {@link ServerException} (server fault)
46
+ * <p>These errors are usually caused by a server-side issue.</p>
47
+ *
48
+ *
37
49
  * @example To delete multiple images
38
50
  * ```javascript
39
51
  * // This example deletes images with the tags precise and trusty in a repository called ubuntu in the default registry for an account.
@@ -32,6 +32,18 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met
32
32
  * @see {@link BatchGetImageCommandOutput} for command's `response` shape.
33
33
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
34
34
  *
35
+ * @throws {@link InvalidParameterException} (client fault)
36
+ * <p>The specified parameter is invalid. Review the available parameters for the API
37
+ * request.</p>
38
+ *
39
+ * @throws {@link RepositoryNotFoundException} (client fault)
40
+ * <p>The specified repository could not be found. Check the spelling of the specified
41
+ * repository and ensure that you are performing operations on the correct registry.</p>
42
+ *
43
+ * @throws {@link ServerException} (server fault)
44
+ * <p>These errors are usually caused by a server-side issue.</p>
45
+ *
46
+ *
35
47
  * @example To obtain multiple images in a single request
36
48
  * ```javascript
37
49
  * // This example obtains information for an image with a specified image digest ID from the repository named ubuntu in the current account.
@@ -29,6 +29,21 @@ export interface BatchGetRepositoryScanningConfigurationCommandOutput extends Ba
29
29
  * @see {@link BatchGetRepositoryScanningConfigurationCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link RepositoryNotFoundException} (client fault)
37
+ * <p>The specified repository could not be found. Check the spelling of the specified
38
+ * repository and ensure that you are performing operations on the correct registry.</p>
39
+ *
40
+ * @throws {@link ServerException} (server fault)
41
+ * <p>These errors are usually caused by a server-side issue.</p>
42
+ *
43
+ * @throws {@link ValidationException} (client fault)
44
+ * <p>There was an exception validating this request.</p>
45
+ *
46
+ *
32
47
  */
33
48
  export declare class BatchGetRepositoryScanningConfigurationCommand extends $Command<BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepositoryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
34
49
  readonly input: BatchGetRepositoryScanningConfigurationCommandInput;
@@ -37,6 +37,38 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
37
37
  * @see {@link CompleteLayerUploadCommandOutput} for command's `response` shape.
38
38
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
39
39
  *
40
+ * @throws {@link EmptyUploadException} (client fault)
41
+ * <p>The specified layer upload does not contain any layer parts.</p>
42
+ *
43
+ * @throws {@link InvalidLayerException} (client fault)
44
+ * <p>The layer digest calculation performed by Amazon ECR upon receipt of the image layer does
45
+ * not match the digest specified.</p>
46
+ *
47
+ * @throws {@link InvalidParameterException} (client fault)
48
+ * <p>The specified parameter is invalid. Review the available parameters for the API
49
+ * request.</p>
50
+ *
51
+ * @throws {@link KmsException} (client fault)
52
+ * <p>The operation failed due to a KMS exception.</p>
53
+ *
54
+ * @throws {@link LayerAlreadyExistsException} (client fault)
55
+ * <p>The image layer already exists in the associated repository.</p>
56
+ *
57
+ * @throws {@link LayerPartTooSmallException} (client fault)
58
+ * <p>Layer parts must be at least 5 MiB in size.</p>
59
+ *
60
+ * @throws {@link RepositoryNotFoundException} (client fault)
61
+ * <p>The specified repository could not be found. Check the spelling of the specified
62
+ * repository and ensure that you are performing operations on the correct registry.</p>
63
+ *
64
+ * @throws {@link ServerException} (server fault)
65
+ * <p>These errors are usually caused by a server-side issue.</p>
66
+ *
67
+ * @throws {@link UploadNotFoundException} (client fault)
68
+ * <p>The upload could not be found, or the specified upload ID is not valid for this
69
+ * repository.</p>
70
+ *
71
+ *
40
72
  */
41
73
  export declare class CompleteLayerUploadCommand extends $Command<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput, ECRClientResolvedConfig> {
42
74
  readonly input: CompleteLayerUploadCommandInput;
@@ -30,6 +30,29 @@ export interface CreatePullThroughCacheRuleCommandOutput extends CreatePullThrou
30
30
  * @see {@link CreatePullThroughCacheRuleCommandOutput} for command's `response` shape.
31
31
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>The specified parameter is invalid. Review the available parameters for the API
35
+ * request.</p>
36
+ *
37
+ * @throws {@link LimitExceededException} (client fault)
38
+ * <p>The operation did not succeed because it would have exceeded a service limit for your
39
+ * account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
40
+ * the Amazon Elastic Container Registry User Guide.</p>
41
+ *
42
+ * @throws {@link PullThroughCacheRuleAlreadyExistsException} (client fault)
43
+ * <p>A pull through cache rule with these settings already exists for the private
44
+ * registry.</p>
45
+ *
46
+ * @throws {@link ServerException} (server fault)
47
+ * <p>These errors are usually caused by a server-side issue.</p>
48
+ *
49
+ * @throws {@link UnsupportedUpstreamRegistryException} (client fault)
50
+ * <p>The specified upstream registry isn't supported.</p>
51
+ *
52
+ * @throws {@link ValidationException} (client fault)
53
+ * <p>There was an exception validating this request.</p>
54
+ *
55
+ *
33
56
  */
34
57
  export declare class CreatePullThroughCacheRuleCommand extends $Command<CreatePullThroughCacheRuleCommandInput, CreatePullThroughCacheRuleCommandOutput, ECRClientResolvedConfig> {
35
58
  readonly input: CreatePullThroughCacheRuleCommandInput;
@@ -30,6 +30,33 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
30
30
  * @see {@link CreateRepositoryCommandOutput} for command's `response` shape.
31
31
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>The specified parameter is invalid. Review the available parameters for the API
35
+ * request.</p>
36
+ *
37
+ * @throws {@link InvalidTagParameterException} (client fault)
38
+ * <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have
39
+ * a maximum length of 256 characters.</p>
40
+ *
41
+ * @throws {@link KmsException} (client fault)
42
+ * <p>The operation failed due to a KMS exception.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>The operation did not succeed because it would have exceeded a service limit for your
46
+ * account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
47
+ * the Amazon Elastic Container Registry User Guide.</p>
48
+ *
49
+ * @throws {@link RepositoryAlreadyExistsException} (client fault)
50
+ * <p>The specified repository already exists in the specified registry.</p>
51
+ *
52
+ * @throws {@link ServerException} (server fault)
53
+ * <p>These errors are usually caused by a server-side issue.</p>
54
+ *
55
+ * @throws {@link TooManyTagsException} (client fault)
56
+ * <p>The list of tags on the repository is over the limit. The maximum number of tags that
57
+ * can be applied to a repository is 50.</p>
58
+ *
59
+ *
33
60
  * @example To create a new repository
34
61
  * ```javascript
35
62
  * // This example creates a repository called nginx-web-app inside the project-a namespace in the default registry for an account.
@@ -29,6 +29,22 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
29
29
  * @see {@link DeleteLifecyclePolicyCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link LifecyclePolicyNotFoundException} (client fault)
37
+ * <p>The lifecycle policy could not be found, and no policy is set to the
38
+ * repository.</p>
39
+ *
40
+ * @throws {@link RepositoryNotFoundException} (client fault)
41
+ * <p>The specified repository could not be found. Check the spelling of the specified
42
+ * repository and ensure that you are performing operations on the correct registry.</p>
43
+ *
44
+ * @throws {@link ServerException} (server fault)
45
+ * <p>These errors are usually caused by a server-side issue.</p>
46
+ *
47
+ *
32
48
  */
33
49
  export declare class DeleteLifecyclePolicyCommand extends $Command<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
34
50
  readonly input: DeleteLifecyclePolicyCommandInput;
@@ -29,6 +29,21 @@ export interface DeletePullThroughCacheRuleCommandOutput extends DeletePullThrou
29
29
  * @see {@link DeletePullThroughCacheRuleCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link PullThroughCacheRuleNotFoundException} (client fault)
37
+ * <p>The pull through cache rule was not found. Specify a valid pull through cache rule and
38
+ * try again.</p>
39
+ *
40
+ * @throws {@link ServerException} (server fault)
41
+ * <p>These errors are usually caused by a server-side issue.</p>
42
+ *
43
+ * @throws {@link ValidationException} (client fault)
44
+ * <p>There was an exception validating this request.</p>
45
+ *
46
+ *
32
47
  */
33
48
  export declare class DeletePullThroughCacheRuleCommand extends $Command<DeletePullThroughCacheRuleCommandInput, DeletePullThroughCacheRuleCommandOutput, ECRClientResolvedConfig> {
34
49
  readonly input: DeletePullThroughCacheRuleCommandInput;
@@ -29,6 +29,20 @@ export interface DeleteRegistryPolicyCommandOutput extends DeleteRegistryPolicyR
29
29
  * @see {@link DeleteRegistryPolicyCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link RegistryPolicyNotFoundException} (client fault)
37
+ * <p>The registry doesn't have an associated registry policy.</p>
38
+ *
39
+ * @throws {@link ServerException} (server fault)
40
+ * <p>These errors are usually caused by a server-side issue.</p>
41
+ *
42
+ * @throws {@link ValidationException} (client fault)
43
+ * <p>There was an exception validating this request.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class DeleteRegistryPolicyCommand extends $Command<DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
34
48
  readonly input: DeleteRegistryPolicyCommandInput;
@@ -31,6 +31,25 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse,
31
31
  * @see {@link DeleteRepositoryCommandOutput} for command's `response` shape.
32
32
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>The specified parameter is invalid. Review the available parameters for the API
36
+ * request.</p>
37
+ *
38
+ * @throws {@link KmsException} (client fault)
39
+ * <p>The operation failed due to a KMS exception.</p>
40
+ *
41
+ * @throws {@link RepositoryNotEmptyException} (client fault)
42
+ * <p>The specified repository contains images. To delete a repository that contains images,
43
+ * you must force the deletion with the <code>force</code> parameter.</p>
44
+ *
45
+ * @throws {@link RepositoryNotFoundException} (client fault)
46
+ * <p>The specified repository could not be found. Check the spelling of the specified
47
+ * repository and ensure that you are performing operations on the correct registry.</p>
48
+ *
49
+ * @throws {@link ServerException} (server fault)
50
+ * <p>These errors are usually caused by a server-side issue.</p>
51
+ *
52
+ *
34
53
  * @example To force delete a repository
35
54
  * ```javascript
36
55
  * // This example force deletes a repository named ubuntu in the default registry for an account. The force parameter is required if the repository contains images.
@@ -29,6 +29,22 @@ export interface DeleteRepositoryPolicyCommandOutput extends DeleteRepositoryPol
29
29
  * @see {@link DeleteRepositoryPolicyCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link RepositoryNotFoundException} (client fault)
37
+ * <p>The specified repository could not be found. Check the spelling of the specified
38
+ * repository and ensure that you are performing operations on the correct registry.</p>
39
+ *
40
+ * @throws {@link RepositoryPolicyNotFoundException} (client fault)
41
+ * <p>The specified repository and registry combination does not have an associated
42
+ * repository policy.</p>
43
+ *
44
+ * @throws {@link ServerException} (server fault)
45
+ * <p>These errors are usually caused by a server-side issue.</p>
46
+ *
47
+ *
32
48
  * @example To delete the policy associated with a repository
33
49
  * ```javascript
34
50
  * // This example deletes the policy associated with the repository named ubuntu in the current account.
@@ -29,6 +29,24 @@ export interface DescribeImageReplicationStatusCommandOutput extends DescribeIma
29
29
  * @see {@link DescribeImageReplicationStatusCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link ImageNotFoundException} (client fault)
33
+ * <p>The image requested does not exist in the specified repository.</p>
34
+ *
35
+ * @throws {@link InvalidParameterException} (client fault)
36
+ * <p>The specified parameter is invalid. Review the available parameters for the API
37
+ * request.</p>
38
+ *
39
+ * @throws {@link RepositoryNotFoundException} (client fault)
40
+ * <p>The specified repository could not be found. Check the spelling of the specified
41
+ * repository and ensure that you are performing operations on the correct registry.</p>
42
+ *
43
+ * @throws {@link ServerException} (server fault)
44
+ * <p>These errors are usually caused by a server-side issue.</p>
45
+ *
46
+ * @throws {@link ValidationException} (client fault)
47
+ * <p>There was an exception validating this request.</p>
48
+ *
49
+ *
32
50
  */
33
51
  export declare class DescribeImageReplicationStatusCommand extends $Command<DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput, ECRClientResolvedConfig> {
34
52
  readonly input: DescribeImageReplicationStatusCommandInput;
@@ -29,6 +29,28 @@ export interface DescribeImageScanFindingsCommandOutput extends DescribeImageSca
29
29
  * @see {@link DescribeImageScanFindingsCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link ImageNotFoundException} (client fault)
33
+ * <p>The image requested does not exist in the specified repository.</p>
34
+ *
35
+ * @throws {@link InvalidParameterException} (client fault)
36
+ * <p>The specified parameter is invalid. Review the available parameters for the API
37
+ * request.</p>
38
+ *
39
+ * @throws {@link RepositoryNotFoundException} (client fault)
40
+ * <p>The specified repository could not be found. Check the spelling of the specified
41
+ * repository and ensure that you are performing operations on the correct registry.</p>
42
+ *
43
+ * @throws {@link ScanNotFoundException} (client fault)
44
+ * <p>The specified image scan could not be found. Ensure that image scanning is enabled on
45
+ * the repository and try again.</p>
46
+ *
47
+ * @throws {@link ServerException} (server fault)
48
+ * <p>These errors are usually caused by a server-side issue.</p>
49
+ *
50
+ * @throws {@link ValidationException} (client fault)
51
+ * <p>There was an exception validating this request.</p>
52
+ *
53
+ *
32
54
  */
33
55
  export declare class DescribeImageScanFindingsCommand extends $Command<DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput, ECRClientResolvedConfig> {
34
56
  readonly input: DescribeImageScanFindingsCommandInput;
@@ -35,6 +35,21 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M
35
35
  * @see {@link DescribeImagesCommandOutput} for command's `response` shape.
36
36
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
37
37
  *
38
+ * @throws {@link ImageNotFoundException} (client fault)
39
+ * <p>The image requested does not exist in the specified repository.</p>
40
+ *
41
+ * @throws {@link InvalidParameterException} (client fault)
42
+ * <p>The specified parameter is invalid. Review the available parameters for the API
43
+ * request.</p>
44
+ *
45
+ * @throws {@link RepositoryNotFoundException} (client fault)
46
+ * <p>The specified repository could not be found. Check the spelling of the specified
47
+ * repository and ensure that you are performing operations on the correct registry.</p>
48
+ *
49
+ * @throws {@link ServerException} (server fault)
50
+ * <p>These errors are usually caused by a server-side issue.</p>
51
+ *
52
+ *
38
53
  */
39
54
  export declare class DescribeImagesCommand extends $Command<DescribeImagesCommandInput, DescribeImagesCommandOutput, ECRClientResolvedConfig> {
40
55
  readonly input: DescribeImagesCommandInput;
@@ -29,6 +29,21 @@ export interface DescribePullThroughCacheRulesCommandOutput extends DescribePull
29
29
  * @see {@link DescribePullThroughCacheRulesCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link PullThroughCacheRuleNotFoundException} (client fault)
37
+ * <p>The pull through cache rule was not found. Specify a valid pull through cache rule and
38
+ * try again.</p>
39
+ *
40
+ * @throws {@link ServerException} (server fault)
41
+ * <p>These errors are usually caused by a server-side issue.</p>
42
+ *
43
+ * @throws {@link ValidationException} (client fault)
44
+ * <p>There was an exception validating this request.</p>
45
+ *
46
+ *
32
47
  */
33
48
  export declare class DescribePullThroughCacheRulesCommand extends $Command<DescribePullThroughCacheRulesCommandInput, DescribePullThroughCacheRulesCommandOutput, ECRClientResolvedConfig> {
34
49
  readonly input: DescribePullThroughCacheRulesCommandInput;
@@ -31,6 +31,17 @@ export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse,
31
31
  * @see {@link DescribeRegistryCommandOutput} for command's `response` shape.
32
32
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>The specified parameter is invalid. Review the available parameters for the API
36
+ * request.</p>
37
+ *
38
+ * @throws {@link ServerException} (server fault)
39
+ * <p>These errors are usually caused by a server-side issue.</p>
40
+ *
41
+ * @throws {@link ValidationException} (client fault)
42
+ * <p>There was an exception validating this request.</p>
43
+ *
44
+ *
34
45
  */
35
46
  export declare class DescribeRegistryCommand extends $Command<DescribeRegistryCommandInput, DescribeRegistryCommandOutput, ECRClientResolvedConfig> {
36
47
  readonly input: DescribeRegistryCommandInput;
@@ -29,6 +29,18 @@ export interface DescribeRepositoriesCommandOutput extends DescribeRepositoriesR
29
29
  * @see {@link DescribeRepositoriesCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link RepositoryNotFoundException} (client fault)
37
+ * <p>The specified repository could not be found. Check the spelling of the specified
38
+ * repository and ensure that you are performing operations on the correct registry.</p>
39
+ *
40
+ * @throws {@link ServerException} (server fault)
41
+ * <p>These errors are usually caused by a server-side issue.</p>
42
+ *
43
+ *
32
44
  * @example To describe all repositories in the current account
33
45
  * ```javascript
34
46
  * // The following example obtains a list and description of all repositories in the default registry to which the current user has access.
@@ -36,6 +36,14 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
36
36
  * @see {@link GetAuthorizationTokenCommandOutput} for command's `response` shape.
37
37
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
38
38
  *
39
+ * @throws {@link InvalidParameterException} (client fault)
40
+ * <p>The specified parameter is invalid. Review the available parameters for the API
41
+ * request.</p>
42
+ *
43
+ * @throws {@link ServerException} (server fault)
44
+ * <p>These errors are usually caused by a server-side issue.</p>
45
+ *
46
+ *
39
47
  * @example To obtain an authorization token
40
48
  * ```javascript
41
49
  * // This example gets an authorization token for your default registry.
@@ -36,6 +36,26 @@ export interface GetDownloadUrlForLayerCommandOutput extends GetDownloadUrlForLa
36
36
  * @see {@link GetDownloadUrlForLayerCommandOutput} for command's `response` shape.
37
37
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
38
38
  *
39
+ * @throws {@link InvalidParameterException} (client fault)
40
+ * <p>The specified parameter is invalid. Review the available parameters for the API
41
+ * request.</p>
42
+ *
43
+ * @throws {@link LayerInaccessibleException} (client fault)
44
+ * <p>The specified layer is not available because it is not associated with an image.
45
+ * Unassociated image layers may be cleaned up at any time.</p>
46
+ *
47
+ * @throws {@link LayersNotFoundException} (client fault)
48
+ * <p>The specified layers could not be found, or the specified layer is not valid for this
49
+ * repository.</p>
50
+ *
51
+ * @throws {@link RepositoryNotFoundException} (client fault)
52
+ * <p>The specified repository could not be found. Check the spelling of the specified
53
+ * repository and ensure that you are performing operations on the correct registry.</p>
54
+ *
55
+ * @throws {@link ServerException} (server fault)
56
+ * <p>These errors are usually caused by a server-side issue.</p>
57
+ *
58
+ *
39
59
  */
40
60
  export declare class GetDownloadUrlForLayerCommand extends $Command<GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput, ECRClientResolvedConfig> {
41
61
  readonly input: GetDownloadUrlForLayerCommandInput;
@@ -29,6 +29,22 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
29
29
  * @see {@link GetLifecyclePolicyCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link LifecyclePolicyNotFoundException} (client fault)
37
+ * <p>The lifecycle policy could not be found, and no policy is set to the
38
+ * repository.</p>
39
+ *
40
+ * @throws {@link RepositoryNotFoundException} (client fault)
41
+ * <p>The specified repository could not be found. Check the spelling of the specified
42
+ * repository and ensure that you are performing operations on the correct registry.</p>
43
+ *
44
+ * @throws {@link ServerException} (server fault)
45
+ * <p>These errors are usually caused by a server-side issue.</p>
46
+ *
47
+ *
32
48
  */
33
49
  export declare class GetLifecyclePolicyCommand extends $Command<GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
34
50
  readonly input: GetLifecyclePolicyCommandInput;
@@ -30,6 +30,21 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli
30
30
  * @see {@link GetLifecyclePolicyPreviewCommandOutput} for command's `response` shape.
31
31
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>The specified parameter is invalid. Review the available parameters for the API
35
+ * request.</p>
36
+ *
37
+ * @throws {@link LifecyclePolicyPreviewNotFoundException} (client fault)
38
+ * <p>There is no dry run for this repository.</p>
39
+ *
40
+ * @throws {@link RepositoryNotFoundException} (client fault)
41
+ * <p>The specified repository could not be found. Check the spelling of the specified
42
+ * repository and ensure that you are performing operations on the correct registry.</p>
43
+ *
44
+ * @throws {@link ServerException} (server fault)
45
+ * <p>These errors are usually caused by a server-side issue.</p>
46
+ *
47
+ *
33
48
  */
34
49
  export declare class GetLifecyclePolicyPreviewCommand extends $Command<GetLifecyclePolicyPreviewCommandInput, GetLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig> {
35
50
  readonly input: GetLifecyclePolicyPreviewCommandInput;
@@ -29,6 +29,20 @@ export interface GetRegistryPolicyCommandOutput extends GetRegistryPolicyRespons
29
29
  * @see {@link GetRegistryPolicyCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link RegistryPolicyNotFoundException} (client fault)
37
+ * <p>The registry doesn't have an associated registry policy.</p>
38
+ *
39
+ * @throws {@link ServerException} (server fault)
40
+ * <p>These errors are usually caused by a server-side issue.</p>
41
+ *
42
+ * @throws {@link ValidationException} (client fault)
43
+ * <p>There was an exception validating this request.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class GetRegistryPolicyCommand extends $Command<GetRegistryPolicyCommandInput, GetRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
34
48
  readonly input: GetRegistryPolicyCommandInput;
@@ -29,6 +29,17 @@ export interface GetRegistryScanningConfigurationCommandOutput extends GetRegist
29
29
  * @see {@link GetRegistryScanningConfigurationCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link ServerException} (server fault)
37
+ * <p>These errors are usually caused by a server-side issue.</p>
38
+ *
39
+ * @throws {@link ValidationException} (client fault)
40
+ * <p>There was an exception validating this request.</p>
41
+ *
42
+ *
32
43
  */
33
44
  export declare class GetRegistryScanningConfigurationCommand extends $Command<GetRegistryScanningConfigurationCommandInput, GetRegistryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
34
45
  readonly input: GetRegistryScanningConfigurationCommandInput;
@@ -29,6 +29,22 @@ export interface GetRepositoryPolicyCommandOutput extends GetRepositoryPolicyRes
29
29
  * @see {@link GetRepositoryPolicyCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link RepositoryNotFoundException} (client fault)
37
+ * <p>The specified repository could not be found. Check the spelling of the specified
38
+ * repository and ensure that you are performing operations on the correct registry.</p>
39
+ *
40
+ * @throws {@link RepositoryPolicyNotFoundException} (client fault)
41
+ * <p>The specified repository and registry combination does not have an associated
42
+ * repository policy.</p>
43
+ *
44
+ * @throws {@link ServerException} (server fault)
45
+ * <p>These errors are usually caused by a server-side issue.</p>
46
+ *
47
+ *
32
48
  * @example To get the current policy for a repository
33
49
  * ```javascript
34
50
  * // This example obtains the repository policy for the repository named ubuntu.
@@ -36,6 +36,21 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes
36
36
  * @see {@link InitiateLayerUploadCommandOutput} for command's `response` shape.
37
37
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
38
38
  *
39
+ * @throws {@link InvalidParameterException} (client fault)
40
+ * <p>The specified parameter is invalid. Review the available parameters for the API
41
+ * request.</p>
42
+ *
43
+ * @throws {@link KmsException} (client fault)
44
+ * <p>The operation failed due to a KMS exception.</p>
45
+ *
46
+ * @throws {@link RepositoryNotFoundException} (client fault)
47
+ * <p>The specified repository could not be found. Check the spelling of the specified
48
+ * repository and ensure that you are performing operations on the correct registry.</p>
49
+ *
50
+ * @throws {@link ServerException} (server fault)
51
+ * <p>These errors are usually caused by a server-side issue.</p>
52
+ *
53
+ *
39
54
  */
40
55
  export declare class InitiateLayerUploadCommand extends $Command<InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput, ECRClientResolvedConfig> {
41
56
  readonly input: InitiateLayerUploadCommandInput;
@@ -35,6 +35,18 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB
35
35
  * @see {@link ListImagesCommandOutput} for command's `response` shape.
36
36
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
37
37
  *
38
+ * @throws {@link InvalidParameterException} (client fault)
39
+ * <p>The specified parameter is invalid. Review the available parameters for the API
40
+ * request.</p>
41
+ *
42
+ * @throws {@link RepositoryNotFoundException} (client fault)
43
+ * <p>The specified repository could not be found. Check the spelling of the specified
44
+ * repository and ensure that you are performing operations on the correct registry.</p>
45
+ *
46
+ * @throws {@link ServerException} (server fault)
47
+ * <p>These errors are usually caused by a server-side issue.</p>
48
+ *
49
+ *
38
50
  * @example To list all images in a repository
39
51
  * ```javascript
40
52
  * // This example lists all of the images in the repository named ubuntu in the default registry in the current account.
@@ -29,6 +29,18 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
29
29
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link RepositoryNotFoundException} (client fault)
37
+ * <p>The specified repository could not be found. Check the spelling of the specified
38
+ * repository and ensure that you are performing operations on the correct registry.</p>
39
+ *
40
+ * @throws {@link ServerException} (server fault)
41
+ * <p>These errors are usually caused by a server-side issue.</p>
42
+ *
43
+ *
32
44
  */
33
45
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ECRClientResolvedConfig> {
34
46
  readonly input: ListTagsForResourceCommandInput;
@@ -37,6 +37,45 @@ export interface PutImageCommandOutput extends PutImageResponse, __MetadataBeare
37
37
  * @see {@link PutImageCommandOutput} for command's `response` shape.
38
38
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
39
39
  *
40
+ * @throws {@link ImageAlreadyExistsException} (client fault)
41
+ * <p>The specified image has already been pushed, and there were no changes to the manifest
42
+ * or image tag after the last push.</p>
43
+ *
44
+ * @throws {@link ImageDigestDoesNotMatchException} (client fault)
45
+ * <p>The specified image digest does not match the digest that Amazon ECR calculated for the
46
+ * image.</p>
47
+ *
48
+ * @throws {@link ImageTagAlreadyExistsException} (client fault)
49
+ * <p>The specified image is tagged with a tag that already exists. The repository is
50
+ * configured for tag immutability.</p>
51
+ *
52
+ * @throws {@link InvalidParameterException} (client fault)
53
+ * <p>The specified parameter is invalid. Review the available parameters for the API
54
+ * request.</p>
55
+ *
56
+ * @throws {@link KmsException} (client fault)
57
+ * <p>The operation failed due to a KMS exception.</p>
58
+ *
59
+ * @throws {@link LayersNotFoundException} (client fault)
60
+ * <p>The specified layers could not be found, or the specified layer is not valid for this
61
+ * repository.</p>
62
+ *
63
+ * @throws {@link LimitExceededException} (client fault)
64
+ * <p>The operation did not succeed because it would have exceeded a service limit for your
65
+ * account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
66
+ * the Amazon Elastic Container Registry User Guide.</p>
67
+ *
68
+ * @throws {@link ReferencedImagesNotFoundException} (client fault)
69
+ * <p>The manifest list is referencing an image that does not exist.</p>
70
+ *
71
+ * @throws {@link RepositoryNotFoundException} (client fault)
72
+ * <p>The specified repository could not be found. Check the spelling of the specified
73
+ * repository and ensure that you are performing operations on the correct registry.</p>
74
+ *
75
+ * @throws {@link ServerException} (server fault)
76
+ * <p>These errors are usually caused by a server-side issue.</p>
77
+ *
78
+ *
40
79
  */
41
80
  export declare class PutImageCommand extends $Command<PutImageCommandInput, PutImageCommandOutput, ECRClientResolvedConfig> {
42
81
  readonly input: PutImageCommandInput;
@@ -34,6 +34,21 @@ export interface PutImageScanningConfigurationCommandOutput extends PutImageScan
34
34
  * @see {@link PutImageScanningConfigurationCommandOutput} for command's `response` shape.
35
35
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
36
36
  *
37
+ * @throws {@link InvalidParameterException} (client fault)
38
+ * <p>The specified parameter is invalid. Review the available parameters for the API
39
+ * request.</p>
40
+ *
41
+ * @throws {@link RepositoryNotFoundException} (client fault)
42
+ * <p>The specified repository could not be found. Check the spelling of the specified
43
+ * repository and ensure that you are performing operations on the correct registry.</p>
44
+ *
45
+ * @throws {@link ServerException} (server fault)
46
+ * <p>These errors are usually caused by a server-side issue.</p>
47
+ *
48
+ * @throws {@link ValidationException} (client fault)
49
+ * <p>There was an exception validating this request.</p>
50
+ *
51
+ *
37
52
  */
38
53
  export declare class PutImageScanningConfigurationCommand extends $Command<PutImageScanningConfigurationCommandInput, PutImageScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
39
54
  readonly input: PutImageScanningConfigurationCommandInput;
@@ -31,6 +31,18 @@ export interface PutImageTagMutabilityCommandOutput extends PutImageTagMutabilit
31
31
  * @see {@link PutImageTagMutabilityCommandOutput} for command's `response` shape.
32
32
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>The specified parameter is invalid. Review the available parameters for the API
36
+ * request.</p>
37
+ *
38
+ * @throws {@link RepositoryNotFoundException} (client fault)
39
+ * <p>The specified repository could not be found. Check the spelling of the specified
40
+ * repository and ensure that you are performing operations on the correct registry.</p>
41
+ *
42
+ * @throws {@link ServerException} (server fault)
43
+ * <p>These errors are usually caused by a server-side issue.</p>
44
+ *
45
+ *
34
46
  */
35
47
  export declare class PutImageTagMutabilityCommand extends $Command<PutImageTagMutabilityCommandInput, PutImageTagMutabilityCommandOutput, ECRClientResolvedConfig> {
36
48
  readonly input: PutImageTagMutabilityCommandInput;
@@ -31,6 +31,18 @@ export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyRespo
31
31
  * @see {@link PutLifecyclePolicyCommandOutput} for command's `response` shape.
32
32
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>The specified parameter is invalid. Review the available parameters for the API
36
+ * request.</p>
37
+ *
38
+ * @throws {@link RepositoryNotFoundException} (client fault)
39
+ * <p>The specified repository could not be found. Check the spelling of the specified
40
+ * repository and ensure that you are performing operations on the correct registry.</p>
41
+ *
42
+ * @throws {@link ServerException} (server fault)
43
+ * <p>These errors are usually caused by a server-side issue.</p>
44
+ *
45
+ *
34
46
  */
35
47
  export declare class PutLifecyclePolicyCommand extends $Command<PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
36
48
  readonly input: PutLifecyclePolicyCommandInput;
@@ -31,6 +31,17 @@ export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyRespons
31
31
  * @see {@link PutRegistryPolicyCommandOutput} for command's `response` shape.
32
32
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>The specified parameter is invalid. Review the available parameters for the API
36
+ * request.</p>
37
+ *
38
+ * @throws {@link ServerException} (server fault)
39
+ * <p>These errors are usually caused by a server-side issue.</p>
40
+ *
41
+ * @throws {@link ValidationException} (client fault)
42
+ * <p>There was an exception validating this request.</p>
43
+ *
44
+ *
34
45
  */
35
46
  export declare class PutRegistryPolicyCommand extends $Command<PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
36
47
  readonly input: PutRegistryPolicyCommandInput;
@@ -29,6 +29,17 @@ export interface PutRegistryScanningConfigurationCommandOutput extends PutRegist
29
29
  * @see {@link PutRegistryScanningConfigurationCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link ServerException} (server fault)
37
+ * <p>These errors are usually caused by a server-side issue.</p>
38
+ *
39
+ * @throws {@link ValidationException} (client fault)
40
+ * <p>There was an exception validating this request.</p>
41
+ *
42
+ *
32
43
  */
33
44
  export declare class PutRegistryScanningConfigurationCommand extends $Command<PutRegistryScanningConfigurationCommandInput, PutRegistryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
34
45
  readonly input: PutRegistryScanningConfigurationCommandInput;
@@ -39,6 +39,17 @@ export interface PutReplicationConfigurationCommandOutput extends PutReplication
39
39
  * @see {@link PutReplicationConfigurationCommandOutput} for command's `response` shape.
40
40
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
41
41
  *
42
+ * @throws {@link InvalidParameterException} (client fault)
43
+ * <p>The specified parameter is invalid. Review the available parameters for the API
44
+ * request.</p>
45
+ *
46
+ * @throws {@link ServerException} (server fault)
47
+ * <p>These errors are usually caused by a server-side issue.</p>
48
+ *
49
+ * @throws {@link ValidationException} (client fault)
50
+ * <p>There was an exception validating this request.</p>
51
+ *
52
+ *
42
53
  */
43
54
  export declare class PutReplicationConfigurationCommand extends $Command<PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput, ECRClientResolvedConfig> {
44
55
  readonly input: PutReplicationConfigurationCommandInput;
@@ -31,6 +31,18 @@ export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyRes
31
31
  * @see {@link SetRepositoryPolicyCommandOutput} for command's `response` shape.
32
32
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidParameterException} (client fault)
35
+ * <p>The specified parameter is invalid. Review the available parameters for the API
36
+ * request.</p>
37
+ *
38
+ * @throws {@link RepositoryNotFoundException} (client fault)
39
+ * <p>The specified repository could not be found. Check the spelling of the specified
40
+ * repository and ensure that you are performing operations on the correct registry.</p>
41
+ *
42
+ * @throws {@link ServerException} (server fault)
43
+ * <p>These errors are usually caused by a server-side issue.</p>
44
+ *
45
+ *
34
46
  */
35
47
  export declare class SetRepositoryPolicyCommand extends $Command<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput, ECRClientResolvedConfig> {
36
48
  readonly input: SetRepositoryPolicyCommandInput;
@@ -32,6 +32,32 @@ export interface StartImageScanCommandOutput extends StartImageScanResponse, __M
32
32
  * @see {@link StartImageScanCommandOutput} for command's `response` shape.
33
33
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
34
34
  *
35
+ * @throws {@link ImageNotFoundException} (client fault)
36
+ * <p>The image requested does not exist in the specified repository.</p>
37
+ *
38
+ * @throws {@link InvalidParameterException} (client fault)
39
+ * <p>The specified parameter is invalid. Review the available parameters for the API
40
+ * request.</p>
41
+ *
42
+ * @throws {@link LimitExceededException} (client fault)
43
+ * <p>The operation did not succeed because it would have exceeded a service limit for your
44
+ * account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
45
+ * the Amazon Elastic Container Registry User Guide.</p>
46
+ *
47
+ * @throws {@link RepositoryNotFoundException} (client fault)
48
+ * <p>The specified repository could not be found. Check the spelling of the specified
49
+ * repository and ensure that you are performing operations on the correct registry.</p>
50
+ *
51
+ * @throws {@link ServerException} (server fault)
52
+ * <p>These errors are usually caused by a server-side issue.</p>
53
+ *
54
+ * @throws {@link UnsupportedImageTypeException} (client fault)
55
+ * <p>The image is of a type that cannot be scanned.</p>
56
+ *
57
+ * @throws {@link ValidationException} (client fault)
58
+ * <p>There was an exception validating this request.</p>
59
+ *
60
+ *
35
61
  */
36
62
  export declare class StartImageScanCommand extends $Command<StartImageScanCommandInput, StartImageScanCommandOutput, ECRClientResolvedConfig> {
37
63
  readonly input: StartImageScanCommandInput;
@@ -30,6 +30,26 @@ export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecycle
30
30
  * @see {@link StartLifecyclePolicyPreviewCommandOutput} for command's `response` shape.
31
31
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>The specified parameter is invalid. Review the available parameters for the API
35
+ * request.</p>
36
+ *
37
+ * @throws {@link LifecyclePolicyNotFoundException} (client fault)
38
+ * <p>The lifecycle policy could not be found, and no policy is set to the
39
+ * repository.</p>
40
+ *
41
+ * @throws {@link LifecyclePolicyPreviewInProgressException} (client fault)
42
+ * <p>The previous lifecycle policy preview request has not completed. Wait and try
43
+ * again.</p>
44
+ *
45
+ * @throws {@link RepositoryNotFoundException} (client fault)
46
+ * <p>The specified repository could not be found. Check the spelling of the specified
47
+ * repository and ensure that you are performing operations on the correct registry.</p>
48
+ *
49
+ * @throws {@link ServerException} (server fault)
50
+ * <p>These errors are usually caused by a server-side issue.</p>
51
+ *
52
+ *
33
53
  */
34
54
  export declare class StartLifecyclePolicyPreviewCommand extends $Command<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig> {
35
55
  readonly input: StartLifecyclePolicyPreviewCommandInput;
@@ -30,6 +30,26 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
30
30
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
31
31
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>The specified parameter is invalid. Review the available parameters for the API
35
+ * request.</p>
36
+ *
37
+ * @throws {@link InvalidTagParameterException} (client fault)
38
+ * <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have
39
+ * a maximum length of 256 characters.</p>
40
+ *
41
+ * @throws {@link RepositoryNotFoundException} (client fault)
42
+ * <p>The specified repository could not be found. Check the spelling of the specified
43
+ * repository and ensure that you are performing operations on the correct registry.</p>
44
+ *
45
+ * @throws {@link ServerException} (server fault)
46
+ * <p>These errors are usually caused by a server-side issue.</p>
47
+ *
48
+ * @throws {@link TooManyTagsException} (client fault)
49
+ * <p>The list of tags on the repository is over the limit. The maximum number of tags that
50
+ * can be applied to a repository is 50.</p>
51
+ *
52
+ *
33
53
  */
34
54
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ECRClientResolvedConfig> {
35
55
  readonly input: TagResourceCommandInput;
@@ -29,6 +29,26 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
29
29
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>The specified parameter is invalid. Review the available parameters for the API
34
+ * request.</p>
35
+ *
36
+ * @throws {@link InvalidTagParameterException} (client fault)
37
+ * <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have
38
+ * a maximum length of 256 characters.</p>
39
+ *
40
+ * @throws {@link RepositoryNotFoundException} (client fault)
41
+ * <p>The specified repository could not be found. Check the spelling of the specified
42
+ * repository and ensure that you are performing operations on the correct registry.</p>
43
+ *
44
+ * @throws {@link ServerException} (server fault)
45
+ * <p>These errors are usually caused by a server-side issue.</p>
46
+ *
47
+ * @throws {@link TooManyTagsException} (client fault)
48
+ * <p>The list of tags on the repository is over the limit. The maximum number of tags that
49
+ * can be applied to a repository is 50.</p>
50
+ *
51
+ *
32
52
  */
33
53
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ECRClientResolvedConfig> {
34
54
  readonly input: UntagResourceCommandInput;
@@ -36,6 +36,34 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
36
36
  * @see {@link UploadLayerPartCommandOutput} for command's `response` shape.
37
37
  * @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
38
38
  *
39
+ * @throws {@link InvalidLayerPartException} (client fault)
40
+ * <p>The layer part size is not valid, or the first byte specified is not consecutive to
41
+ * the last byte of a previous layer part upload.</p>
42
+ *
43
+ * @throws {@link InvalidParameterException} (client fault)
44
+ * <p>The specified parameter is invalid. Review the available parameters for the API
45
+ * request.</p>
46
+ *
47
+ * @throws {@link KmsException} (client fault)
48
+ * <p>The operation failed due to a KMS exception.</p>
49
+ *
50
+ * @throws {@link LimitExceededException} (client fault)
51
+ * <p>The operation did not succeed because it would have exceeded a service limit for your
52
+ * account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
53
+ * the Amazon Elastic Container Registry User Guide.</p>
54
+ *
55
+ * @throws {@link RepositoryNotFoundException} (client fault)
56
+ * <p>The specified repository could not be found. Check the spelling of the specified
57
+ * repository and ensure that you are performing operations on the correct registry.</p>
58
+ *
59
+ * @throws {@link ServerException} (server fault)
60
+ * <p>These errors are usually caused by a server-side issue.</p>
61
+ *
62
+ * @throws {@link UploadNotFoundException} (client fault)
63
+ * <p>The upload could not be found, or the specified upload ID is not valid for this
64
+ * repository.</p>
65
+ *
66
+ *
39
67
  */
40
68
  export declare class UploadLayerPartCommand extends $Command<UploadLayerPartCommandInput, UploadLayerPartCommandOutput, ECRClientResolvedConfig> {
41
69
  readonly input: UploadLayerPartCommandInput;
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.289.0",
4
+ "version": "3.292.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,56 +20,51 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/middleware-content-length": "3.289.0",
30
- "@aws-sdk/middleware-endpoint": "3.289.0",
31
- "@aws-sdk/middleware-host-header": "3.289.0",
32
- "@aws-sdk/middleware-logger": "3.289.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
- "@aws-sdk/middleware-retry": "3.289.0",
35
- "@aws-sdk/middleware-serde": "3.289.0",
36
- "@aws-sdk/middleware-signing": "3.289.0",
37
- "@aws-sdk/middleware-stack": "3.289.0",
38
- "@aws-sdk/middleware-user-agent": "3.289.0",
39
- "@aws-sdk/node-config-provider": "3.289.0",
40
- "@aws-sdk/node-http-handler": "3.289.0",
41
- "@aws-sdk/protocol-http": "3.289.0",
42
- "@aws-sdk/smithy-client": "3.289.0",
43
- "@aws-sdk/types": "3.289.0",
44
- "@aws-sdk/url-parser": "3.289.0",
45
- "@aws-sdk/util-base64": "3.208.0",
46
- "@aws-sdk/util-body-length-browser": "3.188.0",
47
- "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
- "@aws-sdk/util-endpoints": "3.289.0",
51
- "@aws-sdk/util-retry": "3.289.0",
52
- "@aws-sdk/util-user-agent-browser": "3.289.0",
53
- "@aws-sdk/util-user-agent-node": "3.289.0",
54
- "@aws-sdk/util-utf8": "3.254.0",
55
- "@aws-sdk/util-waiter": "3.289.0",
23
+ "@aws-sdk/client-sts": "3.292.0",
24
+ "@aws-sdk/config-resolver": "3.292.0",
25
+ "@aws-sdk/credential-provider-node": "3.292.0",
26
+ "@aws-sdk/fetch-http-handler": "3.292.0",
27
+ "@aws-sdk/hash-node": "3.292.0",
28
+ "@aws-sdk/invalid-dependency": "3.292.0",
29
+ "@aws-sdk/middleware-content-length": "3.292.0",
30
+ "@aws-sdk/middleware-endpoint": "3.292.0",
31
+ "@aws-sdk/middleware-host-header": "3.292.0",
32
+ "@aws-sdk/middleware-logger": "3.292.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
+ "@aws-sdk/middleware-retry": "3.292.0",
35
+ "@aws-sdk/middleware-serde": "3.292.0",
36
+ "@aws-sdk/middleware-signing": "3.292.0",
37
+ "@aws-sdk/middleware-stack": "3.292.0",
38
+ "@aws-sdk/middleware-user-agent": "3.292.0",
39
+ "@aws-sdk/node-config-provider": "3.292.0",
40
+ "@aws-sdk/node-http-handler": "3.292.0",
41
+ "@aws-sdk/protocol-http": "3.292.0",
42
+ "@aws-sdk/smithy-client": "3.292.0",
43
+ "@aws-sdk/types": "3.292.0",
44
+ "@aws-sdk/url-parser": "3.292.0",
45
+ "@aws-sdk/util-base64": "3.292.0",
46
+ "@aws-sdk/util-body-length-browser": "3.292.0",
47
+ "@aws-sdk/util-body-length-node": "3.292.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
+ "@aws-sdk/util-endpoints": "3.292.0",
51
+ "@aws-sdk/util-retry": "3.292.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.292.0",
53
+ "@aws-sdk/util-user-agent-node": "3.292.0",
54
+ "@aws-sdk/util-utf8": "3.292.0",
55
+ "@aws-sdk/util-waiter": "3.292.0",
56
56
  "tslib": "^2.3.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.208.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.292.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",
63
63
  "downlevel-dts": "0.10.1",
64
64
  "rimraf": "3.0.2",
65
- "typedoc": "0.19.2",
65
+ "typedoc": "0.23.23",
66
66
  "typescript": "~4.6.2"
67
67
  },
68
- "overrides": {
69
- "typedoc": {
70
- "typescript": "~4.6.2"
71
- }
72
- },
73
68
  "engines": {
74
69
  "node": ">=14.0.0"
75
70
  },