Skip to content

Commit b9b4663

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent ff30944 commit b9b4663

File tree

9 files changed

+792
-25
lines changed

9 files changed

+792
-25
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::ECR - Updated the API, and documentation for Amazon EC2 Container Registry.
5+
6+
* Feature - Aws::ElastiCache - Updated the API, and documentation for Amazon ElastiCache.
7+
8+
* Feature - Aws::Transfer - Updated the API, and documentation for AWS Transfer for SFTP.
9+
410
2.11.382 (2019-10-25)
511
------------------
612

aws-sdk-core/apis/ecr/2015-09-21/api-2.json

Lines changed: 238 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,22 @@
137137
{"shape":"RepositoryPolicyNotFoundException"}
138138
]
139139
},
140+
"DescribeImageScanFindings":{
141+
"name":"DescribeImageScanFindings",
142+
"http":{
143+
"method":"POST",
144+
"requestUri":"/"
145+
},
146+
"input":{"shape":"DescribeImageScanFindingsRequest"},
147+
"output":{"shape":"DescribeImageScanFindingsResponse"},
148+
"errors":[
149+
{"shape":"ServerException"},
150+
{"shape":"InvalidParameterException"},
151+
{"shape":"RepositoryNotFoundException"},
152+
{"shape":"ImageNotFoundException"},
153+
{"shape":"ScanNotFoundException"}
154+
]
155+
},
140156
"DescribeImages":{
141157
"name":"DescribeImages",
142158
"http":{
@@ -300,6 +316,20 @@
300316
{"shape":"ImageTagAlreadyExistsException"}
301317
]
302318
},
319+
"PutImageScanningConfiguration":{
320+
"name":"PutImageScanningConfiguration",
321+
"http":{
322+
"method":"POST",
323+
"requestUri":"/"
324+
},
325+
"input":{"shape":"PutImageScanningConfigurationRequest"},
326+
"output":{"shape":"PutImageScanningConfigurationResponse"},
327+
"errors":[
328+
{"shape":"ServerException"},
329+
{"shape":"InvalidParameterException"},
330+
{"shape":"RepositoryNotFoundException"}
331+
]
332+
},
303333
"PutImageTagMutability":{
304334
"name":"PutImageTagMutability",
305335
"http":{
@@ -342,6 +372,21 @@
342372
{"shape":"RepositoryNotFoundException"}
343373
]
344374
},
375+
"StartImageScan":{
376+
"name":"StartImageScan",
377+
"http":{
378+
"method":"POST",
379+
"requestUri":"/"
380+
},
381+
"input":{"shape":"StartImageScanRequest"},
382+
"output":{"shape":"StartImageScanResponse"},
383+
"errors":[
384+
{"shape":"ServerException"},
385+
{"shape":"InvalidParameterException"},
386+
{"shape":"RepositoryNotFoundException"},
387+
{"shape":"ImageNotFoundException"}
388+
]
389+
},
345390
"StartLifecyclePolicyPreview":{
346391
"name":"StartLifecyclePolicyPreview",
347392
"http":{
@@ -410,6 +455,30 @@
410455
},
411456
"shapes":{
412457
"Arn":{"type":"string"},
458+
"Attribute":{
459+
"type":"structure",
460+
"required":["key"],
461+
"members":{
462+
"key":{"shape":"AttributeKey"},
463+
"value":{"shape":"AttributeValue"}
464+
}
465+
},
466+
"AttributeKey":{
467+
"type":"string",
468+
"max":128,
469+
"min":1
470+
},
471+
"AttributeList":{
472+
"type":"list",
473+
"member":{"shape":"Attribute"},
474+
"max":50,
475+
"min":0
476+
},
477+
"AttributeValue":{
478+
"type":"string",
479+
"max":256,
480+
"min":1
481+
},
413482
"AuthorizationData":{
414483
"type":"structure",
415484
"members":{
@@ -524,7 +593,8 @@
524593
"members":{
525594
"repositoryName":{"shape":"RepositoryName"},
526595
"tags":{"shape":"TagList"},
527-
"imageTagMutability":{"shape":"ImageTagMutability"}
596+
"imageTagMutability":{"shape":"ImageTagMutability"},
597+
"imageScanningConfiguration":{"shape":"ImageScanningConfiguration"}
528598
}
529599
},
530600
"CreateRepositoryResponse":{
@@ -582,6 +652,31 @@
582652
"repository":{"shape":"Repository"}
583653
}
584654
},
655+
"DescribeImageScanFindingsRequest":{
656+
"type":"structure",
657+
"required":[
658+
"repositoryName",
659+
"imageId"
660+
],
661+
"members":{
662+
"registryId":{"shape":"RegistryId"},
663+
"repositoryName":{"shape":"RepositoryName"},
664+
"imageId":{"shape":"ImageIdentifier"},
665+
"nextToken":{"shape":"NextToken"},
666+
"maxResults":{"shape":"MaxResults"}
667+
}
668+
},
669+
"DescribeImageScanFindingsResponse":{
670+
"type":"structure",
671+
"members":{
672+
"registryId":{"shape":"RegistryId"},
673+
"repositoryName":{"shape":"RepositoryName"},
674+
"imageId":{"shape":"ImageIdentifier"},
675+
"imageScanStatus":{"shape":"ImageScanStatus"},
676+
"imageScanFindings":{"shape":"ImageScanFindings"},
677+
"nextToken":{"shape":"NextToken"}
678+
}
679+
},
585680
"DescribeImagesFilter":{
586681
"type":"structure",
587682
"members":{
@@ -633,6 +728,24 @@
633728
"EvaluationTimestamp":{"type":"timestamp"},
634729
"ExceptionMessage":{"type":"string"},
635730
"ExpirationTimestamp":{"type":"timestamp"},
731+
"FindingDescription":{"type":"string"},
732+
"FindingName":{"type":"string"},
733+
"FindingSeverity":{
734+
"type":"string",
735+
"enum":[
736+
"INFORMATIONAL",
737+
"LOW",
738+
"MEDIUM",
739+
"HIGH",
740+
"CRITICAL",
741+
"UNDEFINED"
742+
]
743+
},
744+
"FindingSeverityCounts":{
745+
"type":"map",
746+
"key":{"shape":"FindingSeverity"},
747+
"value":{"shape":"SeverityCount"}
748+
},
636749
"ForceFlag":{"type":"boolean"},
637750
"GetAuthorizationTokenRegistryIdList":{
638751
"type":"list",
@@ -760,7 +873,9 @@
760873
"imageDigest":{"shape":"ImageDigest"},
761874
"imageTags":{"shape":"ImageTagList"},
762875
"imageSizeInBytes":{"shape":"ImageSizeInBytes"},
763-
"imagePushedAt":{"shape":"PushTimestamp"}
876+
"imagePushedAt":{"shape":"PushTimestamp"},
877+
"imageScanStatus":{"shape":"ImageScanStatus"},
878+
"imageScanFindingsSummary":{"shape":"ImageScanFindingsSummary"}
764879
}
765880
},
766881
"ImageDetailList":{
@@ -808,14 +923,62 @@
808923
"type":"list",
809924
"member":{"shape":"Image"}
810925
},
811-
"ImageManifest":{"type":"string"},
926+
"ImageManifest":{
927+
"type":"string",
928+
"max":4194304,
929+
"min":1
930+
},
812931
"ImageNotFoundException":{
813932
"type":"structure",
814933
"members":{
815934
"message":{"shape":"ExceptionMessage"}
816935
},
817936
"exception":true
818937
},
938+
"ImageScanFinding":{
939+
"type":"structure",
940+
"members":{
941+
"name":{"shape":"FindingName"},
942+
"description":{"shape":"FindingDescription"},
943+
"uri":{"shape":"Url"},
944+
"severity":{"shape":"FindingSeverity"},
945+
"attributes":{"shape":"AttributeList"}
946+
}
947+
},
948+
"ImageScanFindingList":{
949+
"type":"list",
950+
"member":{"shape":"ImageScanFinding"}
951+
},
952+
"ImageScanFindings":{
953+
"type":"structure",
954+
"members":{
955+
"imageScanCompletedAt":{"shape":"ScanTimestamp"},
956+
"vulnerabilitySourceUpdatedAt":{"shape":"VulnerabilitySourceUpdateTimestamp"},
957+
"findings":{"shape":"ImageScanFindingList"},
958+
"findingSeverityCounts":{"shape":"FindingSeverityCounts"}
959+
}
960+
},
961+
"ImageScanFindingsSummary":{
962+
"type":"structure",
963+
"members":{
964+
"imageScanCompletedAt":{"shape":"ScanTimestamp"},
965+
"vulnerabilitySourceUpdatedAt":{"shape":"VulnerabilitySourceUpdateTimestamp"},
966+
"findingSeverityCounts":{"shape":"FindingSeverityCounts"}
967+
}
968+
},
969+
"ImageScanStatus":{
970+
"type":"structure",
971+
"members":{
972+
"status":{"shape":"ScanStatus"},
973+
"description":{"shape":"ScanStatusDescription"}
974+
}
975+
},
976+
"ImageScanningConfiguration":{
977+
"type":"structure",
978+
"members":{
979+
"scanOnPush":{"shape":"ScanOnPushFlag"}
980+
}
981+
},
819982
"ImageSizeInBytes":{"type":"long"},
820983
"ImageTag":{
821984
"type":"string",
@@ -951,7 +1114,11 @@
9511114
"type":"list",
9521115
"member":{"shape":"Layer"}
9531116
},
954-
"LayerPartBlob":{"type":"blob"},
1117+
"LayerPartBlob":{
1118+
"type":"blob",
1119+
"max":20971520,
1120+
"min":0
1121+
},
9551122
"LayerPartTooSmallException":{
9561123
"type":"structure",
9571124
"members":{
@@ -1125,6 +1292,26 @@
11251292
"image":{"shape":"Image"}
11261293
}
11271294
},
1295+
"PutImageScanningConfigurationRequest":{
1296+
"type":"structure",
1297+
"required":[
1298+
"repositoryName",
1299+
"imageScanningConfiguration"
1300+
],
1301+
"members":{
1302+
"registryId":{"shape":"RegistryId"},
1303+
"repositoryName":{"shape":"RepositoryName"},
1304+
"imageScanningConfiguration":{"shape":"ImageScanningConfiguration"}
1305+
}
1306+
},
1307+
"PutImageScanningConfigurationResponse":{
1308+
"type":"structure",
1309+
"members":{
1310+
"registryId":{"shape":"RegistryId"},
1311+
"repositoryName":{"shape":"RepositoryName"},
1312+
"imageScanningConfiguration":{"shape":"ImageScanningConfiguration"}
1313+
}
1314+
},
11281315
"PutImageTagMutabilityRequest":{
11291316
"type":"structure",
11301317
"required":[
@@ -1177,7 +1364,8 @@
11771364
"repositoryName":{"shape":"RepositoryName"},
11781365
"repositoryUri":{"shape":"Url"},
11791366
"createdAt":{"shape":"CreationTimestamp"},
1180-
"imageTagMutability":{"shape":"ImageTagMutability"}
1367+
"imageTagMutability":{"shape":"ImageTagMutability"},
1368+
"imageScanningConfiguration":{"shape":"ImageScanningConfiguration"}
11811369
}
11821370
},
11831371
"RepositoryAlreadyExistsException":{
@@ -1229,6 +1417,24 @@
12291417
"max":10240,
12301418
"min":0
12311419
},
1420+
"ScanNotFoundException":{
1421+
"type":"structure",
1422+
"members":{
1423+
"message":{"shape":"ExceptionMessage"}
1424+
},
1425+
"exception":true
1426+
},
1427+
"ScanOnPushFlag":{"type":"boolean"},
1428+
"ScanStatus":{
1429+
"type":"string",
1430+
"enum":[
1431+
"IN_PROGRESS",
1432+
"COMPLETE",
1433+
"FAILED"
1434+
]
1435+
},
1436+
"ScanStatusDescription":{"type":"string"},
1437+
"ScanTimestamp":{"type":"timestamp"},
12321438
"ServerException":{
12331439
"type":"structure",
12341440
"members":{
@@ -1258,6 +1464,31 @@
12581464
"policyText":{"shape":"RepositoryPolicyText"}
12591465
}
12601466
},
1467+
"SeverityCount":{
1468+
"type":"integer",
1469+
"min":0
1470+
},
1471+
"StartImageScanRequest":{
1472+
"type":"structure",
1473+
"required":[
1474+
"repositoryName",
1475+
"imageId"
1476+
],
1477+
"members":{
1478+
"registryId":{"shape":"RegistryId"},
1479+
"repositoryName":{"shape":"RepositoryName"},
1480+
"imageId":{"shape":"ImageIdentifier"}
1481+
}
1482+
},
1483+
"StartImageScanResponse":{
1484+
"type":"structure",
1485+
"members":{
1486+
"registryId":{"shape":"RegistryId"},
1487+
"repositoryName":{"shape":"RepositoryName"},
1488+
"imageId":{"shape":"ImageIdentifier"},
1489+
"imageScanStatus":{"shape":"ImageScanStatus"}
1490+
}
1491+
},
12611492
"StartLifecyclePolicyPreviewRequest":{
12621493
"type":"structure",
12631494
"required":["repositoryName"],
@@ -1378,6 +1609,7 @@
13781609
},
13791610
"exception":true
13801611
},
1381-
"Url":{"type":"string"}
1612+
"Url":{"type":"string"},
1613+
"VulnerabilitySourceUpdateTimestamp":{"type":"timestamp"}
13821614
}
13831615
}

0 commit comments

Comments
 (0)