aws-sdk-bedrockagentcore 1.45.0 → 1.46.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-bedrockagentcore/client.rb +42 -1
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +27 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +43 -0
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +13 -0
- data/sig/types.rbs +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ab1b5b089d88698f745fab5b795d301a76038d1b6d541a567ec855c0c4ce54b
|
|
4
|
+
data.tar.gz: 104e77f0473574e576d61d883d90e84159ab260ce8e4d7e4ceceb23c1fbdf851
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc97159aa514f8cfc53c99f45e62a21f8ca4e4792d491a896583c33bbedd1f0bd8e0a611ce31036373ef6fca89b1c4ca2391d59e512664163bd5e3f2abf52e56
|
|
7
|
+
data.tar.gz: 68fd41741afe5f5b5d446c1e7f6436fe514388f5f978805140e385c58a6b61d0574c09e0ecc103e82f4bde5c07086f649fce6a42b971697bc59614af23db78f3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.46.0 (2026-08-06)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add support for capacity provider sessions in Amazon Bedrock AgentCore. Customers can now delete an active session running on a runtime instance launched through their capacity provider.
|
|
8
|
+
|
|
4
9
|
1.45.0 (2026-07-23)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.46.0
|
|
@@ -1208,6 +1208,47 @@ module Aws::BedrockAgentCore
|
|
|
1208
1208
|
req.send_request(options)
|
|
1209
1209
|
end
|
|
1210
1210
|
|
|
1211
|
+
# Deletes a session associated with a capacity provider in Amazon
|
|
1212
|
+
# Bedrock AgentCore and makes the session unavailable for further use.
|
|
1213
|
+
# To delete a capacity provider session, specify both the capacity
|
|
1214
|
+
# provider identifier and the session ID. After you delete a session,
|
|
1215
|
+
# you cannot restart it.
|
|
1216
|
+
#
|
|
1217
|
+
# @option params [required, String] :capacity_provider_id
|
|
1218
|
+
# The unique identifier of the capacity provider associated with the
|
|
1219
|
+
# session.
|
|
1220
|
+
#
|
|
1221
|
+
# @option params [required, String] :session_id
|
|
1222
|
+
# The unique identifier of the capacity provider session to delete.
|
|
1223
|
+
#
|
|
1224
|
+
# @return [Types::DeleteCapacityProviderSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1225
|
+
#
|
|
1226
|
+
# * {Types::DeleteCapacityProviderSessionResponse#capacity_provider_arn #capacity_provider_arn} => String
|
|
1227
|
+
# * {Types::DeleteCapacityProviderSessionResponse#session_id #session_id} => String
|
|
1228
|
+
# * {Types::DeleteCapacityProviderSessionResponse#status #status} => String
|
|
1229
|
+
#
|
|
1230
|
+
# @example Request syntax with placeholder values
|
|
1231
|
+
#
|
|
1232
|
+
# resp = client.delete_capacity_provider_session({
|
|
1233
|
+
# capacity_provider_id: "CapacityProviderId", # required
|
|
1234
|
+
# session_id: "SessionId", # required
|
|
1235
|
+
# })
|
|
1236
|
+
#
|
|
1237
|
+
# @example Response structure
|
|
1238
|
+
#
|
|
1239
|
+
# resp.capacity_provider_arn #=> String
|
|
1240
|
+
# resp.session_id #=> String
|
|
1241
|
+
# resp.status #=> String, one of "Provisioning", "Deprovisioning", "Active", "Deleting", "Deleted", "Stopped"
|
|
1242
|
+
#
|
|
1243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DeleteCapacityProviderSession AWS API Documentation
|
|
1244
|
+
#
|
|
1245
|
+
# @overload delete_capacity_provider_session(params = {})
|
|
1246
|
+
# @param [Hash] params ({})
|
|
1247
|
+
def delete_capacity_provider_session(params = {}, options = {})
|
|
1248
|
+
req = build_request(:delete_capacity_provider_session, params)
|
|
1249
|
+
req.send_request(options)
|
|
1250
|
+
end
|
|
1251
|
+
|
|
1211
1252
|
# Deletes an event from an AgentCore Memory resource. When you delete an
|
|
1212
1253
|
# event, it is permanently removed.
|
|
1213
1254
|
#
|
|
@@ -6343,7 +6384,7 @@ module Aws::BedrockAgentCore
|
|
|
6343
6384
|
tracer: tracer
|
|
6344
6385
|
)
|
|
6345
6386
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
6346
|
-
context[:gem_version] = '1.
|
|
6387
|
+
context[:gem_version] = '1.46.0'
|
|
6347
6388
|
Seahorse::Client::Request.new(handlers, context)
|
|
6348
6389
|
end
|
|
6349
6390
|
|
|
@@ -85,6 +85,9 @@ module Aws::BedrockAgentCore
|
|
|
85
85
|
BrowserSessionSummary = Shapes::StructureShape.new(name: 'BrowserSessionSummary')
|
|
86
86
|
BrowserSessionTimeout = Shapes::IntegerShape.new(name: 'BrowserSessionTimeout')
|
|
87
87
|
BrowserStreamEndpoint = Shapes::StringShape.new(name: 'BrowserStreamEndpoint')
|
|
88
|
+
CapacityProviderArn = Shapes::StringShape.new(name: 'CapacityProviderArn')
|
|
89
|
+
CapacityProviderId = Shapes::StringShape.new(name: 'CapacityProviderId')
|
|
90
|
+
CapacityProviderSessionStatus = Shapes::StringShape.new(name: 'CapacityProviderSessionStatus')
|
|
88
91
|
Certificate = Shapes::StructureShape.new(name: 'Certificate')
|
|
89
92
|
CertificateLocation = Shapes::UnionShape.new(name: 'CertificateLocation')
|
|
90
93
|
Certificates = Shapes::ListShape.new(name: 'Certificates')
|
|
@@ -159,6 +162,8 @@ module Aws::BedrockAgentCore
|
|
|
159
162
|
DeleteABTestResponse = Shapes::StructureShape.new(name: 'DeleteABTestResponse')
|
|
160
163
|
DeleteBatchEvaluationRequest = Shapes::StructureShape.new(name: 'DeleteBatchEvaluationRequest')
|
|
161
164
|
DeleteBatchEvaluationResponse = Shapes::StructureShape.new(name: 'DeleteBatchEvaluationResponse')
|
|
165
|
+
DeleteCapacityProviderSessionRequest = Shapes::StructureShape.new(name: 'DeleteCapacityProviderSessionRequest')
|
|
166
|
+
DeleteCapacityProviderSessionResponse = Shapes::StructureShape.new(name: 'DeleteCapacityProviderSessionResponse')
|
|
162
167
|
DeleteEventInput = Shapes::StructureShape.new(name: 'DeleteEventInput')
|
|
163
168
|
DeleteEventOutput = Shapes::StructureShape.new(name: 'DeleteEventOutput')
|
|
164
169
|
DeleteMemoryRecordInput = Shapes::StructureShape.new(name: 'DeleteMemoryRecordInput')
|
|
@@ -1245,6 +1250,15 @@ module Aws::BedrockAgentCore
|
|
|
1245
1250
|
DeleteBatchEvaluationResponse.add_member(:status, Shapes::ShapeRef.new(shape: BatchEvaluationStatus, required: true, location_name: "status"))
|
|
1246
1251
|
DeleteBatchEvaluationResponse.struct_class = Types::DeleteBatchEvaluationResponse
|
|
1247
1252
|
|
|
1253
|
+
DeleteCapacityProviderSessionRequest.add_member(:capacity_provider_id, Shapes::ShapeRef.new(shape: CapacityProviderId, required: true, location: "uri", location_name: "capacityProviderId"))
|
|
1254
|
+
DeleteCapacityProviderSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
|
|
1255
|
+
DeleteCapacityProviderSessionRequest.struct_class = Types::DeleteCapacityProviderSessionRequest
|
|
1256
|
+
|
|
1257
|
+
DeleteCapacityProviderSessionResponse.add_member(:capacity_provider_arn, Shapes::ShapeRef.new(shape: CapacityProviderArn, required: true, location_name: "capacityProviderArn"))
|
|
1258
|
+
DeleteCapacityProviderSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
|
|
1259
|
+
DeleteCapacityProviderSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: CapacityProviderSessionStatus, required: true, location_name: "status"))
|
|
1260
|
+
DeleteCapacityProviderSessionResponse.struct_class = Types::DeleteCapacityProviderSessionResponse
|
|
1261
|
+
|
|
1248
1262
|
DeleteEventInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
|
|
1249
1263
|
DeleteEventInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
|
|
1250
1264
|
DeleteEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location: "uri", location_name: "eventId"))
|
|
@@ -3487,6 +3501,19 @@ module Aws::BedrockAgentCore
|
|
|
3487
3501
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3488
3502
|
end)
|
|
3489
3503
|
|
|
3504
|
+
api.add_operation(:delete_capacity_provider_session, Seahorse::Model::Operation.new.tap do |o|
|
|
3505
|
+
o.name = "DeleteCapacityProviderSession"
|
|
3506
|
+
o.http_method = "DELETE"
|
|
3507
|
+
o.http_request_uri = "/capacity-providers/{capacityProviderId}/sessions/{sessionId}"
|
|
3508
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCapacityProviderSessionRequest)
|
|
3509
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCapacityProviderSessionResponse)
|
|
3510
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3511
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3512
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3513
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3514
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3515
|
+
end)
|
|
3516
|
+
|
|
3490
3517
|
api.add_operation(:delete_event, Seahorse::Model::Operation.new.tap do |o|
|
|
3491
3518
|
o.name = "DeleteEvent"
|
|
3492
3519
|
o.http_method = "DELETE"
|
|
@@ -1969,6 +1969,49 @@ module Aws::BedrockAgentCore
|
|
|
1969
1969
|
include Aws::Structure
|
|
1970
1970
|
end
|
|
1971
1971
|
|
|
1972
|
+
# @!attribute [rw] capacity_provider_id
|
|
1973
|
+
# The unique identifier of the capacity provider associated with the
|
|
1974
|
+
# session.
|
|
1975
|
+
# @return [String]
|
|
1976
|
+
#
|
|
1977
|
+
# @!attribute [rw] session_id
|
|
1978
|
+
# The unique identifier of the capacity provider session to delete.
|
|
1979
|
+
# @return [String]
|
|
1980
|
+
#
|
|
1981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DeleteCapacityProviderSessionRequest AWS API Documentation
|
|
1982
|
+
#
|
|
1983
|
+
class DeleteCapacityProviderSessionRequest < Struct.new(
|
|
1984
|
+
:capacity_provider_id,
|
|
1985
|
+
:session_id)
|
|
1986
|
+
SENSITIVE = []
|
|
1987
|
+
include Aws::Structure
|
|
1988
|
+
end
|
|
1989
|
+
|
|
1990
|
+
# @!attribute [rw] capacity_provider_arn
|
|
1991
|
+
# The Amazon Resource Name (ARN) of the capacity provider associated
|
|
1992
|
+
# with the deleted session.
|
|
1993
|
+
# @return [String]
|
|
1994
|
+
#
|
|
1995
|
+
# @!attribute [rw] session_id
|
|
1996
|
+
# The unique identifier of the deleted capacity provider session.
|
|
1997
|
+
# @return [String]
|
|
1998
|
+
#
|
|
1999
|
+
# @!attribute [rw] status
|
|
2000
|
+
# The current status of the capacity provider session. When the status
|
|
2001
|
+
# is `Deleting`, the session is being deleted and is not available.
|
|
2002
|
+
# When the status is `Deleted`, the session is no longer available.
|
|
2003
|
+
# @return [String]
|
|
2004
|
+
#
|
|
2005
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DeleteCapacityProviderSessionResponse AWS API Documentation
|
|
2006
|
+
#
|
|
2007
|
+
class DeleteCapacityProviderSessionResponse < Struct.new(
|
|
2008
|
+
:capacity_provider_arn,
|
|
2009
|
+
:session_id,
|
|
2010
|
+
:status)
|
|
2011
|
+
SENSITIVE = []
|
|
2012
|
+
include Aws::Structure
|
|
2013
|
+
end
|
|
2014
|
+
|
|
1972
2015
|
# @!attribute [rw] memory_id
|
|
1973
2016
|
# The identifier of the AgentCore Memory resource from which to delete
|
|
1974
2017
|
# the event.
|
data/sig/client.rbs
CHANGED
|
@@ -349,6 +349,19 @@ module Aws
|
|
|
349
349
|
) -> _DeleteBatchEvaluationResponseSuccess
|
|
350
350
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBatchEvaluationResponseSuccess
|
|
351
351
|
|
|
352
|
+
interface _DeleteCapacityProviderSessionResponseSuccess
|
|
353
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCapacityProviderSessionResponse]
|
|
354
|
+
def capacity_provider_arn: () -> ::String
|
|
355
|
+
def session_id: () -> ::String
|
|
356
|
+
def status: () -> ("Provisioning" | "Deprovisioning" | "Active" | "Deleting" | "Deleted" | "Stopped")
|
|
357
|
+
end
|
|
358
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#delete_capacity_provider_session-instance_method
|
|
359
|
+
def delete_capacity_provider_session: (
|
|
360
|
+
capacity_provider_id: ::String,
|
|
361
|
+
session_id: ::String
|
|
362
|
+
) -> _DeleteCapacityProviderSessionResponseSuccess
|
|
363
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCapacityProviderSessionResponseSuccess
|
|
364
|
+
|
|
352
365
|
interface _DeleteEventResponseSuccess
|
|
353
366
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEventOutput]
|
|
354
367
|
def event_id: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -602,6 +602,19 @@ module Aws::BedrockAgentCore
|
|
|
602
602
|
SENSITIVE: []
|
|
603
603
|
end
|
|
604
604
|
|
|
605
|
+
class DeleteCapacityProviderSessionRequest
|
|
606
|
+
attr_accessor capacity_provider_id: ::String
|
|
607
|
+
attr_accessor session_id: ::String
|
|
608
|
+
SENSITIVE: []
|
|
609
|
+
end
|
|
610
|
+
|
|
611
|
+
class DeleteCapacityProviderSessionResponse
|
|
612
|
+
attr_accessor capacity_provider_arn: ::String
|
|
613
|
+
attr_accessor session_id: ::String
|
|
614
|
+
attr_accessor status: ("Provisioning" | "Deprovisioning" | "Active" | "Deleting" | "Deleted" | "Stopped")
|
|
615
|
+
SENSITIVE: []
|
|
616
|
+
end
|
|
617
|
+
|
|
605
618
|
class DeleteEventInput
|
|
606
619
|
attr_accessor memory_id: ::String
|
|
607
620
|
attr_accessor session_id: ::String
|