Skip to content

Commit 5b26dc7

Browse files
This release of the SDK has the API and documentation for the createcustommodel API. This feature lets you copy a trained model into Amazon Bedrock for inference.
1 parent 2d1e444 commit 5b26dc7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

generator/ServiceModels/bedrock/bedrock-2023-04-20.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,7 @@
17011701
"type":"string",
17021702
"max":1011,
17031703
"min":20,
1704-
"pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12})"
1704+
"pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}"
17051705
},
17061706
"CustomModelName":{
17071707
"type":"string",

generator/ServiceModels/bedrock/bedrock-2023-04-20.normal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2161,7 +2161,7 @@
21612161
"type":"string",
21622162
"max":1011,
21632163
"min":20,
2164-
"pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12})"
2164+
"pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}"
21652165
},
21662166
"CustomModelName":{
21672167
"type":"string",

sdk/code-analysis/ServiceAnalysis/Bedrock/Generated/PropertyValueRules.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@
676676
<property>Amazon.Bedrock.Model.GetModelCopyJobResponse.TargetModelArn</property>
677677
<min>20</min>
678678
<max>1011</max>
679-
<pattern>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12})</pattern>
679+
<pattern>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}</pattern>
680680
</property-value-rule>
681681
<property-value-rule>
682682
<property>Amazon.Bedrock.Model.GetModelCopyJobResponse.TargetModelKmsKeyArn</property>
@@ -727,7 +727,7 @@
727727
<property>Amazon.Bedrock.Model.GetModelCustomizationJobResponse.OutputModelArn</property>
728728
<min>20</min>
729729
<max>1011</max>
730-
<pattern>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12})</pattern>
730+
<pattern>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}</pattern>
731731
</property-value-rule>
732732
<property-value-rule>
733733
<property>Amazon.Bedrock.Model.GetModelCustomizationJobResponse.OutputModelKmsKeyArn</property>
@@ -1402,7 +1402,7 @@
14021402
<property>Amazon.Bedrock.Model.CustomModelSummary.ModelArn</property>
14031403
<min>20</min>
14041404
<max>1011</max>
1405-
<pattern>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12})</pattern>
1405+
<pattern>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}</pattern>
14061406
</property-value-rule>
14071407
<property-value-rule>
14081408
<property>Amazon.Bedrock.Model.CustomModelSummary.ModelName</property>
@@ -1817,7 +1817,7 @@
18171817
<property>Amazon.Bedrock.Model.ModelCopyJobSummary.TargetModelArn</property>
18181818
<min>20</min>
18191819
<max>1011</max>
1820-
<pattern>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12})</pattern>
1820+
<pattern>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}</pattern>
18211821
</property-value-rule>
18221822
<property-value-rule>
18231823
<property>Amazon.Bedrock.Model.ModelCopyJobSummary.TargetModelKmsKeyArn</property>
@@ -1841,7 +1841,7 @@
18411841
<property>Amazon.Bedrock.Model.ModelCustomizationJobSummary.CustomModelArn</property>
18421842
<min>20</min>
18431843
<max>1011</max>
1844-
<pattern>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12})</pattern>
1844+
<pattern>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}</pattern>
18451845
</property-value-rule>
18461846
<property-value-rule>
18471847
<property>Amazon.Bedrock.Model.ModelCustomizationJobSummary.CustomModelName</property>

0 commit comments

Comments
 (0)