aws-sdk-connect 1.15.0 → 1.16.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
  SHA1:
3
- metadata.gz: 558d1c9f62eb05c56cfec326701c4d0098773a9e
4
- data.tar.gz: 54b8effa36fd04159fdede6de04e080c6aa51702
3
+ metadata.gz: d2a7f700d5da5d571feb4ab571937de57aad878c
4
+ data.tar.gz: a6d27de0c2c21e34b1c209741c182f1feac7885d
5
5
  SHA512:
6
- metadata.gz: d6f0d85df810c10be5e7f0691947e5e9b9112073f372c2a712438f17b37b5edd36a99732618febf2bf31d934326d3470998f68d17c57a181068b9b9e93b30af0
7
- data.tar.gz: 8805531e06b0220a9cc891e8ee265a70074582005e2a1e9722c3e60be342711d23e261c950ba9eb0de7a9820aab998cf8117a243a9dd1b5cfa6d713078c80ea9
6
+ metadata.gz: be9b709c4d2803e56efed290e2e2f3b4873d4e558f18cf8091218822ac3fe8bf226ace773b067bb6fed88ffadaf04bb7dd1186ff28e81319d4468009de1e526c
7
+ data.tar.gz: fd4f340feed1ef236b215c6a8466fd0bdc37c3a3b9cecaf177f36f4e8c51d2b581f50b4334aabfac2d5f374c544b53d5ab8709bb106d40130e8c7456d417ff96
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-connect/customizations'
42
42
  # @service
43
43
  module Aws::Connect
44
44
 
45
- GEM_VERSION = '1.15.0'
45
+ GEM_VERSION = '1.16.0'
46
46
 
47
47
  end
@@ -1675,7 +1675,7 @@ module Aws::Connect
1675
1675
  params: params,
1676
1676
  config: config)
1677
1677
  context[:gem_name] = 'aws-sdk-connect'
1678
- context[:gem_version] = '1.15.0'
1678
+ context[:gem_version] = '1.16.0'
1679
1679
  Seahorse::Client::Request.new(handlers, context)
1680
1680
  end
1681
1681
 
@@ -143,6 +143,9 @@ module Aws::Connect
143
143
 
144
144
  Channels.member = Shapes::ShapeRef.new(shape: Channel)
145
145
 
146
+ ContactNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
147
+ ContactNotFoundException.struct_class = Types::ContactNotFoundException
148
+
146
149
  CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, required: true, location_name: "Username"))
147
150
  CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password"))
148
151
  CreateUserRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, location_name: "IdentityInfo"))
@@ -206,10 +209,16 @@ module Aws::Connect
206
209
  DescribeUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
207
210
  DescribeUserResponse.struct_class = Types::DescribeUserResponse
208
211
 
212
+ DestinationNotAllowedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
213
+ DestinationNotAllowedException.struct_class = Types::DestinationNotAllowedException
214
+
209
215
  Dimensions.add_member(:queue, Shapes::ShapeRef.new(shape: QueueReference, location_name: "Queue"))
210
216
  Dimensions.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
211
217
  Dimensions.struct_class = Types::Dimensions
212
218
 
219
+ DuplicateResourceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
220
+ DuplicateResourceException.struct_class = Types::DuplicateResourceException
221
+
213
222
  Filters.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
214
223
  Filters.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "Channels"))
215
224
  Filters.struct_class = Types::Filters
@@ -309,6 +318,18 @@ module Aws::Connect
309
318
 
310
319
  HistoricalMetrics.member = Shapes::ShapeRef.new(shape: HistoricalMetric)
311
320
 
321
+ InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
322
+ InternalServiceException.struct_class = Types::InternalServiceException
323
+
324
+ InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
325
+ InvalidParameterException.struct_class = Types::InvalidParameterException
326
+
327
+ InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
328
+ InvalidRequestException.struct_class = Types::InvalidRequestException
329
+
330
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
331
+ LimitExceededException.struct_class = Types::LimitExceededException
332
+
312
333
  ListRoutingProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
313
334
  ListRoutingProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
314
335
  ListRoutingProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -345,12 +366,18 @@ module Aws::Connect
345
366
  ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
346
367
  ListUsersResponse.struct_class = Types::ListUsersResponse
347
368
 
369
+ OutboundContactNotPermittedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
370
+ OutboundContactNotPermittedException.struct_class = Types::OutboundContactNotPermittedException
371
+
348
372
  QueueReference.add_member(:id, Shapes::ShapeRef.new(shape: QueueId, location_name: "Id"))
349
373
  QueueReference.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
350
374
  QueueReference.struct_class = Types::QueueReference
351
375
 
352
376
  Queues.member = Shapes::ShapeRef.new(shape: QueueId)
353
377
 
378
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
379
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
380
+
354
381
  RoutingProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "Id"))
