forked from aws/aws-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecr-2015-09-21.normal.json
1431 lines (1431 loc) · 57.8 KB
/
ecr-2015-09-21.normal.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"version":"2.0",
"metadata":{
"uid":"ecr-2015-09-21",
"apiVersion":"2015-09-21",
"endpointPrefix":"ecr",
"jsonVersion":"1.1",
"protocol":"json",
"serviceAbbreviation":"Amazon ECR",
"serviceFullName":"Amazon EC2 Container Registry",
"signatureVersion":"v4",
"targetPrefix":"AmazonEC2ContainerRegistry_V20150921"
},
"operations":{
"BatchCheckLayerAvailability":{
"name":"BatchCheckLayerAvailability",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"BatchCheckLayerAvailabilityRequest"},
"output":{"shape":"BatchCheckLayerAvailabilityResponse"},
"errors":[
{"shape":"RepositoryNotFoundException"},
{"shape":"InvalidParameterException"},
{"shape":"ServerException"}
],
"documentation":"<p>Check the availability of multiple image layers in a specified registry and repository.</p> <note> <p>This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p> </note>"
},
"BatchDeleteImage":{
"name":"BatchDeleteImage",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"BatchDeleteImageRequest"},
"output":{"shape":"BatchDeleteImageResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"}
],
"documentation":"<p>Deletes a list of specified images within a specified repository. Images are specified with either <code>imageTag</code> or <code>imageDigest</code>.</p> <p>You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository.</p> <p>You can completely delete an image (and all of its tags) by specifying the image's digest in your request.</p>"
},
"BatchGetImage":{
"name":"BatchGetImage",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"BatchGetImageRequest"},
"output":{"shape":"BatchGetImageResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"}
],
"documentation":"<p>Gets detailed information for specified images within a specified repository. Images are specified with either <code>imageTag</code> or <code>imageDigest</code>.</p>"
},
"CompleteLayerUpload":{
"name":"CompleteLayerUpload",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CompleteLayerUploadRequest"},
"output":{"shape":"CompleteLayerUploadResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"},
{"shape":"UploadNotFoundException"},
{"shape":"InvalidLayerException"},
{"shape":"LayerPartTooSmallException"},
{"shape":"LayerAlreadyExistsException"},
{"shape":"EmptyUploadException"}
],
"documentation":"<p>Inform Amazon ECR that the image layer upload for a specified registry, repository name, and upload ID, has completed. You can optionally provide a <code>sha256</code> digest of the image layer for data validation purposes.</p> <note> <p>This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p> </note>"
},
"CreateRepository":{
"name":"CreateRepository",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateRepositoryRequest"},
"output":{"shape":"CreateRepositoryResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryAlreadyExistsException"},
{"shape":"LimitExceededException"}
],
"documentation":"<p>Creates an image repository.</p>"
},
"DeleteRepository":{
"name":"DeleteRepository",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteRepositoryRequest"},
"output":{"shape":"DeleteRepositoryResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"},
{"shape":"RepositoryNotEmptyException"}
],
"documentation":"<p>Deletes an existing image repository. If a repository contains images, you must use the <code>force</code> option to delete it.</p>"
},
"DeleteRepositoryPolicy":{
"name":"DeleteRepositoryPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteRepositoryPolicyRequest"},
"output":{"shape":"DeleteRepositoryPolicyResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"},
{"shape":"RepositoryPolicyNotFoundException"}
],
"documentation":"<p>Deletes the repository policy from a specified repository.</p>"
},
"DescribeImages":{
"name":"DescribeImages",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeImagesRequest"},
"output":{"shape":"DescribeImagesResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"},
{"shape":"ImageNotFoundException"}
],
"documentation":"<p>Returns metadata about the images in a repository, including image size, image tags, and creation date.</p> <note> <p>Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the <code>docker images</code> command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by <a>DescribeImages</a>.</p> </note>"
},
"DescribeRepositories":{
"name":"DescribeRepositories",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeRepositoriesRequest"},
"output":{"shape":"DescribeRepositoriesResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"}
],
"documentation":"<p>Describes image repositories in a registry.</p>"
},
"GetAuthorizationToken":{
"name":"GetAuthorizationToken",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetAuthorizationTokenRequest"},
"output":{"shape":"GetAuthorizationTokenResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"}
],
"documentation":"<p>Retrieves a token that is valid for a specified registry for 12 hours. This command allows you to use the <code>docker</code> CLI to push and pull images with Amazon ECR. If you do not specify a registry, the default registry is assumed.</p> <p>The <code>authorizationToken</code> returned for each registry specified is a base64 encoded string that can be decoded and used in a <code>docker login</code> command to authenticate to a registry. The AWS CLI offers an <code>aws ecr get-login</code> command that simplifies the login process.</p>"
},
"GetDownloadUrlForLayer":{
"name":"GetDownloadUrlForLayer",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetDownloadUrlForLayerRequest"},
"output":{"shape":"GetDownloadUrlForLayerResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"LayersNotFoundException"},
{"shape":"LayerInaccessibleException"},
{"shape":"RepositoryNotFoundException"}
],
"documentation":"<p>Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image.</p> <note> <p>This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p> </note>"
},
"GetRepositoryPolicy":{
"name":"GetRepositoryPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetRepositoryPolicyRequest"},
"output":{"shape":"GetRepositoryPolicyResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"},
{"shape":"RepositoryPolicyNotFoundException"}
],
"documentation":"<p>Retrieves the repository policy for a specified repository.</p>"
},
"InitiateLayerUpload":{
"name":"InitiateLayerUpload",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"InitiateLayerUploadRequest"},
"output":{"shape":"InitiateLayerUploadResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"}
],
"documentation":"<p>Notify Amazon ECR that you intend to upload an image layer.</p> <note> <p>This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p> </note>"
},
"ListImages":{
"name":"ListImages",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListImagesRequest"},
"output":{"shape":"ListImagesResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"}
],
"documentation":"<p>Lists all the image IDs for a given repository.</p> <p>You can filter images based on whether or not they are tagged by setting the <code>tagStatus</code> parameter to <code>TAGGED</code> or <code>UNTAGGED</code>. For example, you can filter your results to return only <code>UNTAGGED</code> images and then pipe that result to a <a>BatchDeleteImage</a> operation to delete them. Or, you can filter your results to return only <code>TAGGED</code> images to list all of the tags in your repository.</p>"
},
"PutImage":{
"name":"PutImage",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutImageRequest"},
"output":{"shape":"PutImageResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"},
{"shape":"ImageAlreadyExistsException"},
{"shape":"LayersNotFoundException"},
{"shape":"LimitExceededException"}
],
"documentation":"<p>Creates or updates the image manifest and tags associated with an image.</p> <note> <p>This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p> </note>"
},
"SetRepositoryPolicy":{
"name":"SetRepositoryPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"SetRepositoryPolicyRequest"},
"output":{"shape":"SetRepositoryPolicyResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"RepositoryNotFoundException"}
],
"documentation":"<p>Applies a repository policy on a specified repository to control access permissions.</p>"
},
"UploadLayerPart":{
"name":"UploadLayerPart",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UploadLayerPartRequest"},
"output":{"shape":"UploadLayerPartResponse"},
"errors":[
{"shape":"ServerException"},
{"shape":"InvalidParameterException"},
{"shape":"InvalidLayerPartException"},
{"shape":"RepositoryNotFoundException"},
{"shape":"UploadNotFoundException"},
{"shape":"LimitExceededException"}
],
"documentation":"<p>Uploads an image layer part to Amazon ECR.</p> <note> <p>This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p> </note>"
}
},
"shapes":{
"Arn":{"type":"string"},
"AuthorizationData":{
"type":"structure",
"members":{
"authorizationToken":{
"shape":"Base64",
"documentation":"<p>A base64-encoded string that contains authorization data for the specified Amazon ECR registry. When the string is decoded, it is presented in the format <code>user:password</code> for private registry authentication using <code>docker login</code>.</p>"
},
"expiresAt":{
"shape":"ExpirationTimestamp",
"documentation":"<p>The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.</p>"
},
"proxyEndpoint":{
"shape":"ProxyEndpoint",
"documentation":"<p>The registry URL to use for this authorization token in a <code>docker login</code> command. The Amazon ECR registry URL format is <code>https://aws_account_id.dkr.ecr.region.amazonaws.com</code>. For example, <code>https://012345678910.dkr.ecr.us-east-1.amazonaws.com</code>.. </p>"
}
},
"documentation":"<p>An object representing authorization data for an Amazon ECR registry.</p>"
},
"AuthorizationDataList":{
"type":"list",
"member":{"shape":"AuthorizationData"}
},
"Base64":{
"type":"string",
"pattern":"^\\S+$"
},
"BatchCheckLayerAvailabilityRequest":{
"type":"structure",
"required":[
"repositoryName",
"layerDigests"
],
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry that contains the image layers to check. If you do not specify a registry, the default registry is assumed.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that is associated with the image layers to check.</p>"
},
"layerDigests":{
"shape":"BatchedOperationLayerDigestList",
"documentation":"<p>The digests of the image layers to check.</p>"
}
}
},
"BatchCheckLayerAvailabilityResponse":{
"type":"structure",
"members":{
"layers":{
"shape":"LayerList",
"documentation":"<p>A list of image layer objects corresponding to the image layer references in the request.</p>"
},
"failures":{
"shape":"LayerFailureList",
"documentation":"<p>Any failures associated with the call.</p>"
}
}
},
"BatchDeleteImageRequest":{
"type":"structure",
"required":[
"repositoryName",
"imageIds"
],
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The repository that contains the image to delete.</p>"
},
"imageIds":{
"shape":"ImageIdentifierList",
"documentation":"<p>A list of image ID references that correspond to images to delete. The format of the <code>imageIds</code> reference is <code>imageTag=tag</code> or <code>imageDigest=digest</code>.</p>"
}
},
"documentation":"<p>Deletes specified images within a specified repository. Images are specified with either the <code>imageTag</code> or <code>imageDigest</code>.</p>"
},
"BatchDeleteImageResponse":{
"type":"structure",
"members":{
"imageIds":{
"shape":"ImageIdentifierList",
"documentation":"<p>The image IDs of the deleted images.</p>"
},
"failures":{
"shape":"ImageFailureList",
"documentation":"<p>Any failures associated with the call.</p>"
}
}
},
"BatchGetImageRequest":{
"type":"structure",
"required":[
"repositoryName",
"imageIds"
],
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The repository that contains the images to describe.</p>"
},
"imageIds":{
"shape":"ImageIdentifierList",
"documentation":"<p>A list of image ID references that correspond to images to describe. The format of the <code>imageIds</code> reference is <code>imageTag=tag</code> or <code>imageDigest=digest</code>.</p>"
},
"acceptedMediaTypes":{
"shape":"MediaTypeList",
"documentation":"<p>The accepted media types for the request.</p> <p>Valid values: <code>application/vnd.docker.distribution.manifest.v1+json</code> | <code>application/vnd.docker.distribution.manifest.v2+json</code> | <code>application/vnd.oci.image.manifest.v1+json</code> </p>"
}
}
},
"BatchGetImageResponse":{
"type":"structure",
"members":{
"images":{
"shape":"ImageList",
"documentation":"<p>A list of image objects corresponding to the image references in the request.</p>"
},
"failures":{
"shape":"ImageFailureList",
"documentation":"<p>Any failures associated with the call.</p>"
}
}
},
"BatchedOperationLayerDigest":{
"type":"string",
"max":1000,
"min":0
},
"BatchedOperationLayerDigestList":{
"type":"list",
"member":{"shape":"BatchedOperationLayerDigest"},
"max":100,
"min":1
},
"CompleteLayerUploadRequest":{
"type":"structure",
"required":[
"repositoryName",
"uploadId",
"layerDigests"
],
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry to which to upload layers. If you do not specify a registry, the default registry is assumed.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository to associate with the image layer.</p>"
},
"uploadId":{
"shape":"UploadId",
"documentation":"<p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to associate with the image layer.</p>"
},
"layerDigests":{
"shape":"LayerDigestList",
"documentation":"<p>The <code>sha256</code> digest of the image layer.</p>"
}
}
},
"CompleteLayerUploadResponse":{
"type":"structure",
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The registry ID associated with the request.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The repository name associated with the request.</p>"
},
"uploadId":{
"shape":"UploadId",
"documentation":"<p>The upload ID associated with the layer.</p>"
},
"layerDigest":{
"shape":"LayerDigest",
"documentation":"<p>The <code>sha256</code> digest of the image layer.</p>"
}
}
},
"CreateRepositoryRequest":{
"type":"structure",
"required":["repositoryName"],
"members":{
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name to use for the repository. The repository name may be specified on its own (such as <code>nginx-web-app</code>) or it can be prepended with a namespace to group the repository into a category (such as <code>project-a/nginx-web-app</code>).</p>"
}
}
},
"CreateRepositoryResponse":{
"type":"structure",
"members":{
"repository":{
"shape":"Repository",
"documentation":"<p>The repository that was created.</p>"
}
}
},
"CreationTimestamp":{"type":"timestamp"},
"DeleteRepositoryPolicyRequest":{
"type":"structure",
"required":["repositoryName"],
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry that contains the repository policy to delete. If you do not specify a registry, the default registry is assumed.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that is associated with the repository policy to delete.</p>"
}
}
},
"DeleteRepositoryPolicyResponse":{
"type":"structure",
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The registry ID associated with the request.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The repository name associated with the request.</p>"
},
"policyText":{
"shape":"RepositoryPolicyText",
"documentation":"<p>The JSON repository policy that was deleted from the repository.</p>"
}
}
},
"DeleteRepositoryRequest":{
"type":"structure",
"required":["repositoryName"],
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository to delete.</p>"
},
"force":{
"shape":"ForceFlag",
"documentation":"<p>Force the deletion of the repository if it contains images.</p>"
}
}
},
"DeleteRepositoryResponse":{
"type":"structure",
"members":{
"repository":{
"shape":"Repository",
"documentation":"<p>The repository that was deleted.</p>"
}
}
},
"DescribeImagesFilter":{
"type":"structure",
"members":{
"tagStatus":{
"shape":"TagStatus",
"documentation":"<p>The tag status with which to filter your <a>DescribeImages</a> results. You can filter results based on whether they are <code>TAGGED</code> or <code>UNTAGGED</code>.</p>"
}
},
"documentation":"<p>An object representing a filter on a <a>DescribeImages</a> operation.</p>"
},
"DescribeImagesRequest":{
"type":"structure",
"required":["repositoryName"],
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry that contains the repository in which to describe images. If you do not specify a registry, the default registry is assumed.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.</p>"
},
"imageIds":{
"shape":"ImageIdentifierList",
"documentation":"<p>The list of image IDs for the requested repository.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The <code>nextToken</code> value returned from a previous paginated <code>DescribeImages</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. This value is <code>null</code> when there are no more results to return.</p>"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of repository results returned by <code>DescribeImages</code> in paginated output. When this parameter is used, <code>DescribeImages</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>DescribeImages</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter is not used, then <code>DescribeImages</code> returns up to 100 results and a <code>nextToken</code> value, if applicable.</p>"
},
"filter":{
"shape":"DescribeImagesFilter",
"documentation":"<p>The filter key and value with which to filter your <code>DescribeImages</code> results.</p>"
}
}
},
"DescribeImagesResponse":{
"type":"structure",
"members":{
"imageDetails":{
"shape":"ImageDetailList",
"documentation":"<p>A list of <a>ImageDetail</a> objects that contain data about the image.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The <code>nextToken</code> value to include in a future <code>DescribeImages</code> request. When the results of a <code>DescribeImages</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
}
}
},
"DescribeRepositoriesRequest":{
"type":"structure",
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry that contains the repositories to be described. If you do not specify a registry, the default registry is assumed.</p>"
},
"repositoryNames":{
"shape":"RepositoryNameList",
"documentation":"<p>A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The <code>nextToken</code> value returned from a previous paginated <code>DescribeRepositories</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. This value is <code>null</code> when there are no more results to return.</p> <note> <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note>"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of repository results returned by <code>DescribeRepositories</code> in paginated output. When this parameter is used, <code>DescribeRepositories</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>DescribeRepositories</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter is not used, then <code>DescribeRepositories</code> returns up to 100 results and a <code>nextToken</code> value, if applicable.</p>"
}
}
},
"DescribeRepositoriesResponse":{
"type":"structure",
"members":{
"repositories":{
"shape":"RepositoryList",
"documentation":"<p>A list of repository objects corresponding to valid repositories.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The <code>nextToken</code> value to include in a future <code>DescribeRepositories</code> request. When the results of a <code>DescribeRepositories</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
}
}
},
"EmptyUploadException":{
"type":"structure",
"members":{
"message":{
"shape":"ExceptionMessage",
"documentation":"<p>The error message associated with the exception.</p>"
}
},
"documentation":"<p>The specified layer upload does not contain any layer parts.</p>",
"exception":true
},
"ExceptionMessage":{"type":"string"},
"ExpirationTimestamp":{"type":"timestamp"},
"ForceFlag":{"type":"boolean"},
"GetAuthorizationTokenRegistryIdList":{
"type":"list",
"member":{"shape":"RegistryId"},
"max":10,
"min":1
},
"GetAuthorizationTokenRequest":{
"type":"structure",
"members":{
"registryIds":{
"shape":"GetAuthorizationTokenRegistryIdList",
"documentation":"<p>A list of AWS account IDs that are associated with the registries for which to get authorization tokens. If you do not specify a registry, the default registry is assumed.</p>"
}
}
},
"GetAuthorizationTokenResponse":{
"type":"structure",
"members":{
"authorizationData":{
"shape":"AuthorizationDataList",
"documentation":"<p>A list of authorization token data objects that correspond to the <code>registryIds</code> values in the request.</p>"
}
}
},
"GetDownloadUrlForLayerRequest":{
"type":"structure",
"required":[
"repositoryName",
"layerDigest"
],
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry that contains the image layer to download. If you do not specify a registry, the default registry is assumed.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that is associated with the image layer to download.</p>"
},
"layerDigest":{
"shape":"LayerDigest",
"documentation":"<p>The digest of the image layer to download.</p>"
}
}
},
"GetDownloadUrlForLayerResponse":{
"type":"structure",
"members":{
"downloadUrl":{
"shape":"Url",
"documentation":"<p>The pre-signed Amazon S3 download URL for the requested layer.</p>"
},
"layerDigest":{
"shape":"LayerDigest",
"documentation":"<p>The digest of the image layer to download.</p>"
}
}
},
"GetRepositoryPolicyRequest":{
"type":"structure",
"required":["repositoryName"],
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository whose policy you want to retrieve.</p>"
}
}
},
"GetRepositoryPolicyResponse":{
"type":"structure",
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The registry ID associated with the request.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The repository name associated with the request.</p>"
},
"policyText":{
"shape":"RepositoryPolicyText",
"documentation":"<p>The JSON repository policy text associated with the repository.</p>"
}
}
},
"Image":{
"type":"structure",
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry containing the image.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository associated with the image.</p>"
},
"imageId":{
"shape":"ImageIdentifier",
"documentation":"<p>An object containing the image tag and image digest associated with an image.</p>"
},
"imageManifest":{
"shape":"ImageManifest",
"documentation":"<p>The image manifest associated with the image.</p>"
}
},
"documentation":"<p>An object representing an Amazon ECR image.</p>"
},
"ImageAlreadyExistsException":{
"type":"structure",
"members":{
"message":{
"shape":"ExceptionMessage",
"documentation":"<p>The error message associated with the exception.</p>"
}
},
"documentation":"<p>The specified image has already been pushed, and there are no changes to the manifest or image tag since the last push.</p>",
"exception":true
},
"ImageDetail":{
"type":"structure",
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry to which this image belongs.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository to which this image belongs.</p>"
},
"imageDigest":{
"shape":"ImageDigest",
"documentation":"<p>The <code>sha256</code> digest of the image manifest.</p>"
},
"imageTags":{
"shape":"ImageTagList",
"documentation":"<p>The list of tags associated with this image.</p>"
},
"imageSizeInBytes":{
"shape":"ImageSizeInBytes",
"documentation":"<p>The size, in bytes, of the image in the repository.</p> <note> <p>Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the <code>docker images</code> command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by <a>DescribeImages</a>.</p> </note>"
},
"imagePushedAt":{
"shape":"PushTimestamp",
"documentation":"<p>The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository. </p>"
}
},
"documentation":"<p>An object that describes an image returned by a <a>DescribeImages</a> operation.</p>"
},
"ImageDetailList":{
"type":"list",
"member":{"shape":"ImageDetail"}
},
"ImageDigest":{"type":"string"},
"ImageFailure":{
"type":"structure",
"members":{
"imageId":{
"shape":"ImageIdentifier",
"documentation":"<p>The image ID associated with the failure.</p>"
},
"failureCode":{
"shape":"ImageFailureCode",
"documentation":"<p>The code associated with the failure.</p>"
},
"failureReason":{
"shape":"ImageFailureReason",
"documentation":"<p>The reason for the failure.</p>"
}
},
"documentation":"<p>An object representing an Amazon ECR image failure.</p>"
},
"ImageFailureCode":{
"type":"string",
"enum":[
"InvalidImageDigest",
"InvalidImageTag",
"ImageTagDoesNotMatchDigest",
"ImageNotFound",
"MissingDigestAndTag"
]
},
"ImageFailureList":{
"type":"list",
"member":{"shape":"ImageFailure"}
},
"ImageFailureReason":{"type":"string"},
"ImageIdentifier":{
"type":"structure",
"members":{
"imageDigest":{
"shape":"ImageDigest",
"documentation":"<p>The <code>sha256</code> digest of the image manifest.</p>"
},
"imageTag":{
"shape":"ImageTag",
"documentation":"<p>The tag used for the image.</p>"
}
},
"documentation":"<p>An object with identifying information for an Amazon ECR image.</p>"
},
"ImageIdentifierList":{
"type":"list",
"member":{"shape":"ImageIdentifier"},
"max":100,
"min":1
},
"ImageList":{
"type":"list",
"member":{"shape":"Image"}
},
"ImageManifest":{"type":"string"},
"ImageNotFoundException":{
"type":"structure",
"members":{
"message":{"shape":"ExceptionMessage"}
},
"documentation":"<p>The image requested does not exist in the specified repository.</p>",
"exception":true
},
"ImageSizeInBytes":{"type":"long"},
"ImageTag":{"type":"string"},
"ImageTagList":{
"type":"list",
"member":{"shape":"ImageTag"}
},
"InitiateLayerUploadRequest":{
"type":"structure",
"required":["repositoryName"],
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The AWS account ID associated with the registry that you intend to upload layers to. If you do not specify a registry, the default registry is assumed.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The name of the repository that you intend to upload layers to.</p>"
}
}
},
"InitiateLayerUploadResponse":{
"type":"structure",
"members":{
"uploadId":{
"shape":"UploadId",
"documentation":"<p>The upload ID for the layer upload. This parameter is passed to further <a>UploadLayerPart</a> and <a>CompleteLayerUpload</a> operations.</p>"
},
"partSize":{
"shape":"PartSize",
"documentation":"<p>The size, in bytes, that Amazon ECR expects future layer part uploads to be.</p>"
}
}
},
"InvalidLayerException":{
"type":"structure",
"members":{
"message":{
"shape":"ExceptionMessage",
"documentation":"<p>The error message associated with the exception.</p>"
}
},
"documentation":"<p>The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.</p>",
"exception":true
},
"InvalidLayerPartException":{
"type":"structure",
"members":{
"registryId":{
"shape":"RegistryId",
"documentation":"<p>The registry ID associated with the exception.</p>"
},
"repositoryName":{
"shape":"RepositoryName",
"documentation":"<p>The repository name associated with the exception.</p>"
},
"uploadId":{
"shape":"UploadId",
"documentation":"<p>The upload ID associated with the exception.</p>"
},
"lastValidByteReceived":{
"shape":"PartSize",
"documentation":"<p>The last valid byte received from the layer part upload that is associated with the exception.</p>"
},
"message":{
"shape":"ExceptionMessage",
"documentation":"<p>The error message associated with the exception.</p>"
}
},
"documentation":"<p>The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.</p>",
"exception":true
},
"InvalidParameterException":{
"type":"structure",
"members":{
"message":{
"shape":"ExceptionMessage",
"documentation":"<p>The error message associated with the exception.</p>"
}
},
"documentation":"<p>The specified parameter is invalid. Review the available parameters for the API request.</p>",
"exception":true
},
"Layer":{
"type":"structure",
"members":{
"layerDigest":{
"shape":"LayerDigest",
"documentation":"<p>The <code>sha256</code> digest of the image layer.</p>"
},
"layerAvailability":{
"shape":"LayerAvailability",
"documentation":"<p>The availability status of the image layer.</p>"
},
"layerSize":{
"shape":"LayerSizeInBytes",
"documentation":"<p>The size, in bytes, of the image layer.</p>"
},
"mediaType":{
"shape":"MediaType",
"documentation":"<p>The media type of the layer, such as <code>application/vnd.docker.image.rootfs.diff.tar.gzip</code> or <code>application/vnd.oci.image.layer.v1.tar+gzip</code>.</p>"
}
},
"documentation":"<p>An object representing an Amazon ECR image layer.</p>"
},
"LayerAlreadyExistsException":{
"type":"structure",
"members":{
"message":{
"shape":"ExceptionMessage",
"documentation":"<p>The error message associated with the exception.</p>"
}
},
"documentation":"<p>The image layer already exists in the associated repository.</p>",
"exception":true
},
"LayerAvailability":{
"type":"string",
"enum":[