Skip to content

Commit b8f4677

Browse files
Merge branch 'release-1.37.8' into develop
* release-1.37.8: Bumping version to 1.37.8 Update endpoints model Update to latest models
2 parents 5eea62f + b60c848 commit b8f4677

File tree

12 files changed

+688
-33
lines changed

12 files changed

+688
-33
lines changed

.changes/1.37.8.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[
2+
{
3+
"category": "``bedrock``",
4+
"description": "This releases adds support for Custom Prompt Router",
5+
"type": "api-change"
6+
},
7+
{
8+
"category": "``cloudtrail``",
9+
"description": "Doc-only update for CloudTrail.",
10+
"type": "api-change"
11+
},
12+
{
13+
"category": "``ivs-realtime``",
14+
"description": "IVS Real-Time now offers customers the ability to merge fragmented recordings in the event of a participant disconnect.",
15+
"type": "api-change"
16+
},
17+
{
18+
"category": "``networkflowmonitor``",
19+
"description": "This release contains 2 changes. 1: DeleteScope/GetScope/UpdateScope operations now return 404 instead of 500 when the resource does not exist. 2: Expected string format for clientToken fields of CreateMonitorInput/CreateScopeInput/UpdateMonitorInput have been updated to be an UUID based string.",
20+
"type": "api-change"
21+
},
22+
{
23+
"category": "``redshift-data``",
24+
"description": "This release adds support for ListStatements API to filter statements by ClusterIdentifier, WorkgroupName, and Database.",
25+
"type": "api-change"
26+
},
27+
{
28+
"category": "``wafv2``",
29+
"description": "You can now perform an exact match or rate limit aggregation against the web request's JA4 fingerprint.",
30+
"type": "api-change"
31+
},
32+
{
33+
"category": "``workspaces``",
34+
"description": "Added a new ModifyEndpointEncryptionMode API for managing endpoint encryption settings.",
35+
"type": "api-change"
36+
}
37+
]

CHANGELOG.rst

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
CHANGELOG
33
=========
44

5+
1.37.8
6+
======
7+
8+
* api-change:``bedrock``: This releases adds support for Custom Prompt Router
9+
* api-change:``cloudtrail``: Doc-only update for CloudTrail.
10+
* api-change:``ivs-realtime``: IVS Real-Time now offers customers the ability to merge fragmented recordings in the event of a participant disconnect.
11+
* api-change:``networkflowmonitor``: This release contains 2 changes. 1: DeleteScope/GetScope/UpdateScope operations now return 404 instead of 500 when the resource does not exist. 2: Expected string format for clientToken fields of CreateMonitorInput/CreateScopeInput/UpdateMonitorInput have been updated to be an UUID based string.
12+
* api-change:``redshift-data``: This release adds support for ListStatements API to filter statements by ClusterIdentifier, WorkgroupName, and Database.
13+
* api-change:``wafv2``: You can now perform an exact match or rate limit aggregation against the web request's JA4 fingerprint.
14+
* api-change:``workspaces``: Added a new ModifyEndpointEncryptionMode API for managing endpoint encryption settings.
15+
16+
517
1.37.7
618
======
719

botocore/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import os
1717
import re
1818

19-
__version__ = '1.37.7'
19+
__version__ = '1.37.8'
2020

2121

2222
class NullHandler(logging.Handler):

botocore/data/bedrock/2023-04-20/service-2.json

