aws-sdk-connect 1.262.0 → 1.264.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +150 -5
- data/lib/aws-sdk-connect/client_api.rb +100 -4
- data/lib/aws-sdk-connect/errors.rb +16 -0
- data/lib/aws-sdk-connect/types.rb +183 -12
- data/lib/aws-sdk-connect.rb +1 -1
- data/sig/client.rbs +44 -2
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +50 -2
- 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: 6a8db1c604cc515d991b3c5af794d28cda49e20a96a2456bd70acdfba97e62e6
|
|
4
|
+
data.tar.gz: 13c71fb381cac38fea19b9a3d957352510808aef359a9b2160f9fb27a1cba33a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8797f50452cb034fcbad2cc3fe1fc3bac4d479a03e5a4d7ad1a87356c6a6e83e2175ccce233aefe1d63832d8ebc0bae465908a332f4a654b37e90c64bfecbdf
|
|
7
|
+
data.tar.gz: 8705cb6108ee374e528a858b0814a462f609c29a85f7110e19e306ecdd30925c4de51dc8e715225374b93cfeddcd110a1c149d41b1922480ff74e70ee0ad44c2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.264.0 (2026-07-09)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon Connect - Added DeleteContactData API to support PII deletion of customer endpoint, additional email recipients and email subject.
|
|
8
|
+
|
|
9
|
+
1.263.0 (2026-07-07)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds support for CreateAuthCode and DeleteSession APIs.
|
|
13
|
+
|
|
4
14
|
1.262.0 (2026-07-01)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.264.0
|
|
@@ -2605,6 +2605,69 @@ module Aws::Connect
|
|
|
2605
2605
|
req.send_request(options)
|
|
2606
2606
|
end
|
|
2607
2607
|
|
|
2608
|
+
# Creates an authorization code for the specified Connect Customer
|
|
2609
|
+
# instance. The authorization code can be used to establish a session
|
|
2610
|
+
# with scoped permissions defined by the specified scope parameters.
|
|
2611
|
+
#
|
|
2612
|
+
# @option params [required, String] :instance_id
|
|
2613
|
+
# The identifier of the Connect Customer instance. You can [find the
|
|
2614
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
|
2615
|
+
#
|
|
2616
|
+
#
|
|
2617
|
+
#
|
|
2618
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
|
2619
|
+
#
|
|
2620
|
+
# @option params [required, Types::AuthScope] :scope
|
|
2621
|
+
# The scope for the authorization code. Defines the permissions and
|
|
2622
|
+
# access boundaries for the session.
|
|
2623
|
+
#
|
|
2624
|
+
# @option params [Integer] :max_session_duration_minutes
|
|
2625
|
+
# The maximum duration of the session, in minutes. Minimum value of 1440
|
|
2626
|
+
# (24 hours). Maximum value of 43200 (30 days). If no value is provided,
|
|
2627
|
+
# the session will expire after 400 days.
|
|
2628
|
+
#
|
|
2629
|
+
# @option params [required, Integer] :session_inactivity_duration_minutes
|
|
2630
|
+
# The duration of inactivity, in minutes, after which the session
|
|
2631
|
+
# expires. Minimum value of 1440 (24 hours). Maximum value of 20160 (14
|
|
2632
|
+
# days).
|
|
2633
|
+
#
|
|
2634
|
+
# @return [Types::CreateAuthCodeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2635
|
+
#
|
|
2636
|
+
# * {Types::CreateAuthCodeResponse#auth_code #auth_code} => String
|
|
2637
|
+
# * {Types::CreateAuthCodeResponse#session_id #session_id} => String
|
|
2638
|
+
# * {Types::CreateAuthCodeResponse#entity_type #entity_type} => String
|
|
2639
|
+
# * {Types::CreateAuthCodeResponse#entity_id #entity_id} => String
|
|
2640
|
+
#
|
|
2641
|
+
# @example Request syntax with placeholder values
|
|
2642
|
+
#
|
|
2643
|
+
# resp = client.create_auth_code({
|
|
2644
|
+
# instance_id: "InstanceId", # required
|
|
2645
|
+
# scope: { # required
|
|
2646
|
+
# security_profile_ids: ["SecurityProfileId"],
|
|
2647
|
+
# entity_type: "CUSTOMER_PROFILE", # required, accepts CUSTOMER_PROFILE
|
|
2648
|
+
# entity_id: "EntityId",
|
|
2649
|
+
# domain_name: "CustomerProfilesDomainName",
|
|
2650
|
+
# },
|
|
2651
|
+
# max_session_duration_minutes: 1,
|
|
2652
|
+
# session_inactivity_duration_minutes: 1, # required
|
|
2653
|
+
# })
|
|
2654
|
+
#
|
|
2655
|
+
# @example Response structure
|
|
2656
|
+
#
|
|
2657
|
+
# resp.auth_code #=> String
|
|
2658
|
+
# resp.session_id #=> String
|
|
2659
|
+
# resp.entity_type #=> String, one of "CUSTOMER_PROFILE"
|
|
2660
|
+
# resp.entity_id #=> String
|
|
2661
|
+
#
|
|
2662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateAuthCode AWS API Documentation
|
|
2663
|
+
#
|
|
2664
|
+
# @overload create_auth_code(params = {})
|
|
2665
|
+
# @param [Hash] params ({})
|
|
2666
|
+
def create_auth_code(params = {}, options = {})
|
|
2667
|
+
req = build_request(:create_auth_code, params)
|
|
2668
|
+
req.send_request(options)
|
|
2669
|
+
end
|
|
2670
|
+
|
|
2608
2671
|
# Only the VOICE, EMAIL, and TASK channels are supported.
|
|
2609
2672
|
#
|
|
2610
2673
|
# * For VOICE: The supported initiation method is `TRANSFER`. The
|
|
@@ -6254,6 +6317,57 @@ module Aws::Connect
|
|
|
6254
6317
|
req.send_request(options)
|
|
6255
6318
|
end
|
|
6256
6319
|
|
|
6320
|
+
# Deletes the specified fields containing personally identifiable
|
|
6321
|
+
# information (PII) from a contact in the specified Connect Customer
|
|
6322
|
+
# instance. This operation redacts PII (such as customer endpoints,
|
|
6323
|
+
# additional email recipients, and the email subject) from the contact
|
|
6324
|
+
# and its associated contact trace record (CTR). The contact must be in
|
|
6325
|
+
# a terminated state.
|
|
6326
|
+
#
|
|
6327
|
+
# This operation performs a hard deletion of the specified PII and
|
|
6328
|
+
# cannot be undone. There is no retention period; after the data is
|
|
6329
|
+
# deleted, it cannot be recovered. Only fields that Connect Customer
|
|
6330
|
+
# identifies and stores as PII are removed. Any PII that you place in
|
|
6331
|
+
# fields outside the scope of this operation remains your responsibility
|
|
6332
|
+
# to remove.
|
|
6333
|
+
#
|
|
6334
|
+
# @option params [required, String] :instance_id
|
|
6335
|
+
# The identifier of the Connect Customer instance. You can [find the
|
|
6336
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
|
6337
|
+
#
|
|
6338
|
+
#
|
|
6339
|
+
#
|
|
6340
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
|
6341
|
+
#
|
|
6342
|
+
# @option params [required, String] :contact_id
|
|
6343
|
+
# The identifier of the contact. PII can be deleted only from a contact
|
|
6344
|
+
# that has been disconnected (is in a terminated state).
|
|
6345
|
+
#
|
|
6346
|
+
# @option params [required, Array<String>] :contact_fields
|
|
6347
|
+
# The categories of PII to redact from the contact. Valid values are
|
|
6348
|
+
# `CUSTOMER_ENDPOINT`, `ADDITIONAL_EMAIL_RECIPIENTS`, and
|
|
6349
|
+
# `EMAIL_SUBJECT`. `ADDITIONAL_EMAIL_RECIPIENTS` and `EMAIL_SUBJECT` are
|
|
6350
|
+
# supported only for contacts in the email channel.
|
|
6351
|
+
#
|
|
6352
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
6353
|
+
#
|
|
6354
|
+
# @example Request syntax with placeholder values
|
|
6355
|
+
#
|
|
6356
|
+
# resp = client.delete_contact_data({
|
|
6357
|
+
# instance_id: "InstanceId", # required
|
|
6358
|
+
# contact_id: "ContactId", # required
|
|
6359
|
+
# contact_fields: ["CUSTOMER_ENDPOINT"], # required, accepts CUSTOMER_ENDPOINT, ADDITIONAL_EMAIL_RECIPIENTS, EMAIL_SUBJECT
|
|
6360
|
+
# })
|
|
6361
|
+
#
|
|
6362
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactData AWS API Documentation
|
|
6363
|
+
#
|
|
6364
|
+
# @overload delete_contact_data(params = {})
|
|
6365
|
+
# @param [Hash] params ({})
|
|
6366
|
+
def delete_contact_data(params = {}, options = {})
|
|
6367
|
+
req = build_request(:delete_contact_data, params)
|
|
6368
|
+
req.send_request(options)
|
|
6369
|
+
end
|
|
6370
|
+
|
|
6257
6371
|
# Deletes a contact evaluation in the specified Connect Customer
|
|
6258
6372
|
# instance.
|
|
6259
6373
|
#
|
|
@@ -7051,6 +7165,37 @@ module Aws::Connect
|
|
|
7051
7165
|
req.send_request(options)
|
|
7052
7166
|
end
|
|
7053
7167
|
|
|
7168
|
+
# Deletes a session for the specified Connect Customer instance.
|
|
7169
|
+
#
|
|
7170
|
+
# @option params [required, String] :instance_id
|
|
7171
|
+
# The identifier of the Connect Customer instance. You can [find the
|
|
7172
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
|
7173
|
+
#
|
|
7174
|
+
#
|
|
7175
|
+
#
|
|
7176
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
|
7177
|
+
#
|
|
7178
|
+
# @option params [required, String] :session_id
|
|
7179
|
+
# The identifier of the session to delete.
|
|
7180
|
+
#
|
|
7181
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
7182
|
+
#
|
|
7183
|
+
# @example Request syntax with placeholder values
|
|
7184
|
+
#
|
|
7185
|
+
# resp = client.delete_session({
|
|
7186
|
+
# instance_id: "InstanceId", # required
|
|
7187
|
+
# session_id: "SessionId", # required
|
|
7188
|
+
# })
|
|
7189
|
+
#
|
|
7190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteSession AWS API Documentation
|
|
7191
|
+
#
|
|
7192
|
+
# @overload delete_session(params = {})
|
|
7193
|
+
# @param [Hash] params ({})
|
|
7194
|
+
def delete_session(params = {}, options = {})
|
|
7195
|
+
req = build_request(:delete_session, params)
|
|
7196
|
+
req.send_request(options)
|
|
7197
|
+
end
|
|
7198
|
+
|
|
7054
7199
|
# Deletes the task template.
|
|
7055
7200
|
#
|
|
7056
7201
|
# @option params [required, String] :instance_id
|
|
@@ -11766,10 +11911,10 @@ module Aws::Connect
|
|
|
11766
11911
|
#
|
|
11767
11912
|
# @return [Types::GetFederationTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
11768
11913
|
#
|
|
11914
|
+
# * {Types::GetFederationTokenResponse#user_id #user_id} => String
|
|
11915
|
+
# * {Types::GetFederationTokenResponse#user_arn #user_arn} => String
|
|
11769
11916
|
# * {Types::GetFederationTokenResponse#credentials #credentials} => Types::Credentials
|
|
11770
11917
|
# * {Types::GetFederationTokenResponse#sign_in_url #sign_in_url} => String
|
|
11771
|
-
# * {Types::GetFederationTokenResponse#user_arn #user_arn} => String
|
|
11772
|
-
# * {Types::GetFederationTokenResponse#user_id #user_id} => String
|
|
11773
11918
|
#
|
|
11774
11919
|
# @example Request syntax with placeholder values
|
|
11775
11920
|
#
|
|
@@ -11779,13 +11924,13 @@ module Aws::Connect
|
|
|
11779
11924
|
#
|
|
11780
11925
|
# @example Response structure
|
|
11781
11926
|
#
|
|
11927
|
+
# resp.user_id #=> String
|
|
11928
|
+
# resp.user_arn #=> String
|
|
11782
11929
|
# resp.credentials.access_token #=> String
|
|
11783
11930
|
# resp.credentials.access_token_expiration #=> Time
|
|
11784
11931
|
# resp.credentials.refresh_token #=> String
|
|
11785
11932
|
# resp.credentials.refresh_token_expiration #=> Time
|
|
11786
11933
|
# resp.sign_in_url #=> String
|
|
11787
|
-
# resp.user_arn #=> String
|
|
11788
|
-
# resp.user_id #=> String
|
|
11789
11934
|
#
|
|
11790
11935
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationToken AWS API Documentation
|
|
11791
11936
|
#
|
|
@@ -29846,7 +29991,7 @@ module Aws::Connect
|
|
|
29846
29991
|
tracer: tracer
|
|
29847
29992
|
)
|
|
29848
29993
|
context[:gem_name] = 'aws-sdk-connect'
|
|
29849
|
-
context[:gem_version] = '1.
|
|
29994
|
+
context[:gem_version] = '1.264.0'
|
|
29850
29995
|
Seahorse::Client::Request.new(handlers, context)
|
|
29851
29996
|
end
|
|
29852
29997
|
|
|
@@ -167,6 +167,9 @@ module Aws::Connect
|
|
|
167
167
|
AudioFeatures = Shapes::StructureShape.new(name: 'AudioFeatures')
|
|
168
168
|
AudioQualityMetricsInfo = Shapes::StructureShape.new(name: 'AudioQualityMetricsInfo')
|
|
169
169
|
AudioQualityScore = Shapes::FloatShape.new(name: 'AudioQualityScore')
|
|
170
|
+
AuthCode = Shapes::StringShape.new(name: 'AuthCode')
|
|
171
|
+
AuthCodeEntityType = Shapes::StringShape.new(name: 'AuthCodeEntityType')
|
|
172
|
+
AuthScope = Shapes::StructureShape.new(name: 'AuthScope')
|
|
170
173
|
AuthenticationError = Shapes::StringShape.new(name: 'AuthenticationError')
|
|
171
174
|
AuthenticationErrorDescription = Shapes::StringShape.new(name: 'AuthenticationErrorDescription')
|
|
172
175
|
AuthenticationProfile = Shapes::StructureShape.new(name: 'AuthenticationProfile')
|
|
@@ -287,6 +290,8 @@ module Aws::Connect
|
|
|
287
290
|
ContactEvaluationAttributeOrConditionList = Shapes::ListShape.new(name: 'ContactEvaluationAttributeOrConditionList')
|
|
288
291
|
ContactEvaluationAttributeValue = Shapes::StructureShape.new(name: 'ContactEvaluationAttributeValue')
|
|
289
292
|
ContactEvaluations = Shapes::MapShape.new(name: 'ContactEvaluations')
|
|
293
|
+
ContactField = Shapes::StringShape.new(name: 'ContactField')
|
|
294
|
+
ContactFields = Shapes::ListShape.new(name: 'ContactFields')
|
|
290
295
|
ContactFilter = Shapes::StructureShape.new(name: 'ContactFilter')
|
|
291
296
|
ContactFlow = Shapes::StructureShape.new(name: 'ContactFlow')
|
|
292
297
|
ContactFlowAttributeAndCondition = Shapes::StructureShape.new(name: 'ContactFlowAttributeAndCondition')
|
|
@@ -340,6 +345,7 @@ module Aws::Connect
|
|
|
340
345
|
ContactMetricValue = Shapes::UnionShape.new(name: 'ContactMetricValue')
|
|
341
346
|
ContactMetrics = Shapes::ListShape.new(name: 'ContactMetrics')
|
|
342
347
|
ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
|
|
348
|
+
ContactNotTerminatedException = Shapes::StructureShape.new(name: 'ContactNotTerminatedException')
|
|
343
349
|
ContactParticipantRole = Shapes::StringShape.new(name: 'ContactParticipantRole')
|
|
344
350
|
ContactRecordingType = Shapes::StringShape.new(name: 'ContactRecordingType')
|
|
345
351
|
ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
|
|
@@ -368,6 +374,8 @@ module Aws::Connect
|
|
|
368
374
|
CreateAgentStatusResponse = Shapes::StructureShape.new(name: 'CreateAgentStatusResponse')
|
|
369
375
|
CreateAttachedFileRequest = Shapes::StructureShape.new(name: 'CreateAttachedFileRequest')
|
|
370
376
|
CreateAttachedFileResponse = Shapes::StructureShape.new(name: 'CreateAttachedFileResponse')
|
|
377
|
+
CreateAuthCodeRequest = Shapes::StructureShape.new(name: 'CreateAuthCodeRequest')
|
|
378
|
+
CreateAuthCodeResponse = Shapes::StructureShape.new(name: 'CreateAuthCodeResponse')
|
|
371
379
|
CreateCaseActionDefinition = Shapes::StructureShape.new(name: 'CreateCaseActionDefinition')
|
|
372
380
|
CreateContactFlowModuleAliasRequest = Shapes::StructureShape.new(name: 'CreateContactFlowModuleAliasRequest')
|
|
373
381
|
CreateContactFlowModuleAliasResponse = Shapes::StructureShape.new(name: 'CreateContactFlowModuleAliasResponse')
|
|
@@ -459,6 +467,7 @@ module Aws::Connect
|
|
|
459
467
|
CustomerIdNonEmpty = Shapes::StringShape.new(name: 'CustomerIdNonEmpty')
|
|
460
468
|
CustomerProfileAttributesSerialized = Shapes::StringShape.new(name: 'CustomerProfileAttributesSerialized')
|
|
461
469
|
CustomerProfileId = Shapes::StringShape.new(name: 'CustomerProfileId')
|
|
470
|
+
CustomerProfilesDomainName = Shapes::StringShape.new(name: 'CustomerProfilesDomainName')
|
|
462
471
|
CustomerQualityMetrics = Shapes::StructureShape.new(name: 'CustomerQualityMetrics')
|
|
463
472
|
CustomerVoiceActivity = Shapes::StructureShape.new(name: 'CustomerVoiceActivity')
|
|
464
473
|
DataSetId = Shapes::StringShape.new(name: 'DataSetId')
|
|
@@ -508,6 +517,8 @@ module Aws::Connect
|
|
|
508
517
|
Delay = Shapes::IntegerShape.new(name: 'Delay')
|
|
509
518
|
DeleteAttachedFileRequest = Shapes::StructureShape.new(name: 'DeleteAttachedFileRequest')
|
|
510
519
|
DeleteAttachedFileResponse = Shapes::StructureShape.new(name: 'DeleteAttachedFileResponse')
|
|
520
|
+
DeleteContactDataRequest = Shapes::StructureShape.new(name: 'DeleteContactDataRequest')
|
|
521
|
+
DeleteContactDataResponse = Shapes::StructureShape.new(name: 'DeleteContactDataResponse')
|
|
511
522
|
DeleteContactEvaluationRequest = Shapes::StructureShape.new(name: 'DeleteContactEvaluationRequest')
|
|
512
523
|
DeleteContactFlowModuleAliasRequest = Shapes::StructureShape.new(name: 'DeleteContactFlowModuleAliasRequest')
|
|
513
524
|
DeleteContactFlowModuleAliasResponse = Shapes::StructureShape.new(name: 'DeleteContactFlowModuleAliasResponse')
|
|
@@ -541,6 +552,8 @@ module Aws::Connect
|
|
|
541
552
|
DeleteRoutingProfileRequest = Shapes::StructureShape.new(name: 'DeleteRoutingProfileRequest')
|
|
542
553
|
DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
|
|
543
554
|
DeleteSecurityProfileRequest = Shapes::StructureShape.new(name: 'DeleteSecurityProfileRequest')
|
|
555
|
+
DeleteSessionRequest = Shapes::StructureShape.new(name: 'DeleteSessionRequest')
|
|
556
|
+
DeleteSessionResponse = Shapes::StructureShape.new(name: 'DeleteSessionResponse')
|
|
544
557
|
DeleteTaskTemplateRequest = Shapes::StructureShape.new(name: 'DeleteTaskTemplateRequest')
|
|
545
558
|
DeleteTaskTemplateResponse = Shapes::StructureShape.new(name: 'DeleteTaskTemplateResponse')
|
|
546
559
|
DeleteTestCaseRequest = Shapes::StructureShape.new(name: 'DeleteTestCaseRequest')
|
|
@@ -727,6 +740,7 @@ module Aws::Connect
|
|
|
727
740
|
Entities = Shapes::ListShape.new(name: 'Entities')
|
|
728
741
|
Entity = Shapes::StringShape.new(name: 'Entity')
|
|
729
742
|
EntityArn = Shapes::StringShape.new(name: 'EntityArn')
|
|
743
|
+
EntityId = Shapes::StringShape.new(name: 'EntityId')
|
|
730
744
|
EntityType = Shapes::StringShape.new(name: 'EntityType')
|
|
731
745
|
EpochMilliseconds = Shapes::IntegerShape.new(name: 'EpochMilliseconds')
|
|
732
746
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
|
@@ -1253,6 +1267,7 @@ module Aws::Connect
|
|
|
1253
1267
|
MaxResult500 = Shapes::IntegerShape.new(name: 'MaxResult500')
|
|
1254
1268
|
MaxResult7 = Shapes::IntegerShape.new(name: 'MaxResult7')
|
|
1255
1269
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
1270
|
+
MaxSessionDurationMinutes = Shapes::IntegerShape.new(name: 'MaxSessionDurationMinutes')
|
|
1256
1271
|
MaximumResultReturnedException = Shapes::StructureShape.new(name: 'MaximumResultReturnedException')
|
|
1257
1272
|
MaximumSizeLimitInBytes = Shapes::IntegerShape.new(name: 'MaximumSizeLimitInBytes')
|
|
1258
1273
|
MediaConcurrencies = Shapes::ListShape.new(name: 'MediaConcurrencies')
|
|
@@ -1785,6 +1800,8 @@ module Aws::Connect
|
|
|
1785
1800
|
SentimentConfiguration = Shapes::StructureShape.new(name: 'SentimentConfiguration')
|
|
1786
1801
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
1787
1802
|
ServiceQuotaExceededExceptionReason = Shapes::UnionShape.new(name: 'ServiceQuotaExceededExceptionReason')
|
|
1803
|
+
SessionId = Shapes::StringShape.new(name: 'SessionId')
|
|
1804
|
+
SessionInactivityDurationMinutes = Shapes::IntegerShape.new(name: 'SessionInactivityDurationMinutes')
|
|
1788
1805
|
SignInConfig = Shapes::StructureShape.new(name: 'SignInConfig')
|
|
1789
1806
|
SignInDistribution = Shapes::StructureShape.new(name: 'SignInDistribution')
|
|
1790
1807
|
SignInDistributionList = Shapes::ListShape.new(name: 'SignInDistributionList')
|
|
@@ -2671,6 +2688,12 @@ module Aws::Connect
|
|
|
2671
2688
|
AudioQualityMetricsInfo.add_member(:potential_quality_issues, Shapes::ShapeRef.new(shape: PotentialAudioQualityIssues, location_name: "PotentialQualityIssues"))
|
|
2672
2689
|
AudioQualityMetricsInfo.struct_class = Types::AudioQualityMetricsInfo
|
|
2673
2690
|
|
|
2691
|
+
AuthScope.add_member(:security_profile_ids, Shapes::ShapeRef.new(shape: SecurityProfileIds, location_name: "SecurityProfileIds"))
|
|
2692
|
+
AuthScope.add_member(:entity_type, Shapes::ShapeRef.new(shape: AuthCodeEntityType, required: true, location_name: "EntityType"))
|
|
2693
|
+
AuthScope.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "EntityId"))
|
|
2694
|
+
AuthScope.add_member(:domain_name, Shapes::ShapeRef.new(shape: CustomerProfilesDomainName, location_name: "DomainName"))
|
|
2695
|
+
AuthScope.struct_class = Types::AuthScope
|
|
2696
|
+
|
|
2674
2697
|
AuthenticationProfile.add_member(:id, Shapes::ShapeRef.new(shape: AuthenticationProfileId, location_name: "Id"))
|
|
2675
2698
|
AuthenticationProfile.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
|
2676
2699
|
AuthenticationProfile.add_member(:name, Shapes::ShapeRef.new(shape: AuthenticationProfileName, location_name: "Name"))
|
|
@@ -3079,6 +3102,8 @@ module Aws::Connect
|
|
|
3079
3102
|
ContactEvaluations.key = Shapes::ShapeRef.new(shape: EvaluationId)
|
|
3080
3103
|
ContactEvaluations.value = Shapes::ShapeRef.new(shape: ContactEvaluation)
|
|
3081
3104
|
|
|
3105
|
+
ContactFields.member = Shapes::ShapeRef.new(shape: ContactField)
|
|
3106
|
+
|
|
3082
3107
|
ContactFilter.add_member(:contact_states, Shapes::ShapeRef.new(shape: ContactStates, location_name: "ContactStates"))
|
|
3083
3108
|
ContactFilter.struct_class = Types::ContactFilter
|
|
3084
3109
|
|
|
@@ -3235,6 +3260,9 @@ module Aws::Connect
|
|
|
3235
3260
|
ContactNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
|
3236
3261
|
ContactNotFoundException.struct_class = Types::ContactNotFoundException
|
|
3237
3262
|
|
|
3263
|
+
ContactNotTerminatedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
|
3264
|
+
ContactNotTerminatedException.struct_class = Types::ContactNotTerminatedException
|
|
3265
|
+
|
|
3238
3266
|
ContactReferences.key = Shapes::ShapeRef.new(shape: ReferenceKey)
|
|
3239
3267
|
ContactReferences.value = Shapes::ShapeRef.new(shape: Reference)
|
|
3240
3268
|
|
|
@@ -3333,6 +3361,18 @@ module Aws::Connect
|
|
|
3333
3361
|
CreateAttachedFileResponse.add_member(:file_status, Shapes::ShapeRef.new(shape: FileStatusType, location_name: "FileStatus"))
|
|
3334
3362
|
CreateAttachedFileResponse.struct_class = Types::CreateAttachedFileResponse
|
|
3335
3363
|
|
|
3364
|
+
CreateAuthCodeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
|
3365
|
+
CreateAuthCodeRequest.add_member(:scope, Shapes::ShapeRef.new(shape: AuthScope, required: true, location_name: "Scope"))
|
|
3366
|
+
CreateAuthCodeRequest.add_member(:max_session_duration_minutes, Shapes::ShapeRef.new(shape: MaxSessionDurationMinutes, location_name: "MaxSessionDurationMinutes", metadata: {"box" => true}))
|
|
3367
|
+
CreateAuthCodeRequest.add_member(:session_inactivity_duration_minutes, Shapes::ShapeRef.new(shape: SessionInactivityDurationMinutes, required: true, location_name: "SessionInactivityDurationMinutes"))
|
|
3368
|
+
CreateAuthCodeRequest.struct_class = Types::CreateAuthCodeRequest
|
|
3369
|
+
|
|
3370
|
+
CreateAuthCodeResponse.add_member(:auth_code, Shapes::ShapeRef.new(shape: AuthCode, location_name: "AuthCode"))
|
|
3371
|
+
CreateAuthCodeResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "SessionId"))
|
|
3372
|
+
CreateAuthCodeResponse.add_member(:entity_type, Shapes::ShapeRef.new(shape: AuthCodeEntityType, location_name: "EntityType"))
|
|
3373
|
+
CreateAuthCodeResponse.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "EntityId"))
|
|
3374
|
+
CreateAuthCodeResponse.struct_class = Types::CreateAuthCodeResponse
|
|
3375
|
+
|
|
3336
3376
|
CreateCaseActionDefinition.add_member(:fields, Shapes::ShapeRef.new(shape: FieldValues, required: true, location_name: "Fields"))
|
|
3337
3377
|
CreateCaseActionDefinition.add_member(:template_id, Shapes::ShapeRef.new(shape: TemplateId, required: true, location_name: "TemplateId"))
|
|
3338
3378
|
CreateCaseActionDefinition.struct_class = Types::CreateCaseActionDefinition
|
|
@@ -3816,9 +3856,9 @@ module Aws::Connect
|
|
|
3816
3856
|
CreatedByInfo.struct_class = Types::CreatedByInfo
|
|
3817
3857
|
|
|
3818
3858
|
Credentials.add_member(:access_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "AccessToken"))
|
|
3819
|
-
Credentials.add_member(:access_token_expiration, Shapes::ShapeRef.new(shape:
|
|
3859
|
+
Credentials.add_member(:access_token_expiration, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AccessTokenExpiration"))
|
|
3820
3860
|
Credentials.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "RefreshToken"))
|
|
3821
|
-
Credentials.add_member(:refresh_token_expiration, Shapes::ShapeRef.new(shape:
|
|
3861
|
+
Credentials.add_member(:refresh_token_expiration, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RefreshTokenExpiration"))
|
|
3822
3862
|
Credentials.struct_class = Types::Credentials
|
|
3823
3863
|
|
|
3824
3864
|
CrossChannelBehavior.add_member(:behavior_type, Shapes::ShapeRef.new(shape: BehaviorType, required: true, location_name: "BehaviorType"))
|
|
@@ -4021,6 +4061,13 @@ module Aws::Connect
|
|
|
4021
4061
|
|
|
4022
4062
|
DeleteAttachedFileResponse.struct_class = Types::DeleteAttachedFileResponse
|
|
4023
4063
|
|
|
4064
|
+
DeleteContactDataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
|
4065
|
+
DeleteContactDataRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "ContactId"))
|
|
4066
|
+
DeleteContactDataRequest.add_member(:contact_fields, Shapes::ShapeRef.new(shape: ContactFields, required: true, location_name: "ContactFields"))
|
|
4067
|
+
DeleteContactDataRequest.struct_class = Types::DeleteContactDataRequest
|
|
4068
|
+
|
|
4069
|
+
DeleteContactDataResponse.struct_class = Types::DeleteContactDataResponse
|
|
4070
|
+
|
|
4024
4071
|
DeleteContactEvaluationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
|
4025
4072
|
DeleteContactEvaluationRequest.add_member(:evaluation_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "EvaluationId"))
|
|
4026
4073
|
DeleteContactEvaluationRequest.struct_class = Types::DeleteContactEvaluationRequest
|
|
@@ -4141,6 +4188,12 @@ module Aws::Connect
|
|
|
4141
4188
|
DeleteSecurityProfileRequest.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, required: true, location: "uri", location_name: "SecurityProfileId"))
|
|
4142
4189
|
DeleteSecurityProfileRequest.struct_class = Types::DeleteSecurityProfileRequest
|
|
4143
4190
|
|
|
4191
|
+
DeleteSessionRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
|
4192
|
+
DeleteSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "SessionId"))
|
|
4193
|
+
DeleteSessionRequest.struct_class = Types::DeleteSessionRequest
|
|
4194
|
+
|
|
4195
|
+
DeleteSessionResponse.struct_class = Types::DeleteSessionResponse
|
|
4196
|
+
|
|
4144
4197
|
DeleteTaskTemplateRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
|
4145
4198
|
DeleteTaskTemplateRequest.add_member(:task_template_id, Shapes::ShapeRef.new(shape: TaskTemplateId, required: true, location: "uri", location_name: "TaskTemplateId"))
|
|
4146
4199
|
DeleteTaskTemplateRequest.struct_class = Types::DeleteTaskTemplateRequest
|
|
@@ -5452,10 +5505,10 @@ module Aws::Connect
|
|
|
5452
5505
|
GetFederationTokenRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
|
5453
5506
|
GetFederationTokenRequest.struct_class = Types::GetFederationTokenRequest
|
|
5454
5507
|
|
|
5508
|
+
GetFederationTokenResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: AgentResourceId, location_name: "UserId"))
|
|
5509
|
+
GetFederationTokenResponse.add_member(:user_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "UserArn"))
|
|
5455
5510
|
GetFederationTokenResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
|
|
5456
5511
|
GetFederationTokenResponse.add_member(:sign_in_url, Shapes::ShapeRef.new(shape: Url, location_name: "SignInUrl"))
|
|
5457
|
-
GetFederationTokenResponse.add_member(:user_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "UserArn"))
|
|
5458
|
-
GetFederationTokenResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: AgentResourceId, location_name: "UserId"))
|
|
5459
5512
|
GetFederationTokenResponse.struct_class = Types::GetFederationTokenResponse
|
|
5460
5513
|
|
|
5461
5514
|
GetFlowAssociationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
|
@@ -10205,6 +10258,20 @@ module Aws::Connect
|
|
|
10205
10258
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
10206
10259
|
end)
|
|
10207
10260
|
|
|
10261
|
+
api.add_operation(:create_auth_code, Seahorse::Model::Operation.new.tap do |o|
|
|
10262
|
+
o.name = "CreateAuthCode"
|
|
10263
|
+
o.http_method = "POST"
|
|
10264
|
+
o.http_request_uri = "/auth/code/{InstanceId}"
|
|
10265
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAuthCodeRequest)
|
|
10266
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAuthCodeResponse)
|
|
10267
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
10268
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
10269
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
10270
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
10271
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
10272
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
10273
|
+
end)
|
|
10274
|
+
|
|
10208
10275
|
api.add_operation(:create_contact, Seahorse::Model::Operation.new.tap do |o|
|
|
10209
10276
|
o.name = "CreateContact"
|
|
10210
10277
|
o.http_method = "PUT"
|
|
@@ -10787,6 +10854,20 @@ module Aws::Connect
|
|
|
10787
10854
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
10788
10855
|
end)
|
|
10789
10856
|
|
|
10857
|
+
api.add_operation(:delete_contact_data, Seahorse::Model::Operation.new.tap do |o|
|
|
10858
|
+
o.name = "DeleteContactData"
|
|
10859
|
+
o.http_method = "POST"
|
|
10860
|
+
o.http_request_uri = "/contact/delete/{InstanceId}/{ContactId}"
|
|
10861
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteContactDataRequest)
|
|
10862
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteContactDataResponse)
|
|
10863
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
10864
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
10865
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
10866
|
+
o.errors << Shapes::ShapeRef.new(shape: ContactNotTerminatedException)
|
|
10867
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
10868
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
10869
|
+
end)
|
|
10870
|
+
|
|
10790
10871
|
api.add_operation(:delete_contact_evaluation, Seahorse::Model::Operation.new.tap do |o|
|
|
10791
10872
|
o.name = "DeleteContactEvaluation"
|
|
10792
10873
|
o.http_method = "DELETE"
|
|
@@ -11100,6 +11181,20 @@ module Aws::Connect
|
|
|
11100
11181
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
11101
11182
|
end)
|
|
11102
11183
|
|
|
11184
|
+
api.add_operation(:delete_session, Seahorse::Model::Operation.new.tap do |o|
|
|
11185
|
+
o.name = "DeleteSession"
|
|
11186
|
+
o.http_method = "DELETE"
|
|
11187
|
+
o.http_request_uri = "/auth/sessions/{InstanceId}/{SessionId}"
|
|
11188
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSessionRequest)
|
|
11189
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSessionResponse)
|
|
11190
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
11191
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
11192
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
11193
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
11194
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
11195
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
11196
|
+
end)
|
|
11197
|
+
|
|
11103
11198
|
api.add_operation(:delete_task_template, Seahorse::Model::Operation.new.tap do |o|
|
|
11104
11199
|
o.name = "DeleteTaskTemplate"
|
|
11105
11200
|
o.http_method = "DELETE"
|
|
@@ -12102,6 +12197,7 @@ module Aws::Connect
|
|
|
12102
12197
|
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
|
|
12103
12198
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
12104
12199
|
o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
|
|
12200
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
12105
12201
|
end)
|
|
12106
12202
|
|
|
12107
12203
|
api.add_operation(:get_flow_association, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -32,6 +32,7 @@ module Aws::Connect
|
|
|
32
32
|
# * {ConflictException}
|
|
33
33
|
# * {ContactFlowNotPublishedException}
|
|
34
34
|
# * {ContactNotFoundException}
|
|
35
|
+
# * {ContactNotTerminatedException}
|
|
35
36
|
# * {DestinationNotAllowedException}
|
|
36
37
|
# * {DuplicateResourceException}
|
|
37
38
|
# * {IdempotencyException}
|
|
@@ -137,6 +138,21 @@ module Aws::Connect
|
|
|
137
138
|
end
|
|
138
139
|
end
|
|
139
140
|
|
|
141
|
+
class ContactNotTerminatedException < ServiceError
|
|
142
|
+
|
|
143
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
144
|
+
# @param [String] message
|
|
145
|
+
# @param [Aws::Connect::Types::ContactNotTerminatedException] data
|
|
146
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
147
|
+
super(context, message, data)
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# @return [String]
|
|
151
|
+
def message
|
|
152
|
+
@message || @data[:message]
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
140
156
|
class DestinationNotAllowedException < ServiceError
|
|
141
157
|
|
|
142
158
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -2103,6 +2103,37 @@ module Aws::Connect
|
|
|
2103
2103
|
include Aws::Structure
|
|
2104
2104
|
end
|
|
2105
2105
|
|
|
2106
|
+
# Contains the scope configuration for an authorization code. Defines
|
|
2107
|
+
# the permissions and access boundaries for the session.
|
|
2108
|
+
#
|
|
2109
|
+
# @!attribute [rw] security_profile_ids
|
|
2110
|
+
# The list of security profile identifiers to scope the session to.
|
|
2111
|
+
# Maximum of 10 security profiles.
|
|
2112
|
+
# @return [Array<String>]
|
|
2113
|
+
#
|
|
2114
|
+
# @!attribute [rw] entity_type
|
|
2115
|
+
# The type of entity to scope the session to.
|
|
2116
|
+
# @return [String]
|
|
2117
|
+
#
|
|
2118
|
+
# @!attribute [rw] entity_id
|
|
2119
|
+
# The identifier of the entity to scope the session to.
|
|
2120
|
+
# @return [String]
|
|
2121
|
+
#
|
|
2122
|
+
# @!attribute [rw] domain_name
|
|
2123
|
+
# The name of the Customer Profiles domain to scope the session to.
|
|
2124
|
+
# @return [String]
|
|
2125
|
+
#
|
|
2126
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AuthScope AWS API Documentation
|
|
2127
|
+
#
|
|
2128
|
+
class AuthScope < Struct.new(
|
|
2129
|
+
:security_profile_ids,
|
|
2130
|
+
:entity_type,
|
|
2131
|
+
:entity_id,
|
|
2132
|
+
:domain_name)
|
|
2133
|
+
SENSITIVE = []
|
|
2134
|
+
include Aws::Structure
|
|
2135
|
+
end
|
|
2136
|
+
|
|
2106
2137
|
# This API is in preview release for Connect Customer and is subject to
|
|
2107
2138
|
# change. To request access to this API, contact Amazon Web Services
|
|
2108
2139
|
# Support.
|
|
@@ -4891,6 +4922,21 @@ module Aws::Connect
|
|
|
4891
4922
|
include Aws::Structure
|
|
4892
4923
|
end
|
|
4893
4924
|
|
|
4925
|
+
# The contact has not been disconnected and is not in a terminated
|
|
4926
|
+
# state. PII can be deleted only from a contact that has been
|
|
4927
|
+
# disconnected. This error is returned with an HTTP 409 status code.
|
|
4928
|
+
#
|
|
4929
|
+
# @!attribute [rw] message
|
|
4930
|
+
# @return [String]
|
|
4931
|
+
#
|
|
4932
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ContactNotTerminatedException AWS API Documentation
|
|
4933
|
+
#
|
|
4934
|
+
class ContactNotTerminatedException < Struct.new(
|
|
4935
|
+
:message)
|
|
4936
|
+
SENSITIVE = []
|
|
4937
|
+
include Aws::Structure
|
|
4938
|
+
end
|
|
4939
|
+
|
|
4894
4940
|
# Information of returned contact.
|
|
4895
4941
|
#
|
|
4896
4942
|
# @!attribute [rw] arn
|
|
@@ -5375,6 +5421,70 @@ module Aws::Connect
|
|
|
5375
5421
|
include Aws::Structure
|
|
5376
5422
|
end
|
|
5377
5423
|
|
|
5424
|
+
# @!attribute [rw] instance_id
|
|
5425
|
+
# The identifier of the Connect Customer instance. You can [find the
|
|
5426
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
|
5427
|
+
#
|
|
5428
|
+
#
|
|
5429
|
+
#
|
|
5430
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
|
5431
|
+
# @return [String]
|
|
5432
|
+
#
|
|
5433
|
+
# @!attribute [rw] scope
|
|
5434
|
+
# The scope for the authorization code. Defines the permissions and
|
|
5435
|
+
# access boundaries for the session.
|
|
5436
|
+
# @return [Types::AuthScope]
|
|
5437
|
+
#
|
|
5438
|
+
# @!attribute [rw] max_session_duration_minutes
|
|
5439
|
+
# The maximum duration of the session, in minutes. Minimum value of
|
|
5440
|
+
# 1440 (24 hours). Maximum value of 43200 (30 days). If no value is
|
|
5441
|
+
# provided, the session will expire after 400 days.
|
|
5442
|
+
# @return [Integer]
|
|
5443
|
+
#
|
|
5444
|
+
# @!attribute [rw] session_inactivity_duration_minutes
|
|
5445
|
+
# The duration of inactivity, in minutes, after which the session
|
|
5446
|
+
# expires. Minimum value of 1440 (24 hours). Maximum value of 20160
|
|
5447
|
+
# (14 days).
|
|
5448
|
+
# @return [Integer]
|
|
5449
|
+
#
|
|
5450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateAuthCodeRequest AWS API Documentation
|
|
5451
|
+
#
|
|
5452
|
+
class CreateAuthCodeRequest < Struct.new(
|
|
5453
|
+
:instance_id,
|
|
5454
|
+
:scope,
|
|
5455
|
+
:max_session_duration_minutes,
|
|
5456
|
+
:session_inactivity_duration_minutes)
|
|
5457
|
+
SENSITIVE = []
|
|
5458
|
+
include Aws::Structure
|
|
5459
|
+
end
|
|
5460
|
+
|
|
5461
|
+
# @!attribute [rw] auth_code
|
|
5462
|
+
# The authorization code to use for establishing a session.
|
|
5463
|
+
# @return [String]
|
|
5464
|
+
#
|
|
5465
|
+
# @!attribute [rw] session_id
|
|
5466
|
+
# The identifier of the session created with the authorization code.
|
|
5467
|
+
# @return [String]
|
|
5468
|
+
#
|
|
5469
|
+
# @!attribute [rw] entity_type
|
|
5470
|
+
# The type of entity associated with the authorization code.
|
|
5471
|
+
# @return [String]
|
|
5472
|
+
#
|
|
5473
|
+
# @!attribute [rw] entity_id
|
|
5474
|
+
# The identifier of the entity associated with the authorization code.
|
|
5475
|
+
# @return [String]
|
|
5476
|
+
#
|
|
5477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateAuthCodeResponse AWS API Documentation
|
|
5478
|
+
#
|
|
5479
|
+
class CreateAuthCodeResponse < Struct.new(
|
|
5480
|
+
:auth_code,
|
|
5481
|
+
:session_id,
|
|
5482
|
+
:entity_type,
|
|
5483
|
+
:entity_id)
|
|
5484
|
+
SENSITIVE = [:auth_code]
|
|
5485
|
+
include Aws::Structure
|
|
5486
|
+
end
|
|
5487
|
+
|
|
5378
5488
|
# The `CreateCase` action definition.
|
|
5379
5489
|
#
|
|
5380
5490
|
# @!attribute [rw] fields
|
|
@@ -9169,6 +9279,41 @@ module Aws::Connect
|
|
|
9169
9279
|
#
|
|
9170
9280
|
class DeleteAttachedFileResponse < Aws::EmptyStructure; end
|
|
9171
9281
|
|
|
9282
|
+
# @!attribute [rw] instance_id
|
|
9283
|
+
# The identifier of the Connect Customer instance. You can [find the
|
|
9284
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
|
9285
|
+
#
|
|
9286
|
+
#
|
|
9287
|
+
#
|
|
9288
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
|
9289
|
+
# @return [String]
|
|
9290
|
+
#
|
|
9291
|
+
# @!attribute [rw] contact_id
|
|
9292
|
+
# The identifier of the contact. PII can be deleted only from a
|
|
9293
|
+
# contact that has been disconnected (is in a terminated state).
|
|
9294
|
+
# @return [String]
|
|
9295
|
+
#
|
|
9296
|
+
# @!attribute [rw] contact_fields
|
|
9297
|
+
# The categories of PII to redact from the contact. Valid values are
|
|
9298
|
+
# `CUSTOMER_ENDPOINT`, `ADDITIONAL_EMAIL_RECIPIENTS`, and
|
|
9299
|
+
# `EMAIL_SUBJECT`. `ADDITIONAL_EMAIL_RECIPIENTS` and `EMAIL_SUBJECT`
|
|
9300
|
+
# are supported only for contacts in the email channel.
|
|
9301
|
+
# @return [Array<String>]
|
|
9302
|
+
#
|
|
9303
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactDataRequest AWS API Documentation
|
|
9304
|
+
#
|
|
9305
|
+
class DeleteContactDataRequest < Struct.new(
|
|
9306
|
+
:instance_id,
|
|
9307
|
+
:contact_id,
|
|
9308
|
+
:contact_fields)
|
|
9309
|
+
SENSITIVE = []
|
|
9310
|
+
include Aws::Structure
|
|
9311
|
+
end
|
|
9312
|
+
|
|
9313
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactDataResponse AWS API Documentation
|
|
9314
|
+
#
|
|
9315
|
+
class DeleteContactDataResponse < Aws::EmptyStructure; end
|
|
9316
|
+
|
|
9172
9317
|
# @!attribute [rw] instance_id
|
|
9173
9318
|
# The identifier of the Connect Customer instance. You can [find the
|
|
9174
9319
|
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
|
@@ -9753,6 +9898,32 @@ module Aws::Connect
|
|
|
9753
9898
|
include Aws::Structure
|
|
9754
9899
|
end
|
|
9755
9900
|
|
|
9901
|
+
# @!attribute [rw] instance_id
|
|
9902
|
+
# The identifier of the Connect Customer instance. You can [find the
|
|
9903
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
|
9904
|
+
#
|
|
9905
|
+
#
|
|
9906
|
+
#
|
|
9907
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
|
9908
|
+
# @return [String]
|
|
9909
|
+
#
|
|
9910
|
+
# @!attribute [rw] session_id
|
|
9911
|
+
# The identifier of the session to delete.
|
|
9912
|
+
# @return [String]
|
|
9913
|
+
#
|
|
9914
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteSessionRequest AWS API Documentation
|
|
9915
|
+
#
|
|
9916
|
+
class DeleteSessionRequest < Struct.new(
|
|
9917
|
+
:instance_id,
|
|
9918
|
+
:session_id)
|
|
9919
|
+
SENSITIVE = []
|
|
9920
|
+
include Aws::Structure
|
|
9921
|
+
end
|
|
9922
|
+
|
|
9923
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteSessionResponse AWS API Documentation
|
|
9924
|
+
#
|
|
9925
|
+
class DeleteSessionResponse < Aws::EmptyStructure; end
|
|
9926
|
+
|
|
9756
9927
|
# @!attribute [rw] instance_id
|
|
9757
9928
|
# The identifier of the Connect Customer instance. You can [find the
|
|
9758
9929
|
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
|
@@ -16002,30 +16173,30 @@ module Aws::Connect
|
|
|
16002
16173
|
include Aws::Structure
|
|
16003
16174
|
end
|
|
16004
16175
|
|
|
16005
|
-
# @!attribute [rw]
|
|
16006
|
-
# The
|
|
16007
|
-
#
|
|
16008
|
-
#
|
|
16009
|
-
# @!attribute [rw] sign_in_url
|
|
16010
|
-
# The URL to sign into the user's instance.
|
|
16176
|
+
# @!attribute [rw] user_id
|
|
16177
|
+
# The identifier for the user. This can be the ID or the ARN of the
|
|
16178
|
+
# user.
|
|
16011
16179
|
# @return [String]
|
|
16012
16180
|
#
|
|
16013
16181
|
# @!attribute [rw] user_arn
|
|
16014
16182
|
# The Amazon Resource Name (ARN) of the user.
|
|
16015
16183
|
# @return [String]
|
|
16016
16184
|
#
|
|
16017
|
-
# @!attribute [rw]
|
|
16018
|
-
# The
|
|
16019
|
-
#
|
|
16185
|
+
# @!attribute [rw] credentials
|
|
16186
|
+
# The credentials to use for federation.
|
|
16187
|
+
# @return [Types::Credentials]
|
|
16188
|
+
#
|
|
16189
|
+
# @!attribute [rw] sign_in_url
|
|
16190
|
+
# The URL to sign into the user's instance.
|
|
16020
16191
|
# @return [String]
|
|
16021
16192
|
#
|
|
16022
16193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationTokenResponse AWS API Documentation
|
|
16023
16194
|
#
|
|
16024
16195
|
class GetFederationTokenResponse < Struct.new(
|
|
16025
|
-
:
|
|
16026
|
-
:sign_in_url,
|
|
16196
|
+
:user_id,
|
|
16027
16197
|
:user_arn,
|
|
16028
|
-
:
|
|
16198
|
+
:credentials,
|
|
16199
|
+
:sign_in_url)
|
|
16029
16200
|
SENSITIVE = [:credentials]
|
|
16030
16201
|
include Aws::Structure
|
|
16031
16202
|
end
|
data/lib/aws-sdk-connect.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -556,6 +556,27 @@ module Aws
|
|
|
556
556
|
) -> _CreateAttachedFileResponseSuccess
|
|
557
557
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAttachedFileResponseSuccess
|
|
558
558
|
|
|
559
|
+
interface _CreateAuthCodeResponseSuccess
|
|
560
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAuthCodeResponse]
|
|
561
|
+
def auth_code: () -> ::String
|
|
562
|
+
def session_id: () -> ::String
|
|
563
|
+
def entity_type: () -> ("CUSTOMER_PROFILE")
|
|
564
|
+
def entity_id: () -> ::String
|
|
565
|
+
end
|
|
566
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#create_auth_code-instance_method
|
|
567
|
+
def create_auth_code: (
|
|
568
|
+
instance_id: ::String,
|
|
569
|
+
scope: {
|
|
570
|
+
security_profile_ids: Array[::String]?,
|
|
571
|
+
entity_type: ("CUSTOMER_PROFILE"),
|
|
572
|
+
entity_id: ::String?,
|
|
573
|
+
domain_name: ::String?
|
|
574
|
+
},
|
|
575
|
+
?max_session_duration_minutes: ::Integer,
|
|
576
|
+
session_inactivity_duration_minutes: ::Integer
|
|
577
|
+
) -> _CreateAuthCodeResponseSuccess
|
|
578
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAuthCodeResponseSuccess
|
|
579
|
+
|
|
559
580
|
interface _CreateContactResponseSuccess
|
|
560
581
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateContactResponse]
|
|
561
582
|
def contact_id: () -> ::String
|
|
@@ -1319,6 +1340,17 @@ module Aws
|
|
|
1319
1340
|
) -> _DeleteAttachedFileResponseSuccess
|
|
1320
1341
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAttachedFileResponseSuccess
|
|
1321
1342
|
|
|
1343
|
+
interface _DeleteContactDataResponseSuccess
|
|
1344
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteContactDataResponse]
|
|
1345
|
+
end
|
|
1346
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#delete_contact_data-instance_method
|
|
1347
|
+
def delete_contact_data: (
|
|
1348
|
+
instance_id: ::String,
|
|
1349
|
+
contact_id: ::String,
|
|
1350
|
+
contact_fields: Array[("CUSTOMER_ENDPOINT" | "ADDITIONAL_EMAIL_RECIPIENTS" | "EMAIL_SUBJECT")]
|
|
1351
|
+
) -> _DeleteContactDataResponseSuccess
|
|
1352
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteContactDataResponseSuccess
|
|
1353
|
+
|
|
1322
1354
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#delete_contact_evaluation-instance_method
|
|
1323
1355
|
def delete_contact_evaluation: (
|
|
1324
1356
|
instance_id: ::String,
|
|
@@ -1518,6 +1550,16 @@ module Aws
|
|
|
1518
1550
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1519
1551
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1520
1552
|
|
|
1553
|
+
interface _DeleteSessionResponseSuccess
|
|
1554
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSessionResponse]
|
|
1555
|
+
end
|
|
1556
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#delete_session-instance_method
|
|
1557
|
+
def delete_session: (
|
|
1558
|
+
instance_id: ::String,
|
|
1559
|
+
session_id: ::String
|
|
1560
|
+
) -> _DeleteSessionResponseSuccess
|
|
1561
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSessionResponseSuccess
|
|
1562
|
+
|
|
1521
1563
|
interface _DeleteTaskTemplateResponseSuccess
|
|
1522
1564
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTaskTemplateResponse]
|
|
1523
1565
|
end
|
|
@@ -2387,10 +2429,10 @@ module Aws
|
|
|
2387
2429
|
|
|
2388
2430
|
interface _GetFederationTokenResponseSuccess
|
|
2389
2431
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetFederationTokenResponse]
|
|
2432
|
+
def user_id: () -> ::String
|
|
2433
|
+
def user_arn: () -> ::String
|
|
2390
2434
|
def credentials: () -> Types::Credentials
|
|
2391
2435
|
def sign_in_url: () -> ::String
|
|
2392
|
-
def user_arn: () -> ::String
|
|
2393
|
-
def user_id: () -> ::String
|
|
2394
2436
|
end
|
|
2395
2437
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#get_federation_token-instance_method
|
|
2396
2438
|
def get_federation_token: (
|
data/sig/errors.rbs
CHANGED
|
@@ -26,6 +26,9 @@ module Aws
|
|
|
26
26
|
class ContactNotFoundException < ::Aws::Errors::ServiceError
|
|
27
27
|
def message: () -> ::String
|
|
28
28
|
end
|
|
29
|
+
class ContactNotTerminatedException < ::Aws::Errors::ServiceError
|
|
30
|
+
def message: () -> ::String
|
|
31
|
+
end
|
|
29
32
|
class DestinationNotAllowedException < ::Aws::Errors::ServiceError
|
|
30
33
|
def message: () -> ::String
|
|
31
34
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -528,6 +528,14 @@ module Aws::Connect
|
|
|
528
528
|
SENSITIVE: []
|
|
529
529
|
end
|
|
530
530
|
|
|
531
|
+
class AuthScope
|
|
532
|
+
attr_accessor security_profile_ids: ::Array[::String]
|
|
533
|
+
attr_accessor entity_type: ("CUSTOMER_PROFILE")
|
|
534
|
+
attr_accessor entity_id: ::String
|
|
535
|
+
attr_accessor domain_name: ::String
|
|
536
|
+
SENSITIVE: []
|
|
537
|
+
end
|
|
538
|
+
|
|
531
539
|
class AuthenticationProfile
|
|
532
540
|
attr_accessor id: ::String
|
|
533
541
|
attr_accessor arn: ::String
|
|
@@ -1192,6 +1200,11 @@ module Aws::Connect
|
|
|
1192
1200
|
SENSITIVE: []
|
|
1193
1201
|
end
|
|
1194
1202
|
|
|
1203
|
+
class ContactNotTerminatedException
|
|
1204
|
+
attr_accessor message: ::String
|
|
1205
|
+
SENSITIVE: []
|
|
1206
|
+
end
|
|
1207
|
+
|
|
1195
1208
|
class ContactSearchSummary
|
|
1196
1209
|
attr_accessor arn: ::String
|
|
1197
1210
|
attr_accessor id: ::String
|
|
@@ -1299,6 +1312,22 @@ module Aws::Connect
|
|
|
1299
1312
|
SENSITIVE: []
|
|
1300
1313
|
end
|
|
1301
1314
|
|
|
1315
|
+
class CreateAuthCodeRequest
|
|
1316
|
+
attr_accessor instance_id: ::String
|
|
1317
|
+
attr_accessor scope: Types::AuthScope
|
|
1318
|
+
attr_accessor max_session_duration_minutes: ::Integer
|
|
1319
|
+
attr_accessor session_inactivity_duration_minutes: ::Integer
|
|
1320
|
+
SENSITIVE: []
|
|
1321
|
+
end
|
|
1322
|
+
|
|
1323
|
+
class CreateAuthCodeResponse
|
|
1324
|
+
attr_accessor auth_code: ::String
|
|
1325
|
+
attr_accessor session_id: ::String
|
|
1326
|
+
attr_accessor entity_type: ("CUSTOMER_PROFILE")
|
|
1327
|
+
attr_accessor entity_id: ::String
|
|
1328
|
+
SENSITIVE: [:auth_code]
|
|
1329
|
+
end
|
|
1330
|
+
|
|
1302
1331
|
class CreateCaseActionDefinition
|
|
1303
1332
|
attr_accessor fields: ::Array[Types::FieldValue]
|
|
1304
1333
|
attr_accessor template_id: ::String
|
|
@@ -2167,6 +2196,16 @@ module Aws::Connect
|
|
|
2167
2196
|
class DeleteAttachedFileResponse < Aws::EmptyStructure
|
|
2168
2197
|
end
|
|
2169
2198
|
|
|
2199
|
+
class DeleteContactDataRequest
|
|
2200
|
+
attr_accessor instance_id: ::String
|
|
2201
|
+
attr_accessor contact_id: ::String
|
|
2202
|
+
attr_accessor contact_fields: ::Array[("CUSTOMER_ENDPOINT" | "ADDITIONAL_EMAIL_RECIPIENTS" | "EMAIL_SUBJECT")]
|
|
2203
|
+
SENSITIVE: []
|
|
2204
|
+
end
|
|
2205
|
+
|
|
2206
|
+
class DeleteContactDataResponse < Aws::EmptyStructure
|
|
2207
|
+
end
|
|
2208
|
+
|
|
2170
2209
|
class DeleteContactEvaluationRequest
|
|
2171
2210
|
attr_accessor instance_id: ::String
|
|
2172
2211
|
attr_accessor evaluation_id: ::String
|
|
@@ -2344,6 +2383,15 @@ module Aws::Connect
|
|
|
2344
2383
|
SENSITIVE: []
|
|
2345
2384
|
end
|
|
2346
2385
|
|
|
2386
|
+
class DeleteSessionRequest
|
|
2387
|
+
attr_accessor instance_id: ::String
|
|
2388
|
+
attr_accessor session_id: ::String
|
|
2389
|
+
SENSITIVE: []
|
|
2390
|
+
end
|
|
2391
|
+
|
|
2392
|
+
class DeleteSessionResponse < Aws::EmptyStructure
|
|
2393
|
+
end
|
|
2394
|
+
|
|
2347
2395
|
class DeleteTaskTemplateRequest
|
|
2348
2396
|
attr_accessor instance_id: ::String
|
|
2349
2397
|
attr_accessor task_template_id: ::String
|
|
@@ -4048,10 +4096,10 @@ module Aws::Connect
|
|
|
4048
4096
|
end
|
|
4049
4097
|
|
|
4050
4098
|
class GetFederationTokenResponse
|
|
4099
|
+
attr_accessor user_id: ::String
|
|
4100
|
+
attr_accessor user_arn: ::String
|
|
4051
4101
|
attr_accessor credentials: Types::Credentials
|
|
4052
4102
|
attr_accessor sign_in_url: ::String
|
|
4053
|
-
attr_accessor user_arn: ::String
|
|
4054
|
-
attr_accessor user_id: ::String
|
|
4055
4103
|
SENSITIVE: [:credentials]
|
|
4056
4104
|
end
|
|
4057
4105
|
|
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.264.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.254.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.254.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|