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 Sep 17, 2024
1 parent 6a28d22 commit 590384d
Show file tree
Hide file tree
Showing 6 changed files with 651 additions and 96 deletions.
12 changes: 9 additions & 3 deletions codegen/sdk-codegen/aws-models/codebuild.json
Original file line number Diff line number Diff line change
Expand Up @@ -7455,20 +7455,20 @@
"name": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.</p>",
"smithy.api#documentation": "<p>The name of either the group, enterprise, or organization that will send webhook events to CodeBuild, depending on the type of webhook.</p>",
"smithy.api#required": {}
}
},
"domain": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The domain of the GitHub Enterprise organization. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE</p>"
"smithy.api#documentation": "<p>The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.</p>"
}
},
"scope": {
"target": "com.amazonaws.codebuild#WebhookScopeType",
"traits": {
"smithy.api#documentation": "<p>The type of scope for a GitHub webhook.</p>",
"smithy.api#documentation": "<p>The type of scope for a GitHub or GitLab webhook.</p>",
"smithy.api#required": {}
}
}
Expand Down Expand Up @@ -9206,6 +9206,12 @@
"traits": {
"smithy.api#enumValue": "GITHUB_GLOBAL"
}
},
"GITLAB_GROUP": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "GITLAB_GROUP"
}
}
}
},
Expand Down
29 changes: 28 additions & 1 deletion codegen/sdk-codegen/aws-models/ecr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3499,7 +3499,7 @@
"encryptionType": {
"target": "com.amazonaws.ecr#EncryptionType",
"traits": {
"smithy.api#documentation": "<p>The encryption type to use.</p>\n <p>If you use the <code>KMS</code> encryption type, the contents of the repository will\n be encrypted using server-side encryption with Key Management Service key stored in KMS. When you\n use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key\n for Amazon ECR, or specify your own KMS key, which you already created.</p>\n <p>If you use the <code>KMS_DSSE</code> encryption type, the contents of the repository\n will be encrypted with two layers of encryption using server-side encryption with the\n KMS Management Service key stored in KMS. Similar to the KMS encryption type, you\n can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS\n key, which you've already created. </p>\n <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption\n with Amazon S3-managed encryption keys which encrypts the images in the repository using an\n AES256 encryption algorithm. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html\">Protecting data using\n server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the\n <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>",
"smithy.api#documentation": "<p>The encryption type to use.</p>\n <p>If you use the <code>KMS</code> encryption type, the contents of the repository will\n be encrypted using server-side encryption with Key Management Service key stored in KMS. When you\n use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key\n for Amazon ECR, or specify your own KMS key, which you already created.</p>\n <p>If you use the <code>KMS_DSSE</code> encryption type, the contents of the repository\n will be encrypted with two layers of encryption using server-side encryption with the\n KMS Management Service key stored in KMS. Similar to the <code>KMS</code> encryption type, you\n can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS\n key, which you've already created. </p>\n <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption\n with Amazon S3-managed encryption keys which encrypts the images in the repository using an\n AES256 encryption algorithm.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html\">Amazon ECR encryption at\n rest</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -3651,6 +3651,18 @@
"traits": {
"smithy.api#documentation": "<p>The date and time the finding was last updated at.</p>"
}
},
"fixAvailable": {
"target": "com.amazonaws.ecr#FixAvailable",
"traits": {
"smithy.api#documentation": "<p>Details on whether a fix is available through a version update. This value can be\n <code>YES</code>, <code>NO</code>, or <code>PARTIAL</code>. A <code>PARTIAL</code>\n fix means that some, but not all, of the packages identified in the finding have fixes\n available through updated versions.</p>"
}
},
"exploitAvailable": {
"target": "com.amazonaws.ecr#ExploitAvailable",
"traits": {
"smithy.api#documentation": "<p>If a finding discovered in your environment has an exploit available.</p>"
}
}
},
"traits": {
Expand All @@ -3675,6 +3687,9 @@
"com.amazonaws.ecr#ExpirationTimestamp": {
"type": "timestamp"
},
"com.amazonaws.ecr#ExploitAvailable": {
"type": "string"
},
"com.amazonaws.ecr#FilePath": {
"type": "string"
},
Expand Down Expand Up @@ -3737,6 +3752,12 @@
"target": "com.amazonaws.ecr#SeverityCount"
}
},
"com.amazonaws.ecr#FixAvailable": {
"type": "string"
},
"com.amazonaws.ecr#FixedInVersion": {
"type": "string"
},
"com.amazonaws.ecr#ForceFlag": {
"type": "boolean",
"traits": {
Expand Down Expand Up @@ -8639,6 +8660,12 @@
"traits": {
"smithy.api#documentation": "<p>The version of the vulnerable package.</p>"
}
},
"fixedInVersion": {
"target": "com.amazonaws.ecr#FixedInVersion",
"traits": {
"smithy.api#documentation": "<p>The version of the package that contains the vulnerability fix.</p>"
}
}
},
"traits": {
Expand Down
Loading

0 comments on commit 590384d

Please sign in to comment.