aws-sdk-connect 1.299.0 → 1.300.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e947d09d213d7b8d16e3111347081690f4430cff8765b185956ca91b30d30a19
4
- data.tar.gz: 200860373c047b6fb29d43ab9335e1b10066a44d714fecb74f0986561cd1631a
3
+ metadata.gz: 4ed3425e11c365621bc71b7fe64953a4f101e46a0883958f30a7df6ebd35719c
4
+ data.tar.gz: f0e80ab3be71f645728b940b5fcd294a3123c290d3aad11019289d50f1801bcb
5
5
  SHA512:
6
- metadata.gz: 45c0ffbf155c6a7cd3f5e7f5b1747806c48e8eda714fa12d1bd2acfbc3f7534c8c8098dd629b8f99413a0c8dbe16fac1850ab050a10df54cf0011c5f5686df38
7
- data.tar.gz: a4ae00878a371ad14f9ec681c420156ab70a7c956bab155fcec95ef126da9aff18f80f83045132430f5e1273ae0863bda49e80ed6f2a8b08689a9976740db8b8
6
+ metadata.gz: 5b1f875a41cbb4e43fac61035e0ffe53077f951be4bbe8f84bef0c97f2fd0e82b5d0fc1a467ed7c9a1426e3871acb6cd37f0858a2de13c4007e65c58185b4aa6
7
+ data.tar.gz: e7216dddc44bc8df441f875d9cffffbf0f571796fccd9ce1ae265ce97c2d10209f605d467463d4be36d95f603702e97b7c7e7e21be9a27bef04c50948cac2a48
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.300.0 (2026-11-16)
5
+ ------------------
6
+
7
+ * Feature - Adds the DeleteAllEntitySessions API, which signs a user out of all of their active sessions in an Amazon Connect instance.
8
+
4
9
  1.299.0 (2026-11-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.299.0
1
+ 1.300.0
@@ -6630,6 +6630,52 @@ module Aws::Connect
6630
6630
  req.send_request(options)
6631
6631
  end
6632
6632
 
6633
+ # Deletes all active sessions for the specified entity in the specified
6634
+ # Connect Customer instance. The operation supports only the `USER`
6635
+ # entity type, so you can use it to sign out all of a user's active
6636
+ # sessions. Use it when you need to end a user's access right away, for
6637
+ # example when they leave your organization or you suspect that their
6638
+ # credentials are compromised.
6639
+ #
6640
+ # @option params [required, String] :instance_id
6641
+ # The identifier of the Connect Customer instance. You can [find the
6642
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
6643
+ #
6644
+ #
6645
+ #
6646
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
6647
+ #
6648
+ # @option params [required, String] :entity_id
6649
+ # The identifier of the entity whose sessions you want to delete. For
6650
+ # `USER`, use the user ID or the user ARN.
6651
+ #
6652
+ # @option params [required, String] :entity_type
6653
+ # The type of entity whose sessions you want to delete.
6654
+ #
6655
+ # <note markdown="1"> The only valid value is `USER`, which signs out a user in your Connect
6656
+ # Customer instance.
6657
+ #
6658
+ # </note>
6659
+ #
6660
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6661
+ #
6662
+ # @example Request syntax with placeholder values
6663
+ #
6664
+ # resp = client.delete_all_entity_sessions({
6665
+ # instance_id: "InstanceId", # required
6666
+ # entity_id: "EntityId", # required
6667
+ # entity_type: "USER", # required, accepts USER
6668
+ # })
6669
+ #
6670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteAllEntitySessions AWS API Documentation
6671
+ #
6672
+ # @overload delete_all_entity_sessions(params = {})
6673
+ # @param [Hash] params ({})
6674
+ def delete_all_entity_sessions(params = {}, options = {})
6675
+ req = build_request(:delete_all_entity_sessions, params)
6676
+ req.send_request(options)
6677
+ end
6678
+
6633
6679
  # Deletes an attached file along with the underlying S3 Object.
6634
6680
  #
6635
6681
  # The attached file is **permanently deleted** if S3 bucket versioning
@@ -32515,7 +32561,7 @@ module Aws::Connect
32515
32561
  tracer: tracer
32516
32562
  )
