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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +47 -1
- data/lib/aws-sdk-connect/client_api.rb +24 -0
- data/lib/aws-sdk-connect/types.rb +37 -0
- data/lib/aws-sdk-connect.rb +1 -1
- data/sig/client.rbs +11 -0
- data/sig/types.rbs +10 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ed3425e11c365621bc71b7fe64953a4f101e46a0883958f30a7df6ebd35719c
|
|
4
|
+
data.tar.gz: f0e80ab3be71f645728b940b5fcd294a3123c290d3aad11019289d50f1801bcb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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
|
data/lib/aws-sdk-connect.rb
CHANGED
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.
|
|
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.
|
|
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.
|
|
31
|
+
version: 3.269.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|