@aws-sdk/client-ecr 3.288.0 → 3.290.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 +39 -0
  3. package/dist-types/commands/BatchGetImageCommand.d.ts +44 -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 +47 -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 +40 -0
  12. package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +34 -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 +37 -0
  19. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +28 -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 +34 -0
  26. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +15 -0
  27. package/dist-types/commands/ListImagesCommand.d.ts +33 -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 +30 -30
@@ -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,40 @@ 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
+ *
48
+ * @example To get the current policy for a repository
49
+ * ```javascript
50
+ * // This example obtains the repository policy for the repository named ubuntu.
51
+ * const input = {
52
+ * "repositoryName": "ubuntu"
53
+ * };
54
+ * const command = new GetRepositoryPolicyCommand(input);
55
+ * const response = await client.send(command);
56
+ * /* response ==
57
+ * {
58
+ * "policyText": "{\n \"Version\" : \"2008-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"new statement\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : \"arn:aws:iam::012345678901:role/CodeDeployDemo\"\n },\n\"Action\" : [ \"ecr:GetDownloadUrlForLayer\", \"ecr:BatchGetImage\", \"ecr:BatchCheckLayerAvailability\" ]\n } ]\n}",
59
+ * "registryId": "012345678901",
60
+ * "repositoryName": "ubuntu"
61
+ * }
62
+ * *\/
63
+ * // example id: getrepositorypolicy-example-1470867669211
64
+ * ```
65
+ *
32
66
  */
33
67
  export declare class GetRepositoryPolicyCommand extends $Command<GetRepositoryPolicyCommandInput, GetRepositoryPolicyCommandOutput, ECRClientResolvedConfig> {
34
68
  readonly input: GetRepositoryPolicyCommandInput;
@@ -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,39 @@ 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
+ *
50
+ * @example To list all images in a repository
51
+ * ```javascript
52
+ * // This example lists all of the images in the repository named ubuntu in the default registry in the current account.
53
+ * const input = {
54
+ * "repositoryName": "ubuntu"
55
+ * };
56
+ * const command = new ListImagesCommand(input);
57
+ * const response = await client.send(command);
58
+ * /* response ==
59
+ * {
60
+ * "imageIds": [
61
+ * {
62
+ * "imageDigest": "sha256:764f63476bdff6d83a09ba2a818f0d35757063724a9ac3ba5019c56f74ebf42a",
63
+ * "imageTag": "precise"
64
+ * }
65
+ * ]
66
+ * }
67
+ * *\/
68
+ * // example id: listimages-example-1470868161594
69
+ * ```
70
+ *
38
71
  */
39
72
  export declare class ListImagesCommand extends $Command<ListImagesCommandInput, ListImagesCommandOutput, ECRClientResolvedConfig> {
40
73
  readonly input: ListImagesCommandInput;
@@ -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.288.0",
4
+ "version": "3.290.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,39 +20,39 @@
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.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
- "@aws-sdk/util-waiter": "3.272.0",
55
+ "@aws-sdk/util-waiter": "3.290.0",
56
56
  "tslib": "^2.3.1"
57
57
  },
58
58
  "devDependencies": {