Skip to content

Commit ffd96a8

Browse files
Updated API models and rebuilt service gems.
1 parent b363a5c commit ffd96a8

File tree

59 files changed

+2620
-961
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2620
-961
lines changed

apis/bedrock-runtime/2023-09-30/api-2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
"type":"string",
260260
"max":2048,
261261
"min":1,
262-
"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})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)"
262+
"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-:.]+)"
263263
},
264264
"ConverseMetrics":{
265265
"type":"structure",
@@ -1011,7 +1011,7 @@
10111011
"type":"string",
10121012
"max":2048,
10131013
"min":1,
1014-
"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})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)"
1014+
"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-:.]+)"
10151015
},
10161016
"InvokeModelRequest":{
10171017
"type":"structure",

apis/bedrock/2023-04-20/api-2.json

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,23 @@
366366
{"shape":"ThrottlingException"}
367367
]
368368
},
369+
"GetInferenceProfile":{
370+
"name":"GetInferenceProfile",
371+
"http":{
372+
"method":"GET",
373+
"requestUri":"/inference-profiles/{inferenceProfileIdentifier}",
374+
"responseCode":200
375+
},
376+
"input":{"shape":"GetInferenceProfileRequest"},
377+
"output":{"shape":"GetInferenceProfileResponse"},
378+
"errors":[
379+
{"shape":"ResourceNotFoundException"},
380+
{"shape":"AccessDeniedException"},
381+
{"shape":"ValidationException"},
382+
{"shape":"InternalServerException"},
383+
{"shape":"ThrottlingException"}
384+
]
385+
},
369386
"GetModelCopyJob":{
370387
"name":"GetModelCopyJob",
371388
"http":{
@@ -547,6 +564,22 @@
547564
{"shape":"ThrottlingException"}
548565
]
549566
},
567+
"ListInferenceProfiles":{
568+
"name":"ListInferenceProfiles",
569+
"http":{
570+
"method":"GET",
571+
"requestUri":"/inference-profiles",
572+
"responseCode":200
573+
},
574+
"input":{"shape":"ListInferenceProfilesRequest"},
575+
"output":{"shape":"ListInferenceProfilesResponse"},
576+
"errors":[
577+
{"shape":"AccessDeniedException"},
578+
{"shape":"ValidationException"},
579+
{"shape":"InternalServerException"},
580+
{"shape":"ThrottlingException"}
581+
]
582+
},
550583
"ListModelCopyJobs":{
551584
"name":"ListModelCopyJobs",
552585
"http":{
@@ -1764,6 +1797,39 @@
17641797
"modelKmsKeyArn":{"shape":"KmsKeyArn"}
17651798
}
17661799
},
1800+
"GetInferenceProfileRequest":{
1801+
"type":"structure",
1802+
"required":["inferenceProfileIdentifier"],
1803+
"members":{
1804+
"inferenceProfileIdentifier":{
1805+
"shape":"InferenceProfileIdentifier",
1806+
"location":"uri",
1807+
"locationName":"inferenceProfileIdentifier"
1808+
}
1809+
}
1810+
},
1811+
"GetInferenceProfileResponse":{
1812+
"type":"structure",
1813+
"required":[
1814+
"inferenceProfileName",
1815+
"models",
1816+
"inferenceProfileArn",
1817+
"inferenceProfileId",
1818+
"status",
1819+
"type"
1820+
],
1821+
"members":{
1822+
"inferenceProfileName":{"shape":"InferenceProfileName"},
1823+
"models":{"shape":"InferenceProfileModels"},
1824+
"description":{"shape":"InferenceProfileDescription"},
1825+
"createdAt":{"shape":"Timestamp"},
1826+
"updatedAt":{"shape":"Timestamp"},
1827+
"inferenceProfileArn":{"shape":"InferenceProfileArn"},
1828+
"inferenceProfileId":{"shape":"InferenceProfileId"},
1829+
"status":{"shape":"InferenceProfileStatus"},
1830+
"type":{"shape":"InferenceProfileType"}
1831+
}
1832+
},
17671833
"GetModelCopyJobRequest":{
17681834
"type":"structure",
17691835
"required":["jobArn"],
@@ -2613,6 +2679,82 @@
26132679
"type":"list",
26142680
"member":{"shape":"ImportedModelSummary"}
26152681
},
2682+
"InferenceProfileArn":{
2683+
"type":"string",
2684+
"max":2048,
2685+
"min":1,
2686+
"pattern":"arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+"
2687+
},
2688+
"InferenceProfileDescription":{
2689+
"type":"string",
2690+
"max":500,
2691+
"min":1,
2692+
"pattern":".+"
2693+
},
2694+
"InferenceProfileId":{
2695+
"type":"string",
2696+
"max":64,
2697+
"min":1,
2698+
"pattern":"[a-zA-Z0-9-:.]+"
2699+
},
2700+
"InferenceProfileIdentifier":{
2701+
"type":"string",
2702+
"max":2048,
2703+
"min":1,
2704+
"pattern":"(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):inference-profile/)?[a-zA-Z0-9-:.]+"
2705+
},
2706+
"InferenceProfileModel":{
2707+
"type":"structure",
2708+
"members":{
2709+
"modelArn":{"shape":"FoundationModelArn"}
2710+
}
2711+
},
2712+
"InferenceProfileModels":{
2713+
"type":"list",
2714+
"member":{"shape":"InferenceProfileModel"},
2715+
"max":5,
2716+
"min":1
2717+
},
2718+
"InferenceProfileName":{
2719+
"type":"string",
2720+
"max":64,
2721+
"min":1,
2722+
"pattern":"([0-9a-zA-Z][ _-]?)+"
2723+
},
2724+
"InferenceProfileStatus":{
2725+
"type":"string",
2726+
"enum":["ACTIVE"]
2727+
},
2728+
"InferenceProfileSummaries":{
2729+
"type":"list",
2730+
"member":{"shape":"InferenceProfileSummary"}
2731+
},
2732+
"InferenceProfileSummary":{
2733+
"type":"structure",
2734+
"required":[
2735+
"inferenceProfileName",
2736+
"models",
2737+
"inferenceProfileArn",
2738+
"inferenceProfileId",
2739+
"status",
2740+
"type"
2741+
],
2742+
"members":{
2743+
"inferenceProfileName":{"shape":"InferenceProfileName"},
2744+
"models":{"shape":"InferenceProfileModels"},
2745+
"description":{"shape":"InferenceProfileDescription"},
2746+
"createdAt":{"shape":"Timestamp"},
2747+
"updatedAt":{"shape":"Timestamp"},
2748+
"inferenceProfileArn":{"shape":"InferenceProfileArn"},
2749+
"inferenceProfileId":{"shape":"InferenceProfileId"},
2750+
"status":{"shape":"InferenceProfileStatus"},
2751+
"type":{"shape":"InferenceProfileType"}
2752+
}
2753+
},
2754+
"InferenceProfileType":{
2755+
"type":"string",
2756+
"enum":["SYSTEM_DEFINED"]
2757+
},
26162758
"InferenceType":{
26172759
"type":"string",
26182760
"enum":[
@@ -2876,6 +3018,28 @@
28763018
"modelSummaries":{"shape":"ImportedModelSummaryList"}
28773019
}
28783020
},
3021+
"ListInferenceProfilesRequest":{
3022+
"type":"structure",
3023+
"members":{
3024+
"maxResults":{
3025+
"shape":"MaxResults",
3026+
"location":"querystring",
3027+
"locationName":"maxResults"
3028+
},
3029+
"nextToken":{
3030+
"shape":"PaginationToken",
3031+
"location":"querystring",
3032+
"locationName":"nextToken"
3033+
}
3034+
}
3035+
},
3036+
"ListInferenceProfilesResponse":{
3037+
"type":"structure",
3038+
"members":{
3039+
"inferenceProfileSummaries":{"shape":"InferenceProfileSummaries"},
3040+
"nextToken":{"shape":"PaginationToken"}
3041+
}
3042+
},
28793043
"ListModelCopyJobsRequest":{
28803044
"type":"structure",
28813045
"members":{

0 commit comments

Comments
 (0)