355
382
  RoutingProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
356
383
  RoutingProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
@@ -389,6 +416,9 @@ module Aws::Connect
389
416
  Threshold.add_member(:threshold_value, Shapes::ShapeRef.new(shape: ThresholdValue, location_name: "ThresholdValue", metadata: {"box"=>true}))
390
417
  Threshold.struct_class = Types::Threshold
391
418
 
419
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
420
+ ThrottlingException.struct_class = Types::ThrottlingException
421
+
392
422
  UpdateContactAttributesRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
393
423
  UpdateContactAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
394
424
  UpdateContactAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "Attributes"))
@@ -437,6 +467,9 @@ module Aws::Connect
437
467
  UserIdentityInfo.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email"))
438
468
  UserIdentityInfo.struct_class = Types::UserIdentityInfo
439
469
 
470
+ UserNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
471
+ UserNotFoundException.struct_class = Types::UserNotFoundException
472
+
440
473
  UserPhoneConfig.add_member(:phone_type, Shapes::ShapeRef.new(shape: PhoneType, required: true, location_name: "PhoneType"))
441
474
  UserPhoneConfig.add_member(:auto_accept, Shapes::ShapeRef.new(shape: AutoAccept, location_name: "AutoAccept"))
442
475
  UserPhoneConfig.add_member(:after_contact_work_time_limit, Shapes::ShapeRef.new(shape: AfterContactWorkTimeLimit, location_name: "AfterContactWorkTimeLimit"))
@@ -10,5 +10,181 @@ module Aws::Connect
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class ContactNotFoundException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::Connect::Types::ContactNotFoundException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class DestinationNotAllowedException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::Connect::Types::DestinationNotAllowedException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class DuplicateResourceException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::Connect::Types::DuplicateResourceException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class InternalServiceException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::Connect::Types::InternalServiceException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class InvalidParameterException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::Connect::Types::InvalidParameterException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class InvalidRequestException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::Connect::Types::InvalidRequestException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class LimitExceededException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::Connect::Types::LimitExceededException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class OutboundContactNotPermittedException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::Connect::Types::OutboundContactNotPermittedException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ class ResourceNotFoundException < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::Connect::Types::ResourceNotFoundException] 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
+
155
+ end
156
+
157
+ class ThrottlingException < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::Connect::Types::ThrottlingException] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+
166
+ # @return [String]
167
+ def message
168
+ @message || @data[:message]
169
+ end
170
+
171
+ end
172
+
173
+ class UserNotFoundException < ServiceError
174
+
175
+ # @param [Seahorse::Client::RequestContext] context
176
+ # @param [String] message
177
+ # @param [Aws::Connect::Types::UserNotFoundException] data
178
+ def initialize(context, message, data = Aws::EmptyStructure.new)
179
+ super(context, message, data)
180
+ end
181
+
182
+ # @return [String]
183
+ def message
184
+ @message || @data[:message]
185
+ end
186
+
187
+ end
188
+
13
189
  end
14
190
  end
@@ -8,6 +8,19 @@
8
8
  module Aws::Connect
9
9
  module Types
10
10
 
11
+ # The contact with the specified ID is not active or does not exist.
12
+ #
13
+ # @!attribute [rw] message
14
+ # The message.
15
+ # @return [String]
16
+ #
17
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ContactNotFoundException AWS API Documentation
18
+ #
19
+ class ContactNotFoundException < Struct.new(
20
+ :message)
21
+ include Aws::Structure
22
+ end
23
+
11
24
  # @note When making an API call, you may pass CreateUserRequest
12
25
  # data as a hash:
13
26
  #
@@ -371,6 +384,19 @@ module Aws::Connect
371
384
  include Aws::Structure
372
385
  end
373
386
 
387
+ # Outbound calls to the destination number are not allowed.
388
+ #
389
+ # @!attribute [rw] message
390
+ # The message.
391
+ # @return [String]
392
+ #
393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DestinationNotAllowedException AWS API Documentation
394
+ #
395
+ class DestinationNotAllowedException < Struct.new(
396
+ :message)
397
+ include Aws::Structure
398
+ end
399
+
374
400
  # A `Dimensions` object that includes the Channel and Queue for the
375
401
  # metric.
376
402
  #
@@ -391,6 +417,18 @@ module Aws::Connect
391
417
  include Aws::Structure
392
418
  end
393
419
 
420
+ # A resource with that name already exists.
421
+ #
422
+ # @!attribute [rw] message
423
+ # @return [String]
424
+ #
425
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DuplicateResourceException AWS API Documentation
426
+ #
427
+ class DuplicateResourceException < Struct.new(
428
+ :message)
429
+ include Aws::Structure
430
+ end
431
+
394
432
  # The filter, either channel or queues, to apply to the metric results
