@aws-sdk/client-ecr 3.52.0 → 3.54.1
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.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ECRServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +439 -3
- package/dist-cjs/protocols/Aws_json1_1.js +506 -1673
- package/dist-es/index.js +1 -0
- package/dist-es/models/ECRServiceException.js +12 -0
- package/dist-es/models/models_0.js +403 -1
- package/dist-es/protocols/Aws_json1_1.js +1013 -1772
- package/dist-types/ECR.d.ts +11 -6
- package/dist-types/ECRClient.d.ts +2 -2
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +1 -1
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +1 -1
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +6 -1
- package/dist-types/commands/UploadLayerPartCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ECRServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +231 -161
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/ECRClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/ECRServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +153 -133
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +28 -28
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ECRServiceException as __BaseException } from "./ECRServiceException";
|
|
2
3
|
export interface BatchCheckLayerAvailabilityRequest {
|
|
3
4
|
/**
|
|
4
5
|
* <p>The Amazon Web Services account ID associated with the registry that contains the image layers to
|
|
@@ -101,36 +102,36 @@ export declare namespace BatchCheckLayerAvailabilityResponse {
|
|
|
101
102
|
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
102
103
|
* request.</p>
|
|
103
104
|
*/
|
|
104
|
-
export
|
|
105
|
-
name: "InvalidParameterException";
|
|
106
|
-
$fault: "client";
|
|
105
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
106
|
+
readonly name: "InvalidParameterException";
|
|
107
|
+
readonly $fault: "client";
|
|
107
108
|
/**
|
|
108
|
-
*
|
|
109
|
+
* @internal
|
|
109
110
|
*/
|
|
110
|
-
|
|
111
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
111
112
|
}
|
|
112
113
|
/**
|
|
113
114
|
* <p>The specified repository could not be found. Check the spelling of the specified
|
|
114
115
|
* repository and ensure that you are performing operations on the correct registry.</p>
|
|
115
116
|
*/
|
|
116
|
-
export
|
|
117
|
-
name: "RepositoryNotFoundException";
|
|
118
|
-
$fault: "client";
|
|
117
|
+
export declare class RepositoryNotFoundException extends __BaseException {
|
|
118
|
+
readonly name: "RepositoryNotFoundException";
|
|
119
|
+
readonly $fault: "client";
|
|
119
120
|
/**
|
|
120
|
-
*
|
|
121
|
+
* @internal
|
|
121
122
|
*/
|
|
122
|
-
|
|
123
|
+
constructor(opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>);
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
126
127
|
*/
|
|
127
|
-
export
|
|
128
|
-
name: "ServerException";
|
|
129
|
-
$fault: "server";
|
|
128
|
+
export declare class ServerException extends __BaseException {
|
|
129
|
+
readonly name: "ServerException";
|
|
130
|
+
readonly $fault: "server";
|
|
130
131
|
/**
|
|
131
|
-
*
|
|
132
|
+
* @internal
|
|
132
133
|
*/
|
|
133
|
-
|
|
134
|
+
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
134
135
|
}
|
|
135
136
|
/**
|
|
136
137
|
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
@@ -420,10 +421,13 @@ export declare namespace BatchGetRepositoryScanningConfigurationResponse {
|
|
|
420
421
|
/**
|
|
421
422
|
* <p>There was an exception validating this request.</p>
|
|
422
423
|
*/
|
|
423
|
-
export
|
|
424
|
-
name: "ValidationException";
|
|
425
|
-
$fault: "client";
|
|
426
|
-
|
|
424
|
+
export declare class ValidationException extends __BaseException {
|
|
425
|
+
readonly name: "ValidationException";
|
|
426
|
+
readonly $fault: "client";
|
|
427
|
+
/**
|
|
428
|
+
* @internal
|
|
429
|
+
*/
|
|
430
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
427
431
|
}
|
|
428
432
|
export interface CompleteLayerUploadRequest {
|
|
429
433
|
/**
|
|
@@ -478,71 +482,74 @@ export declare namespace CompleteLayerUploadResponse {
|
|
|
478
482
|
/**
|
|
479
483
|
* <p>The specified layer upload does not contain any layer parts.</p>
|
|
480
484
|
*/
|
|
481
|
-
export
|
|
482
|
-
name: "EmptyUploadException";
|
|
483
|
-
$fault: "client";
|
|
485
|
+
export declare class EmptyUploadException extends __BaseException {
|
|
486
|
+
readonly name: "EmptyUploadException";
|
|
487
|
+
readonly $fault: "client";
|
|
484
488
|
/**
|
|
485
|
-
*
|
|
489
|
+
* @internal
|
|
486
490
|
*/
|
|
487
|
-
|
|
491
|
+
constructor(opts: __ExceptionOptionType<EmptyUploadException, __BaseException>);
|
|
488
492
|
}
|
|
489
493
|
/**
|
|
490
494
|
* <p>The layer digest calculation performed by Amazon ECR upon receipt of the image layer does
|
|
491
495
|
* not match the digest specified.</p>
|
|
492
496
|
*/
|
|
493
|
-
export
|
|
494
|
-
name: "InvalidLayerException";
|
|
495
|
-
$fault: "client";
|
|
497
|
+
export declare class InvalidLayerException extends __BaseException {
|
|
498
|
+
readonly name: "InvalidLayerException";
|
|
499
|
+
readonly $fault: "client";
|
|
496
500
|
/**
|
|
497
|
-
*
|
|
501
|
+
* @internal
|
|
498
502
|
*/
|
|
499
|
-
|
|
503
|
+
constructor(opts: __ExceptionOptionType<InvalidLayerException, __BaseException>);
|
|
500
504
|
}
|
|
501
505
|
/**
|
|
502
506
|
* <p>The operation failed due to a KMS exception.</p>
|
|
503
507
|
*/
|
|
504
|
-
export
|
|
505
|
-
name: "KmsException";
|
|
506
|
-
$fault: "client";
|
|
507
|
-
message?: string;
|
|
508
|
+
export declare class KmsException extends __BaseException {
|
|
509
|
+
readonly name: "KmsException";
|
|
510
|
+
readonly $fault: "client";
|
|
508
511
|
/**
|
|
509
512
|
* <p>The error code returned by KMS.</p>
|
|
510
513
|
*/
|
|
511
514
|
kmsError?: string;
|
|
515
|
+
/**
|
|
516
|
+
* @internal
|
|
517
|
+
*/
|
|
518
|
+
constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
|
|
512
519
|
}
|
|
513
520
|
/**
|
|
514
521
|
* <p>The image layer already exists in the associated repository.</p>
|
|
515
522
|
*/
|
|
516
|
-
export
|
|
517
|
-
name: "LayerAlreadyExistsException";
|
|
518
|
-
$fault: "client";
|
|
523
|
+
export declare class LayerAlreadyExistsException extends __BaseException {
|
|
524
|
+
readonly name: "LayerAlreadyExistsException";
|
|
525
|
+
readonly $fault: "client";
|
|
519
526
|
/**
|
|
520
|
-
*
|
|
527
|
+
* @internal
|
|
521
528
|
*/
|
|
522
|
-
|
|
529
|
+
constructor(opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>);
|
|
523
530
|
}
|
|
524
531
|
/**
|
|
525
532
|
* <p>Layer parts must be at least 5 MiB in size.</p>
|
|
526
533
|
*/
|
|
527
|
-
export
|
|
528
|
-
name: "LayerPartTooSmallException";
|
|
529
|
-
$fault: "client";
|
|
534
|
+
export declare class LayerPartTooSmallException extends __BaseException {
|
|
535
|
+
readonly name: "LayerPartTooSmallException";
|
|
536
|
+
readonly $fault: "client";
|
|
530
537
|
/**
|
|
531
|
-
*
|
|
538
|
+
* @internal
|
|
532
539
|
*/
|
|
533
|
-
|
|
540
|
+
constructor(opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>);
|
|
534
541
|
}
|
|
535
542
|
/**
|
|
536
543
|
* <p>The upload could not be found, or the specified upload ID is not valid for this
|
|
537
544
|
* repository.</p>
|
|
538
545
|
*/
|
|
539
|
-
export
|
|
540
|
-
name: "UploadNotFoundException";
|
|
541
|
-
$fault: "client";
|
|
546
|
+
export declare class UploadNotFoundException extends __BaseException {
|
|
547
|
+
readonly name: "UploadNotFoundException";
|
|
548
|
+
readonly $fault: "client";
|
|
542
549
|
/**
|
|
543
|
-
*
|
|
550
|
+
* @internal
|
|
544
551
|
*/
|
|
545
|
-
|
|
552
|
+
constructor(opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>);
|
|
546
553
|
}
|
|
547
554
|
export interface CreatePullThroughCacheRuleRequest {
|
|
548
555
|
/**
|
|
@@ -596,30 +603,36 @@ export declare namespace CreatePullThroughCacheRuleResponse {
|
|
|
596
603
|
* account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
|
|
597
604
|
* the Amazon Elastic Container Registry User Guide.</p>
|
|
598
605
|
*/
|
|
599
|
-
export
|
|
600
|
-
name: "LimitExceededException";
|
|
601
|
-
$fault: "client";
|
|
606
|
+
export declare class LimitExceededException extends __BaseException {
|
|
607
|
+
readonly name: "LimitExceededException";
|
|
608
|
+
readonly $fault: "client";
|
|
602
609
|
/**
|
|
603
|
-
*
|
|
610
|
+
* @internal
|
|
604
611
|
*/
|
|
605
|
-
|
|
612
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
606
613
|
}
|
|
607
614
|
/**
|
|
608
615
|
* <p>A pull through cache rule with these settings already exists for the private
|
|
609
616
|
* registry.</p>
|
|
610
617
|
*/
|
|
611
|
-
export
|
|
612
|
-
name: "PullThroughCacheRuleAlreadyExistsException";
|
|
613
|
-
$fault: "client";
|
|
614
|
-
|
|
618
|
+
export declare class PullThroughCacheRuleAlreadyExistsException extends __BaseException {
|
|
619
|
+
readonly name: "PullThroughCacheRuleAlreadyExistsException";
|
|
620
|
+
readonly $fault: "client";
|
|
621
|
+
/**
|
|
622
|
+
* @internal
|
|
623
|
+
*/
|
|
624
|
+
constructor(opts: __ExceptionOptionType<PullThroughCacheRuleAlreadyExistsException, __BaseException>);
|
|
615
625
|
}
|
|
616
626
|
/**
|
|
617
627
|
* <p>The specified upstream registry isn't supported.</p>
|
|
618
628
|
*/
|
|
619
|
-
export
|
|
620
|
-
name: "UnsupportedUpstreamRegistryException";
|
|
621
|
-
$fault: "client";
|
|
622
|
-
|
|
629
|
+
export declare class UnsupportedUpstreamRegistryException extends __BaseException {
|
|
630
|
+
readonly name: "UnsupportedUpstreamRegistryException";
|
|
631
|
+
readonly $fault: "client";
|
|
632
|
+
/**
|
|
633
|
+
* @internal
|
|
634
|
+
*/
|
|
635
|
+
constructor(opts: __ExceptionOptionType<UnsupportedUpstreamRegistryException, __BaseException>);
|
|
623
636
|
}
|
|
624
637
|
export declare enum EncryptionType {
|
|
625
638
|
AES256 = "AES256",
|
|
@@ -691,9 +704,8 @@ export declare enum ImageTagMutability {
|
|
|
691
704
|
MUTABLE = "MUTABLE"
|
|
692
705
|
}
|
|
693
706
|
/**
|
|
694
|
-
* <p>The metadata
|
|
695
|
-
*
|
|
696
|
-
* Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
707
|
+
* <p>The metadata to apply to a resource to help you categorize and organize them. Each tag
|
|
708
|
+
* consists of a key and a value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
697
709
|
* a maximum length of 256 characters.</p>
|
|
698
710
|
*/
|
|
699
711
|
export interface Tag {
|
|
@@ -703,8 +715,7 @@ export interface Tag {
|
|
|
703
715
|
*/
|
|
704
716
|
Key?: string;
|
|
705
717
|
/**
|
|
706
|
-
* <p>
|
|
707
|
-
* a descriptor within a tag category (key).</p>
|
|
718
|
+
* <p>A <code>value</code> acts as a descriptor within a tag category (key).</p>
|
|
708
719
|
*/
|
|
709
720
|
Value?: string;
|
|
710
721
|
}
|
|
@@ -820,30 +831,36 @@ export declare namespace CreateRepositoryResponse {
|
|
|
820
831
|
* <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
821
832
|
* a maximum length of 256 characters.</p>
|
|
822
833
|
*/
|
|
823
|
-
export
|
|
824
|
-
name: "InvalidTagParameterException";
|
|
825
|
-
$fault: "client";
|
|
826
|
-
|
|
834
|
+
export declare class InvalidTagParameterException extends __BaseException {
|
|
835
|
+
readonly name: "InvalidTagParameterException";
|
|
836
|
+
readonly $fault: "client";
|
|
837
|
+
/**
|
|
838
|
+
* @internal
|
|
839
|
+
*/
|
|
840
|
+
constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
|
|
827
841
|
}
|
|
828
842
|
/**
|
|
829
843
|
* <p>The specified repository already exists in the specified registry.</p>
|
|
830
844
|
*/
|
|
831
|
-
export
|
|
832
|
-
name: "RepositoryAlreadyExistsException";
|
|
833
|
-
$fault: "client";
|
|
845
|
+
export declare class RepositoryAlreadyExistsException extends __BaseException {
|
|
846
|
+
readonly name: "RepositoryAlreadyExistsException";
|
|
847
|
+
readonly $fault: "client";
|
|
834
848
|
/**
|
|
835
|
-
*
|
|
849
|
+
* @internal
|
|
836
850
|
*/
|
|
837
|
-
|
|
851
|
+
constructor(opts: __ExceptionOptionType<RepositoryAlreadyExistsException, __BaseException>);
|
|
838
852
|
}
|
|
839
853
|
/**
|
|
840
854
|
* <p>The list of tags on the repository is over the limit. The maximum number of tags that
|
|
841
855
|
* can be applied to a repository is 50.</p>
|
|
842
856
|
*/
|
|
843
|
-
export
|
|
844
|
-
name: "TooManyTagsException";
|
|
845
|
-
$fault: "client";
|
|
846
|
-
|
|
857
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
858
|
+
readonly name: "TooManyTagsException";
|
|
859
|
+
readonly $fault: "client";
|
|
860
|
+
/**
|
|
861
|
+
* @internal
|
|
862
|
+
*/
|
|
863
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
847
864
|
}
|
|
848
865
|
export interface DeleteLifecyclePolicyRequest {
|
|
849
866
|
/**
|
|
@@ -890,10 +907,13 @@ export declare namespace DeleteLifecyclePolicyResponse {
|
|
|
890
907
|
* <p>The lifecycle policy could not be found, and no policy is set to the
|
|
891
908
|
* repository.</p>
|
|
892
909
|
*/
|
|
893
|
-
export
|
|
894
|
-
name: "LifecyclePolicyNotFoundException";
|
|
895
|
-
$fault: "client";
|
|
896
|
-
|
|
910
|
+
export declare class LifecyclePolicyNotFoundException extends __BaseException {
|
|
911
|
+
readonly name: "LifecyclePolicyNotFoundException";
|
|
912
|
+
readonly $fault: "client";
|
|
913
|
+
/**
|
|
914
|
+
* @internal
|
|
915
|
+
*/
|
|
916
|
+
constructor(opts: __ExceptionOptionType<LifecyclePolicyNotFoundException, __BaseException>);
|
|
897
917
|
}
|
|
898
918
|
export interface DeletePullThroughCacheRuleRequest {
|
|
899
919
|
/**
|
|
@@ -941,10 +961,13 @@ export declare namespace DeletePullThroughCacheRuleResponse {
|
|
|
941
961
|
* <p>The pull through cache rule was not found. Specify a valid pull through cache rule and
|
|
942
962
|
* try again.</p>
|
|
943
963
|
*/
|
|
944
|
-
export
|
|
945
|
-
name: "PullThroughCacheRuleNotFoundException";
|
|
946
|
-
$fault: "client";
|
|
947
|
-
|
|
964
|
+
export declare class PullThroughCacheRuleNotFoundException extends __BaseException {
|
|
965
|
+
readonly name: "PullThroughCacheRuleNotFoundException";
|
|
966
|
+
readonly $fault: "client";
|
|
967
|
+
/**
|
|
968
|
+
* @internal
|
|
969
|
+
*/
|
|
970
|
+
constructor(opts: __ExceptionOptionType<PullThroughCacheRuleNotFoundException, __BaseException>);
|
|
948
971
|
}
|
|
949
972
|
export interface DeleteRegistryPolicyRequest {
|
|
950
973
|
}
|
|
@@ -973,10 +996,13 @@ export declare namespace DeleteRegistryPolicyResponse {
|
|
|
973
996
|
/**
|
|
974
997
|
* <p>The registry doesn't have an associated registry policy.</p>
|
|
975
998
|
*/
|
|
976
|
-
export
|
|
977
|
-
name: "RegistryPolicyNotFoundException";
|
|
978
|
-
$fault: "client";
|
|
979
|
-
|
|
999
|
+
export declare class RegistryPolicyNotFoundException extends __BaseException {
|
|
1000
|
+
readonly name: "RegistryPolicyNotFoundException";
|
|
1001
|
+
readonly $fault: "client";
|
|
1002
|
+
/**
|
|
1003
|
+
* @internal
|
|
1004
|
+
*/
|
|
1005
|
+
constructor(opts: __ExceptionOptionType<RegistryPolicyNotFoundException, __BaseException>);
|
|
980
1006
|
}
|
|
981
1007
|
export interface DeleteRepositoryRequest {
|
|
982
1008
|
/**
|
|
@@ -1015,13 +1041,13 @@ export declare namespace DeleteRepositoryResponse {
|
|
|
1015
1041
|
* <p>The specified repository contains images. To delete a repository that contains images,
|
|
1016
1042
|
* you must force the deletion with the <code>force</code> parameter.</p>
|
|
1017
1043
|
*/
|
|
1018
|
-
export
|
|
1019
|
-
name: "RepositoryNotEmptyException";
|
|
1020
|
-
$fault: "client";
|
|
1044
|
+
export declare class RepositoryNotEmptyException extends __BaseException {
|
|
1045
|
+
readonly name: "RepositoryNotEmptyException";
|
|
1046
|
+
readonly $fault: "client";
|
|
1021
1047
|
/**
|
|
1022
|
-
*
|
|
1048
|
+
* @internal
|
|
1023
1049
|
*/
|
|
1024
|
-
|
|
1050
|
+
constructor(opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>);
|
|
1025
1051
|
}
|
|
1026
1052
|
export interface DeleteRepositoryPolicyRequest {
|
|
1027
1053
|
/**
|
|
@@ -1065,13 +1091,13 @@ export declare namespace DeleteRepositoryPolicyResponse {
|
|
|
1065
1091
|
* <p>The specified repository and registry combination does not have an associated
|
|
1066
1092
|
* repository policy.</p>
|
|
1067
1093
|
*/
|
|
1068
|
-
export
|
|
1069
|
-
name: "RepositoryPolicyNotFoundException";
|
|
1070
|
-
$fault: "client";
|
|
1094
|
+
export declare class RepositoryPolicyNotFoundException extends __BaseException {
|
|
1095
|
+
readonly name: "RepositoryPolicyNotFoundException";
|
|
1096
|
+
readonly $fault: "client";
|
|
1071
1097
|
/**
|
|
1072
|
-
*
|
|
1098
|
+
* @internal
|
|
1073
1099
|
*/
|
|
1074
|
-
|
|
1100
|
+
constructor(opts: __ExceptionOptionType<RepositoryPolicyNotFoundException, __BaseException>);
|
|
1075
1101
|
}
|
|
1076
1102
|
export interface DescribeImageReplicationStatusRequest {
|
|
1077
1103
|
/**
|
|
@@ -1148,10 +1174,13 @@ export declare namespace DescribeImageReplicationStatusResponse {
|
|
|
1148
1174
|
/**
|
|
1149
1175
|
* <p>The image requested does not exist in the specified repository.</p>
|
|
1150
1176
|
*/
|
|
1151
|
-
export
|
|
1152
|
-
name: "ImageNotFoundException";
|
|
1153
|
-
$fault: "client";
|
|
1154
|
-
|
|
1177
|
+
export declare class ImageNotFoundException extends __BaseException {
|
|
1178
|
+
readonly name: "ImageNotFoundException";
|
|
1179
|
+
readonly $fault: "client";
|
|
1180
|
+
/**
|
|
1181
|
+
* @internal
|
|
1182
|
+
*/
|
|
1183
|
+
constructor(opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>);
|
|
1155
1184
|
}
|
|
1156
1185
|
export declare enum TagStatus {
|
|
1157
1186
|
ANY = "ANY",
|
|
@@ -1339,6 +1368,19 @@ export interface ImageDetail {
|
|
|
1339
1368
|
* <p>The artifact media type of the image.</p>
|
|
1340
1369
|
*/
|
|
1341
1370
|
artifactMediaType?: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* <p>The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded
|
|
1373
|
+
* the last image pull.</p>
|
|
1374
|
+
* <note>
|
|
1375
|
+
* <p>Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For
|
|
1376
|
+
* example, if you pull an image once a day then the <code>lastRecordedPullTime</code>
|
|
1377
|
+
* timestamp will indicate the exact time that the image was last pulled. However, if
|
|
1378
|
+
* you pull an image once an hour, because Amazon ECR refreshes the
|
|
1379
|
+
* <code>lastRecordedPullTime</code> timestamp at least once every 24 hours, the
|
|
1380
|
+
* result may not be the exact time that the image was last pulled.</p>
|
|
1381
|
+
* </note>
|
|
1382
|
+
*/
|
|
1383
|
+
lastRecordedPullTime?: Date;
|
|
1342
1384
|
}
|
|
1343
1385
|
export declare namespace ImageDetail {
|
|
1344
1386
|
/**
|
|
@@ -1913,10 +1955,13 @@ export declare namespace DescribeImageScanFindingsResponse {
|
|
|
1913
1955
|
* <p>The specified image scan could not be found. Ensure that image scanning is enabled on
|
|
1914
1956
|
* the repository and try again.</p>
|
|
1915
1957
|
*/
|
|
1916
|
-
export
|
|
1917
|
-
name: "ScanNotFoundException";
|
|
1918
|
-
$fault: "client";
|
|
1919
|
-
|
|
1958
|
+
export declare class ScanNotFoundException extends __BaseException {
|
|
1959
|
+
readonly name: "ScanNotFoundException";
|
|
1960
|
+
readonly $fault: "client";
|
|
1961
|
+
/**
|
|
1962
|
+
* @internal
|
|
1963
|
+
*/
|
|
1964
|
+
constructor(opts: __ExceptionOptionType<ScanNotFoundException, __BaseException>);
|
|
1920
1965
|
}
|
|
1921
1966
|
export interface DescribePullThroughCacheRulesRequest {
|
|
1922
1967
|
/**
|
|
@@ -2280,25 +2325,25 @@ export declare namespace GetDownloadUrlForLayerResponse {
|
|
|
2280
2325
|
* <p>The specified layer is not available because it is not associated with an image.
|
|
2281
2326
|
* Unassociated image layers may be cleaned up at any time.</p>
|
|
2282
2327
|
*/
|
|
2283
|
-
export
|
|
2284
|
-
name: "LayerInaccessibleException";
|
|
2285
|
-
$fault: "client";
|
|
2328
|
+
export declare class LayerInaccessibleException extends __BaseException {
|
|
2329
|
+
readonly name: "LayerInaccessibleException";
|
|
2330
|
+
readonly $fault: "client";
|
|
2286
2331
|
/**
|
|
2287
|
-
*
|
|
2332
|
+
* @internal
|
|
2288
2333
|
*/
|
|
2289
|
-
|
|
2334
|
+
constructor(opts: __ExceptionOptionType<LayerInaccessibleException, __BaseException>);
|
|
2290
2335
|
}
|
|
2291
2336
|
/**
|
|
2292
2337
|
* <p>The specified layers could not be found, or the specified layer is not valid for this
|
|
2293
2338
|
* repository.</p>
|
|
2294
2339
|
*/
|
|
2295
|
-
export
|
|
2296
|
-
name: "LayersNotFoundException";
|
|
2297
|
-
$fault: "client";
|
|
2340
|
+
export declare class LayersNotFoundException extends __BaseException {
|
|
2341
|
+
readonly name: "LayersNotFoundException";
|
|
2342
|
+
readonly $fault: "client";
|
|
2298
2343
|
/**
|
|
2299
|
-
*
|
|
2344
|
+
* @internal
|
|
2300
2345
|
*/
|
|
2301
|
-
|
|
2346
|
+
constructor(opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>);
|
|
2302
2347
|
}
|
|
2303
2348
|
export interface GetLifecyclePolicyRequest {
|
|
2304
2349
|
/**
|
|
@@ -2529,10 +2574,13 @@ export declare namespace GetLifecyclePolicyPreviewResponse {
|
|
|
2529
2574
|
/**
|
|
2530
2575
|
* <p>There is no dry run for this repository.</p>
|
|
2531
2576
|
*/
|
|
2532
|
-
export
|
|
2533
|
-
name: "LifecyclePolicyPreviewNotFoundException";
|
|
2534
|
-
$fault: "client";
|
|
2535
|
-
|
|
2577
|
+
export declare class LifecyclePolicyPreviewNotFoundException extends __BaseException {
|
|
2578
|
+
readonly name: "LifecyclePolicyPreviewNotFoundException";
|
|
2579
|
+
readonly $fault: "client";
|
|
2580
|
+
/**
|
|
2581
|
+
* @internal
|
|
2582
|
+
*/
|
|
2583
|
+
constructor(opts: __ExceptionOptionType<LifecyclePolicyPreviewNotFoundException, __BaseException>);
|
|
2536
2584
|
}
|
|
2537
2585
|
export interface GetRegistryPolicyRequest {
|
|
2538
2586
|
}
|
|
@@ -2571,7 +2619,11 @@ export declare namespace GetRegistryScanningConfigurationRequest {
|
|
|
2571
2619
|
*/
|
|
2572
2620
|
export interface RegistryScanningRule {
|
|
2573
2621
|
/**
|
|
2574
|
-
* <p>The frequency that scans are performed at for a private registry
|
|
2622
|
+
* <p>The frequency that scans are performed at for a private registry. When the
|
|
2623
|
+
* <code>ENHANCED</code> scan type is specified, the supported scan frequencies are
|
|
2624
|
+
* <code>CONTINUOUS_SCAN</code> and <code>SCAN_ON_PUSH</code>. When the
|
|
2625
|
+
* <code>BASIC</code> scan type is specified, the <code>SCAN_ON_PUSH</code> and
|
|
2626
|
+
* <code>MANUAL</code> scan frequencies are supported.</p>
|
|
2575
2627
|
*/
|
|
2576
2628
|
scanFrequency: ScanFrequency | string | undefined;
|
|
2577
2629
|
/**
|
|
@@ -2807,31 +2859,37 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
2807
2859
|
* <p>The specified image has already been pushed, and there were no changes to the manifest
|
|
2808
2860
|
* or image tag after the last push.</p>
|
|
2809
2861
|
*/
|
|
2810
|
-
export
|
|
2811
|
-
name: "ImageAlreadyExistsException";
|
|
2812
|
-
$fault: "client";
|
|
2862
|
+
export declare class ImageAlreadyExistsException extends __BaseException {
|
|
2863
|
+
readonly name: "ImageAlreadyExistsException";
|
|
2864
|
+
readonly $fault: "client";
|
|
2813
2865
|
/**
|
|
2814
|
-
*
|
|
2866
|
+
* @internal
|
|
2815
2867
|
*/
|
|
2816
|
-
|
|
2868
|
+
constructor(opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>);
|
|
2817
2869
|
}
|
|
2818
2870
|
/**
|
|
2819
2871
|
* <p>The specified image digest does not match the digest that Amazon ECR calculated for the
|
|
2820
2872
|
* image.</p>
|
|
2821
2873
|
*/
|
|
2822
|
-
export
|
|
2823
|
-
name: "ImageDigestDoesNotMatchException";
|
|
2824
|
-
$fault: "client";
|
|
2825
|
-
|
|
2874
|
+
export declare class ImageDigestDoesNotMatchException extends __BaseException {
|
|
2875
|
+
readonly name: "ImageDigestDoesNotMatchException";
|
|
2876
|
+
readonly $fault: "client";
|
|
2877
|
+
/**
|
|
2878
|
+
* @internal
|
|
2879
|
+
*/
|
|
2880
|
+
constructor(opts: __ExceptionOptionType<ImageDigestDoesNotMatchException, __BaseException>);
|
|
2826
2881
|
}
|
|
2827
2882
|
/**
|
|
2828
2883
|
* <p>The specified image is tagged with a tag that already exists. The repository is
|
|
2829
2884
|
* configured for tag immutability.</p>
|
|
2830
2885
|
*/
|
|
2831
|
-
export
|
|
2832
|
-
name: "ImageTagAlreadyExistsException";
|
|
2833
|
-
$fault: "client";
|
|
2834
|
-
|
|
2886
|
+
export declare class ImageTagAlreadyExistsException extends __BaseException {
|
|
2887
|
+
readonly name: "ImageTagAlreadyExistsException";
|
|
2888
|
+
readonly $fault: "client";
|
|
2889
|
+
/**
|
|
2890
|
+
* @internal
|
|
2891
|
+
*/
|
|
2892
|
+
constructor(opts: __ExceptionOptionType<ImageTagAlreadyExistsException, __BaseException>);
|
|
2835
2893
|
}
|
|
2836
2894
|
export interface PutImageRequest {
|
|
2837
2895
|
/**
|
|
@@ -2884,10 +2942,13 @@ export declare namespace PutImageResponse {
|
|
|
2884
2942
|
/**
|
|
2885
2943
|
* <p>The manifest list is referencing an image that does not exist.</p>
|
|
2886
2944
|
*/
|
|
2887
|
-
export
|
|
2888
|
-
name: "ReferencedImagesNotFoundException";
|
|
2889
|
-
$fault: "client";
|
|
2890
|
-
|
|
2945
|
+
export declare class ReferencedImagesNotFoundException extends __BaseException {
|
|
2946
|
+
readonly name: "ReferencedImagesNotFoundException";
|
|
2947
|
+
readonly $fault: "client";
|
|
2948
|
+
/**
|
|
2949
|
+
* @internal
|
|
2950
|
+
*/
|
|
2951
|
+
constructor(opts: __ExceptionOptionType<ReferencedImagesNotFoundException, __BaseException>);
|
|
2891
2952
|
}
|
|
2892
2953
|
export interface PutImageScanningConfigurationRequest {
|
|
2893
2954
|
/**
|
|
@@ -3054,12 +3115,15 @@ export declare namespace PutRegistryPolicyResponse {
|
|
|
3054
3115
|
export interface PutRegistryScanningConfigurationRequest {
|
|
3055
3116
|
/**
|
|
3056
3117
|
* <p>The scanning type to set for the registry.</p>
|
|
3057
|
-
* <p>
|
|
3058
|
-
*
|
|
3059
|
-
*
|
|
3060
|
-
*
|
|
3061
|
-
*
|
|
3062
|
-
*
|
|
3118
|
+
* <p>When a registry scanning configuration is not defined, by default the
|
|
3119
|
+
* <code>BASIC</code> scan type is used. When basic scanning is used, you may specify
|
|
3120
|
+
* filters to determine which individual repositories, or all repositories, are scanned
|
|
3121
|
+
* when new images are pushed to those repositories. Alternatively, you can do manual scans
|
|
3122
|
+
* of images with basic scanning.</p>
|
|
3123
|
+
* <p>When the <code>ENHANCED</code> scan type is set, Amazon Inspector provides automated
|
|
3124
|
+
* vulnerability scanning. You may choose between continuous scanning or scan on push and
|
|
3125
|
+
* you may specify filters to determine which individual repositories, or all repositories,
|
|
3126
|
+
* are scanned.</p>
|
|
3063
3127
|
*/
|
|
3064
3128
|
scanType?: ScanType | string;
|
|
3065
3129
|
/**
|
|
@@ -3207,19 +3271,25 @@ export declare namespace StartImageScanResponse {
|
|
|
3207
3271
|
/**
|
|
3208
3272
|
* <p>The image is of a type that cannot be scanned.</p>
|
|
3209
3273
|
*/
|
|
3210
|
-
export
|
|
3211
|
-
name: "UnsupportedImageTypeException";
|
|
3212
|
-
$fault: "client";
|
|
3213
|
-
|
|
3274
|
+
export declare class UnsupportedImageTypeException extends __BaseException {
|
|
3275
|
+
readonly name: "UnsupportedImageTypeException";
|
|
3276
|
+
readonly $fault: "client";
|
|
3277
|
+
/**
|
|
3278
|
+
* @internal
|
|
3279
|
+
*/
|
|
3280
|
+
constructor(opts: __ExceptionOptionType<UnsupportedImageTypeException, __BaseException>);
|
|
3214
3281
|
}
|
|
3215
3282
|
/**
|
|
3216
3283
|
* <p>The previous lifecycle policy preview request has not completed. Wait and try
|
|
3217
3284
|
* again.</p>
|
|
3218
3285
|
*/
|
|
3219
|
-
export
|
|
3220
|
-
name: "LifecyclePolicyPreviewInProgressException";
|
|
3221
|
-
$fault: "client";
|
|
3222
|
-
|
|
3286
|
+
export declare class LifecyclePolicyPreviewInProgressException extends __BaseException {
|
|
3287
|
+
readonly name: "LifecyclePolicyPreviewInProgressException";
|
|
3288
|
+
readonly $fault: "client";
|
|
3289
|
+
/**
|
|
3290
|
+
* @internal
|
|
3291
|
+
*/
|
|
3292
|
+
constructor(opts: __ExceptionOptionType<LifecyclePolicyPreviewInProgressException, __BaseException>);
|
|
3223
3293
|
}
|
|
3224
3294
|
export interface StartLifecyclePolicyPreviewRequest {
|
|
3225
3295
|
/**
|
|
@@ -3323,9 +3393,9 @@ export declare namespace UntagResourceResponse {
|
|
|
3323
3393
|
* <p>The layer part size is not valid, or the first byte specified is not consecutive to
|
|
3324
3394
|
* the last byte of a previous layer part upload.</p>
|
|
3325
3395
|
*/
|
|
3326
|
-
export
|
|
3327
|
-
name: "InvalidLayerPartException";
|
|
3328
|
-
$fault: "client";
|
|
3396
|
+
export declare class InvalidLayerPartException extends __BaseException {
|
|
3397
|
+
readonly name: "InvalidLayerPartException";
|
|
3398
|
+
readonly $fault: "client";
|
|
3329
3399
|
/**
|
|
3330
3400
|
* <p>The registry ID associated with the exception.</p>
|
|
3331
3401
|
*/
|
|
@@ -3344,9 +3414,9 @@ export interface InvalidLayerPartException extends __SmithyException, $MetadataB
|
|
|
3344
3414
|
*/
|
|
3345
3415
|
lastValidByteReceived?: number;
|
|
3346
3416
|
/**
|
|
3347
|
-
*
|
|
3417
|
+
* @internal
|
|
3348
3418
|
*/
|
|
3349
|
-
|
|
3419
|
+
constructor(opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>);
|
|
3350
3420
|
}
|
|
3351
3421
|
export interface UploadLayerPartRequest {
|
|
3352
3422
|
/**
|