aws-sdk-connect 1.80.0 → 1.82.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cb425173202eac3ddb96a395134404030f2489da2a5a86163caef1e3da1b5ba
4
- data.tar.gz: 62ead25e081c19d446c8496248bed3e14c56f7374837084eb4c57badbb2fb81f
3
+ metadata.gz: 102baabcb950abd37b9ed1ff5e45b00e01e92c789a89ccc9d00f048ba9f74b36
4
+ data.tar.gz: d98b9225fd7609ceb49ef95ce6debc5e09a62042b89fcb51246df1f149636c52
5
5
  SHA512:
6
- metadata.gz: 2ba66fb83fcdf1f4f1d5958a11f13278318ea9fa7ef0333434f545988330a447408b018cda89f1b17703577e8cc3c500dcf0c341d98f9ac52a4d06ed00888e0d
7
- data.tar.gz: 6373bc9fc87f18a3bbe0cb77ac84c1c1299832f0f302275591e4cb76eb47be4ef60ead4473306047f04461ffcda04ef50a1fb1dbb1adb7116c362e5c6b5485a1
6
+ metadata.gz: 773e080faf6b50e7ebea8f532cc0bb8bb2adf1932dcd0e851edc0e108ef19050a6053aadd8360b7273c5858a4e717ac9f4c7d2cdf4f59834a659e4af0d06b63e
7
+ data.tar.gz: 7fbf65434f95d55fd8c81388583a6c840fc1fe2e757163c55f6f85576dc8cd861564e835ce3d04185dca2f551ff64d95bb2544cb2625c022734b50e0d93b1f0e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.82.0 (2022-11-09)
5
+ ------------------
6
+
7
+ * Feature - This release adds new fields SignInUrl, UserArn, and UserId to GetFederationToken response payload.
8
+
9
+ 1.81.0 (2022-10-31)
10
+ ------------------
11
+
12
+ * Feature - Amazon connect now support a new API DismissUserContact to dismiss or remove terminated contacts in Agent CCP
13
+
4
14
  1.80.0 (2022-10-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.80.0
1
+ 1.82.0
@@ -805,6 +805,9 @@ module Aws::Connect
805
805
  # SDK populates this field. For more information about idempotency, see
806
806
  # [Making retries safe with idempotent APIs][1].
807
807
  #
808
+ # Pattern:
809
+ # `^[a-f0-9]\{8\}-[a-f0-9]\{4\}-[a-f0-9]\{4\}-[a-f0-9]\{4\}-[a-f0-9]\{12\}$`
810
+ #
808
811
  # **A suitable default value is auto-generated.** You should normally
809
812
  # not need to pass this option.**
810
813
  #
@@ -3538,6 +3541,44 @@ module Aws::Connect
3538
3541
  req.send_request(options)
3539
3542
  end
3540
3543
 
3544
+ # Dismisses contacts from an agent’s CCP and returns the agent to an
3545
+ # available state, which allows the agent to receive a new routed
3546
+ # contact. Contacts can only be dismissed if they are in a `MISSED`,
3547
+ # `ERROR`, `ENDED`, or `REJECTED` state in the [Agent Event Stream][1].
3548
+ #
3549
+ #
3550
+ #
3551
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html
3552
+ #
3553
+ # @option params [required, String] :user_id
3554
+ # The identifier of the user account.
3555
+ #
3556
+ # @option params [required, String] :instance_id
3557
+ # The identifier of the Amazon Connect instance. You can find the
3558
+ # instanceId in the ARN of the instance.
3559
+ #
3560
+ # @option params [required, String] :contact_id
3561
+ # The identifier of the contact.
3562
+ #
3563
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3564
+ #
3565
+ # @example Request syntax with placeholder values
3566
+ #
3567
+ # resp = client.dismiss_user_contact({
3568
+ # user_id: "UserId", # required
3569
+ # instance_id: "InstanceId", # required
3570
+ # contact_id: "ContactId", # required
3571
+ # })
3572
+ #
3573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DismissUserContact AWS API Documentation
3574
+ #
3575
+ # @overload dismiss_user_contact(params = {})
3576
+ # @param [Hash] params ({})
3577
+ def dismiss_user_contact(params = {}, options = {})
3578
+ req = build_request(:dismiss_user_contact, params)
3579
+ req.send_request(options)
3580
+ end
3581
+
3541
3582
  # Retrieves the contact attributes for the specified contact.
3542
3583
  #
3543
3584
  # @option params [required, String] :instance_id
@@ -3879,6 +3920,9 @@ module Aws::Connect
3879
3920
  # @return [Types::GetFederationTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3880
3921
  #
3881
3922
  # * {Types::GetFederationTokenResponse#credentials #credentials} => Types::Credentials
3923
+ # * {Types::GetFederationTokenResponse#sign_in_url #sign_in_url} => String
3924
+ # * {Types::GetFederationTokenResponse#user_arn #user_arn} => String
3925
+ # * {Types::GetFederationTokenResponse#user_id #user_id} => String
3882
3926
  #
3883
3927
  # @example Request syntax with placeholder values
3884
3928
  #
@@ -3892,6 +3936,9 @@ module Aws::Connect
3892
3936
  # resp.credentials.access_token_expiration #=> Time
3893
3937
  # resp.credentials.refresh_token #=> String
3894
3938
  # resp.credentials.refresh_token_expiration #=> Time
3939
+ # resp.sign_in_url #=> String
3940
+ # resp.user_arn #=> String
3941
+ # resp.user_id #=> String
3895
3942
  #
3896
3943
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationToken AWS API Documentation
3897
3944
  #
@@ -6123,7 +6170,8 @@ module Aws::Connect
6123
6170
  #
6124
6171
  # @option params [required, String] :instance_id
6125
6172
  # The identifier of the Amazon Connect instance. You can find the
6126
- # instanceId in the ARN of the instance.
6173
+ # instanceId in the ARN of the instance. You can provide the
6174
+ # `InstanceId`, or the entire ARN.
6127
6175
  #
6128
6176
  # @option params [required, String] :replica_region
6129
6177
  # The Amazon Web Services Region where to replicate the Amazon Connect
@@ -8795,9 +8843,11 @@ module Aws::Connect
8795
8843
  end
8796
8844
 
8797
8845
  # Updates the traffic distribution for a given traffic distribution
8798
- # group. For more information about updating a traffic distribution
8799
- # group see [Update telephony traffic distribution across Amazon Web
8800
- # Services Regions ][1] in the *Amazon Connect Administrator Guide*.
8846
+ # group.
8847
+ #
8848
+ # For more information about updating a traffic distribution group, see
8849
+ # [Update telephony traffic distribution across Amazon Web Services
8850
+ # Regions ][1] in the *Amazon Connect Administrator Guide*.
8801
8851
  #
8802
8852
  #
8803
8853
  #
@@ -9103,7 +9153,7 @@ module Aws::Connect
9103
9153
  params: params,
9104
9154
  config: config)
