Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Feb 15, 2024
1 parent a264562 commit 4280ccb
Show file tree
Hide file tree
Showing 9 changed files with 2,302 additions and 141 deletions.
1,962 changes: 1,962 additions & 0 deletions codegen/sdk-codegen/aws-models/artifact.json

Large diffs are not rendered by default.

67 changes: 41 additions & 26 deletions codegen/sdk-codegen/aws-models/codepipeline.json

Large diffs are not rendered by default.

98 changes: 49 additions & 49 deletions codegen/sdk-codegen/aws-models/detective.json

Large diffs are not rendered by default.

23 changes: 15 additions & 8 deletions codegen/sdk-codegen/aws-models/guardduty.json
Original file line number Diff line number Diff line change
Expand Up @@ -4492,7 +4492,8 @@
"smithy.api#length": {
"min": 1,
"max": 64
}
},
"smithy.api#sensitive": {}
}
},
"com.amazonaws.guardduty#EnableOrganizationAdminAccount": {
Expand Down Expand Up @@ -5639,7 +5640,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Lists Amazon GuardDuty findings statistics for the specified detector ID.</p>",
"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>",
"smithy.api#http": {
"method": "POST",
"uri": "/detector/{DetectorId}/findings/statistics",
Expand Down Expand Up @@ -9036,7 +9037,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Lists Amazon GuardDuty findings for the specified detector ID.</p>",
"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>",
"smithy.api#http": {
"method": "POST",
"uri": "/detector/{DetectorId}/findings",
Expand Down Expand Up @@ -9694,7 +9695,7 @@
"type": "structure",
"members": {
"IpAddressV4": {
"target": "com.amazonaws.guardduty#String",
"target": "com.amazonaws.guardduty#SensitiveString",
"traits": {
"smithy.api#documentation": "<p>The IPv4 local address of the connection.</p>",
"smithy.api#jsonName": "ipAddressV4"
Expand Down Expand Up @@ -10285,7 +10286,7 @@
}
},
"PrivateIpAddress": {
"target": "com.amazonaws.guardduty#String",
"target": "com.amazonaws.guardduty#SensitiveString",
"traits": {
"smithy.api#documentation": "<p>The private IP address of the EC2 instance.</p>",
"smithy.api#jsonName": "privateIpAddress"
Expand Down Expand Up @@ -11139,7 +11140,7 @@
}
},
"PrivateIpAddress": {
"target": "com.amazonaws.guardduty#String",
"target": "com.amazonaws.guardduty#SensitiveString",
"traits": {
"smithy.api#documentation": "<p>The private IP address of the EC2 instance.</p>",
"smithy.api#jsonName": "privateIpAddress"
Expand Down Expand Up @@ -11540,7 +11541,7 @@
}
},
"IpAddressV4": {
"target": "com.amazonaws.guardduty#String",
"target": "com.amazonaws.guardduty#SensitiveString",
"traits": {
"smithy.api#documentation": "<p>The IPv4 remote address of the connection.</p>",
"smithy.api#jsonName": "ipAddressV4"
Expand Down Expand Up @@ -12504,6 +12505,12 @@
"target": "com.amazonaws.guardduty#SecurityGroup"
}
},
"com.amazonaws.guardduty#SensitiveString": {
"type": "string",
"traits": {
"smithy.api#sensitive": {}
}
},
"com.amazonaws.guardduty#Service": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -13452,7 +13459,7 @@
}
],
"traits": {
"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>",
"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>",
"smithy.api#http": {
"method": "POST",
"uri": "/detector/{DetectorId}",
Expand Down
114 changes: 91 additions & 23 deletions codegen/sdk-codegen/aws-models/healthlake.json
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@
"ImportJobProperties": {
"target": "com.amazonaws.healthlake#ImportJobProperties",
"traits": {
"smithy.api#documentation": "<p>The properties of the Import job request, including the ID, ARN, name, and the status of the job.</p>",
"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>",
"smithy.api#required": {}
}
}
Expand Down Expand Up @@ -767,6 +767,12 @@
}
}
},
"com.amazonaws.healthlake#GenericDouble": {
"type": "double"
},
"com.amazonaws.healthlake#GenericLong": {
"type": "long"
},
"com.amazonaws.healthlake#HealthLake": {
"type": "service",
"version": "2017-07-01",
Expand Down Expand Up @@ -867,7 +873,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -910,7 +915,8 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -923,7 +929,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -937,7 +942,6 @@
"assign": "PartitionResult"
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -960,7 +964,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -995,7 +998,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -1006,14 +1008,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -1027,14 +1031,12 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
Expand All @@ -1043,11 +1045,11 @@
},
"supportsFIPS"
]
}
},
true
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -1058,14 +1060,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -1079,7 +1083,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -1099,7 +1102,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -1110,14 +1112,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand All @@ -1128,9 +1132,11 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand Down Expand Up @@ -1578,6 +1584,12 @@
"JobOutputDataConfig": {
"target": "com.amazonaws.healthlake#OutputDataConfig"
},
"JobProgressReport": {
"target": "com.amazonaws.healthlake#JobProgressReport",
"traits": {
"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>"
}
},
"DataAccessRoleArn": {
"target": "com.amazonaws.healthlake#IamRoleArn",
"traits": {
Expand All @@ -1592,7 +1604,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>Displays the properties of the import job, including the ID, Arn, Name, and the status of the data store.</p>"
"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>"
}
},
"com.amazonaws.healthlake#ImportJobPropertiesList": {
Expand Down Expand Up @@ -1648,6 +1660,62 @@
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$"
}
},
"com.amazonaws.healthlake#JobProgressReport": {
"type": "structure",
"members": {
"TotalNumberOfScannedFiles": {
"target": "com.amazonaws.healthlake#GenericLong",
"traits": {
"smithy.api#documentation": "<p>The number of files scanned from input S3 bucket.</p>"
}
},
"TotalSizeOfScannedFilesInMB": {
"target": "com.amazonaws.healthlake#GenericDouble",
"traits": {
"smithy.api#documentation": "<p>The size (in MB) of the files scanned from the input S3 bucket.</p>"
}
},
"TotalNumberOfImportedFiles": {
"target": "com.amazonaws.healthlake#GenericLong",
"traits": {
"smithy.api#documentation": "<p>The number of files imported so far.</p>"
}
},
"TotalNumberOfResourcesScanned": {
"target": "com.amazonaws.healthlake#GenericLong",
"traits": {
"smithy.api#documentation": "<p>The number of resources scanned from the input S3 bucket.</p>"
}
},
"TotalNumberOfResourcesImported": {
"target": "com.amazonaws.healthlake#GenericLong",
"traits": {
"smithy.api#documentation": "<p>The number of resources imported so far.</p>"
}
},
"TotalNumberOfResourcesWithCustomerError": {
"target": "com.amazonaws.healthlake#GenericLong",
"traits": {
"smithy.api#documentation": "<p>The number of resources that failed due to customer error.</p>"
}
},
"TotalNumberOfFilesReadWithCustomerError": {
"target": "com.amazonaws.healthlake#GenericLong",
"traits": {
"smithy.api#documentation": "<p>The number of files that failed to be read from the input S3 bucket due to customer error.</p>"
}
},
"Throughput": {
"target": "com.amazonaws.healthlake#GenericDouble",
"traits": {
"smithy.api#documentation": "<p>The throughput (in MB/sec) of the import job.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The progress report of an import job.</p>"
}
},
"com.amazonaws.healthlake#JobStatus": {
"type": "enum",
"members": {
Expand Down Expand Up @@ -2010,7 +2078,7 @@
"ImportJobPropertiesList": {
"target": "com.amazonaws.healthlake#ImportJobPropertiesList",
"traits": {
"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>",
"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>",
"smithy.api#required": {}
}
},
Expand Down
Loading

0 comments on commit 4280ccb

Please sign in to comment.