aws-sdk-bedrockagentcorecontrol 1.62.0 → 1.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client.rb +991 -7
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +611 -2
- data/lib/aws-sdk-bedrockagentcorecontrol/errors.rb +20 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +1603 -24
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +291 -2
- data/sig/errors.rbs +3 -0
- data/sig/params.rbs +26 -0
- data/sig/types.rbs +399 -0
- metadata +1 -1
|
@@ -546,6 +546,108 @@ module Aws::BedrockAgentCoreControl
|
|
|
546
546
|
req.send_request(options)
|
|
547
547
|
end
|
|
548
548
|
|
|
549
|
+
# Atomically creates or updates multiple rate limits for a gateway. The
|
|
550
|
+
# operation updates existing limits with matching keys and creates new
|
|
551
|
+
# limits for new keys. If the operation fails, the service applies no
|
|
552
|
+
# changes. Retry the request after resolving the issue.
|
|
553
|
+
#
|
|
554
|
+
# @option params [required, String] :gateway_identifier
|
|
555
|
+
# The unique identifier of the gateway.
|
|
556
|
+
#
|
|
557
|
+
# @option params [String] :client_token
|
|
558
|
+
# A unique, case-sensitive identifier to ensure that the API request
|
|
559
|
+
# completes no more than one time. If you don't specify this field, a
|
|
560
|
+
# value is randomly generated for you. If this token matches a previous
|
|
561
|
+
# request, the service ignores the request, but doesn't return an
|
|
562
|
+
# error. For more information, see [Ensuring idempotency][1].
|
|
563
|
+
#
|
|
564
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
565
|
+
# not need to pass this option.**
|
|
566
|
+
#
|
|
567
|
+
#
|
|
568
|
+
#
|
|
569
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
570
|
+
#
|
|
571
|
+
# @option params [required, Array<Types::BatchPutLimitEntry>] :rate_limits
|
|
572
|
+
# Complete set of rate limits for this gateway. Replaces all existing
|
|
573
|
+
# limits atomically.
|
|
574
|
+
#
|
|
575
|
+
# @return [Types::BatchPutGatewayRateLimitsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
576
|
+
#
|
|
577
|
+
# * {Types::BatchPutGatewayRateLimitsResponse#rate_limits #rate_limits} => Array<Types::GatewayRateLimitDetail>
|
|
578
|
+
#
|
|
579
|
+
# @example Request syntax with placeholder values
|
|
580
|
+
#
|
|
581
|
+
# resp = client.batch_put_gateway_rate_limits({
|
|
582
|
+
# gateway_identifier: "GatewayIdentifier", # required
|
|
583
|
+
# client_token: "ClientToken",
|
|
584
|
+
# rate_limits: [ # required
|
|
585
|
+
# {
|
|
586
|
+
# rate_limit_id: "GatewayRateLimitId",
|
|
587
|
+
# description: "GatewayRateLimitDescription",
|
|
588
|
+
# dimension_keys: ["DimensionKey"], # required
|
|
589
|
+
# entries: [ # required
|
|
590
|
+
# {
|
|
591
|
+
# dimensions: { # required
|
|
592
|
+
# "DimensionKey" => "DimensionValue",
|
|
593
|
+
# },
|
|
594
|
+
# requests: [
|
|
595
|
+
# {
|
|
596
|
+
# rate: 1.0, # required
|
|
597
|
+
# period: "second", # required, accepts second, minute
|
|
598
|
+
# },
|
|
599
|
+
# ],
|
|
600
|
+
# tokens: [
|
|
601
|
+
# {
|
|
602
|
+
# rate: 1.0, # required
|
|
603
|
+
# period: "second", # required, accepts second, minute
|
|
604
|
+
# },
|
|
605
|
+
# ],
|
|
606
|
+
# connections: [
|
|
607
|
+
# {
|
|
608
|
+
# rate: 1.0, # required
|
|
609
|
+
# period: "second", # required, accepts second, minute
|
|
610
|
+
# },
|
|
611
|
+
# ],
|
|
612
|
+
# },
|
|
613
|
+
# ],
|
|
614
|
+
# },
|
|
615
|
+
# ],
|
|
616
|
+
# })
|
|
617
|
+
#
|
|
618
|
+
# @example Response structure
|
|
619
|
+
#
|
|
620
|
+
# resp.rate_limits #=> Array
|
|
621
|
+
# resp.rate_limits[0].rate_limit_id #=> String
|
|
622
|
+
# resp.rate_limits[0].gateway_identifier #=> String
|
|
623
|
+
# resp.rate_limits[0].description #=> String
|
|
624
|
+
# resp.rate_limits[0].dimension_keys #=> Array
|
|
625
|
+
# resp.rate_limits[0].dimension_keys[0] #=> String
|
|
626
|
+
# resp.rate_limits[0].entries #=> Array
|
|
627
|
+
# resp.rate_limits[0].entries[0].dimensions #=> Hash
|
|
628
|
+
# resp.rate_limits[0].entries[0].dimensions["DimensionKey"] #=> String
|
|
629
|
+
# resp.rate_limits[0].entries[0].requests #=> Array
|
|
630
|
+
# resp.rate_limits[0].entries[0].requests[0].rate #=> Float
|
|
631
|
+
# resp.rate_limits[0].entries[0].requests[0].period #=> String, one of "second", "minute"
|
|
632
|
+
# resp.rate_limits[0].entries[0].tokens #=> Array
|
|
633
|
+
# resp.rate_limits[0].entries[0].tokens[0].rate #=> Float
|
|
634
|
+
# resp.rate_limits[0].entries[0].tokens[0].period #=> String, one of "second", "minute"
|
|
635
|
+
# resp.rate_limits[0].entries[0].connections #=> Array
|
|
636
|
+
# resp.rate_limits[0].entries[0].connections[0].rate #=> Float
|
|
637
|
+
# resp.rate_limits[0].entries[0].connections[0].period #=> String, one of "second", "minute"
|
|
638
|
+
# resp.rate_limits[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
|
|
639
|
+
# resp.rate_limits[0].created_at #=> Time
|
|
640
|
+
# resp.rate_limits[0].updated_at #=> Time
|
|
641
|
+
#
|
|
642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/BatchPutGatewayRateLimits AWS API Documentation
|
|
643
|
+
#
|
|
644
|
+
# @overload batch_put_gateway_rate_limits(params = {})
|
|
645
|
+
# @param [Hash] params ({})
|
|
646
|
+
def batch_put_gateway_rate_limits(params = {}, options = {})
|
|
647
|
+
req = build_request(:batch_put_gateway_rate_limits, params)
|
|
648
|
+
req.send_request(options)
|
|
649
|
+
end
|
|
650
|
+
|
|
549
651
|
# Creates an Amazon Bedrock AgentCore Runtime.
|
|
550
652
|
#
|
|
551
653
|
# @option params [required, String] :agent_runtime_name
|
|
@@ -557,7 +659,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
557
659
|
# @option params [required, String] :role_arn
|
|
558
660
|
# The IAM role ARN that provides permissions for the AgentCore Runtime.
|
|
559
661
|
#
|
|
560
|
-
# @option params [
|
|
662
|
+
# @option params [Types::NetworkConfiguration] :network_configuration
|
|
561
663
|
# The network configuration for the AgentCore Runtime.
|
|
562
664
|
#
|
|
563
665
|
# @option params [String] :client_token
|
|
@@ -592,6 +694,12 @@ module Aws::BedrockAgentCoreControl
|
|
|
592
694
|
# filesystem configurations to provide persistent storage to your
|
|
593
695
|
# AgentCore Runtime sessions.
|
|
594
696
|
#
|
|
697
|
+
# @option params [Types::CapacityProviderConfiguration] :capacity_provider_configuration
|
|
698
|
+
# The capacity provider configuration for the AgentCore Runtime. Use a
|
|
699
|
+
# capacity provider to run the AgentCore Runtime on the Instances
|
|
700
|
+
# compute type, which provisions Amazon Web Services managed compute in
|
|
701
|
+
# your account.
|
|
702
|
+
#
|
|
595
703
|
# @option params [Hash<String,String>] :tags
|
|
596
704
|
# A map of tag keys and values to assign to the agent runtime. Tags
|
|
597
705
|
# enable you to categorize your resources in different ways, for
|
|
@@ -627,7 +735,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
627
735
|
# },
|
|
628
736
|
# },
|
|
629
737
|
# role_arn: "RoleArn", # required
|
|
630
|
-
# network_configuration: {
|
|
738
|
+
# network_configuration: {
|
|
631
739
|
# network_mode: "PUBLIC", # required, accepts PUBLIC, VPC
|
|
632
740
|
# network_mode_config: {
|
|
633
741
|
# security_groups: ["SecurityGroupId"], # required
|
|
@@ -730,8 +838,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
730
838
|
# access_point_arn: "EfsAccessPointArn", # required
|
|
731
839
|
# mount_path: "MountPath", # required
|
|
732
840
|
# },
|
|
841
|
+
# capacity_provider_volume: {
|
|
842
|
+
# volume_name: "CapacityProviderVolumeName", # required
|
|
843
|
+
# mount_path: "MountPath", # required
|
|
844
|
+
# },
|
|
733
845
|
# },
|
|
734
846
|
# ],
|
|
847
|
+
# capacity_provider_configuration: {
|
|
848
|
+
# capacity_provider_arn: "CapacityProviderArn",
|
|
849
|
+
# },
|
|
735
850
|
# tags: {
|
|
736
851
|
# "TagKey" => "TagValue",
|
|
737
852
|
# },
|
|
@@ -1092,6 +1207,168 @@ module Aws::BedrockAgentCoreControl
|
|
|
1092
1207
|
req.send_request(options)
|
|
1093
1208
|
end
|
|
1094
1209
|
|
|
1210
|
+
# Creates a capacity provider. A capacity provider defines the Amazon
|
|
1211
|
+
# EC2 infrastructure for AgentCore Runtime, including the operating
|
|
1212
|
+
# system, allowed instance types, networking, and storage. It also
|
|
1213
|
+
# specifies the IAM permissions that AgentCore uses to manage those
|
|
1214
|
+
# instances.
|
|
1215
|
+
#
|
|
1216
|
+
# The capacity provider name must be unique within your account. After
|
|
1217
|
+
# you create the capacity provider, it enters a `CREATING` state and
|
|
1218
|
+
# transitions to `READY` when it is available for use.
|
|
1219
|
+
#
|
|
1220
|
+
# @option params [required, String] :name
|
|
1221
|
+
# The name of the capacity provider. The name must be unique within your
|
|
1222
|
+
# account.
|
|
1223
|
+
#
|
|
1224
|
+
# @option params [String] :description
|
|
1225
|
+
# An optional description of the capacity provider. If you don't
|
|
1226
|
+
# specify a description, the service creates the capacity provider
|
|
1227
|
+
# without one.
|
|
1228
|
+
#
|
|
1229
|
+
# @option params [required, Types::PermissionsConfiguration] :permissions_configuration
|
|
1230
|
+
# The permissions configuration for the capacity provider. This
|
|
1231
|
+
# specifies the IAM role that AgentCore uses to manage the Amazon EC2
|
|
1232
|
+
# instances on your behalf.
|
|
1233
|
+
#
|
|
1234
|
+
# @option params [String] :client_token
|
|
1235
|
+
# A unique, case-sensitive identifier to ensure that the API request
|
|
1236
|
+
# completes no more than one time. If you don't specify this field, a
|
|
1237
|
+
# value is randomly generated for you. If this token matches a previous
|
|
1238
|
+
# request, the service ignores the request, but doesn't return an
|
|
1239
|
+
# error. For more information, see [Ensuring idempotency][1].
|
|
1240
|
+
#
|
|
1241
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1242
|
+
# not need to pass this option.**
|
|
1243
|
+
#
|
|
1244
|
+
#
|
|
1245
|
+
#
|
|
1246
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
1247
|
+
#
|
|
1248
|
+
# @option params [Hash<String,String>] :tags
|
|
1249
|
+
# A map of tag keys and values to associate with the capacity provider.
|
|
1250
|
+
# If you don't specify tags, the capacity provider is created with no
|
|
1251
|
+
# tags.
|
|
1252
|
+
#
|
|
1253
|
+
# @option params [required, Types::ComputeConfiguration] :compute_configuration
|
|
1254
|
+
# The compute configuration for the capacity provider. This defines the
|
|
1255
|
+
# Amazon EC2 compute resources used to launch instances: the operating
|
|
1256
|
+
# system, allowed instance types, networking, and storage.
|
|
1257
|
+
#
|
|
1258
|
+
# @return [Types::CreateCapacityProviderOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1259
|
+
#
|
|
1260
|
+
# * {Types::CreateCapacityProviderOutput#capacity_provider_id #capacity_provider_id} => String
|
|
1261
|
+
# * {Types::CreateCapacityProviderOutput#capacity_provider_arn #capacity_provider_arn} => String
|
|
1262
|
+
# * {Types::CreateCapacityProviderOutput#name #name} => String
|
|
1263
|
+
# * {Types::CreateCapacityProviderOutput#status #status} => String
|
|
1264
|
+
#
|
|
1265
|
+
# @example Request syntax with placeholder values
|
|
1266
|
+
#
|
|
1267
|
+
# resp = client.create_capacity_provider({
|
|
1268
|
+
# name: "CapacityProviderName", # required
|
|
1269
|
+
# description: "Description",
|
|
1270
|
+
# permissions_configuration: { # required
|
|
1271
|
+
# capacity_provider_operator_role_arn: "RoleArn", # required
|
|
1272
|
+
# },
|
|
1273
|
+
# client_token: "ClientToken",
|
|
1274
|
+
# tags: {
|
|
1275
|
+
# "TagKey" => "TagValue",
|
|
1276
|
+
# },
|
|
1277
|
+
# compute_configuration: { # required
|
|
1278
|
+
# ec2_configuration: {
|
|
1279
|
+
# launch_template_source: { # required
|
|
1280
|
+
# launch_parameters: {
|
|
1281
|
+
# operating_system: "LINUX_X86_64", # required, accepts LINUX_X86_64, LINUX_ARM64
|
|
1282
|
+
# instance_requirements: { # required
|
|
1283
|
+
# allowed_instance_types: ["EC2InstanceType"], # required
|
|
1284
|
+
# },
|
|
1285
|
+
# ephemeral_volumes: [
|
|
1286
|
+
# {
|
|
1287
|
+
# device_name: "DeviceName",
|
|
1288
|
+
# virtual_name: "VirtualDeviceName",
|
|
1289
|
+
# ebs: {
|
|
1290
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
1291
|
+
# iops: 1,
|
|
1292
|
+
# throughput: 1,
|
|
1293
|
+
# encrypted: false,
|
|
1294
|
+
# kms_key_id: "KmsKeyId",
|
|
1295
|
+
# snapshot_id: "EbsSnapshotId",
|
|
1296
|
+
# volume_size: 1,
|
|
1297
|
+
# volume_initialization_rate: 1,
|
|
1298
|
+
# ebs_card_index: 1,
|
|
1299
|
+
# },
|
|
1300
|
+
# },
|
|
1301
|
+
# ],
|
|
1302
|
+
# monitoring: "BASIC", # accepts BASIC, DETAILED
|
|
1303
|
+
# license_specifications: [
|
|
1304
|
+
# {
|
|
1305
|
+
# license_configuration_arn: "LicenseConfigurationArn", # required
|
|
1306
|
+
# },
|
|
1307
|
+
# ],
|
|
1308
|
+
# capacity_reservation_specification: {
|
|
1309
|
+
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, open, none
|
|
1310
|
+
# capacity_reservation_target: {
|
|
1311
|
+
# capacity_reservation_id: "CapacityReservationId",
|
|
1312
|
+
# capacity_reservation_resource_group_arn: "CapacityReservationResourceGroupArn",
|
|
1313
|
+
# },
|
|
1314
|
+
# },
|
|
1315
|
+
# ssh_key_name: "SSHKeyName",
|
|
1316
|
+
# instance_profile_arn: "InstanceProfileArn",
|
|
1317
|
+
# propagated_tags: {
|
|
1318
|
+
# "TagKey" => "TagValue",
|
|
1319
|
+
# },
|
|
1320
|
+
# },
|
|
1321
|
+
# },
|
|
1322
|
+
# vpc_configuration: { # required
|
|
1323
|
+
# subnets: ["SubnetId"], # required
|
|
1324
|
+
# security_groups: ["SecurityGroupId"], # required
|
|
1325
|
+
# },
|
|
1326
|
+
# volumes: [
|
|
1327
|
+
# {
|
|
1328
|
+
# ebs_configuration: {
|
|
1329
|
+
# name: "VolumeName", # required
|
|
1330
|
+
# size_gi_b: 1, # required
|
|
1331
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
1332
|
+
# iops: 1,
|
|
1333
|
+
# throughput: 1,
|
|
1334
|
+
# encrypted: false,
|
|
1335
|
+
# kms_key_id: "KmsKeyId",
|
|
1336
|
+
# snapshot_id: "EbsSnapshotId",
|
|
1337
|
+
# },
|
|
1338
|
+
# },
|
|
1339
|
+
# ],
|
|
1340
|
+
# lifecycle_configuration: {
|
|
1341
|
+
# idle_instance_timeout: 1,
|
|
1342
|
+
# max_lifetime: 1,
|
|
1343
|
+
# },
|
|
1344
|
+
# root_volume: {
|
|
1345
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
1346
|
+
# iops: 1,
|
|
1347
|
+
# throughput: 1,
|
|
1348
|
+
# encrypted: false,
|
|
1349
|
+
# kms_key_id: "KmsKeyId",
|
|
1350
|
+
# free_space_gi_b: 1,
|
|
1351
|
+
# },
|
|
1352
|
+
# },
|
|
1353
|
+
# },
|
|
1354
|
+
# })
|
|
1355
|
+
#
|
|
1356
|
+
# @example Response structure
|
|
1357
|
+
#
|
|
1358
|
+
# resp.capacity_provider_id #=> String
|
|
1359
|
+
# resp.capacity_provider_arn #=> String
|
|
1360
|
+
# resp.name #=> String
|
|
1361
|
+
# resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
|
|
1362
|
+
#
|
|
1363
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateCapacityProvider AWS API Documentation
|
|
1364
|
+
#
|
|
1365
|
+
# @overload create_capacity_provider(params = {})
|
|
1366
|
+
# @param [Hash] params ({})
|
|
1367
|
+
def create_capacity_provider(params = {}, options = {})
|
|
1368
|
+
req = build_request(:create_capacity_provider, params)
|
|
1369
|
+
req.send_request(options)
|
|
1370
|
+
end
|
|
1371
|
+
|
|
1095
1372
|
# Creates a custom code interpreter.
|
|
1096
1373
|
#
|
|
1097
1374
|
# @option params [required, String] :name
|
|
@@ -1889,6 +2166,119 @@ module Aws::BedrockAgentCoreControl
|
|
|
1889
2166
|
req.send_request(options)
|
|
1890
2167
|
end
|
|
1891
2168
|
|
|
2169
|
+
# Creates a rate limit for a gateway. Rate limits define throttling
|
|
2170
|
+
# rules for each dimension that control request rates, token consumption
|
|
2171
|
+
# rates, and concurrent connections through the gateway.
|
|
2172
|
+
#
|
|
2173
|
+
# @option params [required, String] :gateway_identifier
|
|
2174
|
+
# The unique identifier of the gateway to create the rate limit for.
|
|
2175
|
+
#
|
|
2176
|
+
# @option params [String] :client_token
|
|
2177
|
+
# A unique, case-sensitive identifier to ensure that the API request
|
|
2178
|
+
# completes no more than one time. If you don't specify this field, a
|
|
2179
|
+
# value is randomly generated for you. If this token matches a previous
|
|
2180
|
+
# request, the service ignores the request, but doesn't return an
|
|
2181
|
+
# error. For more information, see [Ensuring idempotency][1].
|
|
2182
|
+
#
|
|
2183
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2184
|
+
# not need to pass this option.**
|
|
2185
|
+
#
|
|
2186
|
+
#
|
|
2187
|
+
#
|
|
2188
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
2189
|
+
#
|
|
2190
|
+
# @option params [String] :rate_limit_id
|
|
2191
|
+
# Optional customer-defined limit ID. If not provided, system generates
|
|
2192
|
+
# one.
|
|
2193
|
+
#
|
|
2194
|
+
# @option params [String] :description
|
|
2195
|
+
# Optional human-readable description for this limit.
|
|
2196
|
+
#
|
|
2197
|
+
# @option params [required, Array<String>] :dimension_keys
|
|
2198
|
+
# Ordered list of dimension names defining the scope of this limit.
|
|
2199
|
+
# Unique per gateway — no two limits can share the same dimensionKeys.
|
|
2200
|
+
#
|
|
2201
|
+
# @option params [required, Array<Types::LimitEntry>] :entries
|
|
2202
|
+
# Rule entries mapping dimension values to rate configurations.
|
|
2203
|
+
#
|
|
2204
|
+
# @return [Types::CreateGatewayRateLimitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2205
|
+
#
|
|
2206
|
+
# * {Types::CreateGatewayRateLimitResponse#rate_limit_id #rate_limit_id} => String
|
|
2207
|
+
# * {Types::CreateGatewayRateLimitResponse#gateway_identifier #gateway_identifier} => String
|
|
2208
|
+
# * {Types::CreateGatewayRateLimitResponse#description #description} => String
|
|
2209
|
+
# * {Types::CreateGatewayRateLimitResponse#dimension_keys #dimension_keys} => Array<String>
|
|
2210
|
+
# * {Types::CreateGatewayRateLimitResponse#entries #data.entries} => Array<Types::LimitEntry> (This method conflicts with a method on Response, call it through the data member)
|
|
2211
|
+
# * {Types::CreateGatewayRateLimitResponse#status #status} => String
|
|
2212
|
+
# * {Types::CreateGatewayRateLimitResponse#created_at #created_at} => Time
|
|
2213
|
+
# * {Types::CreateGatewayRateLimitResponse#updated_at #updated_at} => Time
|
|
2214
|
+
#
|
|
2215
|
+
# @example Request syntax with placeholder values
|
|
2216
|
+
#
|
|
2217
|
+
# resp = client.create_gateway_rate_limit({
|
|
2218
|
+
# gateway_identifier: "GatewayIdentifier", # required
|
|
2219
|
+
# client_token: "ClientToken",
|
|
2220
|
+
# rate_limit_id: "GatewayRateLimitId",
|
|
2221
|
+
# description: "GatewayRateLimitDescription",
|
|
2222
|
+
# dimension_keys: ["DimensionKey"], # required
|
|
2223
|
+
# entries: [ # required
|
|
2224
|
+
# {
|
|
2225
|
+
# dimensions: { # required
|
|
2226
|
+
# "DimensionKey" => "DimensionValue",
|
|
2227
|
+
# },
|
|
2228
|
+
# requests: [
|
|
2229
|
+
# {
|
|
2230
|
+
# rate: 1.0, # required
|
|
2231
|
+
# period: "second", # required, accepts second, minute
|
|
2232
|
+
# },
|
|
2233
|
+
# ],
|
|
2234
|
+
# tokens: [
|
|
2235
|
+
# {
|
|
2236
|
+
# rate: 1.0, # required
|
|
2237
|
+
# period: "second", # required, accepts second, minute
|
|
2238
|
+
# },
|
|
2239
|
+
# ],
|
|
2240
|
+
# connections: [
|
|
2241
|
+
# {
|
|
2242
|
+
# rate: 1.0, # required
|
|
2243
|
+
# period: "second", # required, accepts second, minute
|
|
2244
|
+
# },
|
|
2245
|
+
# ],
|
|
2246
|
+
# },
|
|
2247
|
+
# ],
|
|
2248
|
+
# })
|
|
2249
|
+
#
|
|
2250
|
+
# @example Response structure
|
|
2251
|
+
#
|
|
2252
|
+
# resp.rate_limit_id #=> String
|
|
2253
|
+
# resp.gateway_identifier #=> String
|
|
2254
|
+
# resp.description #=> String
|
|
2255
|
+
# resp.dimension_keys #=> Array
|
|
2256
|
+
# resp.dimension_keys[0] #=> String
|
|
2257
|
+
# resp.data.entries #=> Array
|
|
2258
|
+
# resp.data.entries[0].dimensions #=> Hash
|
|
2259
|
+
# resp.data.entries[0].dimensions["DimensionKey"] #=> String
|
|
2260
|
+
# resp.data.entries[0].requests #=> Array
|
|
2261
|
+
# resp.data.entries[0].requests[0].rate #=> Float
|
|
2262
|
+
# resp.data.entries[0].requests[0].period #=> String, one of "second", "minute"
|
|
2263
|
+
# resp.data.entries[0].tokens #=> Array
|
|
2264
|
+
# resp.data.entries[0].tokens[0].rate #=> Float
|
|
2265
|
+
# resp.data.entries[0].tokens[0].period #=> String, one of "second", "minute"
|
|
2266
|
+
# resp.data.entries[0].connections #=> Array
|
|
2267
|
+
# resp.data.entries[0].connections[0].rate #=> Float
|
|
2268
|
+
# resp.data.entries[0].connections[0].period #=> String, one of "second", "minute"
|
|
2269
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
|
|
2270
|
+
# resp.created_at #=> Time
|
|
2271
|
+
# resp.updated_at #=> Time
|
|
2272
|
+
#
|
|
2273
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateGatewayRateLimit AWS API Documentation
|
|
2274
|
+
#
|
|
2275
|
+
# @overload create_gateway_rate_limit(params = {})
|
|
2276
|
+
# @param [Hash] params ({})
|
|
2277
|
+
def create_gateway_rate_limit(params = {}, options = {})
|
|
2278
|
+
req = build_request(:create_gateway_rate_limit, params)
|
|
2279
|
+
req.send_request(options)
|
|
2280
|
+
end
|
|
2281
|
+
|
|
1892
2282
|
# Creates a rule for a gateway. Rules define conditions and actions that
|
|
1893
2283
|
# control how requests are routed and processed through the gateway,
|
|
1894
2284
|
# including principal-based access control and path-based routing.
|
|
@@ -2601,6 +2991,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
2601
2991
|
# access_point_arn: "EfsAccessPointArn", # required
|
|
2602
2992
|
# mount_path: "MountPath", # required
|
|
2603
2993
|
# },
|
|
2994
|
+
# capacity_provider_volume: {
|
|
2995
|
+
# volume_name: "CapacityProviderVolumeName", # required
|
|
2996
|
+
# mount_path: "MountPath", # required
|
|
2997
|
+
# },
|
|
2604
2998
|
# },
|
|
2605
2999
|
# ],
|
|
2606
3000
|
# },
|
|
@@ -2917,6 +3311,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
2917
3311
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].s3_files_access_point.mount_path #=> String
|
|
2918
3312
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].efs_access_point.access_point_arn #=> String
|
|
2919
3313
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].efs_access_point.mount_path #=> String
|
|
3314
|
+
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].capacity_provider_volume.volume_name #=> String
|
|
3315
|
+
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].capacity_provider_volume.mount_path #=> String
|
|
2920
3316
|
# resp.harness.environment_artifact.container_configuration.container_uri #=> String
|
|
2921
3317
|
# resp.harness.environment_variables #=> Hash
|
|
2922
3318
|
# resp.harness.environment_variables["EnvironmentVariableKey"] #=> String
|
|
@@ -4981,11 +5377,17 @@ module Aws::BedrockAgentCoreControl
|
|
|
4981
5377
|
req.send_request(options)
|
|
4982
5378
|
end
|
|
4983
5379
|
|
|
4984
|
-
# Deletes an Amazon Bedrock AgentCore Runtime
|
|
5380
|
+
# Deletes an Amazon Bedrock AgentCore Runtime, or a single version of an
|
|
5381
|
+
# AgentCore Runtime when you provide the version qualifier.
|
|
4985
5382
|
#
|
|
4986
5383
|
# @option params [required, String] :agent_runtime_id
|
|
4987
5384
|
# The unique identifier of the AgentCore Runtime to delete.
|
|
4988
5385
|
#
|
|
5386
|
+
# @option params [String] :agent_runtime_version
|
|
5387
|
+
# The version of the AgentCore Runtime to delete. When you provide this
|
|
5388
|
+
# value, only that version is deleted. When you omit it, the entire
|
|
5389
|
+
# AgentCore Runtime and all of its versions are deleted.
|
|
5390
|
+
#
|
|
4989
5391
|
# @option params [String] :client_token
|
|
4990
5392
|
# A unique, case-sensitive identifier to ensure that the operation
|
|
4991
5393
|
# completes no more than one time. If this token matches a previous
|
|
@@ -4998,11 +5400,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
4998
5400
|
#
|
|
4999
5401
|
# * {Types::DeleteAgentRuntimeResponse#status #status} => String
|
|
5000
5402
|
# * {Types::DeleteAgentRuntimeResponse#agent_runtime_id #agent_runtime_id} => String
|
|
5403
|
+
# * {Types::DeleteAgentRuntimeResponse#agent_runtime_version #agent_runtime_version} => String
|
|
5001
5404
|
#
|
|
5002
5405
|
# @example Request syntax with placeholder values
|
|
5003
5406
|
#
|
|
5004
5407
|
# resp = client.delete_agent_runtime({
|
|
5005
5408
|
# agent_runtime_id: "AgentRuntimeId", # required
|
|
5409
|
+
# agent_runtime_version: "AgentRuntimeVersion",
|
|
5006
5410
|
# client_token: "ClientToken",
|
|
5007
5411
|
# })
|
|
5008
5412
|
#
|
|
@@ -5010,6 +5414,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
5010
5414
|
#
|
|
5011
5415
|
# resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
|
|
5012
5416
|
# resp.agent_runtime_id #=> String
|
|
5417
|
+
# resp.agent_runtime_version #=> String
|
|
5013
5418
|
#
|
|
5014
5419
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteAgentRuntime AWS API Documentation
|
|
5015
5420
|
#
|
|
@@ -5020,7 +5425,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
5020
5425
|
req.send_request(options)
|
|
5021
5426
|
end
|
|
5022
5427
|
|
|
5023
|
-
# Deletes an
|
|
5428
|
+
# Deletes an AgentCore Runtime endpoint.
|
|
5024
5429
|
#
|
|
5025
5430
|
# @option params [required, String] :agent_runtime_id
|
|
5026
5431
|
# The unique identifier of the AgentCore Runtime associated with the
|
|
@@ -5171,6 +5576,53 @@ module Aws::BedrockAgentCoreControl
|
|
|
5171
5576
|
req.send_request(options)
|
|
5172
5577
|
end
|
|
5173
5578
|
|
|
5579
|
+
# Deletes a capacity provider. Before you delete a capacity provider,
|
|
5580
|
+
# disassociate all agent runtimes and runtime versions that reference
|
|
5581
|
+
# it. If any references remain, the operation fails.
|
|
5582
|
+
#
|
|
5583
|
+
# @option params [required, String] :capacity_provider_id
|
|
5584
|
+
# The unique identifier of the capacity provider to delete.
|
|
5585
|
+
#
|
|
5586
|
+
# @option params [String] :client_token
|
|
5587
|
+
# A unique, case-sensitive identifier to ensure that the API request
|
|
5588
|
+
# completes no more than one time. If you don't specify this field, a
|
|
5589
|
+
# value is randomly generated for you. If this token matches a previous
|
|
5590
|
+
# request, the service ignores the request, but doesn't return an
|
|
5591
|
+
# error. For more information, see [Ensuring idempotency][1].
|
|
5592
|
+
#
|
|
5593
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
5594
|
+
# not need to pass this option.**
|
|
5595
|
+
#
|
|
5596
|
+
#
|
|
5597
|
+
#
|
|
5598
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
5599
|
+
#
|
|
5600
|
+
# @return [Types::DeleteCapacityProviderOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5601
|
+
#
|
|
5602
|
+
# * {Types::DeleteCapacityProviderOutput#capacity_provider_id #capacity_provider_id} => String
|
|
5603
|
+
# * {Types::DeleteCapacityProviderOutput#status #status} => String
|
|
5604
|
+
#
|
|
5605
|
+
# @example Request syntax with placeholder values
|
|
5606
|
+
#
|
|
5607
|
+
# resp = client.delete_capacity_provider({
|
|
5608
|
+
# capacity_provider_id: "CapacityProviderId", # required
|
|
5609
|
+
# client_token: "ClientToken",
|
|
5610
|
+
# })
|
|
5611
|
+
#
|
|
5612
|
+
# @example Response structure
|
|
5613
|
+
#
|
|
5614
|
+
# resp.capacity_provider_id #=> String
|
|
5615
|
+
# resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
|
|
5616
|
+
#
|
|
5617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteCapacityProvider AWS API Documentation
|
|
5618
|
+
#
|
|
5619
|
+
# @overload delete_capacity_provider(params = {})
|
|
5620
|
+
# @param [Hash] params ({})
|
|
5621
|
+
def delete_capacity_provider(params = {}, options = {})
|
|
5622
|
+
req = build_request(:delete_capacity_provider, params)
|
|
5623
|
+
req.send_request(options)
|
|
5624
|
+
end
|
|
5625
|
+
|
|
5174
5626
|
# Deletes a custom code interpreter.
|
|
5175
5627
|
#
|
|
5176
5628
|
# @option params [required, String] :code_interpreter_id
|
|
@@ -5408,6 +5860,40 @@ module Aws::BedrockAgentCoreControl
|
|
|
5408
5860
|
req.send_request(options)
|
|
5409
5861
|
end
|
|
5410
5862
|
|
|
5863
|
+
# Deletes a gateway rate limit.
|
|
5864
|
+
#
|
|
5865
|
+
# @option params [required, String] :gateway_identifier
|
|
5866
|
+
# The unique identifier of the gateway.
|
|
5867
|
+
#
|
|
5868
|
+
# @option params [required, String] :rate_limit_id
|
|
5869
|
+
# The unique identifier of the rate limit to delete.
|
|
5870
|
+
#
|
|
5871
|
+
# @return [Types::DeleteGatewayRateLimitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5872
|
+
#
|
|
5873
|
+
# * {Types::DeleteGatewayRateLimitResponse#rate_limit_id #rate_limit_id} => String
|
|
5874
|
+
# * {Types::DeleteGatewayRateLimitResponse#status #status} => String
|
|
5875
|
+
#
|
|
5876
|
+
# @example Request syntax with placeholder values
|
|
5877
|
+
#
|
|
5878
|
+
# resp = client.delete_gateway_rate_limit({
|
|
5879
|
+
# gateway_identifier: "GatewayIdentifier", # required
|
|
5880
|
+
# rate_limit_id: "GatewayRateLimitId", # required
|
|
5881
|
+
# })
|
|
5882
|
+
#
|
|
5883
|
+
# @example Response structure
|
|
5884
|
+
#
|
|
5885
|
+
# resp.rate_limit_id #=> String
|
|
5886
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
|
|
5887
|
+
#
|
|
5888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteGatewayRateLimit AWS API Documentation
|
|
5889
|
+
#
|
|
5890
|
+
# @overload delete_gateway_rate_limit(params = {})
|
|
5891
|
+
# @param [Hash] params ({})
|
|
5892
|
+
def delete_gateway_rate_limit(params = {}, options = {})
|
|
5893
|
+
req = build_request(:delete_gateway_rate_limit, params)
|
|
5894
|
+
req.send_request(options)
|
|
5895
|
+
end
|
|
5896
|
+
|
|
5411
5897
|
# Deletes a gateway rule.
|
|
5412
5898
|
#
|
|
5413
5899
|
# @option params [required, String] :gateway_identifier
|
|
@@ -5600,6 +6086,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
5600
6086
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].s3_files_access_point.mount_path #=> String
|
|
5601
6087
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].efs_access_point.access_point_arn #=> String
|
|
5602
6088
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].efs_access_point.mount_path #=> String
|
|
6089
|
+
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].capacity_provider_volume.volume_name #=> String
|
|
6090
|
+
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].capacity_provider_volume.mount_path #=> String
|
|
5603
6091
|
# resp.harness.environment_artifact.container_configuration.container_uri #=> String
|
|
5604
6092
|
# resp.harness.environment_variables #=> Hash
|
|
5605
6093
|
# resp.harness.environment_variables["EnvironmentVariableKey"] #=> String
|
|
@@ -6189,6 +6677,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
6189
6677
|
# * {Types::GetAgentRuntimeResponse#request_header_configuration #request_header_configuration} => Types::RequestHeaderConfiguration
|
|
6190
6678
|
# * {Types::GetAgentRuntimeResponse#metadata_configuration #metadata_configuration} => Types::RuntimeMetadataConfiguration
|
|
6191
6679
|
# * {Types::GetAgentRuntimeResponse#filesystem_configurations #filesystem_configurations} => Array<Types::FilesystemConfiguration>
|
|
6680
|
+
# * {Types::GetAgentRuntimeResponse#capacity_provider_configuration #capacity_provider_configuration} => Types::CapacityProviderConfiguration
|
|
6192
6681
|
#
|
|
6193
6682
|
# @example Request syntax with placeholder values
|
|
6194
6683
|
#
|
|
@@ -6279,6 +6768,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
6279
6768
|
# resp.filesystem_configurations[0].s3_files_access_point.mount_path #=> String
|
|
6280
6769
|
# resp.filesystem_configurations[0].efs_access_point.access_point_arn #=> String
|
|
6281
6770
|
# resp.filesystem_configurations[0].efs_access_point.mount_path #=> String
|
|
6771
|
+
# resp.filesystem_configurations[0].capacity_provider_volume.volume_name #=> String
|
|
6772
|
+
# resp.filesystem_configurations[0].capacity_provider_volume.mount_path #=> String
|
|
6773
|
+
# resp.capacity_provider_configuration.capacity_provider_arn #=> String
|
|
6282
6774
|
#
|
|
6283
6775
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetAgentRuntime AWS API Documentation
|
|
6284
6776
|
#
|
|
@@ -6503,6 +6995,100 @@ module Aws::BedrockAgentCoreControl
|
|
|
6503
6995
|
req.send_request(options)
|
|
6504
6996
|
end
|
|
6505
6997
|
|
|
6998
|
+
# Retrieves information about a capacity provider, including its status,
|
|
6999
|
+
# permissions configuration, and compute configuration.
|
|
7000
|
+
#
|
|
7001
|
+
# @option params [required, String] :capacity_provider_id
|
|
7002
|
+
# The unique identifier of the capacity provider.
|
|
7003
|
+
#
|
|
7004
|
+
# @return [Types::GetCapacityProviderOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7005
|
+
#
|
|
7006
|
+
# * {Types::GetCapacityProviderOutput#capacity_provider_id #capacity_provider_id} => String
|
|
7007
|
+
# * {Types::GetCapacityProviderOutput#capacity_provider_arn #capacity_provider_arn} => String
|
|
7008
|
+
# * {Types::GetCapacityProviderOutput#name #name} => String
|
|
7009
|
+
# * {Types::GetCapacityProviderOutput#status #status} => String
|
|
7010
|
+
# * {Types::GetCapacityProviderOutput#description #description} => String
|
|
7011
|
+
# * {Types::GetCapacityProviderOutput#status_code #status_code} => String
|
|
7012
|
+
# * {Types::GetCapacityProviderOutput#status_reason #status_reason} => String
|
|
7013
|
+
# * {Types::GetCapacityProviderOutput#permissions_configuration #permissions_configuration} => Types::PermissionsConfiguration
|
|
7014
|
+
# * {Types::GetCapacityProviderOutput#compute_configuration #compute_configuration} => Types::ComputeConfiguration
|
|
7015
|
+
# * {Types::GetCapacityProviderOutput#created_at #created_at} => Time
|
|
7016
|
+
# * {Types::GetCapacityProviderOutput#last_updated_at #last_updated_at} => Time
|
|
7017
|
+
#
|
|
7018
|
+
# @example Request syntax with placeholder values
|
|
7019
|
+
#
|
|
7020
|
+
# resp = client.get_capacity_provider({
|
|
7021
|
+
# capacity_provider_id: "CapacityProviderId", # required
|
|
7022
|
+
# })
|
|
7023
|
+
#
|
|
7024
|
+
# @example Response structure
|
|
7025
|
+
#
|
|
7026
|
+
# resp.capacity_provider_id #=> String
|
|
7027
|
+
# resp.capacity_provider_arn #=> String
|
|
7028
|
+
# resp.name #=> String
|
|
7029
|
+
# resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
|
|
7030
|
+
# resp.description #=> String
|
|
7031
|
+
# resp.status_code #=> String, one of "VALIDATION_ERROR", "QUOTA_EXCEEDED", "THROTTLED", "INTERNAL_SERVER_EXCEPTION"
|
|
7032
|
+
# resp.status_reason #=> String
|
|
7033
|
+
# resp.permissions_configuration.capacity_provider_operator_role_arn #=> String
|
|
7034
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.operating_system #=> String, one of "LINUX_X86_64", "LINUX_ARM64"
|
|
7035
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.instance_requirements.allowed_instance_types #=> Array
|
|
7036
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.instance_requirements.allowed_instance_types[0] #=> String
|
|
7037
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes #=> Array
|
|
7038
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes[0].device_name #=> String
|
|
7039
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes[0].virtual_name #=> String
|
|
7040
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
|
7041
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes[0].ebs.iops #=> Integer
|
|
7042
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes[0].ebs.throughput #=> Integer
|
|
7043
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes[0].ebs.encrypted #=> Boolean
|
|
7044
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes[0].ebs.kms_key_id #=> String
|
|
7045
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes[0].ebs.snapshot_id #=> String
|
|
7046
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes[0].ebs.volume_size #=> Integer
|
|
7047
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes[0].ebs.volume_initialization_rate #=> Integer
|
|
7048
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ephemeral_volumes[0].ebs.ebs_card_index #=> Integer
|
|
7049
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.monitoring #=> String, one of "BASIC", "DETAILED"
|
|
7050
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.license_specifications #=> Array
|
|
7051
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.license_specifications[0].license_configuration_arn #=> String
|
|
7052
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "open", "none"
|
|
7053
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
|
7054
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
|
|
7055
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.ssh_key_name #=> String
|
|
7056
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.instance_profile_arn #=> String
|
|
7057
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.propagated_tags #=> Hash
|
|
7058
|
+
# resp.compute_configuration.ec2_configuration.launch_template_source.launch_parameters.propagated_tags["TagKey"] #=> String
|
|
7059
|
+
# resp.compute_configuration.ec2_configuration.vpc_configuration.subnets #=> Array
|
|
7060
|
+
# resp.compute_configuration.ec2_configuration.vpc_configuration.subnets[0] #=> String
|
|
7061
|
+
# resp.compute_configuration.ec2_configuration.vpc_configuration.security_groups #=> Array
|
|
7062
|
+
# resp.compute_configuration.ec2_configuration.vpc_configuration.security_groups[0] #=> String
|
|
7063
|
+
# resp.compute_configuration.ec2_configuration.volumes #=> Array
|
|
7064
|
+
# resp.compute_configuration.ec2_configuration.volumes[0].ebs_configuration.name #=> String
|
|
7065
|
+
# resp.compute_configuration.ec2_configuration.volumes[0].ebs_configuration.size_gi_b #=> Integer
|
|
7066
|
+
# resp.compute_configuration.ec2_configuration.volumes[0].ebs_configuration.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
|
7067
|
+
# resp.compute_configuration.ec2_configuration.volumes[0].ebs_configuration.iops #=> Integer
|
|
7068
|
+
# resp.compute_configuration.ec2_configuration.volumes[0].ebs_configuration.throughput #=> Integer
|
|
7069
|
+
# resp.compute_configuration.ec2_configuration.volumes[0].ebs_configuration.encrypted #=> Boolean
|
|
7070
|
+
# resp.compute_configuration.ec2_configuration.volumes[0].ebs_configuration.kms_key_id #=> String
|
|
7071
|
+
# resp.compute_configuration.ec2_configuration.volumes[0].ebs_configuration.snapshot_id #=> String
|
|
7072
|
+
# resp.compute_configuration.ec2_configuration.lifecycle_configuration.idle_instance_timeout #=> Integer
|
|
7073
|
+
# resp.compute_configuration.ec2_configuration.lifecycle_configuration.max_lifetime #=> Integer
|
|
7074
|
+
# resp.compute_configuration.ec2_configuration.root_volume.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
|
7075
|
+
# resp.compute_configuration.ec2_configuration.root_volume.iops #=> Integer
|
|
7076
|
+
# resp.compute_configuration.ec2_configuration.root_volume.throughput #=> Integer
|
|
7077
|
+
# resp.compute_configuration.ec2_configuration.root_volume.encrypted #=> Boolean
|
|
7078
|
+
# resp.compute_configuration.ec2_configuration.root_volume.kms_key_id #=> String
|
|
7079
|
+
# resp.compute_configuration.ec2_configuration.root_volume.free_space_gi_b #=> Integer
|
|
7080
|
+
# resp.created_at #=> Time
|
|
7081
|
+
# resp.last_updated_at #=> Time
|
|
7082
|
+
#
|
|
7083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetCapacityProvider AWS API Documentation
|
|
7084
|
+
#
|
|
7085
|
+
# @overload get_capacity_provider(params = {})
|
|
7086
|
+
# @param [Hash] params ({})
|
|
7087
|
+
def get_capacity_provider(params = {}, options = {})
|
|
7088
|
+
req = build_request(:get_capacity_provider, params)
|
|
7089
|
+
req.send_request(options)
|
|
7090
|
+
end
|
|
7091
|
+
|
|
6506
7092
|
# Gets information about a custom code interpreter.
|
|
6507
7093
|
#
|
|
6508
7094
|
# @option params [required, String] :code_interpreter_id
|
|
@@ -6951,6 +7537,64 @@ module Aws::BedrockAgentCoreControl
|
|
|
6951
7537
|
req.send_request(options)
|
|
6952
7538
|
end
|
|
6953
7539
|
|
|
7540
|
+
# Retrieves information about a gateway rate limit.
|
|
7541
|
+
#
|
|
7542
|
+
# @option params [required, String] :gateway_identifier
|
|
7543
|
+
# The unique identifier of the gateway.
|
|
7544
|
+
#
|
|
7545
|
+
# @option params [required, String] :rate_limit_id
|
|
7546
|
+
# The unique identifier of the rate limit to retrieve.
|
|
7547
|
+
#
|
|
7548
|
+
# @return [Types::GetGatewayRateLimitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7549
|
+
#
|
|
7550
|
+
# * {Types::GetGatewayRateLimitResponse#rate_limit_id #rate_limit_id} => String
|
|
7551
|
+
# * {Types::GetGatewayRateLimitResponse#gateway_identifier #gateway_identifier} => String
|
|
7552
|
+
# * {Types::GetGatewayRateLimitResponse#description #description} => String
|
|
7553
|
+
# * {Types::GetGatewayRateLimitResponse#dimension_keys #dimension_keys} => Array<String>
|
|
7554
|
+
# * {Types::GetGatewayRateLimitResponse#entries #data.entries} => Array<Types::LimitEntry> (This method conflicts with a method on Response, call it through the data member)
|
|
7555
|
+
# * {Types::GetGatewayRateLimitResponse#status #status} => String
|
|
7556
|
+
# * {Types::GetGatewayRateLimitResponse#created_at #created_at} => Time
|
|
7557
|
+
# * {Types::GetGatewayRateLimitResponse#updated_at #updated_at} => Time
|
|
7558
|
+
#
|
|
7559
|
+
# @example Request syntax with placeholder values
|
|
7560
|
+
#
|
|
7561
|
+
# resp = client.get_gateway_rate_limit({
|
|
7562
|
+
# gateway_identifier: "GatewayIdentifier", # required
|
|
7563
|
+
# rate_limit_id: "GatewayRateLimitId", # required
|
|
7564
|
+
# })
|
|
7565
|
+
#
|
|
7566
|
+
# @example Response structure
|
|
7567
|
+
#
|
|
7568
|
+
# resp.rate_limit_id #=> String
|
|
7569
|
+
# resp.gateway_identifier #=> String
|
|
7570
|
+
# resp.description #=> String
|
|
7571
|
+
# resp.dimension_keys #=> Array
|
|
7572
|
+
# resp.dimension_keys[0] #=> String
|
|
7573
|
+
# resp.data.entries #=> Array
|
|
7574
|
+
# resp.data.entries[0].dimensions #=> Hash
|
|
7575
|
+
# resp.data.entries[0].dimensions["DimensionKey"] #=> String
|
|
7576
|
+
# resp.data.entries[0].requests #=> Array
|
|
7577
|
+
# resp.data.entries[0].requests[0].rate #=> Float
|
|
7578
|
+
# resp.data.entries[0].requests[0].period #=> String, one of "second", "minute"
|
|
7579
|
+
# resp.data.entries[0].tokens #=> Array
|
|
7580
|
+
# resp.data.entries[0].tokens[0].rate #=> Float
|
|
7581
|
+
# resp.data.entries[0].tokens[0].period #=> String, one of "second", "minute"
|
|
7582
|
+
# resp.data.entries[0].connections #=> Array
|
|
7583
|
+
# resp.data.entries[0].connections[0].rate #=> Float
|
|
7584
|
+
# resp.data.entries[0].connections[0].period #=> String, one of "second", "minute"
|
|
7585
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
|
|
7586
|
+
# resp.created_at #=> Time
|
|
7587
|
+
# resp.updated_at #=> Time
|
|
7588
|
+
#
|
|
7589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetGatewayRateLimit AWS API Documentation
|
|
7590
|
+
#
|
|
7591
|
+
# @overload get_gateway_rate_limit(params = {})
|
|
7592
|
+
# @param [Hash] params ({})
|
|
7593
|
+
def get_gateway_rate_limit(params = {}, options = {})
|
|
7594
|
+
req = build_request(:get_gateway_rate_limit, params)
|
|
7595
|
+
req.send_request(options)
|
|
7596
|
+
end
|
|
7597
|
+
|
|
6954
7598
|
# Retrieves detailed information about a specific gateway rule.
|
|
6955
7599
|
#
|
|
6956
7600
|
# @option params [required, String] :gateway_identifier
|
|
@@ -7301,6 +7945,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
7301
7945
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].s3_files_access_point.mount_path #=> String
|
|
7302
7946
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].efs_access_point.access_point_arn #=> String
|
|
7303
7947
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].efs_access_point.mount_path #=> String
|
|
7948
|
+
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].capacity_provider_volume.volume_name #=> String
|
|
7949
|
+
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].capacity_provider_volume.mount_path #=> String
|
|
7304
7950
|
# resp.harness.environment_artifact.container_configuration.container_uri #=> String
|
|
7305
7951
|
# resp.harness.environment_variables #=> Hash
|
|
7306
7952
|
# resp.harness.environment_variables["EnvironmentVariableKey"] #=> String
|
|
@@ -8704,6 +9350,59 @@ module Aws::BedrockAgentCoreControl
|
|
|
8704
9350
|
req.send_request(options)
|
|
8705
9351
|
end
|
|
8706
9352
|
|
|
9353
|
+
# Lists the agent runtime versions that are associated with a capacity
|
|
9354
|
+
# provider. Use this operation to identify the runtimes you must
|
|
9355
|
+
# disassociate before you can delete the capacity provider. Results are
|
|
9356
|
+
# paginated; use the `nextToken` parameter to retrieve additional
|
|
9357
|
+
# results.
|
|
9358
|
+
#
|
|
9359
|
+
# @option params [required, String] :capacity_provider_id
|
|
9360
|
+
# The unique identifier of the capacity provider.
|
|
9361
|
+
#
|
|
9362
|
+
# @option params [Integer] :max_results
|
|
9363
|
+
# The maximum number of results to return in the response. If the total
|
|
9364
|
+
# number of results is greater than this value, use the token returned
|
|
9365
|
+
# in the response in the `nextToken` field when making another request
|
|
9366
|
+
# to return the next batch of results.
|
|
9367
|
+
#
|
|
9368
|
+
# @option params [String] :next_token
|
|
9369
|
+
# If the total number of results is greater than the `maxResults` value
|
|
9370
|
+
# provided in the request, enter the token returned in the `nextToken`
|
|
9371
|
+
# field in the response in this field to return the next batch of
|
|
9372
|
+
# results.
|
|
9373
|
+
#
|
|
9374
|
+
# @return [Types::ListAgentRuntimeVersionsByCapacityProviderOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
9375
|
+
#
|
|
9376
|
+
# * {Types::ListAgentRuntimeVersionsByCapacityProviderOutput#agent_runtimes #agent_runtimes} => Array<Types::AgentRuntimeVersionSummary>
|
|
9377
|
+
# * {Types::ListAgentRuntimeVersionsByCapacityProviderOutput#next_token #next_token} => String
|
|
9378
|
+
#
|
|
9379
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
9380
|
+
#
|
|
9381
|
+
# @example Request syntax with placeholder values
|
|
9382
|
+
#
|
|
9383
|
+
# resp = client.list_agent_runtime_versions_by_capacity_provider({
|
|
9384
|
+
# capacity_provider_id: "CapacityProviderId", # required
|
|
9385
|
+
# max_results: 1,
|
|
9386
|
+
# next_token: "NextToken",
|
|
9387
|
+
# })
|
|
9388
|
+
#
|
|
9389
|
+
# @example Response structure
|
|
9390
|
+
#
|
|
9391
|
+
# resp.agent_runtimes #=> Array
|
|
9392
|
+
# resp.agent_runtimes[0].agent_runtime_arn #=> String
|
|
9393
|
+
# resp.agent_runtimes[0].agent_runtime_version #=> String
|
|
9394
|
+
# resp.agent_runtimes[0].status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING"
|
|
9395
|
+
# resp.next_token #=> String
|
|
9396
|
+
#
|
|
9397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListAgentRuntimeVersionsByCapacityProvider AWS API Documentation
|
|
9398
|
+
#
|
|
9399
|
+
# @overload list_agent_runtime_versions_by_capacity_provider(params = {})
|
|
9400
|
+
# @param [Hash] params ({})
|
|
9401
|
+
def list_agent_runtime_versions_by_capacity_provider(params = {}, options = {})
|
|
9402
|
+
req = build_request(:list_agent_runtime_versions_by_capacity_provider, params)
|
|
9403
|
+
req.send_request(options)
|
|
9404
|
+
end
|
|
9405
|
+
|
|
8707
9406
|
# Lists all Amazon Secure Agents in your account.
|
|
8708
9407
|
#
|
|
8709
9408
|
# @option params [Integer] :max_results
|
|
@@ -8888,6 +9587,57 @@ module Aws::BedrockAgentCoreControl
|
|
|
8888
9587
|
req.send_request(options)
|
|
8889
9588
|
end
|
|
8890
9589
|
|
|
9590
|
+
# Lists the capacity providers in your account and returns summary
|
|
9591
|
+
# information for each one. To retrieve the full configuration for a
|
|
9592
|
+
# specific capacity provider, use `GetCapacityProvider`. Results are
|
|
9593
|
+
# paginated; use the `nextToken` parameter to retrieve additional
|
|
9594
|
+
# results.
|
|
9595
|
+
#
|
|
9596
|
+
# @option params [Integer] :max_results
|
|
9597
|
+
# The maximum number of results to return in the response. If the total
|
|
9598
|
+
# number of results is greater than this value, use the token returned
|
|
9599
|
+
# in the response in the `nextToken` field when making another request
|
|
9600
|
+
# to return the next batch of results.
|
|
9601
|
+
#
|
|
9602
|
+
# @option params [String] :next_token
|
|
9603
|
+
# If the total number of results is greater than the `maxResults` value
|
|
9604
|
+
# provided in the request, enter the token returned in the `nextToken`
|
|
9605
|
+
# field in the response in this field to return the next batch of
|
|
9606
|
+
# results.
|
|
9607
|
+
#
|
|
9608
|
+
# @return [Types::ListCapacityProvidersOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
9609
|
+
#
|
|
9610
|
+
# * {Types::ListCapacityProvidersOutput#capacity_providers #capacity_providers} => Array<Types::CapacityProviderSummary>
|
|
9611
|
+
# * {Types::ListCapacityProvidersOutput#next_token #next_token} => String
|
|
9612
|
+
#
|
|
9613
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
9614
|
+
#
|
|
9615
|
+
# @example Request syntax with placeholder values
|
|
9616
|
+
#
|
|
9617
|
+
# resp = client.list_capacity_providers({
|
|
9618
|
+
# max_results: 1,
|
|
9619
|
+
# next_token: "NextToken",
|
|
9620
|
+
# })
|
|
9621
|
+
#
|
|
9622
|
+
# @example Response structure
|
|
9623
|
+
#
|
|
9624
|
+
# resp.capacity_providers #=> Array
|
|
9625
|
+
# resp.capacity_providers[0].capacity_provider_id #=> String
|
|
9626
|
+
# resp.capacity_providers[0].capacity_provider_arn #=> String
|
|
9627
|
+
# resp.capacity_providers[0].name #=> String
|
|
9628
|
+
# resp.capacity_providers[0].status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
|
|
9629
|
+
# resp.capacity_providers[0].last_updated_at #=> Time
|
|
9630
|
+
# resp.next_token #=> String
|
|
9631
|
+
#
|
|
9632
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListCapacityProviders AWS API Documentation
|
|
9633
|
+
#
|
|
9634
|
+
# @overload list_capacity_providers(params = {})
|
|
9635
|
+
# @param [Hash] params ({})
|
|
9636
|
+
def list_capacity_providers(params = {}, options = {})
|
|
9637
|
+
req = build_request(:list_capacity_providers, params)
|
|
9638
|
+
req.send_request(options)
|
|
9639
|
+
end
|
|
9640
|
+
|
|
8891
9641
|
# Lists all custom code interpreters in your account.
|
|
8892
9642
|
#
|
|
8893
9643
|
# @option params [Integer] :max_results
|
|
@@ -9244,6 +9994,71 @@ module Aws::BedrockAgentCoreControl
|
|
|
9244
9994
|
req.send_request(options)
|
|
9245
9995
|
end
|
|
9246
9996
|
|
|
9997
|
+
# Lists all rate limits for a gateway. Results are paginated. Use the
|
|
9998
|
+
# `nextToken` parameter to retrieve additional results.
|
|
9999
|
+
#
|
|
10000
|
+
# @option params [required, String] :gateway_identifier
|
|
10001
|
+
# The unique identifier of the gateway.
|
|
10002
|
+
#
|
|
10003
|
+
# @option params [Integer] :max_results
|
|
10004
|
+
# The maximum number of results to return in the response. If the total
|
|
10005
|
+
# number of results is greater than this value, use the token returned
|
|
10006
|
+
# in the response in the `nextToken` field when making another request
|
|
10007
|
+
# to return the next batch of results.
|
|
10008
|
+
#
|
|
10009
|
+
# @option params [String] :next_token
|
|
10010
|
+
# The token to use to retrieve the next page of results. Use the value
|
|
10011
|
+
# returned in a previous `ListGatewayRateLimits` response.
|
|
10012
|
+
#
|
|
10013
|
+
# @return [Types::ListGatewayRateLimitsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
10014
|
+
#
|
|
10015
|
+
# * {Types::ListGatewayRateLimitsResponse#rate_limits #rate_limits} => Array<Types::GatewayRateLimitDetail>
|
|
10016
|
+
# * {Types::ListGatewayRateLimitsResponse#next_token #next_token} => String
|
|
10017
|
+
#
|
|
10018
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
10019
|
+
#
|
|
10020
|
+
# @example Request syntax with placeholder values
|
|
10021
|
+
#
|
|
10022
|
+
# resp = client.list_gateway_rate_limits({
|
|
10023
|
+
# gateway_identifier: "GatewayIdentifier", # required
|
|
10024
|
+
# max_results: 1,
|
|
10025
|
+
# next_token: "GatewayRateLimitNextToken",
|
|
10026
|
+
# })
|
|
10027
|
+
#
|
|
10028
|
+
# @example Response structure
|
|
10029
|
+
#
|
|
10030
|
+
# resp.rate_limits #=> Array
|
|
10031
|
+
# resp.rate_limits[0].rate_limit_id #=> String
|
|
10032
|
+
# resp.rate_limits[0].gateway_identifier #=> String
|
|
10033
|
+
# resp.rate_limits[0].description #=> String
|
|
10034
|
+
# resp.rate_limits[0].dimension_keys #=> Array
|
|
10035
|
+
# resp.rate_limits[0].dimension_keys[0] #=> String
|
|
10036
|
+
# resp.rate_limits[0].entries #=> Array
|
|
10037
|
+
# resp.rate_limits[0].entries[0].dimensions #=> Hash
|
|
10038
|
+
# resp.rate_limits[0].entries[0].dimensions["DimensionKey"] #=> String
|
|
10039
|
+
# resp.rate_limits[0].entries[0].requests #=> Array
|
|
10040
|
+
# resp.rate_limits[0].entries[0].requests[0].rate #=> Float
|
|
10041
|
+
# resp.rate_limits[0].entries[0].requests[0].period #=> String, one of "second", "minute"
|
|
10042
|
+
# resp.rate_limits[0].entries[0].tokens #=> Array
|
|
10043
|
+
# resp.rate_limits[0].entries[0].tokens[0].rate #=> Float
|
|
10044
|
+
# resp.rate_limits[0].entries[0].tokens[0].period #=> String, one of "second", "minute"
|
|
10045
|
+
# resp.rate_limits[0].entries[0].connections #=> Array
|
|
10046
|
+
# resp.rate_limits[0].entries[0].connections[0].rate #=> Float
|
|
10047
|
+
# resp.rate_limits[0].entries[0].connections[0].period #=> String, one of "second", "minute"
|
|
10048
|
+
# resp.rate_limits[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
|
|
10049
|
+
# resp.rate_limits[0].created_at #=> Time
|
|
10050
|
+
# resp.rate_limits[0].updated_at #=> Time
|
|
10051
|
+
# resp.next_token #=> String
|
|
10052
|
+
#
|
|
10053
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListGatewayRateLimits AWS API Documentation
|
|
10054
|
+
#
|
|
10055
|
+
# @overload list_gateway_rate_limits(params = {})
|
|
10056
|
+
# @param [Hash] params ({})
|
|
10057
|
+
def list_gateway_rate_limits(params = {}, options = {})
|
|
10058
|
+
req = build_request(:list_gateway_rate_limits, params)
|
|
10059
|
+
req.send_request(options)
|
|
10060
|
+
end
|
|
10061
|
+
|
|
9247
10062
|
# Lists all rules for a gateway.
|
|
9248
10063
|
#
|
|
9249
10064
|
# @option params [required, String] :gateway_identifier
|
|
@@ -10984,7 +11799,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
10984
11799
|
# The updated IAM role ARN that provides permissions for the AgentCore
|
|
10985
11800
|
# Runtime.
|
|
10986
11801
|
#
|
|
10987
|
-
# @option params [
|
|
11802
|
+
# @option params [Types::NetworkConfiguration] :network_configuration
|
|
10988
11803
|
# The updated network configuration for the AgentCore Runtime.
|
|
10989
11804
|
#
|
|
10990
11805
|
# @option params [String] :description
|
|
@@ -11016,6 +11831,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
11016
11831
|
# The updated filesystem configurations to mount into the AgentCore
|
|
11017
11832
|
# Runtime.
|
|
11018
11833
|
#
|
|
11834
|
+
# @option params [Types::CapacityProviderConfiguration] :capacity_provider_configuration
|
|
11835
|
+
# The updated capacity provider configuration for the AgentCore Runtime.
|
|
11836
|
+
#
|
|
11019
11837
|
# @option params [String] :client_token
|
|
11020
11838
|
# A unique, case-sensitive identifier to ensure idempotency of the
|
|
11021
11839
|
# request.
|
|
@@ -11054,7 +11872,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
11054
11872
|
# },
|
|
11055
11873
|
# },
|
|
11056
11874
|
# role_arn: "RoleArn", # required
|
|
11057
|
-
# network_configuration: {
|
|
11875
|
+
# network_configuration: {
|
|
11058
11876
|
# network_mode: "PUBLIC", # required, accepts PUBLIC, VPC
|
|
11059
11877
|
# network_mode_config: {
|
|
11060
11878
|
# security_groups: ["SecurityGroupId"], # required
|
|
@@ -11159,8 +11977,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
11159
11977
|
# access_point_arn: "EfsAccessPointArn", # required
|
|
11160
11978
|
# mount_path: "MountPath", # required
|
|
11161
11979
|
# },
|
|
11980
|
+
# capacity_provider_volume: {
|
|
11981
|
+
# volume_name: "CapacityProviderVolumeName", # required
|
|
11982
|
+
# mount_path: "MountPath", # required
|
|
11983
|
+
# },
|
|
11162
11984
|
# },
|
|
11163
11985
|
# ],
|
|
11986
|
+
# capacity_provider_configuration: {
|
|
11987
|
+
# capacity_provider_arn: "CapacityProviderArn",
|
|
11988
|
+
# },
|
|
11164
11989
|
# client_token: "ClientToken",
|
|
11165
11990
|
# })
|
|
11166
11991
|
#
|
|
@@ -11305,6 +12130,67 @@ module Aws::BedrockAgentCoreControl
|
|
|
11305
12130
|
req.send_request(options)
|
|
11306
12131
|
end
|
|
11307
12132
|
|
|
12133
|
+
# Updates a capacity provider. Only the description can be changed. To
|
|
12134
|
+
# change other configuration, such as instance types, networking, or
|
|
12135
|
+
# storage, create a new capacity provider.
|
|
12136
|
+
#
|
|
12137
|
+
# @option params [required, String] :capacity_provider_id
|
|
12138
|
+
# The unique identifier of the capacity provider to update.
|
|
12139
|
+
#
|
|
12140
|
+
# @option params [Types::UpdatedDescription] :description
|
|
12141
|
+
# The updated description of the capacity provider.
|
|
12142
|
+
#
|
|
12143
|
+
# @option params [String] :client_token
|
|
12144
|
+
# A unique, case-sensitive identifier to ensure that the API request
|
|
12145
|
+
# completes no more than one time. If you don't specify this field, a
|
|
12146
|
+
# value is randomly generated for you. If this token matches a previous
|
|
12147
|
+
# request, the service ignores the request, but doesn't return an
|
|
12148
|
+
# error. For more information, see [Ensuring idempotency][1].
|
|
12149
|
+
#
|
|
12150
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
12151
|
+
# not need to pass this option.**
|
|
12152
|
+
#
|
|
12153
|
+
#
|
|
12154
|
+
#
|
|
12155
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
12156
|
+
#
|
|
12157
|
+
# @return [Types::UpdateCapacityProviderOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
12158
|
+
#
|
|
12159
|
+
# * {Types::UpdateCapacityProviderOutput#capacity_provider_id #capacity_provider_id} => String
|
|
12160
|
+
# * {Types::UpdateCapacityProviderOutput#capacity_provider_arn #capacity_provider_arn} => String
|
|
12161
|
+
# * {Types::UpdateCapacityProviderOutput#name #name} => String
|
|
12162
|
+
# * {Types::UpdateCapacityProviderOutput#status #status} => String
|
|
12163
|
+
# * {Types::UpdateCapacityProviderOutput#created_at #created_at} => Time
|
|
12164
|
+
# * {Types::UpdateCapacityProviderOutput#last_updated_at #last_updated_at} => Time
|
|
12165
|
+
#
|
|
12166
|
+
# @example Request syntax with placeholder values
|
|
12167
|
+
#
|
|
12168
|
+
# resp = client.update_capacity_provider({
|
|
12169
|
+
# capacity_provider_id: "CapacityProviderId", # required
|
|
12170
|
+
# description: {
|
|
12171
|
+
# optional_value: "Description",
|
|
12172
|
+
# },
|
|
12173
|
+
# client_token: "ClientToken",
|
|
12174
|
+
# })
|
|
12175
|
+
#
|
|
12176
|
+
# @example Response structure
|
|
12177
|
+
#
|
|
12178
|
+
# resp.capacity_provider_id #=> String
|
|
12179
|
+
# resp.capacity_provider_arn #=> String
|
|
12180
|
+
# resp.name #=> String
|
|
12181
|
+
# resp.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "READY", "DELETING", "DELETE_FAILED"
|
|
12182
|
+
# resp.created_at #=> Time
|
|
12183
|
+
# resp.last_updated_at #=> Time
|
|
12184
|
+
#
|
|
12185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateCapacityProvider AWS API Documentation
|
|
12186
|
+
#
|
|
12187
|
+
# @overload update_capacity_provider(params = {})
|
|
12188
|
+
# @param [Hash] params ({})
|
|
12189
|
+
def update_capacity_provider(params = {}, options = {})
|
|
12190
|
+
req = build_request(:update_capacity_provider, params)
|
|
12191
|
+
req.send_request(options)
|
|
12192
|
+
end
|
|
12193
|
+
|
|
11308
12194
|
# Updates a configuration bundle by creating a new version with the
|
|
11309
12195
|
# specified changes. Each update creates a new version in the version
|
|
11310
12196
|
# history.
|
|
@@ -11948,6 +12834,98 @@ module Aws::BedrockAgentCoreControl
|
|
|
11948
12834
|
req.send_request(options)
|
|
11949
12835
|
end
|
|
11950
12836
|
|
|
12837
|
+
# Updates the entries of a gateway rate limit. The dimension keys are
|
|
12838
|
+
# immutable after creation.
|
|
12839
|
+
#
|
|
12840
|
+
# @option params [required, String] :gateway_identifier
|
|
12841
|
+
# The unique identifier of the gateway.
|
|
12842
|
+
#
|
|
12843
|
+
# @option params [required, String] :rate_limit_id
|
|
12844
|
+
# The unique identifier of the rate limit to update.
|
|
12845
|
+
#
|
|
12846
|
+
# @option params [String] :description
|
|
12847
|
+
# Optional human-readable description for this limit.
|
|
12848
|
+
#
|
|
12849
|
+
# @option params [required, Array<Types::LimitEntry>] :entries
|
|
12850
|
+
# Updated rule entries. key and dimensionKeys are immutable and cannot
|
|
12851
|
+
# be changed.
|
|
12852
|
+
#
|
|
12853
|
+
# @return [Types::UpdateGatewayRateLimitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
12854
|
+
#
|
|
12855
|
+
# * {Types::UpdateGatewayRateLimitResponse#rate_limit_id #rate_limit_id} => String
|
|
12856
|
+
# * {Types::UpdateGatewayRateLimitResponse#gateway_identifier #gateway_identifier} => String
|
|
12857
|
+
# * {Types::UpdateGatewayRateLimitResponse#description #description} => String
|
|
12858
|
+
# * {Types::UpdateGatewayRateLimitResponse#dimension_keys #dimension_keys} => Array<String>
|
|
12859
|
+
# * {Types::UpdateGatewayRateLimitResponse#entries #data.entries} => Array<Types::LimitEntry> (This method conflicts with a method on Response, call it through the data member)
|
|
12860
|
+
# * {Types::UpdateGatewayRateLimitResponse#status #status} => String
|
|
12861
|
+
# * {Types::UpdateGatewayRateLimitResponse#created_at #created_at} => Time
|
|
12862
|
+
# * {Types::UpdateGatewayRateLimitResponse#updated_at #updated_at} => Time
|
|
12863
|
+
#
|
|
12864
|
+
# @example Request syntax with placeholder values
|
|
12865
|
+
#
|
|
12866
|
+
# resp = client.update_gateway_rate_limit({
|
|
12867
|
+
# gateway_identifier: "GatewayIdentifier", # required
|
|
12868
|
+
# rate_limit_id: "GatewayRateLimitId", # required
|
|
12869
|
+
# description: "GatewayRateLimitDescription",
|
|
12870
|
+
# entries: [ # required
|
|
12871
|
+
# {
|
|
12872
|
+
# dimensions: { # required
|
|
12873
|
+
# "DimensionKey" => "DimensionValue",
|
|
12874
|
+
# },
|
|
12875
|
+
# requests: [
|
|
12876
|
+
# {
|
|
12877
|
+
# rate: 1.0, # required
|
|
12878
|
+
# period: "second", # required, accepts second, minute
|
|
12879
|
+
# },
|
|
12880
|
+
# ],
|
|
12881
|
+
# tokens: [
|
|
12882
|
+
# {
|
|
12883
|
+
# rate: 1.0, # required
|
|
12884
|
+
# period: "second", # required, accepts second, minute
|
|
12885
|
+
# },
|
|
12886
|
+
# ],
|
|
12887
|
+
# connections: [
|
|
12888
|
+
# {
|
|
12889
|
+
# rate: 1.0, # required
|
|
12890
|
+
# period: "second", # required, accepts second, minute
|
|
12891
|
+
# },
|
|
12892
|
+
# ],
|
|
12893
|
+
# },
|
|
12894
|
+
# ],
|
|
12895
|
+
# })
|
|
12896
|
+
#
|
|
12897
|
+
# @example Response structure
|
|
12898
|
+
#
|
|
12899
|
+
# resp.rate_limit_id #=> String
|
|
12900
|
+
# resp.gateway_identifier #=> String
|
|
12901
|
+
# resp.description #=> String
|
|
12902
|
+
# resp.dimension_keys #=> Array
|
|
12903
|
+
# resp.dimension_keys[0] #=> String
|
|
12904
|
+
# resp.data.entries #=> Array
|
|
12905
|
+
# resp.data.entries[0].dimensions #=> Hash
|
|
12906
|
+
# resp.data.entries[0].dimensions["DimensionKey"] #=> String
|
|
12907
|
+
# resp.data.entries[0].requests #=> Array
|
|
12908
|
+
# resp.data.entries[0].requests[0].rate #=> Float
|
|
12909
|
+
# resp.data.entries[0].requests[0].period #=> String, one of "second", "minute"
|
|
12910
|
+
# resp.data.entries[0].tokens #=> Array
|
|
12911
|
+
# resp.data.entries[0].tokens[0].rate #=> Float
|
|
12912
|
+
# resp.data.entries[0].tokens[0].period #=> String, one of "second", "minute"
|
|
12913
|
+
# resp.data.entries[0].connections #=> Array
|
|
12914
|
+
# resp.data.entries[0].connections[0].rate #=> Float
|
|
12915
|
+
# resp.data.entries[0].connections[0].period #=> String, one of "second", "minute"
|
|
12916
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
|
|
12917
|
+
# resp.created_at #=> Time
|
|
12918
|
+
# resp.updated_at #=> Time
|
|
12919
|
+
#
|
|
12920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateGatewayRateLimit AWS API Documentation
|
|
12921
|
+
#
|
|
12922
|
+
# @overload update_gateway_rate_limit(params = {})
|
|
12923
|
+
# @param [Hash] params ({})
|
|
12924
|
+
def update_gateway_rate_limit(params = {}, options = {})
|
|
12925
|
+
req = build_request(:update_gateway_rate_limit, params)
|
|
12926
|
+
req.send_request(options)
|
|
12927
|
+
end
|
|
12928
|
+
|
|
11951
12929
|
# Updates a gateway rule's priority, conditions, actions, or
|
|
11952
12930
|
# description.
|
|
11953
12931
|
#
|
|
@@ -12640,6 +13618,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
12640
13618
|
# access_point_arn: "EfsAccessPointArn", # required
|
|
12641
13619
|
# mount_path: "MountPath", # required
|
|
12642
13620
|
# },
|
|
13621
|
+
# capacity_provider_volume: {
|
|
13622
|
+
# volume_name: "CapacityProviderVolumeName", # required
|
|
13623
|
+
# mount_path: "MountPath", # required
|
|
13624
|
+
# },
|
|
12643
13625
|
# },
|
|
12644
13626
|
# ],
|
|
12645
13627
|
# },
|
|
@@ -12959,6 +13941,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
12959
13941
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].s3_files_access_point.mount_path #=> String
|
|
12960
13942
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].efs_access_point.access_point_arn #=> String
|
|
12961
13943
|
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].efs_access_point.mount_path #=> String
|
|
13944
|
+
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].capacity_provider_volume.volume_name #=> String
|
|
13945
|
+
# resp.harness.environment.agent_core_runtime_environment.filesystem_configurations[0].capacity_provider_volume.mount_path #=> String
|
|
12962
13946
|
# resp.harness.environment_artifact.container_configuration.container_uri #=> String
|
|
12963
13947
|
# resp.harness.environment_variables #=> Hash
|
|
12964
13948
|
# resp.harness.environment_variables["EnvironmentVariableKey"] #=> String
|
|
@@ -15176,7 +16160,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
15176
16160
|
tracer: tracer
|
|
15177
16161
|
)
|
|
15178
16162
|
context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
|
|
15179
|
-
context[:gem_version] = '1.
|
|
16163
|
+
context[:gem_version] = '1.63.0'
|
|
15180
16164
|
Seahorse::Client::Request.new(handlers, context)
|
|
15181
16165
|
end
|
|
15182
16166
|
|