9105
9155
  context[:gem_name] = 'aws-sdk-connect'
9106
- context[:gem_version] = '1.80.0'
9156
+ context[:gem_version] = '1.82.0'
9107
9157
  Seahorse::Client::Request.new(handlers, context)
9108
9158
  end
9109
9159
 
@@ -224,6 +224,8 @@ module Aws::Connect
224
224
  DisassociateQueueQuickConnectsRequest = Shapes::StructureShape.new(name: 'DisassociateQueueQuickConnectsRequest')
225
225
  DisassociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'DisassociateRoutingProfileQueuesRequest')
226
226
  DisassociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'DisassociateSecurityKeyRequest')
227
+ DismissUserContactRequest = Shapes::StructureShape.new(name: 'DismissUserContactRequest')
228
+ DismissUserContactResponse = Shapes::StructureShape.new(name: 'DismissUserContactResponse')
227
229
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
228
230
  Distribution = Shapes::StructureShape.new(name: 'Distribution')
229
231
  DistributionList = Shapes::ListShape.new(name: 'DistributionList')
@@ -669,6 +671,7 @@ module Aws::Connect
669
671
  UpdateUserPhoneConfigRequest = Shapes::StructureShape.new(name: 'UpdateUserPhoneConfigRequest')
670
672
  UpdateUserRoutingProfileRequest = Shapes::StructureShape.new(name: 'UpdateUserRoutingProfileRequest')
671
673
  UpdateUserSecurityProfilesRequest = Shapes::StructureShape.new(name: 'UpdateUserSecurityProfilesRequest')
674
+ Url = Shapes::StringShape.new(name: 'Url')
672
675
  UrlReference = Shapes::StructureShape.new(name: 'UrlReference')
673
676
  UseCase = Shapes::StructureShape.new(name: 'UseCase')
674
677
  UseCaseId = Shapes::StringShape.new(name: 'UseCaseId')