395
433
  # retrieved.
396
434
  #
@@ -1221,6 +1259,58 @@ module Aws::Connect
1221
1259
  include Aws::Structure
1222
1260
  end
1223
1261
 
1262
+ # Request processing failed due to an error or failure with the service.
1263
+ #
1264
+ # @!attribute [rw] message
1265
+ # The message.
1266
+ # @return [String]
1267
+ #
1268
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InternalServiceException AWS API Documentation
1269
+ #
1270
+ class InternalServiceException < Struct.new(
1271
+ :message)
1272
+ include Aws::Structure
1273
+ end
1274
+
1275
+ # One or more of the parameters provided to the operation are not valid.
1276
+ #
1277
+ # @!attribute [rw] message
1278
+ # The message.
1279
+ # @return [String]
1280
+ #
1281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InvalidParameterException AWS API Documentation
1282
+ #
1283
+ class InvalidParameterException < Struct.new(
1284
+ :message)
1285
+ include Aws::Structure
1286
+ end
1287
+
1288
+ # The request is not valid.
1289
+ #
1290
+ # @!attribute [rw] message
1291
+ # The message.
1292
+ # @return [String]
1293
+ #
1294
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InvalidRequestException AWS API Documentation
1295
+ #
1296
+ class InvalidRequestException < Struct.new(
1297
+ :message)
1298
+ include Aws::Structure
1299
+ end
1300
+
1301
+ # The allowed limit for the resource has been reached.
1302
+ #
1303
+ # @!attribute [rw] message
1304
+ # The message.
1305
+ # @return [String]
1306
+ #
1307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/LimitExceededException AWS API Documentation
1308
+ #
1309
+ class LimitExceededException < Struct.new(
1310
+ :message)
1311
+ include Aws::Structure
1312
+ end
1313
+
1224
1314
  # @note When making an API call, you may pass ListRoutingProfilesRequest
1225
1315
  # data as a hash:
1226
1316
  #
@@ -1447,6 +1537,19 @@ module Aws::Connect
1447
1537
  include Aws::Structure
1448
1538
  end
1449
1539
 
1540
+ # The contact is not permitted.
1541
+ #
1542
+ # @!attribute [rw] message
1543
+ # The message.
1544
+ # @return [String]
1545
+ #
1546
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/OutboundContactNotPermittedException AWS API Documentation
1547
+ #
1548
+ class OutboundContactNotPermittedException < Struct.new(
1549
+ :message)
1550
+ include Aws::Structure
1551
+ end
1552
+
1450
1553
  # A QueueReference object that contains the the QueueId and ARN for the
1451
1554
  # queue resource for which metrics are returned.
1452
1555
  #
@@ -1466,6 +1569,19 @@ module Aws::Connect
1466
1569
  include Aws::Structure
1467
1570
  end
1468
1571
 
1572
+ # The specified resource was not found.
1573
+ #
1574
+ # @!attribute [rw] message
1575
+ # The message.
1576
+ # @return [String]
1577
+ #
1578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResourceNotFoundException AWS API Documentation
1579
+ #
1580
+ class ResourceNotFoundException < Struct.new(
1581
+ :message)
1582
+ include Aws::Structure
1583
+ end
1584
+
1469
1585
  # A `RoutingProfileSummary` object that contains information about a
1470
1586
  # routing profile, including ARN, Id, and Name.
1471
1587
  #
@@ -1684,6 +1800,18 @@ module Aws::Connect
1684
1800
  include Aws::Structure
1685
1801
  end
1686
1802
 
1803
+ # The throttling limit has been exceeded.
1804
+ #
1805
+ # @!attribute [rw] message
1806
+ # @return [String]
1807
+ #
1808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ThrottlingException AWS API Documentation
1809
+ #
1810
+ class ThrottlingException < Struct.new(
1811
+ :message)
1812
+ include Aws::Structure
1813
+ end
1814
+
1687
1815
  # @note When making an API call, you may pass UpdateContactAttributesRequest
1688
1816
  # data as a hash:
1689
1817
  #
@@ -2019,6 +2147,19 @@ module Aws::Connect
2019
2147
  include Aws::Structure
2020
2148
  end
2021
2149
 
2150
+ # No user with the specified credentials was found in the Amazon Connect
2151
+ # instance.
2152
+ #
2153
+ # @!attribute [rw] message
2154
+ # @return [String]
2155
+ #
2156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserNotFoundException AWS API Documentation
2157
+ #
2158
+ class UserNotFoundException < Struct.new(
2159
+ :message)
2160
+ include Aws::Structure
2161
+ end
2162
+
2022
2163
  # A `UserPhoneConfig` object that contains information about the user
2023
2164
  # phone configuration settings.
2024
2165
  #
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.15.0
4
+ version: 1.16.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement