Skip to content

Commit 5f89f10

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 64a2f06 commit 5f89f10

10 files changed

+11666
-4921
lines changed

codegen/sdk-codegen/aws-models/bedrock-runtime.json

+62
Original file line numberDiff line numberDiff line change
@@ -1058,6 +1058,32 @@
10581058
"smithy.api#sensitive": {}
10591059
}
10601060
},
1061+
"com.amazonaws.bedrockruntime#CachePointBlock": {
1062+
"type": "structure",
1063+
"members": {
1064+
"type": {
1065+
"target": "com.amazonaws.bedrockruntime#CachePointType",
1066+
"traits": {
1067+
"smithy.api#documentation": "<p>Specifies the type of cache point within the CachePointBlock.</p>",
1068+
"smithy.api#required": {}
1069+
}
1070+
}
1071+
},
1072+
"traits": {
1073+
"smithy.api#documentation": "<p>Defines a section of content to be cached for reuse in subsequent API calls.</p>"
1074+
}
1075+
},
1076+
"com.amazonaws.bedrockruntime#CachePointType": {
1077+
"type": "enum",
1078+
"members": {
1079+
"DEFAULT": {
1080+
"target": "smithy.api#Unit",
1081+
"traits": {
1082+
"smithy.api#enumValue": "default"
1083+
}
1084+
}
1085+
}
1086+
},
10611087
"com.amazonaws.bedrockruntime#ConflictException": {
10621088
"type": "structure",
10631089
"members": {
@@ -1116,6 +1142,12 @@
11161142
"smithy.api#documentation": "<p>Contains the content to assess with the guardrail. If you don't specify\n <code>guardContent</code> in a call to the Converse API, the guardrail (if passed in the\n Converse API) assesses the entire message.</p>\n <p>For more information, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n\n </p>"
11171143
}
11181144
},
1145+
"cachePoint": {
1146+
"target": "com.amazonaws.bedrockruntime#CachePointBlock",
1147+
"traits": {
1148+
"smithy.api#documentation": "<p>CachePoint to include in the message.</p>"
1149+
}
1150+
},
11191151
"reasoningContent": {
11201152
"target": "com.amazonaws.bedrockruntime#ReasoningContentBlock",
11211153
"traits": {
@@ -4769,6 +4801,12 @@
47694801
"traits": {
47704802
"smithy.api#documentation": "<p>A content block to assess with the guardrail. Use with the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html\">Converse</a> or <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html\">ConverseStream</a> API operations. </p>\n <p>For more information, see <i>Use a guardrail with the Converse\n API</i> in the <i>Amazon Bedrock User Guide</i>.</p>"
47714803
}
4804+
},
4805+
"cachePoint": {
4806+
"target": "com.amazonaws.bedrockruntime#CachePointBlock",
4807+
"traits": {
4808+
"smithy.api#documentation": "<p>CachePoint to include in the system prompt.</p>"
4809+
}
47724810
}
47734811
},
47744812
"traits": {
@@ -4892,6 +4930,24 @@
48924930
},
48934931
"smithy.api#required": {}
48944932
}
4933+
},
4934+
"cacheReadInputTokens": {
4935+
"target": "smithy.api#Integer",
4936+
"traits": {
4937+
"smithy.api#documentation": "<p>The number of input tokens read from the cache for the request.</p>",
4938+
"smithy.api#range": {
4939+
"min": 0
4940+
}
4941+
}
4942+
},
4943+
"cacheWriteInputTokens": {
4944+
"target": "smithy.api#Integer",
4945+
"traits": {
4946+
"smithy.api#documentation": "<p>The number of input tokens written to the cache for the request.</p>",
4947+
"smithy.api#range": {
4948+
"min": 0
4949+
}
4950+
}
48954951
}
48964952
},
48974953
"traits": {
@@ -4906,6 +4962,12 @@
49064962
"traits": {
49074963
"smithy.api#documentation": "<p>The specfication for the tool.</p>"
49084964
}
4965+
},
4966+
"cachePoint": {
4967+
"target": "com.amazonaws.bedrockruntime#CachePointBlock",
4968+
"traits": {
4969+
"smithy.api#documentation": "<p>CachePoint to include in the tool configuration.</p>"
4970+
}
49094971
}
49104972
},
49114973
"traits": {

codegen/sdk-codegen/aws-models/deadline.json

+93-23
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,7 @@
414414
"taskId": {
415415
"target": "com.amazonaws.deadline#TaskId",
416416
"traits": {
417-
"smithy.api#documentation": "<p>The task ID.</p>",
418-
"smithy.api#required": {}
417+
"smithy.api#documentation": "<p>The task ID.</p>"
419418
}
420419
},
421420
"stepId": {
@@ -1741,8 +1740,10 @@
17411740
],
17421741
"aws.iam#disableConditionKeyInference": {},
17431742
"aws.iam#iamResource": {
1743+
"disableConditionKeyInheritance": true,
17441744
"name": "budget"
1745-
}
1745+
},
1746+
"smithy.api#documentation": "Represents a budget that limits the expenses allowed on a queue or farm"
17461747
}
17471748
},
17481749
"com.amazonaws.deadline#BudgetSchedule": {
@@ -2658,7 +2659,7 @@
26582659
"priority": {
26592660
"target": "com.amazonaws.deadline#JobPriority",
26602661
"traits": {
2661-
"smithy.api#documentation": "<p>The priority of the job on a scale of 0 to 100. The highest priority (first scheduled)\n is 100. When two jobs have the same priority, the oldest job is scheduled first.</p>",
2662+
"smithy.api#documentation": "<p>The priority of the job. The highest priority (first scheduled) is 100. When two jobs\n have the same priority, the oldest job is scheduled first.</p>",
26622663
"smithy.api#required": {}
26632664
}
26642665
},
@@ -3237,7 +3238,7 @@
32373238
"priority": {
32383239
"target": "com.amazonaws.deadline#Priority",
32393240
"traits": {
3240-
"smithy.api#documentation": "<p>Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the\n highest priority. If two environments share the same priority value, the environment\n created first takes higher priority.</p>",
3241+
"smithy.api#documentation": "<p>Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the\n highest priority (activated first and deactivated last). If two environments share the same\n priority value, the environment created first takes higher priority.</p>",
32413242
"smithy.api#required": {}
32423243
}
32433244
},
@@ -3687,9 +3688,17 @@
36873688
}
36883689
],
36893690
"traits": {
3691+
"aws.iam#conditionKeys": [
3692+
"aws:RequestTag/${TagKey}",
3693+
"aws:TagKeys"
3694+
],
36903695
"aws.iam#iamAction": {
36913696
"name": "CreateWorker",
3692-
"documentation": "Grants permission to create a worker"
3697+
"documentation": "Grants permission to create a worker",
3698+
"requiredActions": [
3699+
"deadline:TagResource",
3700+
"deadline:ListTagsForResource"
3701+
]
36933702
},
36943703
"smithy.api#documentation": "<p>Creates a worker. A worker tells your instance how much processing power (vCPU), and\n memory (GiB) you’ll need to assemble the digital assets held within a particular instance.\n You can specify certain instance types to use, or let the worker know which instances types\n to exclude.</p>",
36953704
"smithy.api#endpoint": {
@@ -6702,7 +6711,8 @@
67026711
"aws.iam#disableConditionKeyInference": {},
67036712
"aws.iam#iamResource": {
67046713
"name": "farm"
6705-
}
6714+
},
6715+
"smithy.api#documentation": "Represents a farm that contains Deadline Cloud queues and fleets"
67066716
}
67076717
},
67086718
"com.amazonaws.deadline#FarmSummaries": {
@@ -6824,8 +6834,7 @@
68246834
"min": 1,
68256835
"max": 64
68266836
},
6827-
"smithy.api#pattern": "^[0-9A-Za-z ]*$",
6828-
"smithy.api#sensitive": {}
6837+
"smithy.api#pattern": "^[0-9A-Za-z ]*$"
68296838
}
68306839
},
68316840
"com.amazonaws.deadline#FileSystemLocationType": {
@@ -7122,7 +7131,8 @@
71227131
"aws.iam#disableConditionKeyInference": {},
71237132
"aws.iam#iamResource": {
71247133
"name": "fleet"
7125-
}
7134+
},
7135+
"smithy.api#documentation": "Represents a fleet of workers that process Deadline Cloud jobs"
71267136
}
71277137
},
71287138
"com.amazonaws.deadline#FleetStatus": {
@@ -9449,7 +9459,7 @@
94499459
"processExitCode": {
94509460
"target": "com.amazonaws.deadline#ProcessExitCode",
94519461
"traits": {
9452-
"smithy.api#documentation": "<p>The exit code to exit the session.</p>"
9462+
"smithy.api#documentation": "<p>The process exit code. The default Deadline Cloud worker agent converts unsigned\n 32-bit exit codes to signed 32-bit exit codes.</p>"
94539463
}
94549464
},
94559465
"progressMessage": {
@@ -11205,7 +11215,13 @@
1120511215
"com.amazonaws.deadline#JobParameters": {
1120611216
"type": "map",
1120711217
"key": {
11208-
"target": "com.amazonaws.deadline#String"
11218+
"target": "com.amazonaws.deadline#String",
11219+
"traits": {
11220+
"smithy.api#length": {
11221+
"min": 1,
11222+
"max": 1024
11223+
}
11224+
}
1120911225
},
1121011226
"value": {
1121111227
"target": "com.amazonaws.deadline#JobParameter"
@@ -11315,8 +11331,10 @@
1131511331
],
1131611332
"aws.iam#disableConditionKeyInference": {},
1131711333
"aws.iam#iamResource": {
11334+
"disableConditionKeyInheritance": true,
1131811335
"name": "job"
11319-
}
11336+
},
11337+
"smithy.api#documentation": "Represents the steps and tasks for a Deadline Cloud processing job"
1132011338
}
1132111339
},
1132211340
"com.amazonaws.deadline#JobRunAsUser": {
@@ -11711,7 +11729,8 @@
1171111729
"aws.iam#disableConditionKeyInference": {},
1171211730
"aws.iam#iamResource": {
1171311731
"name": "license-endpoint"
11714-
}
11732+
},
11733+
"smithy.api#documentation": "Represents a license endpoint that is for licensed software or a product used within Deadline Cloud"
1171511734
}
1171611735
},
1171711736
"com.amazonaws.deadline#LicenseEndpointStatus": {
@@ -14916,6 +14935,14 @@
1491614935
"ids": {
1491714936
"licenseEndpointId": "resourceArn"
1491814937
}
14938+
},
14939+
{
14940+
"resource": "com.amazonaws.deadline#WorkerResource",
14941+
"ids": {
14942+
"farmId": "resourceArn",
14943+
"fleetId": "resourceArn",
14944+
"workerId": "resourceArn"
14945+
}
1491914946
}
1492014947
]
1492114948
}
@@ -15466,8 +15493,10 @@
1546615493
},
1546715494
"aws.iam#disableConditionKeyInference": {},
1546815495
"aws.iam#iamResource": {
15496+
"disableConditionKeyInheritance": true,
1546915497
"name": "metered-product"
15470-
}
15498+
},
15499+
"smithy.api#documentation": "Represents a product with a license endpoint that is metered for use in Deadline Cloud"
1547115500
}
1547215501
},
1547315502
"com.amazonaws.deadline#MeteredProductSummary": {
@@ -15576,7 +15605,8 @@
1557615605
"aws.iam#disableConditionKeyInference": {},
1557715606
"aws.iam#iamResource": {
1557815607
"name": "monitor"
15579-
}
15608+
},
15609+
"smithy.api#documentation": "Represents a monitor that is used to manage Deadline Cloud resources"
1558015610
}
1558115611
},
1558215612
"com.amazonaws.deadline#MonitorSummaries": {
@@ -16404,7 +16434,8 @@
1640416434
"aws.iam#disableConditionKeyInference": {},
1640516435
"aws.iam#iamResource": {
1640616436
"name": "queue"
16407-
}
16437+
},
16438+
"smithy.api#documentation": "Represents a queue of Deadline Cloud jobs"
1640816439
}
1640916440
},
1641016441
"com.amazonaws.deadline#QueueStatus": {
@@ -17227,12 +17258,36 @@
1722717258
"smithy.api#documentation": "<p>The term to search for.</p>",
1722817259
"smithy.api#required": {}
1722917260
}
17261+
},
17262+
"matchType": {
17263+
"target": "com.amazonaws.deadline#SearchTermMatchingType",
17264+
"traits": {
17265+
"smithy.api#default": "FUZZY_MATCH",
17266+
"smithy.api#documentation": "<p>Specifies how Deadline Cloud matches your search term in the results. If you don't\n specify a <code>matchType</code> the default is <code>FUZZY_MATCH</code>.</p>\n <ul>\n <li>\n <p>\n <code>FUZZY_MATCH</code> - Matches if a portion of the search term is found in the result.</p>\n </li>\n <li>\n <p>\n <code>CONTAINS</code> - Matches if the exact search term is contained in the result.</p>\n </li>\n </ul>"
17267+
}
1723017268
}
1723117269
},
1723217270
"traits": {
1723317271
"smithy.api#documentation": "<p>Searches for a particular search term.</p>"
1723417272
}
1723517273
},
17274+
"com.amazonaws.deadline#SearchTermMatchingType": {
17275+
"type": "enum",
17276+
"members": {
17277+
"FUZZY_MATCH": {
17278+
"target": "smithy.api#Unit",
17279+
"traits": {
17280+
"smithy.api#enumValue": "FUZZY_MATCH"
17281+
}
17282+
},
17283+
"CONTAINS": {
17284+
"target": "smithy.api#Unit",
17285+
"traits": {
17286+
"smithy.api#enumValue": "CONTAINS"
17287+
}
17288+
}
17289+
}
17290+
},
1723617291
"com.amazonaws.deadline#SearchWorkers": {
1723717292
"type": "operation",
1723817293
"input": {
@@ -19187,6 +19242,14 @@
1918719242
"ids": {
1918819243
"licenseEndpointId": "resourceArn"
1918919244
}
19245+
},
19246+
{
19247+
"resource": "com.amazonaws.deadline#WorkerResource",
19248+
"ids": {
19249+
"farmId": "resourceArn",
19250+
"fleetId": "resourceArn",
19251+
"workerId": "resourceArn"
19252+
}
1919019253
}
1919119254
]
1919219255
}
@@ -19273,8 +19336,7 @@
1927319336
"taskId": {
1927419337
"target": "com.amazonaws.deadline#TaskId",
1927519338
"traits": {
19276-
"smithy.api#documentation": "<p>The task ID.</p>",
19277-
"smithy.api#required": {}
19339+
"smithy.api#documentation": "<p>The task ID.</p>"
1927819340
}
1927919341
},
1928019342
"stepId": {
@@ -19302,8 +19364,7 @@
1930219364
"taskId": {
1930319365
"target": "com.amazonaws.deadline#TaskId",
1930419366
"traits": {
19305-
"smithy.api#documentation": "<p>The task ID.</p>",
19306-
"smithy.api#required": {}
19367+
"smithy.api#documentation": "<p>The task ID.</p>"
1930719368
}
1930819369
},
1930919370
"stepId": {
@@ -19784,6 +19845,14 @@
1978419845
"ids": {
1978519846
"licenseEndpointId": "resourceArn"
1978619847
}
19848+
},
19849+
{
19850+
"resource": "com.amazonaws.deadline#WorkerResource",
19851+
"ids": {
19852+
"farmId": "resourceArn",
19853+
"fleetId": "resourceArn",
19854+
"workerId": "resourceArn"
19855+
}
1978719856
}
1978819857
]
1978919858
}
@@ -21655,7 +21724,7 @@
2165521724
"processExitCode": {
2165621725
"target": "com.amazonaws.deadline#ProcessExitCode",
2165721726
"traits": {
21658-
"smithy.api#documentation": "<p>The process exit code.</p>"
21727+
"smithy.api#documentation": "<p>The process exit code. The default Deadline Cloud worker agent converts unsigned\n 32-bit exit codes to signed 32-bit exit codes.</p>"
2165921728
}
2166021729
},
2166121730
"progressMessage": {
@@ -22189,7 +22258,8 @@
2218922258
"aws.iam#disableConditionKeyInference": {},
2219022259
"aws.iam#iamResource": {
2219122260
"name": "worker"
22192-
}
22261+
},
22262+
"smithy.api#documentation": "Represents a worker that is part of a fleet on a farm"
2219322263
}
2219422264
},
2219522265
"com.amazonaws.deadline#WorkerSearchSummaries": {

0 commit comments

Comments
 (0)