@@ -1403,6 +1406,13 @@ module Aws::Connect
1403
1406
  DisassociateSecurityKeyRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
1404
1407
  DisassociateSecurityKeyRequest.struct_class = Types::DisassociateSecurityKeyRequest
1405
1408
 
1409
+ DismissUserContactRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
1410
+ DismissUserContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1411
+ DismissUserContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
1412
+ DismissUserContactRequest.struct_class = Types::DismissUserContactRequest
1413
+
1414
+ DismissUserContactResponse.struct_class = Types::DismissUserContactResponse
1415
+
1406
1416
  Distribution.add_member(:region, Shapes::ShapeRef.new(shape: AwsRegion, required: true, location_name: "Region"))
1407
1417
  Distribution.add_member(:percentage, Shapes::ShapeRef.new(shape: Percentage, required: true, location_name: "Percentage"))
1408
1418
  Distribution.struct_class = Types::Distribution
@@ -1460,6 +1470,9 @@ module Aws::Connect
1460
1470
  GetFederationTokenRequest.struct_class = Types::GetFederationTokenRequest
1461
1471
 
1462
1472
  GetFederationTokenResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
1473
+ GetFederationTokenResponse.add_member(:sign_in_url, Shapes::ShapeRef.new(shape: Url, location_name: "SignInUrl"))
1474
+ GetFederationTokenResponse.add_member(:user_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "UserArn"))
1475
+ GetFederationTokenResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: AgentResourceId, location_name: "UserId"))
1463
1476
  GetFederationTokenResponse.struct_class = Types::GetFederationTokenResponse
1464
1477
 
1465
1478
  GetMetricDataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -3901,6 +3914,20 @@ module Aws::Connect
3901
3914
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3902
3915
  end)
3903
3916
 
