Skip to content

Commit

Permalink
fix: Catch-up with pre-GA model changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelkins committed Oct 14, 2024
1 parent 62bcf96 commit 4d52aa4
Show file tree
Hide file tree
Showing 20 changed files with 4,566 additions and 5,357 deletions.
12 changes: 12 additions & 0 deletions codegen/sdk-codegen/aws-models/application-auto-scaling.json
Original file line number Diff line number Diff line change
Expand Up @@ -2379,6 +2379,18 @@
"traits": {
"smithy.api#enumValue": "WorkSpacesAverageUserSessionsCapacityUtilization"
}
},
"SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution"
}
},
"SageMakerVariantConcurrentRequestsPerModelHighResolution": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "SageMakerVariantConcurrentRequestsPerModelHighResolution"
}
}
}
},
Expand Down
3,214 changes: 3,075 additions & 139 deletions codegen/sdk-codegen/aws-models/cleanrooms.json

Large diffs are not rendered by default.

87 changes: 83 additions & 4 deletions codegen/sdk-codegen/aws-models/cleanroomsml.json
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,16 @@
"smithy.api#pattern": "^[0-9]{12}$"
}
},
"com.amazonaws.cleanroomsml#AnalysisTemplateArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 200
},
"smithy.api#pattern": "^arn:aws[-a-z]*:cleanrooms:[\\w]{2}-[\\w]{4,9}-[\\d]:[\\d]{12}:membership/[\\d\\w-]+/analysistemplate/[\\d\\w-]+$"
}
},
"com.amazonaws.cleanroomsml#AudienceDestination": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -951,16 +961,21 @@
"dataSource": {
"target": "com.amazonaws.cleanroomsml#S3ConfigMap",
"traits": {
"smithy.api#documentation": "<p>Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:</p>\n <p>\n <code>{\"user_id\": \"111111\"}</code>\n </p>\n <p>\n <code>{\"user_id\": \"222222\"}</code>\n </p>\n <p>\n <code>...</code>\n </p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:</p>\n <p>\n <code>{\"user_id\": \"111111\"}</code>\n </p>\n <p>\n <code>{\"user_id\": \"222222\"}</code>\n </p>\n <p>\n <code>...</code>\n </p>"
}
},
"roleArn": {
"target": "com.amazonaws.cleanroomsml#IamRoleArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.</p>",
"smithy.api#documentation": "<p>The ARN of the IAM role that can read the Amazon S3 bucket where the seed audience is stored.</p>",
"smithy.api#required": {}
}
},
"sqlParameters": {
"target": "com.amazonaws.cleanroomsml#ProtectedQuerySQLParameters",
"traits": {
"smithy.api#documentation": "<p>The protected SQL query parameters.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -1316,7 +1331,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>Configure the list of audience output sizes that can be created. A request to <a>StartAudienceGenerationJob</a> that uses this configured audience model must have an <code>audienceSize</code> selected from this list. You can use the <code>ABSOLUTE</code>\n <a>AudienceSize</a> to configure out audience sizes using the count of identifiers in the output. You can use the <code>Percentage</code>\n <a>AudienceSize</a> to configure sizes in the range 1-100 percent.</p>"
"smithy.api#documentation": "<p>Returns the relevance scores at these audience sizes when used in the <a>GetAudienceGenerationJob</a> for a specified audience generation job and configured audience model.</p>\n <p>Specifies the list of allowed <code>audienceSize</code> values when used in the <a>StartAudienceExportJob</a> for an audience generation job. You can use the <code>ABSOLUTE</code>\n <a>AudienceSize</a> to configure out audience sizes using the count of identifiers in the output. You can use the <code>Percentage</code>\n <a>AudienceSize</a> to configure sizes in the range 1-100 percent.</p>"
}
},
"com.amazonaws.cleanroomsml#AudienceSizeType": {
Expand Down Expand Up @@ -2380,6 +2395,12 @@
"traits": {
"smithy.api#documentation": "<p>The tags that are associated to this audience generation job.</p>"
}
},
"protectedQueryIdentifier": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The unique identifier of the protected query for this audience generation job.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -3440,6 +3461,34 @@
}
}
},
"com.amazonaws.cleanroomsml#ParameterKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
},
"smithy.api#pattern": "^[0-9a-zA-Z_]+$"
}
},
"com.amazonaws.cleanroomsml#ParameterMap": {
"type": "map",
"key": {
"target": "com.amazonaws.cleanroomsml#ParameterKey"
},
"value": {
"target": "com.amazonaws.cleanroomsml#ParameterValue"
}
},
"com.amazonaws.cleanroomsml#ParameterValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 250
}
}
},
"com.amazonaws.cleanroomsml#PolicyExistenceCondition": {
"type": "enum",
"members": {
Expand All @@ -3457,6 +3506,36 @@
}
}
},
"com.amazonaws.cleanroomsml#ProtectedQuerySQLParameters": {
"type": "structure",
"members": {
"queryString": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The query string to be submitted.</p>",
"smithy.api#length": {
"max": 90000
}
}
},
"analysisTemplateArn": {
"target": "com.amazonaws.cleanroomsml#AnalysisTemplateArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) associated with the analysis template within a\n collaboration.</p>"
}
},
"parameters": {
"target": "com.amazonaws.cleanroomsml#ParameterMap",
"traits": {
"smithy.api#documentation": "<p>The protected query SQL parameters.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The parameters for the SQL type Protected Query.</p>",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cleanroomsml#PutConfiguredAudienceModelPolicy": {
"type": "operation",
"input": {
Expand Down
22 changes: 20 additions & 2 deletions codegen/sdk-codegen/aws-models/codecommit.json
Original file line number Diff line number Diff line change
Expand Up @@ -4174,6 +4174,9 @@
{
"target": "com.amazonaws.codecommit#InvalidTagsMapException"
},
{
"target": "com.amazonaws.codecommit#OperationNotAllowedException"
},
{
"target": "com.amazonaws.codecommit#RepositoryLimitExceededException"
},
Expand Down Expand Up @@ -4219,7 +4222,7 @@
"kmsKeyId": {
"target": "com.amazonaws.codecommit#KmsKeyId",
"traits": {
"smithy.api#documentation": "<p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to\n programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see \n <a href=\"https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId\">KeyId</a> in the Decrypt API description in \n the <i>Key Management Service API Reference</i>.</p>\n <p>If no key is specified, the default <code>aws/codecommit</code> Amazon Web Services managed key is used.</p>"
"smithy.api#documentation": "<p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to\n programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see \n <a href=\"https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId\">KeyId</a> in the Decrypt API description in \n the <i>Key Management Service API Reference</i>.</p>\n <p>If no key is specified, the default <code>aws/codecommit</code> Amazon Web Services managed key is used.</p>"
}
}
},
Expand Down Expand Up @@ -11528,6 +11531,21 @@
"smithy.api#documentation": "<p>Information about the type of an object in a merge operation.</p>"
}
},
"com.amazonaws.codecommit#OperationNotAllowedException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codecommit#Message",
"traits": {
"smithy.api#documentation": "<p>Any message associated with the exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The requested action is not allowed.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codecommit#OrderEnum": {
"type": "enum",
"members": {
Expand Down Expand Up @@ -15511,7 +15529,7 @@
"kmsKeyId": {
"target": "com.amazonaws.codecommit#KmsKeyId",
"traits": {
"smithy.api#documentation": "<p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to\n programmatically retrieve a key ID. For more information about acceptable values for keyID, see \n <a href=\"https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId\">KeyId</a> in the Decrypt API description in \n the <i>Key Management Service API Reference</i>.</p>",
"smithy.api#documentation": "<p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to\n programmatically retrieve a key ID. For more information about acceptable values for keyID, see \n <a href=\"https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId\">KeyId</a> in the Decrypt API description in \n the <i>Key Management Service API Reference</i>.</p>",
"smithy.api#required": {}
}
}
Expand Down
Loading

0 comments on commit 4d52aa4

Please sign in to comment.