Skip to content

Commit dd74220

Browse files
Update models for release
1 parent 43a0529 commit dd74220

18 files changed

Lines changed: 391 additions & 30 deletions

File tree

.changes/3.373.3

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"type": "api-change",
4+
"category": "BedrockAgentCore",
5+
"description": "Provide support to perform deterministic operations on agent runtime through shell command executions via the new InvokeAgentRuntimeCommand API"
6+
},
7+
{
8+
"type": "api-change",
9+
"category": "Bedrock",
10+
"description": "You can now generate policy scenarios on demand using the new GENERATE POLICY SCENARIOS build workflow type. Scenarios will no longer be automatically generated during INGEST CONTENT, REFINE POLICY, and IMPORT POLICY workflows, resulting in faster completion times for these operations."
11+
},
12+
{
13+
"type": "api-change",
14+
"category": "BedrockAgentCoreControl",
15+
"description": "Supporting hosting of public ECR Container Images in AgentCore Runtime"
16+
},
17+
{
18+
"type": "api-change",
19+
"category": "ECS",
20+
"description": "Amazon ECS now supports configuring whether tags are propagated to the EC2 Instance Metadata Service (IMDS) for instances launched by the Managed Instances capacity provider. This gives customers control over tag visibility in IMDS when using ECS Managed Instances."
21+
}
22+
]

.changes/nextrelease/chore-error-description-support.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# CHANGELOG
22