3917
+ api.add_operation(:dismiss_user_contact, Seahorse::Model::Operation.new.tap do |o|
3918
+ o.name = "DismissUserContact"
3919
+ o.http_method = "POST"
3920
+ o.http_request_uri = "/users/{InstanceId}/{UserId}/contact"
3921
+ o.input = Shapes::ShapeRef.new(shape: DismissUserContactRequest)
3922
+ o.output = Shapes::ShapeRef.new(shape: DismissUserContactResponse)
3923
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3924
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3925
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3926
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3927
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3928
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3929
+ end)
3930
+
3904
3931
  api.add_operation(:get_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
3905
3932
  o.name = "GetContactAttributes"
3906
3933
  o.http_method = "GET"
@@ -50,9 +50,6 @@ module Aws::Connect
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -29,82 +29,82 @@ module Aws::Connect
29
29
  # @api private
30
30
  RULES = <<-JSON
31
31
  eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6O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G9lcyBub3Qgc3VwcG9ydCBGSVBTIiwi
93
+ dHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOlt7ImZuIjoiYm9vbGVh
94
+ bkVxdWFscyIsImFyZ3YiOlt7InJlZiI6IlVzZUR1YWxTdGFjayJ9LHRydWVd
95
+ fV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZu
96
+ IjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVlLHsiZm4iOiJnZXRBdHRy
97
+ IiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0In0sInN1cHBvcnRz
98
+ RHVhbFN0YWNrIl19XX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25k
99
+ aXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9jb25uZWN0
100
+ LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4
101
+ fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRw
102
+ b2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sg
103
+ aXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9y
104
+ dCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6
105
+ W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vY29ubmVjdC57UmVnaW9u
106
+ fS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7
107
+ fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
108
108
 
109
109
  JSON
110
110
  end
@@ -949,6 +949,20 @@ module Aws::Connect
949
949
  end
950
950
  end
951
951
 
952
+ class DismissUserContact
953
+ def self.build(context)
954
+ unless context.config.regional_endpoint
955
+ endpoint = context.config.endpoint.to_s
956
+ end
957
+ Aws::Connect::EndpointParameters.new(
958
+ region: context.config.region,
959
+ use_dual_stack: context.config.use_dualstack_endpoint,
960
+ use_fips: context.config.use_fips_endpoint,
961
+ endpoint: endpoint,
962
+ )
963
+ end
964
+ end
965
+
952
966
  class GetContactAttributes
953
967
  def self.build(context)
954
968
  unless context.config.regional_endpoint
@@ -190,6 +190,8 @@ module Aws::Connect
190
190
  Aws::Connect::Endpoints::DisassociateRoutingProfileQueues.build(context)
191
191
  when :disassociate_security_key
192
192
  Aws::Connect::Endpoints::DisassociateSecurityKey.build(context)
193
+ when :dismiss_user_contact
194
+ Aws::Connect::Endpoints::DismissUserContact.build(context)
193
195
  when :get_contact_attributes
194
196
  Aws::Connect::Endpoints::GetContactAttributes.build(context)
195
197
  when :get_current_metric_data
@@ -758,6 +758,9 @@ module Aws::Connect
758
758
  # SDK populates this field. For more information about idempotency,
759
759
  # see [Making retries safe with idempotent APIs][1].
760
760
  #
761
+ # Pattern:
762
+ # `^[a-f0-9]\{8\}-[a-f0-9]\{4\}-[a-f0-9]\{4\}-[a-f0-9]\{4\}-[a-f0-9]\{12\}$`
763
+ #
761
764
  # **A suitable default value is auto-generated.** You should normally
762
765
  # not need to pass this option.
763
766
  #
@@ -4133,6 +4136,42 @@ module Aws::Connect
4133
4136
  include Aws::Structure
4134
4137
  end
4135
4138
 
4139
+ # @note When making an API call, you may pass DismissUserContactRequest
4140
+ # data as a hash:
4141
+ #
4142
+ # {
4143
+ # user_id: "UserId", # required
4144
+ # instance_id: "InstanceId", # required
4145
+ # contact_id: "ContactId", # required
4146
+ # }
4147
+ #
4148
+ # @!attribute [rw] user_id
4149
+ # The identifier of the user account.
4150
+ # @return [String]
4151
+ #
4152
+ # @!attribute [rw] instance_id
4153
+ # The identifier of the Amazon Connect instance. You can find the
4154
+ # instanceId in the ARN of the instance.
4155
+ # @return [String]
4156
+ #
4157
+ # @!attribute [rw] contact_id
4158
+ # The identifier of the contact.
4159
+ # @return [String]
4160
+ #
4161
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DismissUserContactRequest AWS API Documentation
4162
+ #
4163
+ class DismissUserContactRequest < Struct.new(
4164
+ :user_id,
4165
+ :instance_id,
4166
+ :contact_id)
4167
+ SENSITIVE = []
4168
+ include Aws::Structure
4169
+ end
4170
+
4171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DismissUserContactResponse AWS API Documentation
4172
+ #
4173
+ class DismissUserContactResponse < Aws::EmptyStructure; end
4174
+
4136
4175
  # Information about a traffic distribution.
4137
4176
  #
4138
4177
  # @note When making an API call, you may pass Distribution
@@ -4594,10 +4633,25 @@ module Aws::Connect
4594
4633
  # The credentials to use for federation.
4595
4634
  # @return [Types::Credentials]
4596
4635
  #
4636
+ # @!attribute [rw] sign_in_url
4637
+ # The URL to sign into the user's instance.
4638
+ # @return [String]
4639
+ #
4640
+ # @!attribute [rw] user_arn
4641
+ # The Amazon Resource Name (ARN) of the user.
4642
+ # @return [String]
4643
+ #
4644
+ # @!attribute [rw] user_id
4645
+ # The identifier for the user.
4646
+ # @return [String]
4647
+ #
4597
4648
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationTokenResponse AWS API Documentation
4598
4649
  #
4599
4650
  class GetFederationTokenResponse < Struct.new(
4600
- :credentials)
4651
+ :credentials,
4652
+ :sign_in_url,
4653
+ :user_arn,
4654
+ :user_id)
4601
4655
  SENSITIVE = []
4602
4656
  include Aws::Structure
4603
4657
  end
@@ -8821,7 +8875,8 @@ module Aws::Connect
8821
8875
  #
8822
8876
  # @!attribute [rw] instance_id
8823
8877
  # The identifier of the Amazon Connect instance. You can find the
8824
- # instanceId in the ARN of the instance.
8878
+ # instanceId in the ARN of the instance. You can provide the
8879
+ # `InstanceId`, or the entire ARN.
8825
8880
  # @return [String]
8826
8881
  #
8827
8882
  # @!attribute [rw] replica_region
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connect/customizations'
52
52
  # @!group service
53
53
  module Aws::Connect
54
54
 
55
- GEM_VERSION = '1.80.0'
55
+ GEM_VERSION = '1.82.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.80.0
4
+ version: 1.82.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core