Skip to content

Commit 48ee4db

Browse files
committed
chore(models): update models as of 09/24/2021
1 parent a1fb9a2 commit 48ee4db

14 files changed

+2937
-333
lines changed

codegen/sdk-codegen/aws-models/appsync.2017-07-25.json

Lines changed: 69 additions & 25 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/comprehend.2017-11-27.json

Lines changed: 336 additions & 4 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/ec2.2016-11-15.json

Lines changed: 354 additions & 138 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/ecr.2015-09-21.json

Lines changed: 220 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
{
6161
"target": "com.amazonaws.ecr#DeleteRepositoryPolicy"
6262
},
63+
{
64+
"target": "com.amazonaws.ecr#DescribeImageReplicationStatus"
65+
},
6366
{
6467
"target": "com.amazonaws.ecr#DescribeImages"
6568
},
@@ -612,6 +615,12 @@
612615
"com.amazonaws.ecr#CreateRepositoryRequest": {
613616
"type": "structure",
614617
"members": {
618+
"registryId": {
619+
"target": "com.amazonaws.ecr#RegistryId",
620+
"traits": {
621+
"smithy.api#documentation": "<p>The AWS account ID associated with the registry to create the repository.\n If you do not specify a registry, the default registry is assumed.</p>"
622+
}
623+
},
615624
"repositoryName": {
616625
"target": "com.amazonaws.ecr#RepositoryName",
617626
"traits": {
@@ -749,6 +758,9 @@
749758
},
750759
{
751760
"target": "com.amazonaws.ecr#ServerException"
761+
},
762+
{
763+
"target": "com.amazonaws.ecr#ValidationException"
752764
}
753765
],
754766
"traits": {
@@ -907,6 +919,79 @@
907919
}
908920
}
909921
},
922+
"com.amazonaws.ecr#DescribeImageReplicationStatus": {
923+
"type": "operation",
924+
"input": {
925+
"target": "com.amazonaws.ecr#DescribeImageReplicationStatusRequest"
926+
},
927+
"output": {
928+
"target": "com.amazonaws.ecr#DescribeImageReplicationStatusResponse"
929+
},
930+
"errors": [
931+
{
932+
"target": "com.amazonaws.ecr#ImageNotFoundException"
933+
},
934+
{
935+
"target": "com.amazonaws.ecr#InvalidParameterException"
936+
},
937+
{
938+
"target": "com.amazonaws.ecr#RepositoryNotFoundException"
939+
},
940+
{
941+
"target": "com.amazonaws.ecr#ServerException"
942+
},
943+
{
944+
"target": "com.amazonaws.ecr#ValidationException"
945+
}
946+
],
947+
"traits": {
948+
"smithy.api#documentation": "<p>Returns the replication status for a specified image.</p>"
949+
}
950+
},
951+
"com.amazonaws.ecr#DescribeImageReplicationStatusRequest": {
952+
"type": "structure",
953+
"members": {
954+
"repositoryName": {
955+
"target": "com.amazonaws.ecr#RepositoryName",
956+
"traits": {
957+
"smithy.api#documentation": "<p>The name of the repository that the image is in.</p>",
958+
"smithy.api#required": {}
959+
}
960+
},
961+
"imageId": {
962+
"target": "com.amazonaws.ecr#ImageIdentifier",
963+
"traits": {
964+
"smithy.api#required": {}
965+
}
966+
},
967+
"registryId": {
968+
"target": "com.amazonaws.ecr#RegistryId",
969+
"traits": {
970+
"smithy.api#documentation": "<p>The Amazon Web Services account ID associated with the registry. If you do not specify a registry, the default registry is assumed.</p>"
971+
}
972+
}
973+
}
974+
},
975+
"com.amazonaws.ecr#DescribeImageReplicationStatusResponse": {
976+
"type": "structure",
977+
"members": {
978+
"repositoryName": {
979+
"target": "com.amazonaws.ecr#RepositoryName",
980+
"traits": {
981+
"smithy.api#documentation": "<p>The repository name associated with the request.</p>"
982+
}
983+
},
984+
"imageId": {
985+
"target": "com.amazonaws.ecr#ImageIdentifier"
986+
},
987+
"replicationStatuses": {
988+
"target": "com.amazonaws.ecr#ImageReplicationStatusList",
989+
"traits": {
990+
"smithy.api#documentation": "<p>The replication status details for the images in the specified repository.</p>"
991+
}
992+
}
993+
}
994+
},
910995
"com.amazonaws.ecr#DescribeImageScanFindings": {
911996
"type": "operation",
912997
"input": {
@@ -1744,6 +1829,9 @@
17441829
},
17451830
{
17461831
"target": "com.amazonaws.ecr#ServerException"
1832+
},
1833+
{
1834+
"target": "com.amazonaws.ecr#ValidationException"
17471835
}
17481836
],
17491837
"traits": {
@@ -2087,7 +2175,7 @@
20872175
}
20882176
},
20892177
"traits": {
2090-
"smithy.api#documentation": "<p>An object with identifying information for an Amazon ECR image.</p>"
2178+
"smithy.api#documentation": "<p>An object with identifying information for an image in an Amazon ECR repository.</p>"
20912179
}
20922180
},
20932181
"com.amazonaws.ecr#ImageIdentifierList": {
@@ -2129,6 +2217,44 @@
21292217
"smithy.api#error": "client"
21302218
}
21312219
},
2220+
"com.amazonaws.ecr#ImageReplicationStatus": {
2221+
"type": "structure",
2222+
"members": {
2223+
"region": {
2224+
"target": "com.amazonaws.ecr#Region",
2225+
"traits": {
2226+
"smithy.api#documentation": "<p>The destination Region for the image replication.</p>"
2227+
}
2228+
},
2229+
"registryId": {
2230+
"target": "com.amazonaws.ecr#RegistryId",
2231+
"traits": {
2232+
"smithy.api#documentation": "<p>The AWS account ID associated with the registry to which the image belongs.</p>"
2233+
}
2234+
},
2235+
"status": {
2236+
"target": "com.amazonaws.ecr#ReplicationStatus",
2237+
"traits": {
2238+
"smithy.api#documentation": "<p>The image replication status.</p>"
2239+
}
2240+
},
2241+
"failureCode": {
2242+
"target": "com.amazonaws.ecr#ReplicationError",
2243+
"traits": {
2244+
"smithy.api#documentation": "<p>The failure code for a replication that has failed.</p>"
2245+
}
2246+
}
2247+
},
2248+
"traits": {
2249+
"smithy.api#documentation": "<p>The status of the replication process for an image.</p>"
2250+
}
2251+
},
2252+
"com.amazonaws.ecr#ImageReplicationStatusList": {
2253+
"type": "list",
2254+
"member": {
2255+
"target": "com.amazonaws.ecr#ImageReplicationStatus"
2256+
}
2257+
},
21322258
"com.amazonaws.ecr#ImageScanFinding": {
21332259
"type": "structure",
21342260
"members": {
@@ -3379,6 +3505,9 @@
33793505
},
33803506
{
33813507
"target": "com.amazonaws.ecr#ServerException"
3508+
},
3509+
{
3510+
"target": "com.amazonaws.ecr#ValidationException"
33823511
}
33833512
],
33843513
"traits": {
@@ -3515,7 +3644,7 @@
35153644
"rules": {
35163645
"target": "com.amazonaws.ecr#ReplicationRuleList",
35173646
"traits": {
3518-
"smithy.api#documentation": "<p>An array of objects representing the replication rules for a replication\n configuration. A replication configuration may contain only one replication rule but the\n rule may contain one or more replication destinations.</p>",
3647+
"smithy.api#documentation": "<p>An array of objects representing the replication destinations and repository filters\n for a replication configuration.</p>",
35193648
"smithy.api#required": {}
35203649
}
35213650
}
@@ -3530,20 +3659,20 @@
35303659
"region": {
35313660
"target": "com.amazonaws.ecr#Region",
35323661
"traits": {
3533-
"smithy.api#documentation": "<p>A Region to replicate to.</p>",
3662+
"smithy.api#documentation": "<p>The Region to replicate to.</p>",
35343663
"smithy.api#required": {}
35353664
}
35363665
},
35373666
"registryId": {
35383667
"target": "com.amazonaws.ecr#RegistryId",
35393668
"traits": {
3540-
"smithy.api#documentation": "<p>The account ID of the destination registry to replicate to.</p>",
3669+
"smithy.api#documentation": "<p>The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring\n cross-Region replication within your own registry, specify your own account ID.</p>",
35413670
"smithy.api#required": {}
35423671
}
35433672
}
35443673
},
35453674
"traits": {
3546-
"smithy.api#documentation": "<p>An array of objects representing the details of a replication destination.</p>"
3675+
"smithy.api#documentation": "<p>An array of objects representing the destination for a replication rule.</p>"
35473676
}
35483677
},
35493678
"com.amazonaws.ecr#ReplicationDestinationList": {
@@ -3558,19 +3687,28 @@
35583687
}
35593688
}
35603689
},
3690+
"com.amazonaws.ecr#ReplicationError": {
3691+
"type": "string"
3692+
},
35613693
"com.amazonaws.ecr#ReplicationRule": {
35623694
"type": "structure",
35633695
"members": {
35643696
"destinations": {
35653697
"target": "com.amazonaws.ecr#ReplicationDestinationList",
35663698
"traits": {
3567-
"smithy.api#documentation": "<p>An array of objects representing the details of a replication destination.</p>",
3699+
"smithy.api#documentation": "<p>An array of objects representing the destination for a replication rule.</p>",
35683700
"smithy.api#required": {}
35693701
}
3702+
},
3703+
"repositoryFilters": {
3704+
"target": "com.amazonaws.ecr#RepositoryFilterList",
3705+
"traits": {
3706+
"smithy.api#documentation": "<p>An array of objects representing the filters for a replication rule. Specifying a\n repository filter for a replication rule provides a method for controlling which\n repositories in a private registry are replicated.</p>"
3707+
}
35703708
}
35713709
},
35723710
"traits": {
3573-
"smithy.api#documentation": "<p>An array of objects representing the replication destinations for a replication\n configuration. A replication configuration may contain only one replication rule but the\n rule may contain one or more replication destinations.</p>"
3711+
"smithy.api#documentation": "<p>An array of objects representing the replication destinations and repository filters\n for a replication configuration.</p>"
35743712
}
35753713
},
35763714
"com.amazonaws.ecr#ReplicationRuleList": {
@@ -3581,10 +3719,29 @@
35813719
"traits": {
35823720
"smithy.api#length": {
35833721
"min": 0,
3584-
"max": 1
3722+
"max": 10
35853723
}
35863724
}
35873725
},
3726+
"com.amazonaws.ecr#ReplicationStatus": {
3727+
"type": "string",
3728+
"traits": {
3729+
"smithy.api#enum": [
3730+
{
3731+
"value": "IN_PROGRESS",
3732+
"name": "IN_PROGRESS"
3733+
},
3734+
{
3735+
"value": "COMPLETE",
3736+
"name": "COMPLETE"
3737+
},
3738+
{
3739+
"value": "FAILED",
3740+
"name": "FAILED"
3741+
}
3742+
]
3743+
}
3744+
},
35883745
"com.amazonaws.ecr#Repository": {
35893746
"type": "structure",
35903747
"members": {
@@ -3653,6 +3810,61 @@
36533810
"smithy.api#error": "client"
36543811
}
36553812
},
3813+
"com.amazonaws.ecr#RepositoryFilter": {
3814+
"type": "structure",
3815+
"members": {
3816+
"filter": {
3817+
"target": "com.amazonaws.ecr#RepositoryFilterValue",
3818+
"traits": {
3819+
"smithy.api#documentation": "<p>The repository filter details. When the <code>PREFIX_MATCH</code> filter type is\n specified, this value is required and should be the repository name prefix to configure\n replication for.</p>",
3820+
"smithy.api#required": {}
3821+
}
3822+
},
3823+
"filterType": {
3824+
"target": "com.amazonaws.ecr#RepositoryFilterType",
3825+
"traits": {
3826+
"smithy.api#documentation": "<p>The repository filter type. The only supported value is <code>PREFIX_MATCH</code>,\n which is a repository name prefix specified with the <code>filter</code>\n parameter.</p>",
3827+
"smithy.api#required": {}
3828+
}
3829+
}
3830+
},
3831+
"traits": {
3832+
"smithy.api#documentation": "<p>The filter settings used with image replication. Specifying a repository filter to a\n replication rule provides a method for controlling which repositories in a private\n registry are replicated. If no repository filter is specified, all images in the\n repository are replicated.</p>"
3833+
}
3834+
},
3835+
"com.amazonaws.ecr#RepositoryFilterList": {
3836+
"type": "list",
3837+
"member": {
3838+
"target": "com.amazonaws.ecr#RepositoryFilter"
3839+
},
3840+
"traits": {
3841+
"smithy.api#length": {
3842+
"min": 1,
3843+
"max": 100
3844+
}
3845+
}
3846+
},
3847+
"com.amazonaws.ecr#RepositoryFilterType": {
3848+
"type": "string",
3849+
"traits": {
3850+
"smithy.api#enum": [
3851+
{
3852+
"value": "PREFIX_MATCH",
3853+
"name": "PREFIX_MATCH"
3854+
}
3855+
]
3856+
}
3857+
},
3858+
"com.amazonaws.ecr#RepositoryFilterValue": {
3859+
"type": "string",
3860+
"traits": {
3861+
"smithy.api#length": {
3862+
"min": 2,
3863+
"max": 256
3864+
},
3865+
"smithy.api#pattern": "^(?:[a-z0-9]+(?:[._-][a-z0-9]*)*/)*[a-z0-9]*(?:[._-][a-z0-9]*)*$"
3866+
}
3867+
},
36563868
"com.amazonaws.ecr#RepositoryList": {
36573869
"type": "list",
36583870
"member": {

0 commit comments

Comments
 (0)