Skip to content

Commit 4280ccb

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent a264562 commit 4280ccb

9 files changed

Lines changed: 2302 additions & 141 deletions

File tree

codegen/sdk-codegen/aws-models/artifact.json

Lines changed: 1962 additions & 0 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/codepipeline.json

Lines changed: 41 additions & 26 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/detective.json

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

codegen/sdk-codegen/aws-models/guardduty.json

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4492,7 +4492,8 @@
44924492
"smithy.api#length": {
44934493
"min": 1,
44944494
"max": 64
4495-
}
4495+
},
4496+
"smithy.api#sensitive": {}
44964497
}
44974498
},
44984499
"com.amazonaws.guardduty#EnableOrganizationAdminAccount": {
@@ -5639,7 +5640,7 @@
56395640
}
56405641
],
56415642
"traits": {
5642-
"smithy.api#documentation": "<p>Lists Amazon GuardDuty findings statistics for the specified detector ID.</p>",
5643+
"smithy.api#documentation": "<p>Lists Amazon GuardDuty findings statistics for the specified detector ID.</p>\n <p>There might be regional differences because some flags might not be available in all the Regions where GuardDuty\n is currently supported. For more information, see <a href=\"https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html\">Regions and endpoints</a>.</p>",
56435644
"smithy.api#http": {
56445645
"method": "POST",
56455646
"uri": "/detector/{DetectorId}/findings/statistics",
@@ -9036,7 +9037,7 @@
90369037
}
90379038
],
90389039
"traits": {
9039-
"smithy.api#documentation": "<p>Lists Amazon GuardDuty findings for the specified detector ID.</p>",
9040+
"smithy.api#documentation": "<p>Lists GuardDuty findings for the specified detector ID.</p>\n <p>There might be regional differences because some flags might not be available in all the Regions where GuardDuty\n is currently supported. For more information, see <a href=\"https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html\">Regions and endpoints</a>.</p>",
90409041
"smithy.api#http": {
90419042
"method": "POST",
90429043
"uri": "/detector/{DetectorId}/findings",
@@ -9694,7 +9695,7 @@
96949695
"type": "structure",
96959696
"members": {
96969697
"IpAddressV4": {
9697-
"target": "com.amazonaws.guardduty#String",
9698+
"target": "com.amazonaws.guardduty#SensitiveString",
96989699
"traits": {
96999700
"smithy.api#documentation": "<p>The IPv4 local address of the connection.</p>",
97009701
"smithy.api#jsonName": "ipAddressV4"
@@ -10285,7 +10286,7 @@
1028510286
}
1028610287
},
1028710288
"PrivateIpAddress": {
10288-
"target": "com.amazonaws.guardduty#String",
10289+
"target": "com.amazonaws.guardduty#SensitiveString",
1028910290
"traits": {
1029010291
"smithy.api#documentation": "<p>The private IP address of the EC2 instance.</p>",
1029110292
"smithy.api#jsonName": "privateIpAddress"
@@ -11139,7 +11140,7 @@
1113911140
}
1114011141
},
1114111142
"PrivateIpAddress": {
11142-
"target": "com.amazonaws.guardduty#String",
11143+
"target": "com.amazonaws.guardduty#SensitiveString",
1114311144
"traits": {
1114411145
"smithy.api#documentation": "<p>The private IP address of the EC2 instance.</p>",
1114511146
"smithy.api#jsonName": "privateIpAddress"
@@ -11540,7 +11541,7 @@
1154011541
}
1154111542
},
1154211543
"IpAddressV4": {
11543-
"target": "com.amazonaws.guardduty#String",
11544+
"target": "com.amazonaws.guardduty#SensitiveString",
1154411545
"traits": {
1154511546
"smithy.api#documentation": "<p>The IPv4 remote address of the connection.</p>",
1154611547
"smithy.api#jsonName": "ipAddressV4"
@@ -12504,6 +12505,12 @@
1250412505
"target": "com.amazonaws.guardduty#SecurityGroup"
1250512506
}
1250612507
},
12508+
"com.amazonaws.guardduty#SensitiveString": {
12509+
"type": "string",
12510+
"traits": {
12511+
"smithy.api#sensitive": {}
12512+
}
12513+
},
1250712514
"com.amazonaws.guardduty#Service": {
1250812515
"type": "structure",
1250912516
"members": {
@@ -13452,7 +13459,7 @@
1345213459
}
1345313460
],
1345413461
"traits": {
13455-
"smithy.api#documentation": "<p>Updates the Amazon GuardDuty detector specified by the detectorId.</p>\n <p>There might be regional differences because some data sources might not be \n available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more \n information, see <a href=\"https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html\">Regions and endpoints</a>.</p>",
13462+
"smithy.api#documentation": "<p>Updates the GuardDuty detector specified by the detectorId.</p>\n <p>There might be regional differences because some data sources might not be \n available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more \n information, see <a href=\"https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html\">Regions and endpoints</a>.</p>",
1345613463
"smithy.api#http": {
1345713464
"method": "POST",
1345813465
"uri": "/detector/{DetectorId}",

codegen/sdk-codegen/aws-models/healthlake.json

Lines changed: 91 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@
664664
"ImportJobProperties": {
665665
"target": "com.amazonaws.healthlake#ImportJobProperties",
666666
"traits": {
667-
"smithy.api#documentation": "<p>The properties of the Import job request, including the ID, ARN, name, and the status of the job.</p>",
667+
"smithy.api#documentation": "<p>The properties of the Import job request, including the ID, ARN, name, status of the job, and the progress report of the job.</p>",
668668
"smithy.api#required": {}
669669
}
670670
}
@@ -767,6 +767,12 @@
767767
}
768768
}
769769
},
770+
"com.amazonaws.healthlake#GenericDouble": {
771+
"type": "double"
772+
},
773+
"com.amazonaws.healthlake#GenericLong": {
774+
"type": "long"
775+
},
770776
"com.amazonaws.healthlake#HealthLake": {
771777
"type": "service",
772778
"version": "2017-07-01",
@@ -867,7 +873,6 @@
867873
]
868874
}
869875
],
870-
"type": "tree",
871876
"rules": [
872877
{
873878
"conditions": [
@@ -910,7 +915,8 @@
910915
},
911916
"type": "endpoint"
912917
}
913-
]
918+
],
919+
"type": "tree"
914920
},
915921
{
916922
"conditions": [
@@ -923,7 +929,6 @@
923929
]
924930
}
925931
],
926-
"type": "tree",
927932
"rules": [
928933
{
929934
"conditions": [
@@ -937,7 +942,6 @@
937942
"assign": "PartitionResult"
938943
}
939944
],
940-
"type": "tree",
941945
"rules": [
942946
{
943947
"conditions": [
@@ -960,7 +964,6 @@
960964
]
961965
}
962966
],
963-
"type": "tree",
964967
"rules": [
965968
{
966969
"conditions": [
@@ -995,7 +998,6 @@
995998
]
996999
}
9971000
],
998-
"type": "tree",
9991001
"rules": [
10001002
{
10011003
"conditions": [],
@@ -1006,14 +1008,16 @@
10061008
},
10071009
"type": "endpoint"
10081010
}
1009-
]
1011+
],
1012+
"type": "tree"
10101013
},
10111014
{
10121015
"conditions": [],
10131016
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
10141017
"type": "error"
10151018
}
1016-
]
1019+
],
1020+
"type": "tree"
10171021
},
10181022
{
10191023
"conditions": [
@@ -1027,14 +1031,12 @@
10271031
]
10281032
}
10291033
],
1030-
"type": "tree",
10311034
"rules": [
10321035
{
10331036
"conditions": [
10341037
{
10351038
"fn": "booleanEquals",
10361039
"argv": [
1037-
true,
10381040
{
10391041
"fn": "getAttr",
10401042
"argv": [
@@ -1043,11 +1045,11 @@
10431045
},
10441046
"supportsFIPS"
10451047
]
1046-
}
1048+
},
1049+
true
10471050
]
10481051
}
10491052
],
1050-
"type": "tree",
10511053
"rules": [
10521054
{
10531055
"conditions": [],
@@ -1058,14 +1060,16 @@
10581060
},
10591061
"type": "endpoint"
10601062
}
1061-
]
1063+
],
1064+
"type": "tree"
10621065
},
10631066
{
10641067
"conditions": [],
10651068
"error": "FIPS is enabled but this partition does not support FIPS",
10661069
"type": "error"
10671070
}
1068-
]
1071+
],
1072+
"type": "tree"
10691073
},
10701074
{
10711075
"conditions": [
@@ -1079,7 +1083,6 @@
10791083
]
10801084
}
10811085
],
1082-
"type": "tree",
10831086
"rules": [
10841087
{
10851088
"conditions": [
@@ -1099,7 +1102,6 @@
10991102
]
11001103
}
11011104
],
1102-
"type": "tree",
11031105
"rules": [
11041106
{
11051107
"conditions": [],
@@ -1110,14 +1112,16 @@
11101112
},
11111113
"type": "endpoint"
11121114
}
1113-
]
1115+
],
1116+
"type": "tree"
11141117
},
11151118
{
11161119
"conditions": [],
11171120
"error": "DualStack is enabled but this partition does not support DualStack",
11181121
"type": "error"
11191122
}
1120-
]
1123+
],
1124+
"type": "tree"
11211125
},
11221126
{
11231127
"conditions": [],
@@ -1128,9 +1132,11 @@
11281132
},
11291133
"type": "endpoint"
11301134
}
1131-
]
1135+
],
1136+
"type": "tree"
11321137
}
1133-
]
1138+
],
1139+
"type": "tree"
11341140
},
11351141
{
11361142
"conditions": [],
@@ -1578,6 +1584,12 @@
15781584
"JobOutputDataConfig": {
15791585
"target": "com.amazonaws.healthlake#OutputDataConfig"
15801586
},
1587+
"JobProgressReport": {
1588+
"target": "com.amazonaws.healthlake#JobProgressReport",
1589+
"traits": {
1590+
"smithy.api#documentation": "<p>Displays the progress of the import job, including total resources scanned, total resources ingested, and total size of data ingested.</p>"
1591+
}
1592+
},
15811593
"DataAccessRoleArn": {
15821594
"target": "com.amazonaws.healthlake#IamRoleArn",
15831595
"traits": {
@@ -1592,7 +1604,7 @@
15921604
}
15931605
},
15941606
"traits": {
1595-
"smithy.api#documentation": "<p>Displays the properties of the import job, including the ID, Arn, Name, and the status of the data store.</p>"
1607+
"smithy.api#documentation": "<p>Displays the properties of the import job, including the ID, Arn, Name, the status of the job, and the progress report of the job.</p>"
15961608
}
15971609
},
15981610
"com.amazonaws.healthlake#ImportJobPropertiesList": {
@@ -1648,6 +1660,62 @@
16481660
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$"
16491661
}
16501662
},
1663+
"com.amazonaws.healthlake#JobProgressReport": {
1664+
"type": "structure",
1665+
"members": {
1666+
"TotalNumberOfScannedFiles": {
1667+
"target": "com.amazonaws.healthlake#GenericLong",
1668+
"traits": {
1669+
"smithy.api#documentation": "<p>The number of files scanned from input S3 bucket.</p>"
1670+
}
1671+
},
1672+
"TotalSizeOfScannedFilesInMB": {
1673+
"target": "com.amazonaws.healthlake#GenericDouble",
1674+
"traits": {
1675+
"smithy.api#documentation": "<p>The size (in MB) of the files scanned from the input S3 bucket.</p>"
1676+
}
1677+
},
1678+
"TotalNumberOfImportedFiles": {
1679+
"target": "com.amazonaws.healthlake#GenericLong",
1680+
"traits": {
1681+
"smithy.api#documentation": "<p>The number of files imported so far.</p>"
1682+
}
1683+
},
1684+
"TotalNumberOfResourcesScanned": {
1685+
"target": "com.amazonaws.healthlake#GenericLong",
1686+
"traits": {
1687+
"smithy.api#documentation": "<p>The number of resources scanned from the input S3 bucket.</p>"
1688+
}
1689+
},
1690+
"TotalNumberOfResourcesImported": {
1691+
"target": "com.amazonaws.healthlake#GenericLong",
1692+
"traits": {
1693+
"smithy.api#documentation": "<p>The number of resources imported so far.</p>"
1694+
}
1695+
},
1696+
"TotalNumberOfResourcesWithCustomerError": {
1697+
"target": "com.amazonaws.healthlake#GenericLong",
1698+
"traits": {
1699+
"smithy.api#documentation": "<p>The number of resources that failed due to customer error.</p>"
1700+
}
1701+
},
1702+
"TotalNumberOfFilesReadWithCustomerError": {
1703+
"target": "com.amazonaws.healthlake#GenericLong",
1704+
"traits": {
1705+
"smithy.api#documentation": "<p>The number of files that failed to be read from the input S3 bucket due to customer error.</p>"
1706+
}
1707+
},
1708+
"Throughput": {
1709+
"target": "com.amazonaws.healthlake#GenericDouble",
1710+
"traits": {
1711+
"smithy.api#documentation": "<p>The throughput (in MB/sec) of the import job.</p>"
1712+
}
1713+
}
1714+
},
1715+
"traits": {
1716+
"smithy.api#documentation": "<p>The progress report of an import job.</p>"
1717+
}
1718+
},
16511719
"com.amazonaws.healthlake#JobStatus": {
16521720
"type": "enum",
16531721
"members": {
@@ -2010,7 +2078,7 @@
20102078
"ImportJobPropertiesList": {
20112079
"target": "com.amazonaws.healthlake#ImportJobPropertiesList",
20122080
"traits": {
2013-
"smithy.api#documentation": "<p>\n The properties of a listed FHIR import jobs, including the ID, ARN, name, and the status of the job.\n </p>",
2081+
"smithy.api#documentation": "<p>\n The properties of a listed FHIR import jobs, including the ID, ARN, name, the status of the job, and the progress report of the job.\n </p>",
20142082
"smithy.api#required": {}
20152083
}
20162084
},

0 commit comments

Comments
 (0)