+117-3
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,28 @@
219219
"documentation":"<p>Creates a batch inference job to invoke a model on multiple prompts. Format your data according to <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data\">Format your inference data</a> and upload it to an Amazon S3 bucket. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference.html\">Process multiple prompts with batch inference</a>.</p> <p>The response returns a <code>jobArn</code> that you can use to stop or get details about the job.</p>",
220220
"idempotent":true
221221
},
222+
"CreatePromptRouter":{
223+
"name":"CreatePromptRouter",
224+
"http":{
225+
"method":"POST",
226+
"requestUri":"/prompt-routers",
227+
"responseCode":200
228+
},
229+
"input":{"shape":"CreatePromptRouterRequest"},
230+
"output":{"shape":"CreatePromptRouterResponse"},
231+
"errors":[
232+
{"shape":"ResourceNotFoundException"},
233+
{"shape":"AccessDeniedException"},
234+
{"shape":"ValidationException"},
235+
{"shape":"ConflictException"},
236+
{"shape":"InternalServerException"},
237+
{"shape":"TooManyTagsException"},
238+
{"shape":"ServiceQuotaExceededException"},
239+
{"shape":"ThrottlingException"}
240+
],
241+
"documentation":"<p>Creates a prompt router that manages the routing of requests between multiple foundation models based on the routing criteria.</p>",
242+
"idempotent":true
243+
},
222244
"CreateProvisionedModelThroughput":{
223245
"name":"CreateProvisionedModelThroughput",
224246
"http":{
@@ -356,6 +378,25 @@
356378
"documentation":"<p>Delete the invocation logging. </p>",
357379
"idempotent":true
358380
},
381+
"DeletePromptRouter":{
382+
"name":"DeletePromptRouter",
383+
"http":{
384+
"method":"DELETE",
385+
"requestUri":"/prompt-routers/{promptRouterArn}",
386+
"responseCode":200
387+
},
388+
"input":{"shape":"DeletePromptRouterRequest"},
389+
"output":{"shape":"DeletePromptRouterResponse"},
390+
"errors":[
391+
{"shape":"ResourceNotFoundException"},
392+
{"shape":"AccessDeniedException"},
393+
{"shape":"ValidationException"},
394+
{"shape":"InternalServerException"},
395+
{"shape":"ThrottlingException"}
396+
],
397+
"documentation":"<p>Deletes a specified prompt router. This action cannot be undone.</p>",
398+
"idempotent":true
399+
},
359400
"DeleteProvisionedModelThroughput":{
360401
"name":"DeleteProvisionedModelThroughput",
361402
"http":{
@@ -1858,6 +1899,55 @@
18581899
}
18591900
}
18601901
},
1902+
"CreatePromptRouterRequest":{
1903+
"type":"structure",
1904+
"required":[
1905+
"promptRouterName",
1906+
"models",
1907+
"routingCriteria",
1908+
"fallbackModel"
1909+
],
1910+
"members":{
1911+
"clientRequestToken":{
1912+
"shape":"IdempotencyToken",
1913+
"documentation":"<p>A unique, case-sensitive identifier that you provide to ensure idempotency of your requests. If not specified, the Amazon Web Services SDK automatically generates one for you.</p>",
1914+
"idempotencyToken":true
1915+
},
1916+
"promptRouterName":{
1917+
"shape":"PromptRouterName",
1918+
"documentation":"<p>The name of the prompt router. The name must be unique within your Amazon Web Services account in the current region.</p>"
1919+
},
1920+
"models":{
1921+
"shape":"PromptRouterTargetModels",
1922+
"documentation":"<p>A list of foundation models that the prompt router can route requests to. At least one model must be specified.</p>"
1923+
},
1924+
"description":{
1925+
"shape":"PromptRouterDescription",
1926+
"documentation":"<p>An optional description of the prompt router to help identify its purpose.</p>"
1927+
},
1928+
"routingCriteria":{
1929+
"shape":"RoutingCriteria",
1930+
"documentation":"<p>The criteria, which is the response quality difference, used to determine how incoming requests are routed to different models.</p>"
1931+
},
1932+
"fallbackModel":{
1933+
"shape":"PromptRouterTargetModel",
1934+
"documentation":"<p>The default model to use when the routing criteria is not met.</p>"
1935+
},
1936+
"tags":{
1937+
"shape":"TagList",
1938+
"documentation":"<p>An array of key-value pairs to apply to this resource as tags. You can use tags to categorize and manage your Amazon Web Services resources.</p>"
1939+
}
1940+
}
1941+
},
1942+
"CreatePromptRouterResponse":{
1943+
"type":"structure",
1944+
"members":{
1945+
"promptRouterArn":{
1946+
"shape":"PromptRouterArn",
1947+
"documentation":"<p>The Amazon Resource Name (ARN) that uniquely identifies the prompt router.</p>"
1948+
}
1949+
}
1950+
},
18611951
"CreateProvisionedModelThroughputRequest":{
18621952
"type":"structure",
18631953
"required":[
@@ -2080,6 +2170,23 @@
20802170
"members":{
20812171
}
20822172
},
2173+
"DeletePromptRouterRequest":{
2174+
"type":"structure",
2175+
"required":["promptRouterArn"],
2176+
"members":{
2177+
"promptRouterArn":{
2178+
"shape":"PromptRouterArn",
2179+
"documentation":"<p>The Amazon Resource Name (ARN) of the prompt router to delete.</p>",
2180+
"location":"uri",
2181+
"locationName":"promptRouterArn"
2182+
}
2183+
}
2184+
},
2185+
"DeletePromptRouterResponse":{
2186+
"type":"structure",
2187+
"members":{
2188+
}
2189+
},
20832190
"DeleteProvisionedModelThroughputRequest":{
20842191
"type":"structure",
20852192
"required":["provisionedModelId"],
@@ -5596,6 +5703,12 @@
55965703
"documentation":"<p>Specify the pagination token from a previous request to retrieve the next page of results.</p>",
55975704
"location":"querystring",
55985705
"locationName":"nextToken"
5706+
},
5707+
"type":{
5708+
"shape":"PromptRouterType",
5709+
"documentation":"<p>The type of the prompt routers, such as whether it's default or custom.</p>",
5710+
"location":"querystring",
5711+
"locationName":"type"
55995712
}
56005713
}
56015714
},
@@ -6468,6 +6581,7 @@
64686581
},
64696582
"PromptRouterTargetModel":{
64706583
"type":"structure",
6584+
"required":["modelArn"],
64716585
"members":{
64726586
"modelArn":{
64736587
"shape":"PromptRouterTargetModelArn",
@@ -6480,7 +6594,7 @@
64806594
"type":"string",
64816595
"max":2048,
64826596
"min":1,
6483-
"pattern":".*(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})|(^arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)"
6597+
"pattern":".*(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})|(^arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)"
64846598
},
64856599
"PromptRouterTargetModels":{
64866600
"type":"list",
@@ -6898,7 +7012,7 @@
68987012
"RoutingCriteriaResponseQualityDifferenceDouble":{
68997013
"type":"double",
69007014
"box":true,
6901-
"max":1,
7015+
"max":100,
69027016
"min":0
69037017
},
69047018
"S3Config":{
@@ -7184,7 +7298,7 @@
71847298
"type":"string",
71857299
"max":1011,
71867300
"min":20,
7187-
"pattern":".*(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:([0-9]{12}|)((:(fine-tuning-job|model-customization-job|custom-model)/[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})$)|(:guardrail/[a-z0-9]+$)|(:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$)|(:(provisioned-model|model-invocation-job|model-evaluation-job|evaluation-job|model-import-job|imported-model|async-invoke)/[a-z0-9]{12}$))).*"
7301+
"pattern":".*(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:([0-9]{12}|)((:(fine-tuning-job|model-customization-job|custom-model)/[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})$)|(:guardrail/[a-z0-9]+$)|(:automated-reasoning-policy/[a-zA-Z0-9]+(:[a-zA-Z0-9]+)?$)|(:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$)|(:(provisioned-model|model-invocation-job|model-evaluation-job|evaluation-job|model-import-job|imported-model|async-invoke|provisioned-model-v2|provisioned-model-reservation|prompt-router)/[a-z0-9]{12}$))).*"
71887302
},
71897303
"TeacherModelConfig":{
71907304
"type":"structure",

botocore/data/cloudtrail/2013-11-01/service-2.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@
17911791
},
17921792
"SnsTopicName":{
17931793
"shape":"String",
1794-
"documentation":"<p>Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.</p>"
1794+
"documentation":"<p>Specifies the name or ARN of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.</p>"
17951795
},
17961796
"IncludeGlobalServiceEvents":{
17971797
"shape":"Boolean",
@@ -5432,7 +5432,7 @@
54325432
},
54335433
"SnsTopicName":{
54345434
"shape":"String",
5435-
"documentation":"<p>Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.</p>"
5435+
"documentation":"<p>Specifies the name or ARN of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.</p>"
54365436
},
54375437
"IncludeGlobalServiceEvents":{
54385438
"shape":"Boolean",

botocore/data/endpoints.json

+36-3
Original file line numberDiff line numberDiff line change
@@ -10801,6 +10801,9 @@
1080110801
"ap-east-1" : {
1080210802
"hostname" : "gameliftstreams.ap-east-1.api.aws"
1080310803
},
10804+
"ap-northeast-1" : {
10805+
"hostname" : "gameliftstreams.ap-northeast-1.api.aws"
10806+
},
1080410807
"ap-northeast-2" : {
1080510808
"hostname" : "gameliftstreams.ap-northeast-2.api.aws"
1080610809
},
@@ -10837,6 +10840,9 @@
1083710840
"ca-west-1" : {
1083810841
"hostname" : "gameliftstreams.ca-west-1.api.aws"
1083910842
},
10843+
"eu-central-1" : {
10844+
"hostname" : "gameliftstreams.eu-central-1.api.aws"
10845+
},
1084010846
"eu-central-2" : {
1084110847
"hostname" : "gameliftstreams.eu-central-2.api.aws"
1084210848
},
@@ -10876,8 +10882,14 @@
1087610882
"us-east-1" : {
1087710883
"hostname" : "gameliftstreams.us-east-1.api.aws"
1087810884
},
10885+
"us-east-2" : {
10886+
"hostname" : "gameliftstreams.us-east-2.api.aws"
10887+
},
1087910888
"us-west-1" : {
1088010889
"hostname" : "gameliftstreams.us-west-1.api.aws"
10890+
},
10891+
"us-west-2" : {
10892+
"hostname" : "gameliftstreams.us-west-2.api.aws"
1088110893
}
1088210894
}
1088310895
},
@@ -35067,8 +35079,22 @@
3506735079
},
3506835080
"secretsmanager" : {
3506935081
"endpoints" : {
35070-
"us-iso-east-1" : { },
35071-
"us-iso-west-1" : { }
35082+
"us-iso-east-1" : {
35083+
"variants" : [ {
35084+
"tags" : [ "fips" ]
35085+
} ]
35086+
},
35087+
"us-iso-east-1-fips" : {
35088+
"deprecated" : true
35089+
},
35090+
"us-iso-west-1" : {
35091+
"variants" : [ {
35092+
"tags" : [ "fips" ]
35093+
} ]
35094+
},
35095+
"us-iso-west-1-fips" : {
35096+
"deprecated" : true
35097+
}
3507235098
}
3507335099
},
3507435100
"snowball" : {
@@ -35832,7 +35858,14 @@
3583235858
},
3583335859
"secretsmanager" : {
3583435860
"endpoints" : {
35835-
"us-isob-east-1" : { }
35861+
"us-isob-east-1" : {
35862+
"variants" : [ {
35863+
"tags" : [ "fips" ]
35864+
} ]
35865+
},
35866+
"us-isob-east-1-fips" : {
35867+
"deprecated" : true
35868+
}
3583635869
}
3583735870
},
3583835871
"snowball" : {

0 commit comments

Comments
 (0)