Skip to content

Commit 89c8cf6

Browse files
Update API model
1 parent 94d5512 commit 89c8cf6

14 files changed

Lines changed: 1636 additions & 87 deletions

tools/code-generation/smithy/api-descriptions/appstream.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8739,6 +8739,7 @@
87398739
"aws.protocols#awsJson1_1": {},
87408740
"smithy.api#documentation": "<fullname>Amazon WorkSpaces Applications</fullname>\n <p>This is the <i>Amazon WorkSpaces Applications API Reference</i>. This documentation provides descriptions and syntax for each of the actions and data types in WorkSpaces Applications. WorkSpaces Applications is a fully managed, secure application streaming service that lets you stream desktop applications to users without rewriting applications. WorkSpaces Applications manages the AWS resources that are required to host and run your applications, scales automatically, and provides access to your users on demand. </p>\n <note>\n <p>You can call the WorkSpaces Applications API operations by using an interface VPC endpoint (interface endpoint). For more information, see <a href=\"https://docs.aws.amazon.com/appstream2/latest/developerguide/access-api-cli-through-interface-vpc-endpoint.html\">Access WorkSpaces Applications API Operations and CLI Commands Through an Interface VPC Endpoint</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>\n </note>\n <p>To learn more about WorkSpaces Applications, see the following resources:</p>\n <ul>\n <li>\n <p>\n <a href=\"http://aws.amazon.com/appstream2\">Amazon WorkSpaces Applications product page</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"http://aws.amazon.com/documentation/appstream2\">Amazon WorkSpaces Applications documentation</a>\n </p>\n </li>\n </ul>",
87418741
"smithy.api#title": "Amazon AppStream",
8742+
"smithy.protocols#rpcv2Cbor": {},
87428743
"smithy.rules#endpointBdd": {
87438744
"version": "1.1",
87448745
"parameters": {

tools/code-generation/smithy/api-descriptions/backup-gateway.json

Lines changed: 78 additions & 77 deletions
Large diffs are not rendered by default.

tools/code-generation/smithy/api-descriptions/bcm-pricing-calculator.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
"items": "items"
9292
},
9393
"smithy.api#title": "AWS Billing and Cost Management Pricing Calculator",
94+
"smithy.protocols#rpcv2Cbor": {},
9495
"smithy.rules#endpointBdd": {
9596
"version": "1.1",
9697
"parameters": {

tools/code-generation/smithy/api-descriptions/bcm-recommended-actions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"aws.protocols#awsJson1_0": {},
2727
"smithy.api#documentation": "<p>You can use the Billing and Cost Management Recommended Actions API to programmatically query your best practices and recommendations to optimize your costs.</p> <p>The Billing and Cost Management Recommended Actions API provides the following endpoint:</p> <ul> <li> <p> https://bcm-recommended-actions.us-east-1.api.aws</p> </li> </ul>",
2828
"smithy.api#title": "AWS Billing and Cost Management Recommended Actions",
29+
"smithy.protocols#rpcv2Cbor": {},
2930
"smithy.rules#endpointBdd": {
3031
"version": "1.1",
3132
"parameters": {

tools/code-generation/smithy/api-descriptions/bedrock-agentcore-control.json

Lines changed: 138 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@
409409
"aws.api#arnReference": {
410410
"type": "AWS::BedrockAgentCore::Runtime"
411411
},
412-
"smithy.api#pattern": "^arn:(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:agent/[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}:([0-9]{0,4}[1-9][0-9]{0,4})$"
412+
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:runtime/[a-zA-Z][a-zA-Z0-9_]{0,47}-[a-zA-Z0-9]{10}$"
413413
}
414414
},
415415
"com.amazonaws.bedrockagentcorecontrol#AgentRuntimeArtifact": {
@@ -513,7 +513,7 @@
513513
"aws.api#arnReference": {
514514
"type": "AWS::BedrockAgentCore::RuntimeEndpoint"
515515
},
516-
"smithy.api#pattern": "^arn:(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:agentEndpoint/[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$"
516+
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:runtime/[a-zA-Z][a-zA-Z0-9_]{0,47}-[a-zA-Z0-9]{10}/runtime-endpoint/[a-zA-Z][a-zA-Z0-9_]{0,47}$"
517517
}
518518
},
519519
"com.amazonaws.bedrockagentcorecontrol#AgentRuntimeEndpointId": {
@@ -2360,7 +2360,7 @@
23602360
"aws.api#arnReference": {
23612361
"type": "AWS::BedrockAgentCore::BrowserProfile"
23622362
},
2363-
"smithy.api#pattern": "^arn:(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:browser-profile/[a-zA-Z][a-zA-Z0-9_]{0,47}-[a-zA-Z0-9]{10}$"
2363+
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:browser-profile/[a-zA-Z][a-zA-Z0-9_]{0,47}-[a-zA-Z0-9]{10}$"
23642364
}
23652365
},
23662366
"com.amazonaws.bedrockagentcorecontrol#BrowserProfileId": {
@@ -4549,6 +4549,12 @@
45494549
"smithy.api#documentation": "<p>A list of certificates to install in the browser.</p>"
45504550
}
45514551
},
4552+
"filesystemConfigurations": {
4553+
"target": "com.amazonaws.bedrockagentcorecontrol#ToolsFileSystemConfigurations",
4554+
"traits": {
4555+
"smithy.api#documentation": "<p>The file system configurations to mount into the browser. Use these configurations to mount your own Amazon Simple Storage Service (Amazon S3) Files or Amazon Elastic File System (Amazon EFS) access points. Your sessions can then access your data. If you don't specify this field, no file systems are mounted.</p>"
4556+
}
4557+
},
45524558
"clientToken": {
45534559
"target": "com.amazonaws.bedrockagentcorecontrol#ClientToken",
45544560
"traits": {
@@ -4676,6 +4682,12 @@
46764682
"smithy.api#documentation": "<p>A list of certificates to install in the code interpreter.</p>"
46774683
}
46784684
},
4685+
"filesystemConfigurations": {
4686+
"target": "com.amazonaws.bedrockagentcorecontrol#ToolsFileSystemConfigurations",
4687+
"traits": {
4688+
"smithy.api#documentation": "<p>The file system configurations to mount into the code interpreter. Use these configurations to mount your own Amazon Simple Storage Service (Amazon S3) Files or Amazon Elastic File System (Amazon EFS) access points. Your sessions can then access your data. If you don't specify this field, no file systems are mounted.</p>"
4689+
}
4690+
},
46794691
"clientToken": {
46804692
"target": "com.amazonaws.bedrockagentcorecontrol#ClientToken",
46814693
"traits": {
@@ -11417,6 +11429,45 @@
1141711429
"smithy.api#documentation": "<p>Configuration for an Amazon EFS access point filesystem mounted into the AgentCore Runtime. EFS access points provide shared file storage accessible from your AgentCore Runtime sessions.</p>"
1141811430
}
1141911431
},
11432+
"com.amazonaws.bedrockagentcorecontrol#EfsConfiguration": {
11433+
"type": "structure",
11434+
"members": {
11435+
"accessPointArn": {
11436+
"target": "com.amazonaws.bedrockagentcorecontrol#EfsAccessPointArn",
11437+
"traits": {
11438+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon EFS) access point to mount.</p>",
11439+
"smithy.api#required": {}
11440+
}
11441+
},
11442+
"mountPath": {
11443+
"target": "com.amazonaws.bedrockagentcorecontrol#MountPath",
11444+
"traits": {
11445+
"smithy.api#documentation": "<p>The absolute path within the session at which the access point is mounted, for example <code>/mnt/efs</code>. Each mount path must be unique across all file system configurations in the session.</p>",
11446+
"smithy.api#required": {}
11447+
}
11448+
},
11449+
"fileSystemArn": {
11450+
"target": "com.amazonaws.bedrockagentcorecontrol#EfsFileSystemArn",
11451+
"traits": {
11452+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon EFS) file system that owns the access point.</p>",
11453+
"smithy.api#required": {}
11454+
}
11455+
}
11456+
},
11457+
"traits": {
11458+
"smithy.api#documentation": "<p>The configuration for mounting an Amazon Elastic File System (Amazon EFS) access point that you own into a session.</p>"
11459+
}
11460+
},
11461+
"com.amazonaws.bedrockagentcorecontrol#EfsFileSystemArn": {
11462+
"type": "string",
11463+
"traits": {
11464+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an Amazon Elastic File System (Amazon EFS) file system. The access points you specify must belong to this file system.</p>",
11465+
"smithy.api#length": {
11466+
"max": 256
11467+
},
11468+
"smithy.api#pattern": "^arn:aws[-a-z]*:elasticfilesystem:[a-z0-9-]+:[0-9]{12}:file-system/fs-[0-9a-f]{8,40}$"
11469+
}
11470+
},
1142011471
"com.amazonaws.bedrockagentcorecontrol#EnabledConnectors": {
1142111472
"type": "list",
1142211473
"member": {
@@ -13866,6 +13917,12 @@
1386613917
"smithy.api#documentation": "<p>The list of certificates configured for the browser.</p>"
1386713918
}
1386813919
},
13920+
"filesystemConfigurations": {
13921+
"target": "com.amazonaws.bedrockagentcorecontrol#ToolsFileSystemConfigurations",
13922+
"traits": {
13923+
"smithy.api#documentation": "<p>The file system configurations mounted into the browser. Each entry describes an access point and its mount path.</p>"
13924+
}
13925+
},
1386913926
"status": {
1387013927
"target": "com.amazonaws.bedrockagentcorecontrol#BrowserStatus",
1387113928
"traits": {
@@ -14004,6 +14061,12 @@
1400414061
"smithy.api#documentation": "<p>The list of certificates configured for the code interpreter.</p>"
1400514062
}
1400614063
},
14064+
"filesystemConfigurations": {
14065+
"target": "com.amazonaws.bedrockagentcorecontrol#ToolsFileSystemConfigurations",
14066+
"traits": {
14067+
"smithy.api#documentation": "<p>The file system configurations mounted into the code interpreter. Each entry describes an access point and its mount path.</p>"
14068+
}
14069+
},
1400714070
"failureReason": {
1400814071
"target": "smithy.api#String",
1400914072
"traits": {
@@ -28816,6 +28879,45 @@
2881628879
"smithy.api#documentation": "<p>Configuration for an Amazon S3 Files access point filesystem mounted into the AgentCore Runtime. S3 Files access points provide shared file storage accessible from your AgentCore Runtime sessions.</p>"
2881728880
}
2881828881
},
28882+
"com.amazonaws.bedrockagentcorecontrol#S3FilesConfiguration": {
28883+
"type": "structure",
28884+
"members": {
28885+
"accessPointArn": {
28886+
"target": "com.amazonaws.bedrockagentcorecontrol#S3FilesAccessPointArn",
28887+
"traits": {
28888+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Simple Storage Service (Amazon S3) Files access point to mount.</p>",
28889+
"smithy.api#required": {}
28890+
}
28891+
},
28892+
"mountPath": {
28893+
"target": "com.amazonaws.bedrockagentcorecontrol#MountPath",
28894+
"traits": {
28895+
"smithy.api#documentation": "<p>The absolute path within the session at which the access point is mounted, for example <code>/mnt/s3data</code>. Each mount path must be unique across all file system configurations in the session.</p>",
28896+
"smithy.api#required": {}
28897+
}
28898+
},
28899+
"fileSystemArn": {
28900+
"target": "com.amazonaws.bedrockagentcorecontrol#S3FilesFileSystemArn",
28901+
"traits": {
28902+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Simple Storage Service (Amazon S3) Files file system that owns the access point.</p>",
28903+
"smithy.api#required": {}
28904+
}
28905+
}
28906+
},
28907+
"traits": {
28908+
"smithy.api#documentation": "<p>The configuration for mounting an Amazon Simple Storage Service (Amazon S3) Files access point that you own into a session.</p>"
28909+
}
28910+
},
28911+
"com.amazonaws.bedrockagentcorecontrol#S3FilesFileSystemArn": {
28912+
"type": "string",
28913+
"traits": {
28914+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an Amazon Simple Storage Service (Amazon S3) Files file system. The access points you specify must belong to this file system.</p>",
28915+
"smithy.api#length": {
28916+
"max": 256
28917+
},
28918+
"smithy.api#pattern": "^arn:aws[-a-z]*:s3files:[a-z0-9-]+:[0-9]{12}:file-system/fs-[0-9a-f]{17,40}$"
28919+
}
28920+
},
2881928921
"com.amazonaws.bedrockagentcorecontrol#S3Location": {
2882028922
"type": "structure",
2882128923
"members": {
@@ -31484,6 +31586,39 @@
3148431586
"smithy.api#documentation": "<p>The tools definition for an MCP descriptor. Contains the protocol version and inline content describing the available tools.</p>"
3148531587
}
3148631588
},
31589+
"com.amazonaws.bedrockagentcorecontrol#ToolsFileSystemConfiguration": {
31590+
"type": "union",
31591+
"members": {
31592+
"s3FilesConfiguration": {
31593+
"target": "com.amazonaws.bedrockagentcorecontrol#S3FilesConfiguration",
31594+
"traits": {
31595+
"smithy.api#documentation": "<p>The configuration for mounting your own Amazon Simple Storage Service (Amazon S3) Files access point into the session.</p>"
31596+
}
31597+
},
31598+
"efsConfiguration": {
31599+
"target": "com.amazonaws.bedrockagentcorecontrol#EfsConfiguration",
31600+
"traits": {
31601+
"smithy.api#documentation": "<p>The configuration for mounting your own Amazon Elastic File System (Amazon EFS) access point into the session.</p>"
31602+
}
31603+
}
31604+
},
31605+
"traits": {
31606+
"smithy.api#documentation": "<p>Specifies a file system to mount into the session by providing exactly one of the following:</p> <ul> <li> <p> <code>s3FilesConfiguration</code> - Mounts an Amazon Simple Storage Service (Amazon S3) Files access point.</p> </li> <li> <p> <code>efsConfiguration</code> - Mounts an Amazon Elastic File System (Amazon EFS) access point.</p> </li> </ul>"
31607+
}
31608+
},
31609+
"com.amazonaws.bedrockagentcorecontrol#ToolsFileSystemConfigurations": {
31610+
"type": "list",
31611+
"member": {
31612+
"target": "com.amazonaws.bedrockagentcorecontrol#ToolsFileSystemConfiguration"
31613+
},
31614+
"traits": {
31615+
"smithy.api#documentation": "<p>The file system configurations to mount into the session. Each configuration maps an access point to a path inside the session. You can specify up to 4 configurations. The maximum is 2 Amazon Simple Storage Service (Amazon S3) Files access points and 2 Amazon Elastic File System (Amazon EFS) access points.</p>",
31616+
"smithy.api#length": {
31617+
"min": 0,
31618+
"max": 10
31619+
}
31620+
}
31621+
},
3148731622
"com.amazonaws.bedrockagentcorecontrol#TopK": {
3148831623
"type": "integer",
3148931624
"traits": {

0 commit comments

Comments
 (0)