32517
32563
  context[:gem_name] = 'aws-sdk-connect'
32518
- context[:gem_version] = '1.299.0'
32564
+ context[:gem_version] = '1.300.0'
32519
32565
  Seahorse::Client::Request.new(handlers, context)
32520
32566
  end
32521
32567
 
@@ -567,6 +567,8 @@ module Aws::Connect
567
567
  DefaultVocabulary = Shapes::StructureShape.new(name: 'DefaultVocabulary')
568
568
  DefaultVocabularyList = Shapes::ListShape.new(name: 'DefaultVocabularyList')
569
569
  Delay = Shapes::IntegerShape.new(name: 'Delay')
570
+ DeleteAllEntitySessionsRequest = Shapes::StructureShape.new(name: 'DeleteAllEntitySessionsRequest')
571
+ DeleteAllEntitySessionsResponse = Shapes::StructureShape.new(name: 'DeleteAllEntitySessionsResponse')
570
572
  DeleteAttachedFileRequest = Shapes::StructureShape.new(name: 'DeleteAttachedFileRequest')
571
573
  DeleteAttachedFileResponse = Shapes::StructureShape.new(name: 'DeleteAttachedFileResponse')
572
574
  DeleteContactDataRequest = Shapes::StructureShape.new(name: 'DeleteContactDataRequest')
@@ -1976,6 +1978,7 @@ module Aws::Connect
1976
1978
  SentimentConfiguration = Shapes::StructureShape.new(name: 'SentimentConfiguration')
1977
1979
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
1978
1980
  ServiceQuotaExceededExceptionReason = Shapes::UnionShape.new(name: 'ServiceQuotaExceededExceptionReason')
1981
+ SessionEntityType = Shapes::StringShape.new(name: 'SessionEntityType')
1979
1982
  SessionId = Shapes::StringShape.new(name: 'SessionId')
1980
1983
  SessionInactivityDurationMinutes = Shapes::IntegerShape.new(name: 'SessionInactivityDurationMinutes')
1981
1984
  SignInConfig = Shapes::StructureShape.new(name: 'SignInConfig')
@@ -4432,6 +4435,13 @@ module Aws::Connect
4432
4435
 
4433
4436
  DefaultVocabularyList.member = Shapes::ShapeRef.new(shape: DefaultVocabulary)
4434
4437
 
4438
+ DeleteAllEntitySessionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
4439
+ DeleteAllEntitySessionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "EntityId"))
4440
+ DeleteAllEntitySessionsRequest.add_member(:entity_type, Shapes::ShapeRef.new(shape: SessionEntityType, required: true, location_name: "EntityType"))
4441
+ DeleteAllEntitySessionsRequest.struct_class = Types::DeleteAllEntitySessionsRequest
4442
+
4443
+ DeleteAllEntitySessionsResponse.struct_class = Types::DeleteAllEntitySessionsResponse
4444
+
4435
4445
  DeleteAttachedFileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
4436
4446
  DeleteAttachedFileRequest.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, required: true, location: "uri", location_name: "FileId"))
4437
4447
  DeleteAttachedFileRequest.add_member(:associated_resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "associatedResourceArn"))
@@ -11774,6 +11784,20 @@ module Aws::Connect
11774
11784
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
11775
11785
  end)
11776
11786
 
