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 Oct 18, 2024
1 parent f8631c3 commit 98c73d9
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 309 deletions.
312 changes: 9 additions & 303 deletions codegen/sdk-codegen/aws-models/athena.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions codegen/sdk-codegen/aws-models/bedrock-runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@
"min": 1,
"max": 2048
},
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:inference-profile/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$"
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(model-gateway|inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$"
}
},
"com.amazonaws.bedrockruntime#Converse": {
Expand Down Expand Up @@ -3078,7 +3078,7 @@
"min": 1,
"max": 2048
},
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:inference-profile/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$"
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(model-gateway|inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$"
}
},
"com.amazonaws.bedrockruntime#InvokeModelRequest": {
Expand Down
28 changes: 26 additions & 2 deletions codegen/sdk-codegen/aws-models/bedrock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2720,7 +2720,7 @@
"min": 1,
"max": 2048
},
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z]{2}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))$"
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z]{2}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))$"
}
},
"com.amazonaws.bedrock#EvaluationModelIdentifiers": {
Expand Down Expand Up @@ -3757,6 +3757,12 @@
"traits": {
"smithy.api#documentation": "<p>The imported model is encrypted at rest using this key.</p>"
}
},
"instructSupported": {
"target": "com.amazonaws.bedrock#InstructSupported",
"traits": {
"smithy.api#documentation": "<p>Specifies if the imported model supports fine tuning.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -6189,10 +6195,22 @@
"smithy.api#documentation": "<p>Creation time of the imported model.</p>",
"smithy.api#required": {}
}
},
"instructSupported": {
"target": "com.amazonaws.bedrock#InstructSupported",
"traits": {
"smithy.api#documentation": "<p>Specifies if the imported model supports fine tuning.</p>"
}
},
"modelArchitecture": {
"target": "com.amazonaws.bedrock#ModelArchitecture",
"traits": {
"smithy.api#documentation": "<p>The architecture of the imported model.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about tne imported model.</p>"
"smithy.api#documentation": "<p>Information about the imported model.</p>"
}
},
"com.amazonaws.bedrock#ImportedModelSummaryList": {
Expand Down Expand Up @@ -6410,6 +6428,9 @@
"target": "com.amazonaws.bedrock#InferenceType"
}
},
"com.amazonaws.bedrock#InstructSupported": {
"type": "boolean"
},
"com.amazonaws.bedrock#InternalServerException": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -7866,6 +7887,9 @@
"com.amazonaws.bedrock#MetricFloat": {
"type": "float"
},
"com.amazonaws.bedrock#ModelArchitecture": {
"type": "string"
},
"com.amazonaws.bedrock#ModelArn": {
"type": "string",
"traits": {
Expand Down
24 changes: 24 additions & 0 deletions codegen/sdk-codegen/aws-models/datazone.json
Original file line number Diff line number Diff line change
Expand Up @@ -21325,6 +21325,12 @@
"traits": {
"smithy.api#enumValue": "CONTRIBUTOR"
}
},
"PROJECT_CATALOG_STEWARD": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PROJECT_CATALOG_STEWARD"
}
}
}
},
Expand Down Expand Up @@ -28653,6 +28659,24 @@
"traits": {
"smithy.api#enumValue": "PROJECT_CONTRIBUTOR"
}
},
"PROJECT_CATALOG_VIEWER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PROJECT_CATALOG_VIEWER"
}
},
"PROJECT_CATALOG_CONSUMER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PROJECT_CATALOG_CONSUMER"
}
},
"PROJECT_CATALOG_STEWARD": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PROJECT_CATALOG_STEWARD"
}
}
}
},
Expand Down
Loading

0 comments on commit 98c73d9

Please sign in to comment.