3+
## next release
4+
5+
* `Aws\` - Handles errors that comes in the `error_description` field, specifically how SSO-OIDC service has it modeled.
6+
* `Aws\BedrockAgentCore` - Provide support to perform deterministic operations on agent runtime through shell command executions via the new InvokeAgentRuntimeCommand API
7+
* `Aws\Bedrock` - You can now generate policy scenarios on demand using the new GENERATE POLICY SCENARIOS build workflow type. Scenarios will no longer be automatically generated during INGEST CONTENT, REFINE POLICY, and IMPORT POLICY workflows, resulting in faster completion times for these operations.
8+
* `Aws\BedrockAgentCoreControl` - Supporting hosting of public ECR Container Images in AgentCore Runtime
9+
* `Aws\ECS` - Amazon ECS now supports configuring whether tags are propagated to the EC2 Instance Metadata Service (IMDS) for instances launched by the Managed Instances capacity provider. This gives customers control over tag visibility in IMDS when using ECS Managed Instances.
10+
311
## 3.373.2 - 2026-03-13
412

513
* `Aws\ConfigService` - Fix pagination support for DescribeConformancePackCompliance, and update OrganizationConfigRule InputParameters max length to match ConfigRule.

src/BedrockAgentCore/BedrockAgentCoreClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
* @method \GuzzleHttp\Promise\Promise getWorkloadAccessTokenForUserIdAsync(array $args = [])
4444
* @method \Aws\Result invokeAgentRuntime(array $args = [])
4545
* @method \GuzzleHttp\Promise\Promise invokeAgentRuntimeAsync(array $args = [])
46+
* @method \Aws\Result invokeAgentRuntimeCommand(array $args = [])
47+
* @method \GuzzleHttp\Promise\Promise invokeAgentRuntimeCommandAsync(array $args = [])
4648
* @method \Aws\Result invokeCodeInterpreter(array $args = [])
4749
* @method \GuzzleHttp\Promise\Promise invokeCodeInterpreterAsync(array $args = [])
4850
* @method \Aws\Result listActors(array $args = [])

src/data/bedrock-agentcore-control/2023-06-05/api-2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6508,7 +6508,7 @@
65086508
"type":"string",
65096509
"max":1024,
65106510
"min":1,
6511-
"pattern":"([0-9]{12})\\.dkr\\.ecr\\.([a-z0-9-]+)\\.amazonaws\\.com/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(?::([^:@]{1,300}))?(?:@(.+))?"
6511+
"pattern":"(([0-9]{12})\\.dkr\\.ecr\\.([a-z0-9-]+)\\.amazonaws\\.com(\\.cn)?|public\\.ecr\\.aws)/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(?::([^:@]{1,300}))?(?:@(.+))?"
65126512
},
65136513
"RuntimeMetadataConfiguration":{
65146514
"type":"structure",

src/data/bedrock-agentcore-control/2023-06-05/api-2.json.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/data/bedrock-agentcore/2024-02-28/api-2.json

Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,25 @@
372372
{"shape":"InternalServerException"}
373373
]
374374
},
375+
"InvokeAgentRuntimeCommand":{
376+
"name":"InvokeAgentRuntimeCommand",
377+
"http":{
378+
"method":"POST",
379+
"requestUri":"/runtimes/{agentRuntimeArn}/commands",
380+
"responseCode":200
381+
},
382+
"input":{"shape":"InvokeAgentRuntimeCommandRequest"},
383+
"output":{"shape":"InvokeAgentRuntimeCommandResponse"},
384+
"errors":[
385+
{"shape":"ServiceQuotaExceededException"},
386+
{"shape":"ValidationException"},
387+
{"shape":"AccessDeniedException"},
388+
{"shape":"RuntimeClientError"},
389+
{"shape":"ThrottlingException"},
390+
{"shape":"ResourceNotFoundException"},
391+
{"shape":"InternalServerException"}
392+
]
393+
},
375394
"InvokeCodeInterpreter":{
376395
"name":"InvokeCodeInterpreter",
377396
"http":{
@@ -1045,6 +1064,13 @@
10451064
},
10461065
"eventstream":true
10471066
},
1067+
"CommandExecutionStatus":{
1068+
"type":"string",
1069+
"enum":[
1070+
"COMPLETED",
1071+
"TIMED_OUT"
1072+
]
1073+
},
10481074
"CompleteResourceTokenAuthRequest":{
10491075
"type":"structure",
10501076
"required":[
@@ -1106,6 +1132,28 @@
11061132
"resource_link"
11071133
]
11081134
},
1135+
"ContentDeltaEvent":{
1136+
"type":"structure",
1137+
"members":{
1138+
"stdout":{"shape":"String"},
1139+
"stderr":{"shape":"String"}
1140+
}
1141+
},
1142+
"ContentStartEvent":{
1143+
"type":"structure",
1144+
"members":{}
1145+
},
1146+
"ContentStopEvent":{
1147+
"type":"structure",
1148+
"required":[
1149+
"exitCode",
1150+
"status"
1151+
],
1152+
"members":{
1153+
"exitCode":{"shape":"Integer"},
1154+
"status":{"shape":"CommandExecutionStatus"}
1155+
}
1156+
},
11091157
"ContentTextString":{
11101158
"type":"string",
11111159
"max":100000,
@@ -1823,6 +1871,164 @@
18231871
},
18241872
"exception":true
18251873
},
1874+
"InvokeAgentRuntimeCommandRequest":{
1875+
"type":"structure",
1876+
"required":[
1877+
"agentRuntimeArn",
1878+
"body"
1879+
],
1880+
"members":{
1881+
"contentType":{
1882+
"shape":"MimeType",
1883+
"location":"header",
1884+
"locationName":"Content-Type"
1885+
},
1886+
"accept":{
1887+
"shape":"MimeType",
1888+
"location":"header",
1889+
"locationName":"Accept"
1890+
},
1891+
"runtimeSessionId":{
1892+
"shape":"SessionType",
1893+
"idempotencyToken":true,
1894+
"location":"header",
1895+
"locationName":"X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"
1896+
},
1897+
"traceId":{
1898+
"shape":"InvokeAgentRuntimeCommandRequestTraceIdString",
1899+
"location":"header",
1900+
"locationName":"X-Amzn-Trace-Id"
1901+
},
1902+
"traceParent":{
1903+
"shape":"InvokeAgentRuntimeCommandRequestTraceParentString",
1904+
"location":"header",
1905+
"locationName":"traceparent"
1906+
},
1907+
"traceState":{
1908+
"shape":"InvokeAgentRuntimeCommandRequestTraceStateString",
1909+
"location":"header",
1910+
"locationName":"tracestate"
1911+
},
1912+
"baggage":{
1913+
"shape":"InvokeAgentRuntimeCommandRequestBaggageString",
1914+
"location":"header",
1915+
"locationName":"baggage"
1916+
},
1917+
"agentRuntimeArn":{
1918+
"shape":"String",
1919+
"location":"uri",
1920+
"locationName":"agentRuntimeArn"
1921+
},
1922+
"qualifier":{
1923+
"shape":"String",
1924+
"location":"querystring",
1925+
"locationName":"qualifier"
1926+
},
1927+
"accountId":{
1928+
"shape":"InvokeAgentRuntimeCommandRequestAccountIdString",
1929+
"location":"querystring",
1930+
"locationName":"accountId"
1931+
},
1932+
"body":{"shape":"InvokeAgentRuntimeCommandRequestBody"}
1933+
},
1934+
"payload":"body"
1935+
},
1936+
"InvokeAgentRuntimeCommandRequestAccountIdString":{
1937+
"type":"string",
1938+
"pattern":"[0-9]{12}"
1939+
},
1940+
"InvokeAgentRuntimeCommandRequestBaggageString":{
1941+
"type":"string",
1942+
"max":8192,
1943+
"min":0
1944+
},
1945+
"InvokeAgentRuntimeCommandRequestBody":{
1946+
"type":"structure",
1947+
"required":["command"],
1948+
"members":{
1949+
"command":{"shape":"InvokeAgentRuntimeCommandRequestBodyCommandString"},
1950+
"timeout":{"shape":"Integer"}
1951+
}
1952+
},
1953+
"InvokeAgentRuntimeCommandRequestBodyCommandString":{
1954+
"type":"string",
1955+
"max":65536,
1956+
"min":1
1957+
},
1958+
"InvokeAgentRuntimeCommandRequestTraceIdString":{
1959+
"type":"string",
1960+
"max":1024,
1961+
"min":0
1962+
},
1963+
"InvokeAgentRuntimeCommandRequestTraceParentString":{
1964+
"type":"string",
1965+
"max":1024,
1966+
"min":0
1967+
},
1968+
"InvokeAgentRuntimeCommandRequestTraceStateString":{
1969+
"type":"string",
1970+
"max":512,
1971+
"min":0
1972+
},
1973+
"InvokeAgentRuntimeCommandResponse":{
1974+
"type":"structure",
1975+
"required":[
1976+
"contentType",
1977+
"stream"
1978+
],
1979+
"members":{
1980+
"runtimeSessionId":{
1981+
"shape":"SessionId",
1982+
"location":"header",
1983+
"locationName":"X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"
1984+
},
1985+
"traceId":{
1986+
"shape":"String",
1987+
"location":"header",
1988+
"locationName":"X-Amzn-Trace-Id"
1989+
},
1990+
"traceParent":{
1991+
"shape":"String",
1992+
"location":"header",
1993+
"locationName":"traceparent"
1994+
},
1995+
"traceState":{
1996+
"shape":"String",
1997+
"location":"header",
1998+
"locationName":"tracestate"
1999+
},
2000+
"baggage":{
2001+
"shape":"String",
2002+
"location":"header",
2003+
"locationName":"baggage"
2004+
},
2005+
"contentType":{
2006+
"shape":"String",
2007+
"location":"header",
2008+
"locationName":"Content-Type"
2009+
},
2010+
"statusCode":{
2011+
"shape":"HttpResponseCode",
2012+
"location":"statusCode"
2013+
},
2014+
"stream":{"shape":"InvokeAgentRuntimeCommandStreamOutput"}
2015+
},
2016+
"payload":"stream"
2017+
},
2018+
"InvokeAgentRuntimeCommandStreamOutput":{
2019+
"type":"structure",
2020+
"members":{
2021+
"chunk":{"shape":"ResponseChunk"},
2022+
"accessDeniedException":{"shape":"AccessDeniedException"},
2023+
"internalServerException":{"shape":"InternalServerException"},
2024+
"resourceNotFoundException":{"shape":"ResourceNotFoundException"},
2025+
"serviceQuotaExceededException":{"shape":"ServiceQuotaExceededException"},
2026+
"throttlingException":{"shape":"ThrottlingException"},
2027+
"validationException":{"shape":"ValidationException"},
2028+
"runtimeClientError":{"shape":"RuntimeClientError"}
2029+
},
2030+
"eventstream":true
2031+
},
18262032
"InvokeAgentRuntimeRequest":{
18272033
"type":"structure",
18282034
"required":[
@@ -2611,6 +2817,15 @@
26112817
"min":1,
26122818
"pattern":"\\w+:(\\/?\\/?)[^\\s]+"
26132819
},
2820+
"ResponseChunk":{
2821+
"type":"structure",
2822+
"members":{
2823+
"contentStart":{"shape":"ContentStartEvent"},
2824+
"contentDelta":{"shape":"ContentDeltaEvent"},
2825+
"contentStop":{"shape":"ContentStopEvent"}
2826+
},
2827+
"event":true
2828+
},
26142829
"ResponseStream":{
26152830
"type":"blob",
26162831
"sensitive":true,

src/data/bedrock-agentcore/2024-02-28/api-2.json.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)