11787
+ api.add_operation(:delete_all_entity_sessions, Seahorse::Model::Operation.new.tap do |o|
11788
+ o.name = "DeleteAllEntitySessions"
11789
+ o.http_method = "POST"
11790
+ o.http_request_uri = "/auth/sessions/delete-all-entity-sessions"
11791
+ o.input = Shapes::ShapeRef.new(shape: DeleteAllEntitySessionsRequest)
11792
+ o.output = Shapes::ShapeRef.new(shape: DeleteAllEntitySessionsResponse)
11793
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
11794
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
11795
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
11796
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
11797
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
11798
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
11799
+ end)
11800
+
11777
11801
  api.add_operation(:delete_attached_file, Seahorse::Model::Operation.new.tap do |o|
11778
11802
  o.name = "DeleteAttachedFile"
11779
11803
  o.http_method = "DELETE"
@@ -10133,6 +10133,43 @@ module Aws::Connect
10133
10133
  include Aws::Structure
10134
10134
  end
10135
10135
 
10136
+ # @!attribute [rw] instance_id
10137
+ # The identifier of the Connect Customer instance. You can [find the
10138
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
10139
+ #
10140
+ #
10141
+ #
10142
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
10143
+ # @return [String]
10144
+ #
10145
+ # @!attribute [rw] entity_id
10146
+ # The identifier of the entity whose sessions you want to delete. For
10147
+ # `USER`, use the user ID or the user ARN.
10148
+ # @return [String]
10149
+ #
10150
+ # @!attribute [rw] entity_type
10151
+ # The type of entity whose sessions you want to delete.
10152
+ #
10153
+ # <note markdown="1"> The only valid value is `USER`, which signs out a user in your
10154
+ # Connect Customer instance.
10155
+ #
10156
+ # </note>
10157
+ # @return [String]
10158
+ #
10159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteAllEntitySessionsRequest AWS API Documentation
10160
+ #
10161
+ class DeleteAllEntitySessionsRequest < Struct.new(
10162
+ :instance_id,
10163
+ :entity_id,
10164
+ :entity_type)
10165
+ SENSITIVE = []
10166
+ include Aws::Structure
10167
+ end
10168
+
10169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteAllEntitySessionsResponse AWS API Documentation
10170
+ #
10171
+ class DeleteAllEntitySessionsResponse < Aws::EmptyStructure; end
10172
+
10136
10173
  # Request to DeleteAttachedFile API
10137
10174
  #
10138
10175
  # @!attribute [rw] instance_id
@@ -54,7 +54,7 @@ module Aws::Connect
54
54
  autoload :EndpointProvider, 'aws-sdk-connect/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-connect/endpoints'
56
56
 
57
- GEM_VERSION = '1.299.0'
57
+ GEM_VERSION = '1.300.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1394,6 +1394,17 @@ module Aws
1394
1394
  ) -> _DeactivateEvaluationFormResponseSuccess
1395
1395
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeactivateEvaluationFormResponseSuccess
1396
1396
 
1397
+ interface _DeleteAllEntitySessionsResponseSuccess
1398
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAllEntitySessionsResponse]
1399
+ end
1400
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#delete_all_entity_sessions-instance_method
1401
+ def delete_all_entity_sessions: (
1402
+ instance_id: ::String,
1403
+ entity_id: ::String,
1404
+ entity_type: ("USER")
1405
+ ) -> _DeleteAllEntitySessionsResponseSuccess
1406
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAllEntitySessionsResponseSuccess
1407
+
1397
1408
  interface _DeleteAttachedFileResponseSuccess
1398
1409
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAttachedFileResponse]
1399
1410
  end
data/sig/types.rbs CHANGED
@@ -2391,6 +2391,16 @@ module Aws::Connect
2391
2391
  SENSITIVE: []
2392
2392
  end
2393
2393
 
2394
+ class DeleteAllEntitySessionsRequest
2395
+ attr_accessor instance_id: ::String
2396
+ attr_accessor entity_id: ::String
2397
+ attr_accessor entity_type: ("USER")
2398
+ SENSITIVE: []
2399
+ end
2400
+
2401
+ class DeleteAllEntitySessionsResponse < Aws::EmptyStructure
2402
+ end
2403
+
2394
2404
  class DeleteAttachedFileRequest
2395
2405
  attr_accessor instance_id: ::String
2396
2406
  attr_accessor file_id: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.299.0
4
+ version: 1.300.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.268.0
21
+ version: 3.269.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.268.0
31
+ version: 3.269.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement