aws-sdk-connect 1.35.0 → 1.36.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.
@@ -37,8 +37,10 @@ module Aws::Connect
37
37
  # * {InvalidRequestException}
38
38
  # * {LimitExceededException}
39
39
  # * {OutboundContactNotPermittedException}
40
+ # * {ResourceConflictException}
40
41
  # * {ResourceInUseException}
41
42
  # * {ResourceNotFoundException}
43
+ # * {ServiceQuotaExceededException}
42
44
  # * {ThrottlingException}
43
45
  # * {UserNotFoundException}
44
46
  #
@@ -198,6 +200,21 @@ module Aws::Connect
198
200
  end
199
201
  end
200
202
 
203
+ class ResourceConflictException < ServiceError
204
+
205
+ # @param [Seahorse::Client::RequestContext] context
206
+ # @param [String] message
207
+ # @param [Aws::Connect::Types::ResourceConflictException] data
208
+ def initialize(context, message, data = Aws::EmptyStructure.new)
209
+ super(context, message, data)
210
+ end
211
+
212
+ # @return [String]
213
+ def message
214
+ @message || @data[:message]
215
+ end
216
+ end
217
+
201
218
  class ResourceInUseException < ServiceError
202
219
 
203
220
  # @param [Seahorse::Client::RequestContext] context
@@ -238,6 +255,21 @@ module Aws::Connect
238
255
  end
239
256
  end
240
257
 
258
+ class ServiceQuotaExceededException < ServiceError
259
+
260
+ # @param [Seahorse::Client::RequestContext] context
261
+ # @param [String] message
262
+ # @param [Aws::Connect::Types::ServiceQuotaExceededException] data
263
+ def initialize(context, message, data = Aws::EmptyStructure.new)
264
+ super(context, message, data)
265
+ end
266
+
267
+ # @return [String]
268
+ def message
269
+ @message || @data[:message]
270
+ end
271
+ end
272
+
241
273
  class ThrottlingException < ServiceError
242
274
 
243
275
  # @param [Seahorse::Client::RequestContext] context
@@ -10,6 +10,154 @@
10
10
  module Aws::Connect
11
11
  module Types
12
12
 
13
+ # @note When making an API call, you may pass AssociateApprovedOriginRequest
14
+ # data as a hash:
15
+ #
16
+ # {
17
+ # instance_id: "InstanceId", # required
18
+ # origin: "Origin", # required
19
+ # }
20
+ #
21
+ # @!attribute [rw] instance_id
22
+ # The identifier of the Amazon Connect instance.
23
+ # @return [String]
24
+ #
25
+ # @!attribute [rw] origin
26
+ # The domain to add to your allow list.
27
+ # @return [String]
28
+ #
29
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateApprovedOriginRequest AWS API Documentation
30
+ #
31
+ class AssociateApprovedOriginRequest < Struct.new(
32
+ :instance_id,
33
+ :origin)
34
+ SENSITIVE = []
35
+ include Aws::Structure
36
+ end
37
+
38
+ # @note When making an API call, you may pass AssociateInstanceStorageConfigRequest
39
+ # data as a hash:
40
+ #
41
+ # {
42
+ # instance_id: "InstanceId", # required
43
+ # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
44
+ # storage_config: { # required
45
+ # association_id: "AssociationId",
46
+ # storage_type: "S3", # required, accepts S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM, KINESIS_FIREHOSE
47
+ # s3_config: {
48
+ # bucket_name: "BucketName", # required
49
+ # bucket_prefix: "Prefix", # required
50
+ # encryption_config: {
51
+ # encryption_type: "KMS", # required, accepts KMS
52
+ # key_id: "KeyId", # required
53
+ # },
54
+ # },
55
+ # kinesis_video_stream_config: {
56
+ # prefix: "Prefix", # required
57
+ # retention_period_hours: 1, # required
58
+ # encryption_config: { # required
59
+ # encryption_type: "KMS", # required, accepts KMS
60
+ # key_id: "KeyId", # required
61
+ # },
62
+ # },
63
+ # kinesis_stream_config: {
64
+ # stream_arn: "ARN", # required
65
+ # },
66
+ # kinesis_firehose_config: {
67
+ # firehose_arn: "ARN", # required
68
+ # },
69
+ # },
70
+ # }
71
+ #
72
+ # @!attribute [rw] instance_id
73
+ # The identifier of the Amazon Connect instance.
74
+ # @return [String]
75
+ #
76
+ # @!attribute [rw] resource_type
77
+ # A valid resource type.
78
+ # @return [String]
79
+ #
80
+ # @!attribute [rw] storage_config
81
+ # A valid storage type.
82
+ # @return [Types::InstanceStorageConfig]
83
+ #
84
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateInstanceStorageConfigRequest AWS API Documentation
85
+ #
86
+ class AssociateInstanceStorageConfigRequest < Struct.new(
87
+ :instance_id,
88
+ :resource_type,
89
+ :storage_config)
90
+ SENSITIVE = []
91
+ include Aws::Structure
92
+ end
93
+
94
+ # @!attribute [rw] association_id
95
+ # The existing association identifier that uniquely identifies the
96
+ # resource type and storage config for the given instance ID.
97
+ # @return [String]
98
+ #
99
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateInstanceStorageConfigResponse AWS API Documentation
100
+ #
101
+ class AssociateInstanceStorageConfigResponse < Struct.new(
102
+ :association_id)
103
+ SENSITIVE = []
104
+ include Aws::Structure
105
+ end
106
+
107
+ # @note When making an API call, you may pass AssociateLambdaFunctionRequest
108
+ # data as a hash:
109
+ #
110
+ # {
111
+ # instance_id: "InstanceId", # required
112
+ # function_arn: "FunctionArn", # required
113
+ # }
114
+ #
115
+ # @!attribute [rw] instance_id
116
+ # The identifier of the Amazon Connect instance.
117
+ # @return [String]
118
+ #
119
+ # @!attribute [rw] function_arn
120
+ # The Amazon Resource Name (ARN) for the Lambda function being
121
+ # associated. Maximum number of characters allowed is 140.
122
+ # @return [String]
123
+ #
124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateLambdaFunctionRequest AWS API Documentation
125
+ #
126
+ class AssociateLambdaFunctionRequest < Struct.new(
127
+ :instance_id,
128
+ :function_arn)
129
+ SENSITIVE = []
130
+ include Aws::Structure
131
+ end
132
+
133
+ # @note When making an API call, you may pass AssociateLexBotRequest
134
+ # data as a hash:
135
+ #
136
+ # {
137
+ # instance_id: "InstanceId", # required
138
+ # lex_bot: { # required
139
+ # name: "BotName",
140
+ # lex_region: "LexRegion",
141
+ # },
142
+ # }
143
+ #
144
+ # @!attribute [rw] instance_id
145
+ # The identifier of the Amazon Connect instance.
146
+ # @return [String]
147
+ #
148
+ # @!attribute [rw] lex_bot
149
+ # The Amazon Lex box to associate with the instance.
150
+ # @return [Types::LexBot]
151
+ #
152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateLexBotRequest AWS API Documentation
153
+ #
154
+ class AssociateLexBotRequest < Struct.new(
155
+ :instance_id,
156
+ :lex_bot)
157
+ SENSITIVE = []
158
+ include Aws::Structure
159
+ end
160
+
13
161
  # @note When making an API call, you may pass AssociateRoutingProfileQueuesRequest
14
162
  # data as a hash:
15
163
  #
@@ -50,6 +198,63 @@ module Aws::Connect
50
198
  include Aws::Structure
51
199
  end
52
200
 
201
+ # @note When making an API call, you may pass AssociateSecurityKeyRequest
202
+ # data as a hash:
203
+ #
204
+ # {
205
+ # instance_id: "InstanceId", # required
206
+ # key: "PEM", # required
207
+ # }
208
+ #
209
+ # @!attribute [rw] instance_id
210
+ # The identifier of the Amazon Connect instance.
211
+ # @return [String]
212
+ #
213
+ # @!attribute [rw] key
214
+ # A valid security key in PEM format.
215
+ # @return [String]
216
+ #
217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateSecurityKeyRequest AWS API Documentation
218
+ #
219
+ class AssociateSecurityKeyRequest < Struct.new(
220
+ :instance_id,
221
+ :key)
222
+ SENSITIVE = []
223
+ include Aws::Structure
224
+ end
225
+
226
+ # @!attribute [rw] association_id
227
+ # The existing association identifier that uniquely identifies the
228
+ # resource type and storage config for the given instance ID.
229
+ # @return [String]
230
+ #
231
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateSecurityKeyResponse AWS API Documentation
232
+ #
233
+ class AssociateSecurityKeyResponse < Struct.new(
234
+ :association_id)
235
+ SENSITIVE = []
236
+ include Aws::Structure
237
+ end
238
+
239
+ # A toggle for an individual feature at the instance level.
240
+ #
241
+ # @!attribute [rw] attribute_type
242
+ # The type of attribute.
243
+ # @return [String]
244
+ #
245
+ # @!attribute [rw] value
246
+ # The value of the attribute.
247
+ # @return [String]
248
+ #
249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Attribute AWS API Documentation
250
+ #
251
+ class Attribute < Struct.new(
252
+ :attribute_type,
253
+ :value)
254
+ SENSITIVE = []
255
+ include Aws::Structure
256
+ end
257
+
53
258
  # A chat message.
54
259
  #
55
260
  # @note When making an API call, you may pass ChatMessage
@@ -264,6 +469,72 @@ module Aws::Connect
264
469
  include Aws::Structure
265
470
  end
266
471
 
472
+ # @note When making an API call, you may pass CreateInstanceRequest
473
+ # data as a hash:
474
+ #
475
+ # {
476
+ # client_token: "ClientToken",
477
+ # identity_management_type: "SAML", # required, accepts SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
478
+ # instance_alias: "DirectoryAlias",
479
+ # directory_id: "DirectoryId",
480
+ # inbound_calls_enabled: false, # required
481
+ # outbound_calls_enabled: false, # required
482
+ # }
483
+ #
484
+ # @!attribute [rw] client_token
485
+ # The idempotency token.
486
+ # @return [String]
487
+ #
488
+ # @!attribute [rw] identity_management_type
489
+ # The type of identity management for your Amazon Connect users.
490
+ # @return [String]
491
+ #
492
+ # @!attribute [rw] instance_alias
493
+ # The name for your instance.
494
+ # @return [String]
495
+ #
496
+ # @!attribute [rw] directory_id
497
+ # The identifier for the directory.
498
+ # @return [String]
499
+ #
500
+ # @!attribute [rw] inbound_calls_enabled
501
+ # Whether your contact center handles incoming contacts.
502
+ # @return [Boolean]
503
+ #
504
+ # @!attribute [rw] outbound_calls_enabled
505
+ # Whether your contact center allows outbound calls.
506
+ # @return [Boolean]
507
+ #
508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateInstanceRequest AWS API Documentation
509
+ #
510
+ class CreateInstanceRequest < Struct.new(
511
+ :client_token,
512
+ :identity_management_type,
513
+ :instance_alias,
514
+ :directory_id,
515
+ :inbound_calls_enabled,
516
+ :outbound_calls_enabled)
517
+ SENSITIVE = [:instance_alias]
518
+ include Aws::Structure
519
+ end
520
+
521
+ # @!attribute [rw] id
522
+ # The identifier for the instance.
523
+ # @return [String]
524
+ #
525
+ # @!attribute [rw] arn
526
+ # The Amazon Resource Name (ARN) of the instance.
527
+ # @return [String]
528
+ #
529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateInstanceResponse AWS API Documentation
530
+ #
531
+ class CreateInstanceResponse < Struct.new(
532
+ :id,
533
+ :arn)
534
+ SENSITIVE = []
535
+ include Aws::Structure
536
+ end
537
+
267
538
  # @note When making an API call, you may pass CreateRoutingProfileRequest
268
539
  # data as a hash:
269
540
  #
@@ -626,6 +897,25 @@ module Aws::Connect
626
897
  include Aws::Structure
627
898
  end
628
899
 
900
+ # @note When making an API call, you may pass DeleteInstanceRequest
901
+ # data as a hash:
902
+ #
903
+ # {
904
+ # instance_id: "InstanceId", # required
905
+ # }
906
+ #
907
+ # @!attribute [rw] instance_id
908
+ # The identifier of the Amazon Connect instance.
909
+ # @return [String]
910
+ #
911
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteInstanceRequest AWS API Documentation
912
+ #
913
+ class DeleteInstanceRequest < Struct.new(
914
+ :instance_id)
915
+ SENSITIVE = []
916
+ include Aws::Structure
917
+ end
918
+
629
919
  # @note When making an API call, you may pass DeleteUserHierarchyGroupRequest
630
920
  # data as a hash:
631
921
  #
@@ -713,6 +1003,118 @@ module Aws::Connect
713
1003
  include Aws::Structure
714
1004
  end
715
1005
 
1006
+ # @note When making an API call, you may pass DescribeInstanceAttributeRequest
1007
+ # data as a hash:
1008
+ #
1009
+ # {
1010
+ # instance_id: "InstanceId", # required
1011
+ # attribute_type: "INBOUND_CALLS", # required, accepts INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS, CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES, EARLY_MEDIA
1012
+ # }
1013
+ #
1014
+ # @!attribute [rw] instance_id
1015
+ # The identifier of the Amazon Connect instance.
1016
+ # @return [String]
1017
+ #
1018
+ # @!attribute [rw] attribute_type
1019
+ # The type of attribute.
1020
+ # @return [String]
1021
+ #
1022
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceAttributeRequest AWS API Documentation
1023
+ #
1024
+ class DescribeInstanceAttributeRequest < Struct.new(
1025
+ :instance_id,
1026
+ :attribute_type)
1027
+ SENSITIVE = []
1028
+ include Aws::Structure
1029
+ end
1030
+
1031
+ # @!attribute [rw] attribute
1032
+ # The type of attribute.
1033
+ # @return [Types::Attribute]
1034
+ #
1035
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceAttributeResponse AWS API Documentation
1036
+ #
1037
+ class DescribeInstanceAttributeResponse < Struct.new(
1038
+ :attribute)
1039
+ SENSITIVE = []
1040
+ include Aws::Structure
1041
+ end
1042
+
1043
+ # @note When making an API call, you may pass DescribeInstanceRequest
1044
+ # data as a hash:
1045
+ #
1046
+ # {
1047
+ # instance_id: "InstanceId", # required
1048
+ # }
1049
+ #
1050
+ # @!attribute [rw] instance_id
1051
+ # The identifier of the Amazon Connect instance.
1052
+ # @return [String]
1053
+ #
1054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceRequest AWS API Documentation
1055
+ #
1056
+ class DescribeInstanceRequest < Struct.new(
1057
+ :instance_id)
1058
+ SENSITIVE = []
1059
+ include Aws::Structure
1060
+ end
1061
+
1062
+ # @!attribute [rw] instance
1063
+ # The name of the instance.
1064
+ # @return [Types::Instance]
1065
+ #
1066
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceResponse AWS API Documentation
1067
+ #
1068
+ class DescribeInstanceResponse < Struct.new(
1069
+ :instance)
1070
+ SENSITIVE = []
1071
+ include Aws::Structure
1072
+ end
1073
+
1074
+ # @note When making an API call, you may pass DescribeInstanceStorageConfigRequest
1075
+ # data as a hash:
1076
+ #
1077
+ # {
1078
+ # instance_id: "InstanceId", # required
1079
+ # association_id: "AssociationId", # required
1080
+ # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
1081
+ # }
1082
+ #
1083
+ # @!attribute [rw] instance_id
1084
+ # The identifier of the Amazon Connect instance.
1085
+ # @return [String]
1086
+ #
1087
+ # @!attribute [rw] association_id
1088
+ # The existing association identifier that uniquely identifies the
1089
+ # resource type and storage config for the given instance ID.
1090
+ # @return [String]
1091
+ #
1092
+ # @!attribute [rw] resource_type
1093
+ # A valid resource type.
1094
+ # @return [String]
1095
+ #
1096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceStorageConfigRequest AWS API Documentation
1097
+ #
1098
+ class DescribeInstanceStorageConfigRequest < Struct.new(
1099
+ :instance_id,
1100
+ :association_id,
1101
+ :resource_type)
1102
+ SENSITIVE = []
1103
+ include Aws::Structure
1104
+ end
1105
+
1106
+ # @!attribute [rw] storage_config
1107
+ # A valid storage type.
1108
+ # @return [Types::InstanceStorageConfig]
1109
+ #
1110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceStorageConfigResponse AWS API Documentation
1111
+ #
1112
+ class DescribeInstanceStorageConfigResponse < Struct.new(
1113
+ :storage_config)
1114
+ SENSITIVE = []
1115
+ include Aws::Structure
1116
+ end
1117
+
716
1118
  # @note When making an API call, you may pass DescribeRoutingProfileRequest
717
1119
  # data as a hash:
718
1120
  #
@@ -888,14 +1290,128 @@ module Aws::Connect
888
1290
  include Aws::Structure
889
1291
  end
890
1292
 
891
- # @note When making an API call, you may pass DisassociateRoutingProfileQueuesRequest
1293
+ # @note When making an API call, you may pass DisassociateApprovedOriginRequest
892
1294
  # data as a hash:
893
1295
  #
894
1296
  # {
895
1297
  # instance_id: "InstanceId", # required
896
- # routing_profile_id: "RoutingProfileId", # required
897
- # queue_references: [ # required
898
- # {
1298
+ # origin: "Origin", # required
1299
+ # }
1300
+ #
1301
+ # @!attribute [rw] instance_id
1302
+ # The identifier of the Amazon Connect instance.
1303
+ # @return [String]
1304
+ #
1305
+ # @!attribute [rw] origin
1306
+ # The domain URL of the integrated application.
1307
+ # @return [String]
1308
+ #
1309
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateApprovedOriginRequest AWS API Documentation
1310
+ #
1311
+ class DisassociateApprovedOriginRequest < Struct.new(
1312
+ :instance_id,
1313
+ :origin)
1314
+ SENSITIVE = []
1315
+ include Aws::Structure
1316
+ end
1317
+
1318
+ # @note When making an API call, you may pass DisassociateInstanceStorageConfigRequest
1319
+ # data as a hash:
1320
+ #
1321
+ # {
1322
+ # instance_id: "InstanceId", # required
1323
+ # association_id: "AssociationId", # required
1324
+ # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
1325
+ # }
1326
+ #
1327
+ # @!attribute [rw] instance_id
1328
+ # The identifier of the Amazon Connect instance.
1329
+ # @return [String]
1330
+ #
1331
+ # @!attribute [rw] association_id
1332
+ # The existing association identifier that uniquely identifies the
1333
+ # resource type and storage config for the given instance ID.
1334
+ # @return [String]
1335
+ #
1336
+ # @!attribute [rw] resource_type
1337
+ # A valid resource type.
1338
+ # @return [String]
1339
+ #
1340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateInstanceStorageConfigRequest AWS API Documentation
1341
+ #
1342
+ class DisassociateInstanceStorageConfigRequest < Struct.new(
1343
+ :instance_id,
1344
+ :association_id,
1345
+ :resource_type)
1346
+ SENSITIVE = []
1347
+ include Aws::Structure
1348
+ end
1349
+
1350
+ # @note When making an API call, you may pass DisassociateLambdaFunctionRequest
1351
+ # data as a hash:
1352
+ #
1353
+ # {
1354
+ # instance_id: "InstanceId", # required
1355
+ # function_arn: "FunctionArn", # required
1356
+ # }
1357
+ #
1358
+ # @!attribute [rw] instance_id
1359
+ # The identifier of the Amazon Connect instance..
1360
+ # @return [String]
1361
+ #
1362
+ # @!attribute [rw] function_arn
1363
+ # The Amazon Resource Name (ARN) of the Lambda function being
1364
+ # disassociated.
1365
+ # @return [String]
1366
+ #
1367
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateLambdaFunctionRequest AWS API Documentation
1368
+ #
1369
+ class DisassociateLambdaFunctionRequest < Struct.new(
1370
+ :instance_id,
1371
+ :function_arn)
1372
+ SENSITIVE = []
1373
+ include Aws::Structure
1374
+ end
1375
+
1376
+ # @note When making an API call, you may pass DisassociateLexBotRequest
1377
+ # data as a hash:
1378
+ #
1379
+ # {
1380
+ # instance_id: "InstanceId", # required
1381
+ # bot_name: "BotName", # required
1382
+ # lex_region: "LexRegion", # required
1383
+ # }
1384
+ #
1385
+ # @!attribute [rw] instance_id
1386
+ # The identifier of the Amazon Connect instance.
1387
+ # @return [String]
1388
+ #
1389
+ # @!attribute [rw] bot_name
1390
+ # The name of the Amazon Lex bot. Maximum character limit of 50.
1391
+ # @return [String]
1392
+ #
1393
+ # @!attribute [rw] lex_region
1394
+ # The Region in which the Amazon Lex bot has been created.
1395
+ # @return [String]
1396
+ #
1397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateLexBotRequest AWS API Documentation
1398
+ #
1399
+ class DisassociateLexBotRequest < Struct.new(
1400
+ :instance_id,
1401
+ :bot_name,
1402
+ :lex_region)
1403
+ SENSITIVE = []
1404
+ include Aws::Structure
1405
+ end
1406
+
1407
+ # @note When making an API call, you may pass DisassociateRoutingProfileQueuesRequest
1408
+ # data as a hash:
1409
+ #
1410
+ # {
1411
+ # instance_id: "InstanceId", # required
1412
+ # routing_profile_id: "RoutingProfileId", # required
1413
+ # queue_references: [ # required
1414
+ # {
899
1415
  # queue_id: "QueueId", # required
900
1416
  # channel: "VOICE", # required, accepts VOICE, CHAT
901
1417
  # },
@@ -924,6 +1440,32 @@ module Aws::Connect
924
1440
  include Aws::Structure
925
1441
  end
926
1442
 
1443
+ # @note When making an API call, you may pass DisassociateSecurityKeyRequest
1444
+ # data as a hash:
1445
+ #
1446
+ # {
1447
+ # instance_id: "InstanceId", # required
1448
+ # association_id: "AssociationId", # required
1449
+ # }
1450
+ #
1451
+ # @!attribute [rw] instance_id
1452
+ # The identifier of the Amazon Connect instance.
1453
+ # @return [String]
1454
+ #
1455
+ # @!attribute [rw] association_id
1456
+ # The existing association identifier that uniquely identifies the
1457
+ # resource type and storage config for the given instance ID.
1458
+ # @return [String]
1459
+ #
1460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateSecurityKeyRequest AWS API Documentation
1461
+ #
1462
+ class DisassociateSecurityKeyRequest < Struct.new(
1463
+ :instance_id,
1464
+ :association_id)
1465
+ SENSITIVE = []
1466
+ include Aws::Structure
1467
+ end
1468
+
927
1469
  # A resource with the specified name already exists.
928
1470
  #
929
1471
  # @!attribute [rw] message
@@ -937,6 +1479,33 @@ module Aws::Connect
937
1479
  include Aws::Structure
938
1480
  end
939
1481
 
1482
+ # The encryption configuration.
1483
+ #
1484
+ # @note When making an API call, you may pass EncryptionConfig
1485
+ # data as a hash:
1486
+ #
1487
+ # {
1488
+ # encryption_type: "KMS", # required, accepts KMS
1489
+ # key_id: "KeyId", # required
1490
+ # }
1491
+ #
1492
+ # @!attribute [rw] encryption_type
1493
+ # The type of encryption.
1494
+ # @return [String]
1495
+ #
1496
+ # @!attribute [rw] key_id
1497
+ # The identifier of the encryption key.
1498
+ # @return [String]
1499
+ #
1500
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EncryptionConfig AWS API Documentation
1501
+ #
1502
+ class EncryptionConfig < Struct.new(
1503
+ :encryption_type,
1504
+ :key_id)
1505
+ SENSITIVE = []
1506
+ include Aws::Structure
1507
+ end
1508
+
940
1509
  # Contains the filter to apply when retrieving metrics.
941
1510
  #
942
1511
  # @note When making an API call, you may pass Filters
@@ -1865,82 +2434,700 @@ module Aws::Connect
1865
2434
  include Aws::Structure
1866
2435
  end
1867
2436
 
1868
- # Request processing failed due to an error or failure with the service.
2437
+ # The Amazon Connect instance.
2438
+ #
2439
+ # @!attribute [rw] id
2440
+ # The identifier of the Amazon Connect instance.
2441
+ # @return [String]
2442
+ #
2443
+ # @!attribute [rw] arn
2444
+ # The Amazon Resource Name (ARN) of the instance.
2445
+ # @return [String]
2446
+ #
2447
+ # @!attribute [rw] identity_management_type
2448
+ # The identity management type.
2449
+ # @return [String]
2450
+ #
2451
+ # @!attribute [rw] instance_alias
2452
+ # The alias of instance.
2453
+ # @return [String]
2454
+ #
2455
+ # @!attribute [rw] created_time
2456
+ # When the instance was created.
2457
+ # @return [Time]
2458
+ #
2459
+ # @!attribute [rw] service_role
2460
+ # The service role of the instance.
2461
+ # @return [String]
2462
+ #
2463
+ # @!attribute [rw] instance_status
2464
+ # The state of the instance.
2465
+ # @return [String]
2466
+ #
2467
+ # @!attribute [rw] status_reason
2468
+ # Relevant details why the instance was not successfully created.
2469
+ # @return [Types::InstanceStatusReason]
2470
+ #
2471
+ # @!attribute [rw] inbound_calls_enabled
2472
+ # Whether inbound calls are enabled.
2473
+ # @return [Boolean]
2474
+ #
2475
+ # @!attribute [rw] outbound_calls_enabled
2476
+ # Whether outbound calls are enabled.
2477
+ # @return [Boolean]
2478
+ #
2479
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Instance AWS API Documentation
2480
+ #
2481
+ class Instance < Struct.new(
2482
+ :id,
2483
+ :arn,
2484
+ :identity_management_type,
2485
+ :instance_alias,
2486
+ :created_time,
2487
+ :service_role,
2488
+ :instance_status,
2489
+ :status_reason,
2490
+ :inbound_calls_enabled,
2491
+ :outbound_calls_enabled)
2492
+ SENSITIVE = [:instance_alias]
2493
+ include Aws::Structure
2494
+ end
2495
+
2496
+ # Relevant details why the instance was not successfully created.
2497
+ #
2498
+ # @!attribute [rw] message
2499
+ # The message.
2500
+ # @return [String]
2501
+ #
2502
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InstanceStatusReason AWS API Documentation
2503
+ #
2504
+ class InstanceStatusReason < Struct.new(
2505
+ :message)
2506
+ SENSITIVE = []
2507
+ include Aws::Structure
2508
+ end
2509
+
2510
+ # The storage configuration for the instance.
2511
+ #
2512
+ # @note When making an API call, you may pass InstanceStorageConfig
2513
+ # data as a hash:
2514
+ #
2515
+ # {
2516
+ # association_id: "AssociationId",
2517
+ # storage_type: "S3", # required, accepts S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM, KINESIS_FIREHOSE
2518
+ # s3_config: {
2519
+ # bucket_name: "BucketName", # required
2520
+ # bucket_prefix: "Prefix", # required
2521
+ # encryption_config: {
2522
+ # encryption_type: "KMS", # required, accepts KMS
2523
+ # key_id: "KeyId", # required
2524
+ # },
2525
+ # },
2526
+ # kinesis_video_stream_config: {
2527
+ # prefix: "Prefix", # required
2528
+ # retention_period_hours: 1, # required
2529
+ # encryption_config: { # required
2530
+ # encryption_type: "KMS", # required, accepts KMS
2531
+ # key_id: "KeyId", # required
2532
+ # },
2533
+ # },
2534
+ # kinesis_stream_config: {
2535
+ # stream_arn: "ARN", # required
2536
+ # },
2537
+ # kinesis_firehose_config: {
2538
+ # firehose_arn: "ARN", # required
2539
+ # },
2540
+ # }
2541
+ #
2542
+ # @!attribute [rw] association_id
2543
+ # The existing association identifier that uniquely identifies the
2544
+ # resource type and storage config for the given instance ID.
2545
+ # @return [String]
2546
+ #
2547
+ # @!attribute [rw] storage_type
2548
+ # A valid storage type.
2549
+ # @return [String]
2550
+ #
2551
+ # @!attribute [rw] s3_config
2552
+ # The S3 configuration.
2553
+ # @return [Types::S3Config]
2554
+ #
2555
+ # @!attribute [rw] kinesis_video_stream_config
2556
+ # The configuration of the Kinesis video stream.
2557
+ # @return [Types::KinesisVideoStreamConfig]
2558
+ #
2559
+ # @!attribute [rw] kinesis_stream_config
2560
+ # The configuration of the Kinesis data stream.
2561
+ # @return [Types::KinesisStreamConfig]
2562
+ #
2563
+ # @!attribute [rw] kinesis_firehose_config
2564
+ # The configuration of the Kinesis Firehose delivery stream.
2565
+ # @return [Types::KinesisFirehoseConfig]
2566
+ #
2567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InstanceStorageConfig AWS API Documentation
2568
+ #
2569
+ class InstanceStorageConfig < Struct.new(
2570
+ :association_id,
2571
+ :storage_type,
2572
+ :s3_config,
2573
+ :kinesis_video_stream_config,
2574
+ :kinesis_stream_config,
2575
+ :kinesis_firehose_config)
2576
+ SENSITIVE = []
2577
+ include Aws::Structure
2578
+ end
2579
+
2580
+ # Information about the instance.
2581
+ #
2582
+ # @!attribute [rw] id
2583
+ # The identifier of the instance.
2584
+ # @return [String]
2585
+ #
2586
+ # @!attribute [rw] arn
2587
+ # The Amazon Resource Name (ARN) of the instance.
2588
+ # @return [String]
2589
+ #
2590
+ # @!attribute [rw] identity_management_type
2591
+ # The identity management type of the instance.
2592
+ # @return [String]
2593
+ #
2594
+ # @!attribute [rw] instance_alias
2595
+ # The alias of the instance.
2596
+ # @return [String]
2597
+ #
2598
+ # @!attribute [rw] created_time
2599
+ # When the instance was created.
2600
+ # @return [Time]
2601
+ #
2602
+ # @!attribute [rw] service_role
2603
+ # The service role of the instance.
2604
+ # @return [String]
2605
+ #
2606
+ # @!attribute [rw] instance_status
2607
+ # The state of the instance.
2608
+ # @return [String]
2609
+ #
2610
+ # @!attribute [rw] inbound_calls_enabled
2611
+ # Whether inbound calls are enabled.
2612
+ # @return [Boolean]
2613
+ #
2614
+ # @!attribute [rw] outbound_calls_enabled
2615
+ # Whether outbound calls are enabled.
2616
+ # @return [Boolean]
2617
+ #
2618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InstanceSummary AWS API Documentation
2619
+ #
2620
+ class InstanceSummary < Struct.new(
2621
+ :id,
2622
+ :arn,
2623
+ :identity_management_type,
2624
+ :instance_alias,
2625
+ :created_time,
2626
+ :service_role,
2627
+ :instance_status,
2628
+ :inbound_calls_enabled,
2629
+ :outbound_calls_enabled)
2630
+ SENSITIVE = [:instance_alias]
2631
+ include Aws::Structure
2632
+ end
2633
+
2634
+ # Request processing failed due to an error or failure with the service.
2635
+ #
2636
+ # @!attribute [rw] message
2637
+ # The message.
2638
+ # @return [String]
2639
+ #
2640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InternalServiceException AWS API Documentation
2641
+ #
2642
+ class InternalServiceException < Struct.new(
2643
+ :message)
2644
+ SENSITIVE = []
2645
+ include Aws::Structure
2646
+ end
2647
+
2648
+ # The contact flow is not valid.
2649
+ #
2650
+ # @!attribute [rw] problems
2651
+ # The problems with the contact flow. Please fix before trying again.
2652
+ # @return [Array<Types::ProblemDetail>]
2653
+ #
2654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InvalidContactFlowException AWS API Documentation
2655
+ #
2656
+ class InvalidContactFlowException < Struct.new(
2657
+ :problems)
2658
+ SENSITIVE = []
2659
+ include Aws::Structure
2660
+ end
2661
+
2662
+ # One or more of the specified parameters are not valid.
2663
+ #
2664
+ # @!attribute [rw] message
2665
+ # The message.
2666
+ # @return [String]
2667
+ #
2668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InvalidParameterException AWS API Documentation
2669
+ #
2670
+ class InvalidParameterException < Struct.new(
2671
+ :message)
2672
+ SENSITIVE = []
2673
+ include Aws::Structure
2674
+ end
2675
+
2676
+ # The request is not valid.
2677
+ #
2678
+ # @!attribute [rw] message
2679
+ # The message.
2680
+ # @return [String]
2681
+ #
2682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InvalidRequestException AWS API Documentation
2683
+ #
2684
+ class InvalidRequestException < Struct.new(
2685
+ :message)
2686
+ SENSITIVE = []
2687
+ include Aws::Structure
2688
+ end
2689
+
2690
+ # Configuration information of a Kinesis Firehose delivery stream.
2691
+ #
2692
+ # @note When making an API call, you may pass KinesisFirehoseConfig
2693
+ # data as a hash:
2694
+ #
2695
+ # {
2696
+ # firehose_arn: "ARN", # required
2697
+ # }
2698
+ #
2699
+ # @!attribute [rw] firehose_arn
2700
+ # The Amazon Resource Name (ARN) of the delivery stream.
2701
+ # @return [String]
2702
+ #
2703
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/KinesisFirehoseConfig AWS API Documentation
2704
+ #
2705
+ class KinesisFirehoseConfig < Struct.new(
2706
+ :firehose_arn)
2707
+ SENSITIVE = []
2708
+ include Aws::Structure
2709
+ end
2710
+
2711
+ # Configuration information of a Kinesis data stream.
2712
+ #
2713
+ # @note When making an API call, you may pass KinesisStreamConfig
2714
+ # data as a hash:
2715
+ #
2716
+ # {
2717
+ # stream_arn: "ARN", # required
2718
+ # }
2719
+ #
2720
+ # @!attribute [rw] stream_arn
2721
+ # The Amazon Resource Name (ARN) of the data stream.
2722
+ # @return [String]
2723
+ #
2724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/KinesisStreamConfig AWS API Documentation
2725
+ #
2726
+ class KinesisStreamConfig < Struct.new(
2727
+ :stream_arn)
2728
+ SENSITIVE = []
2729
+ include Aws::Structure
2730
+ end
2731
+
2732
+ # Configuration information of a Kinesis video stream.
2733
+ #
2734
+ # @note When making an API call, you may pass KinesisVideoStreamConfig
2735
+ # data as a hash:
2736
+ #
2737
+ # {
2738
+ # prefix: "Prefix", # required
2739
+ # retention_period_hours: 1, # required
2740
+ # encryption_config: { # required
2741
+ # encryption_type: "KMS", # required, accepts KMS
2742
+ # key_id: "KeyId", # required
2743
+ # },
2744
+ # }
2745
+ #
2746
+ # @!attribute [rw] prefix
2747
+ # The prefix of the video stream.
2748
+ # @return [String]
2749
+ #
2750
+ # @!attribute [rw] retention_period_hours
2751
+ # The number of hours data is retained in the stream. Kinesis Video
2752
+ # Streams retains the data in a data store that is associated with the
2753
+ # stream.
2754
+ #
2755
+ # The default value is 0, indicating that the stream does not persist
2756
+ # data.
2757
+ # @return [Integer]
2758
+ #
2759
+ # @!attribute [rw] encryption_config
2760
+ # The encryption configuration.
2761
+ # @return [Types::EncryptionConfig]
2762
+ #
2763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/KinesisVideoStreamConfig AWS API Documentation
2764
+ #
2765
+ class KinesisVideoStreamConfig < Struct.new(
2766
+ :prefix,
2767
+ :retention_period_hours,
2768
+ :encryption_config)
2769
+ SENSITIVE = []
2770
+ include Aws::Structure
2771
+ end
2772
+
2773
+ # Configuration information of an Amazon Lex bot.
2774
+ #
2775
+ # @note When making an API call, you may pass LexBot
2776
+ # data as a hash:
2777
+ #
2778
+ # {
2779
+ # name: "BotName",
2780
+ # lex_region: "LexRegion",
2781
+ # }
2782
+ #
2783
+ # @!attribute [rw] name
2784
+ # The name of the Amazon Lex bot.
2785
+ # @return [String]
2786
+ #
2787
+ # @!attribute [rw] lex_region
2788
+ # The Region the Amazon Lex bot was created in.
2789
+ # @return [String]
2790
+ #
2791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/LexBot AWS API Documentation
2792
+ #
2793
+ class LexBot < Struct.new(
2794
+ :name,
2795
+ :lex_region)
2796
+ SENSITIVE = []
2797
+ include Aws::Structure
2798
+ end
2799
+
2800
+ # The allowed limit for the resource has been exceeded.
2801
+ #
2802
+ # @!attribute [rw] message
2803
+ # The message.
2804
+ # @return [String]
2805
+ #
2806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/LimitExceededException AWS API Documentation
2807
+ #
2808
+ class LimitExceededException < Struct.new(
2809
+ :message)
2810
+ SENSITIVE = []
2811
+ include Aws::Structure
2812
+ end
2813
+
2814
+ # @note When making an API call, you may pass ListApprovedOriginsRequest
2815
+ # data as a hash:
2816
+ #
2817
+ # {
2818
+ # instance_id: "InstanceId", # required
2819
+ # next_token: "NextToken",
2820
+ # max_results: 1,
2821
+ # }
2822
+ #
2823
+ # @!attribute [rw] instance_id
2824
+ # The identifier of the Amazon Connect instance.
2825
+ # @return [String]
2826
+ #
2827
+ # @!attribute [rw] next_token
2828
+ # The token for the next set of results. Use the value returned in the
2829
+ # previous response in the next request to retrieve the next set of
2830
+ # results.
2831
+ # @return [String]
2832
+ #
2833
+ # @!attribute [rw] max_results
2834
+ # The maximimum number of results to return per page.
2835
+ # @return [Integer]
2836
+ #
2837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListApprovedOriginsRequest AWS API Documentation
2838
+ #
2839
+ class ListApprovedOriginsRequest < Struct.new(
2840
+ :instance_id,
2841
+ :next_token,
2842
+ :max_results)
2843
+ SENSITIVE = []
2844
+ include Aws::Structure
2845
+ end
2846
+
2847
+ # @!attribute [rw] origins
2848
+ # The approved origins.
2849
+ # @return [Array<String>]
2850
+ #
2851
+ # @!attribute [rw] next_token
2852
+ # If there are additional results, this is the token for the next set
2853
+ # of results.
2854
+ # @return [String]
2855
+ #
2856
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListApprovedOriginsResponse AWS API Documentation
2857
+ #
2858
+ class ListApprovedOriginsResponse < Struct.new(
2859
+ :origins,
2860
+ :next_token)
2861
+ SENSITIVE = []
2862
+ include Aws::Structure
2863
+ end
2864
+
2865
+ # @note When making an API call, you may pass ListContactFlowsRequest
2866
+ # data as a hash:
2867
+ #
2868
+ # {
2869
+ # instance_id: "InstanceId", # required
2870
+ # contact_flow_types: ["CONTACT_FLOW"], # accepts CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD, CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER, AGENT_TRANSFER, QUEUE_TRANSFER
2871
+ # next_token: "NextToken",
2872
+ # max_results: 1,
2873
+ # }
2874
+ #
2875
+ # @!attribute [rw] instance_id
2876
+ # The identifier of the Amazon Connect instance.
2877
+ # @return [String]
2878
+ #
2879
+ # @!attribute [rw] contact_flow_types
2880
+ # The type of contact flow.
2881
+ # @return [Array<String>]
2882
+ #
2883
+ # @!attribute [rw] next_token
2884
+ # The token for the next set of results. Use the value returned in the
2885
+ # previous response in the next request to retrieve the next set of
2886
+ # results.
2887
+ # @return [String]
2888
+ #
2889
+ # @!attribute [rw] max_results
2890
+ # The maximimum number of results to return per page.
2891
+ # @return [Integer]
2892
+ #
2893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlowsRequest AWS API Documentation
2894
+ #
2895
+ class ListContactFlowsRequest < Struct.new(
2896
+ :instance_id,
2897
+ :contact_flow_types,
2898
+ :next_token,
2899
+ :max_results)
2900
+ SENSITIVE = []
2901
+ include Aws::Structure
2902
+ end
2903
+
2904
+ # @!attribute [rw] contact_flow_summary_list
2905
+ # Information about the contact flows.
2906
+ # @return [Array<Types::ContactFlowSummary>]
2907
+ #
2908
+ # @!attribute [rw] next_token
2909
+ # If there are additional results, this is the token for the next set
2910
+ # of results.
2911
+ # @return [String]
2912
+ #
2913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlowsResponse AWS API Documentation
2914
+ #
2915
+ class ListContactFlowsResponse < Struct.new(
2916
+ :contact_flow_summary_list,
2917
+ :next_token)
2918
+ SENSITIVE = []
2919
+ include Aws::Structure
2920
+ end
2921
+
2922
+ # @note When making an API call, you may pass ListHoursOfOperationsRequest
2923
+ # data as a hash:
2924
+ #
2925
+ # {
2926
+ # instance_id: "InstanceId", # required
2927
+ # next_token: "NextToken",
2928
+ # max_results: 1,
2929
+ # }
2930
+ #
2931
+ # @!attribute [rw] instance_id
2932
+ # The identifier of the Amazon Connect instance.
2933
+ # @return [String]
2934
+ #
2935
+ # @!attribute [rw] next_token
2936
+ # The token for the next set of results. Use the value returned in the
2937
+ # previous response in the next request to retrieve the next set of
2938
+ # results.
2939
+ # @return [String]
2940
+ #
2941
+ # @!attribute [rw] max_results
2942
+ # The maximimum number of results to return per page.
2943
+ # @return [Integer]
2944
+ #
2945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListHoursOfOperationsRequest AWS API Documentation
2946
+ #
2947
+ class ListHoursOfOperationsRequest < Struct.new(
2948
+ :instance_id,
2949
+ :next_token,
2950
+ :max_results)
2951
+ SENSITIVE = []
2952
+ include Aws::Structure
2953
+ end
2954
+
2955
+ # @!attribute [rw] hours_of_operation_summary_list
2956
+ # Information about the hours of operation.
2957
+ # @return [Array<Types::HoursOfOperationSummary>]
2958
+ #
2959
+ # @!attribute [rw] next_token
2960
+ # If there are additional results, this is the token for the next set
2961
+ # of results.
2962
+ # @return [String]
2963
+ #
2964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListHoursOfOperationsResponse AWS API Documentation
2965
+ #
2966
+ class ListHoursOfOperationsResponse < Struct.new(
2967
+ :hours_of_operation_summary_list,
2968
+ :next_token)
2969
+ SENSITIVE = []
2970
+ include Aws::Structure
2971
+ end
2972
+
2973
+ # @note When making an API call, you may pass ListInstanceAttributesRequest
2974
+ # data as a hash:
2975
+ #
2976
+ # {
2977
+ # instance_id: "InstanceId", # required
2978
+ # next_token: "NextToken",
2979
+ # max_results: 1,
2980
+ # }
2981
+ #
2982
+ # @!attribute [rw] instance_id
2983
+ # The identifier of the Amazon Connect instance.
2984
+ # @return [String]
2985
+ #
2986
+ # @!attribute [rw] next_token
2987
+ # The token for the next set of results. Use the value returned in the
2988
+ # previous response in the next request to retrieve the next set of
2989
+ # results.
2990
+ # @return [String]
2991
+ #
2992
+ # @!attribute [rw] max_results
2993
+ # The maximimum number of results to return per page.
2994
+ # @return [Integer]
2995
+ #
2996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstanceAttributesRequest AWS API Documentation
2997
+ #
2998
+ class ListInstanceAttributesRequest < Struct.new(
2999
+ :instance_id,
3000
+ :next_token,
3001
+ :max_results)
3002
+ SENSITIVE = []
3003
+ include Aws::Structure
3004
+ end
3005
+
3006
+ # @!attribute [rw] attributes
3007
+ # The attribute types.
3008
+ # @return [Array<Types::Attribute>]
1869
3009
  #
1870
- # @!attribute [rw] message
1871
- # The message.
3010
+ # @!attribute [rw] next_token
3011
+ # If there are additional results, this is the token for the next set
3012
+ # of results.
1872
3013
  # @return [String]
1873
3014
  #
1874
- # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InternalServiceException AWS API Documentation
3015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstanceAttributesResponse AWS API Documentation
1875
3016
  #
1876
- class InternalServiceException < Struct.new(
1877
- :message)
3017
+ class ListInstanceAttributesResponse < Struct.new(
3018
+ :attributes,
3019
+ :next_token)
1878
3020
  SENSITIVE = []
1879
3021
  include Aws::Structure
1880
3022
  end
1881
3023
 
1882
- # The contact flow is not valid.
3024
+ # @note When making an API call, you may pass ListInstanceStorageConfigsRequest
3025
+ # data as a hash:
1883
3026
  #
1884
- # @!attribute [rw] problems
1885
- # The problems with the contact flow. Please fix before trying again.
1886
- # @return [Array<Types::ProblemDetail>]
3027
+ # {
3028
+ # instance_id: "InstanceId", # required
3029
+ # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
3030
+ # next_token: "NextToken",
3031
+ # max_results: 1,
3032
+ # }
1887
3033
  #
1888
- # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InvalidContactFlowException AWS API Documentation
3034
+ # @!attribute [rw] instance_id
3035
+ # The identifier of the Amazon Connect instance.
3036
+ # @return [String]
1889
3037
  #
1890
- class InvalidContactFlowException < Struct.new(
1891
- :problems)
3038
+ # @!attribute [rw] resource_type
3039
+ # A valid resource type.
3040
+ # @return [String]
3041
+ #
3042
+ # @!attribute [rw] next_token
3043
+ # The token for the next set of results. Use the value returned in the
3044
+ # previous response in the next request to retrieve the next set of
3045
+ # results.
3046
+ # @return [String]
3047
+ #
3048
+ # @!attribute [rw] max_results
3049
+ # The maximimum number of results to return per page.
3050
+ # @return [Integer]
3051
+ #
3052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstanceStorageConfigsRequest AWS API Documentation
3053
+ #
3054
+ class ListInstanceStorageConfigsRequest < Struct.new(
3055
+ :instance_id,
3056
+ :resource_type,
3057
+ :next_token,
3058
+ :max_results)
1892
3059
  SENSITIVE = []
1893
3060
  include Aws::Structure
1894
3061
  end
1895
3062
 
1896
- # One or more of the specified parameters are not valid.
3063
+ # @!attribute [rw] storage_configs
3064
+ # A valid storage type.
3065
+ # @return [Array<Types::InstanceStorageConfig>]
1897
3066
  #
1898
- # @!attribute [rw] message
1899
- # The message.
3067
+ # @!attribute [rw] next_token
3068
+ # If there are additional results, this is the token for the next set
3069
+ # of results.
1900
3070
  # @return [String]
1901
3071
  #
1902
- # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InvalidParameterException AWS API Documentation
3072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstanceStorageConfigsResponse AWS API Documentation
1903
3073
  #
1904
- class InvalidParameterException < Struct.new(
1905
- :message)
3074
+ class ListInstanceStorageConfigsResponse < Struct.new(
3075
+ :storage_configs,
3076
+ :next_token)
1906
3077
  SENSITIVE = []
1907
3078
  include Aws::Structure
1908
3079
  end
1909
3080
 
1910
- # The request is not valid.
3081
+ # @note When making an API call, you may pass ListInstancesRequest
3082
+ # data as a hash:
1911
3083
  #
1912
- # @!attribute [rw] message
1913
- # The message.
3084
+ # {
3085
+ # next_token: "NextToken",
3086
+ # max_results: 1,
3087
+ # }
3088
+ #
3089
+ # @!attribute [rw] next_token
3090
+ # The token for the next set of results. Use the value returned in the
3091
+ # previous response in the next request to retrieve the next set of
3092
+ # results.
1914
3093
  # @return [String]
1915
3094
  #
1916
- # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InvalidRequestException AWS API Documentation
3095
+ # @!attribute [rw] max_results
3096
+ # The maximimum number of results to return per page.
3097
+ # @return [Integer]
1917
3098
  #
1918
- class InvalidRequestException < Struct.new(
1919
- :message)
3099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstancesRequest AWS API Documentation
3100
+ #
3101
+ class ListInstancesRequest < Struct.new(
3102
+ :next_token,
3103
+ :max_results)
1920
3104
  SENSITIVE = []
1921
3105
  include Aws::Structure
1922
3106
  end
1923
3107
 
1924
- # The allowed limit for the resource has been exceeded.
3108
+ # @!attribute [rw] instance_summary_list
3109
+ # Information about the instances.
3110
+ # @return [Array<Types::InstanceSummary>]
1925
3111
  #
1926
- # @!attribute [rw] message
1927
- # The message.
3112
+ # @!attribute [rw] next_token
3113
+ # If there are additional results, this is the token for the next set
3114
+ # of results.
1928
3115
  # @return [String]
1929
3116
  #
1930
- # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/LimitExceededException AWS API Documentation
3117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstancesResponse AWS API Documentation
1931
3118
  #
1932
- class LimitExceededException < Struct.new(
1933
- :message)
3119
+ class ListInstancesResponse < Struct.new(
3120
+ :instance_summary_list,
3121
+ :next_token)
1934
3122
  SENSITIVE = []
1935
3123
  include Aws::Structure
1936
3124
  end
1937
3125
 
1938
- # @note When making an API call, you may pass ListContactFlowsRequest
3126
+ # @note When making an API call, you may pass ListLambdaFunctionsRequest
1939
3127
  # data as a hash:
1940
3128
  #
1941
3129
  # {
1942
3130
  # instance_id: "InstanceId", # required
1943
- # contact_flow_types: ["CONTACT_FLOW"], # accepts CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD, CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER, AGENT_TRANSFER, QUEUE_TRANSFER
1944
3131
  # next_token: "NextToken",
1945
3132
  # max_results: 1,
1946
3133
  # }
@@ -1949,10 +3136,6 @@ module Aws::Connect
1949
3136
  # The identifier of the Amazon Connect instance.
1950
3137
  # @return [String]
1951
3138
  #
1952
- # @!attribute [rw] contact_flow_types
1953
- # The type of contact flow.
1954
- # @return [Array<String>]
1955
- #
1956
3139
  # @!attribute [rw] next_token
1957
3140
  # The token for the next set of results. Use the value returned in the
1958
3141
  # previous response in the next request to retrieve the next set of
@@ -1963,36 +3146,35 @@ module Aws::Connect
1963
3146
  # The maximimum number of results to return per page.
1964
3147
  # @return [Integer]
1965
3148
  #
1966
- # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlowsRequest AWS API Documentation
3149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListLambdaFunctionsRequest AWS API Documentation
1967
3150
  #
1968
- class ListContactFlowsRequest < Struct.new(
3151
+ class ListLambdaFunctionsRequest < Struct.new(
1969
3152
  :instance_id,
1970
- :contact_flow_types,
1971
3153
  :next_token,
1972
3154
  :max_results)
1973
3155
  SENSITIVE = []
1974
3156
  include Aws::Structure
1975
3157
  end
1976
3158
 
1977
- # @!attribute [rw] contact_flow_summary_list
1978
- # Information about the contact flows.
1979
- # @return [Array<Types::ContactFlowSummary>]
3159
+ # @!attribute [rw] lambda_functions
3160
+ # The Lambdafunction ARNs associated with the specified instance.
3161
+ # @return [Array<String>]
1980
3162
  #
1981
3163
  # @!attribute [rw] next_token
1982
3164
  # If there are additional results, this is the token for the next set
1983
3165
  # of results.
1984
3166
  # @return [String]
1985
3167
  #
1986
- # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlowsResponse AWS API Documentation
3168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListLambdaFunctionsResponse AWS API Documentation
1987
3169
  #
1988
- class ListContactFlowsResponse < Struct.new(
1989
- :contact_flow_summary_list,
3170
+ class ListLambdaFunctionsResponse < Struct.new(
3171
+ :lambda_functions,
1990
3172
  :next_token)
1991
3173
  SENSITIVE = []
1992
3174
  include Aws::Structure
1993
3175
  end
1994
3176
 
1995
- # @note When making an API call, you may pass ListHoursOfOperationsRequest
3177
+ # @note When making an API call, you may pass ListLexBotsRequest
1996
3178
  # data as a hash:
1997
3179
  #
1998
3180
  # {
@@ -2015,9 +3197,9 @@ module Aws::Connect
2015
3197
  # The maximimum number of results to return per page.
2016
3198
  # @return [Integer]
2017
3199
  #
2018
- # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListHoursOfOperationsRequest AWS API Documentation
3200
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListLexBotsRequest AWS API Documentation
2019
3201
  #
2020
- class ListHoursOfOperationsRequest < Struct.new(
3202
+ class ListLexBotsRequest < Struct.new(
2021
3203
  :instance_id,
2022
3204
  :next_token,
2023
3205
  :max_results)
@@ -2025,19 +3207,20 @@ module Aws::Connect
2025
3207
  include Aws::Structure
2026
3208
  end
2027
3209
 
2028
- # @!attribute [rw] hours_of_operation_summary_list
2029
- # Information about the hours of operation.
2030
- # @return [Array<Types::HoursOfOperationSummary>]
3210
+ # @!attribute [rw] lex_bots
3211
+ # The the names and regions of the Amazon Lex bots associated with the
3212
+ # specified instance.
3213
+ # @return [Array<Types::LexBot>]
2031
3214
  #
2032
3215
  # @!attribute [rw] next_token
2033
3216
  # If there are additional results, this is the token for the next set
2034
3217
  # of results.
2035
3218
  # @return [String]
2036
3219
  #
2037
- # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListHoursOfOperationsResponse AWS API Documentation
3220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListLexBotsResponse AWS API Documentation
2038
3221
  #
2039
- class ListHoursOfOperationsResponse < Struct.new(
2040
- :hours_of_operation_summary_list,
3222
+ class ListLexBotsResponse < Struct.new(
3223
+ :lex_bots,
2041
3224
  :next_token)
2042
3225
  SENSITIVE = []
2043
3226
  include Aws::Structure
@@ -2322,6 +3505,57 @@ module Aws::Connect
2322
3505
  include Aws::Structure
2323
3506
  end
2324
3507
 
3508
+ # @note When making an API call, you may pass ListSecurityKeysRequest
3509
+ # data as a hash:
3510
+ #
3511
+ # {
3512
+ # instance_id: "InstanceId", # required
3513
+ # next_token: "NextToken",
3514
+ # max_results: 1,
3515
+ # }
3516
+ #
3517
+ # @!attribute [rw] instance_id
3518
+ # The identifier of the Amazon Connect instance.
3519
+ # @return [String]
3520
+ #
3521
+ # @!attribute [rw] next_token
3522
+ # The token for the next set of results. Use the value returned in the
3523
+ # previous response in the next request to retrieve the next set of
3524
+ # results.
3525
+ # @return [String]
3526
+ #
3527
+ # @!attribute [rw] max_results
3528
+ # The maximimum number of results to return per page.
3529
+ # @return [Integer]
3530
+ #
3531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityKeysRequest AWS API Documentation
3532
+ #
3533
+ class ListSecurityKeysRequest < Struct.new(
3534
+ :instance_id,
3535
+ :next_token,
3536
+ :max_results)
3537
+ SENSITIVE = []
3538
+ include Aws::Structure
3539
+ end
3540
+
3541
+ # @!attribute [rw] security_keys
3542
+ # The security keys.
3543
+ # @return [Array<Types::SecurityKey>]
3544
+ #
3545
+ # @!attribute [rw] next_token
3546
+ # If there are additional results, this is the token for the next set
3547
+ # of results.
3548
+ # @return [String]
3549
+ #
3550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityKeysResponse AWS API Documentation
3551
+ #
3552
+ class ListSecurityKeysResponse < Struct.new(
3553
+ :security_keys,
3554
+ :next_token)
3555
+ SENSITIVE = []
3556
+ include Aws::Structure
3557
+ end
3558
+
2325
3559
  # @note When making an API call, you may pass ListSecurityProfilesRequest
2326
3560
  # data as a hash:
2327
3561
  #
@@ -2693,6 +3927,19 @@ module Aws::Connect
2693
3927
  include Aws::Structure
2694
3928
  end
2695
3929
 
3930
+ # A resource already has that name.
3931
+ #
3932
+ # @!attribute [rw] message
3933
+ # @return [String]
3934
+ #
3935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResourceConflictException AWS API Documentation
3936
+ #
3937
+ class ResourceConflictException < Struct.new(
3938
+ :message)
3939
+ SENSITIVE = []
3940
+ include Aws::Structure
3941
+ end
3942
+
2696
3943
  # That resource is already in use. Please try another.
2697
3944
  #
2698
3945
  # @!attribute [rw] message
@@ -2968,6 +4215,67 @@ module Aws::Connect
2968
4215
  include Aws::Structure
2969
4216
  end
2970
4217
 
4218
+ # Information about the S3 storage type.
4219
+ #
4220
+ # @note When making an API call, you may pass S3Config
4221
+ # data as a hash:
4222
+ #
4223
+ # {
4224
+ # bucket_name: "BucketName", # required
4225
+ # bucket_prefix: "Prefix", # required
4226
+ # encryption_config: {
4227
+ # encryption_type: "KMS", # required, accepts KMS
4228
+ # key_id: "KeyId", # required
4229
+ # },
4230
+ # }
4231
+ #
4232
+ # @!attribute [rw] bucket_name
4233
+ # The S3 bucket name.
4234
+ # @return [String]
4235
+ #
4236
+ # @!attribute [rw] bucket_prefix
4237
+ # The S3 bucket prefix.
4238
+ # @return [String]
4239
+ #
4240
+ # @!attribute [rw] encryption_config
4241
+ # The S3 encryption configuration.
4242
+ # @return [Types::EncryptionConfig]
4243
+ #
4244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/S3Config AWS API Documentation
4245
+ #
4246
+ class S3Config < Struct.new(
4247
+ :bucket_name,
4248
+ :bucket_prefix,
4249
+ :encryption_config)
4250
+ SENSITIVE = []
4251
+ include Aws::Structure
4252
+ end
4253
+
4254
+ # Configuration information of the security key.
4255
+ #
4256
+ # @!attribute [rw] association_id
4257
+ # The existing association identifier that uniquely identifies the
4258
+ # resource type and storage config for the given instance ID.
4259
+ # @return [String]
4260
+ #
4261
+ # @!attribute [rw] key
4262
+ # The key of the security key.
4263
+ # @return [String]
4264
+ #
4265
+ # @!attribute [rw] creation_time
4266
+ # When the security key was created.
4267
+ # @return [Time]
4268
+ #
4269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SecurityKey AWS API Documentation
4270
+ #
4271
+ class SecurityKey < Struct.new(
4272
+ :association_id,
4273
+ :key,
4274
+ :creation_time)
4275
+ SENSITIVE = []
4276
+ include Aws::Structure
4277
+ end
4278
+
2971
4279
  # Contains information about a security profile.
2972
4280
  #
2973
4281
  # @!attribute [rw] id
@@ -2992,6 +4300,19 @@ module Aws::Connect
2992
4300
  include Aws::Structure
2993
4301
  end
2994
4302
 
4303
+ # The service quota has been exceeded.
4304
+ #
4305
+ # @!attribute [rw] message
4306
+ # @return [String]
4307
+ #
4308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ServiceQuotaExceededException AWS API Documentation
4309
+ #
4310
+ class ServiceQuotaExceededException < Struct.new(
4311
+ :message)
4312
+ SENSITIVE = []
4313
+ include Aws::Structure
4314
+ end
4315
+
2995
4316
  # @note When making an API call, you may pass StartChatContactRequest
2996
4317
  # data as a hash:
2997
4318
  #
@@ -3544,6 +4865,100 @@ module Aws::Connect
3544
4865
  include Aws::Structure
3545
4866
  end
3546
4867
 
4868
+ # @note When making an API call, you may pass UpdateInstanceAttributeRequest
4869
+ # data as a hash:
4870
+ #
4871
+ # {
4872
+ # instance_id: "InstanceId", # required
4873
+ # attribute_type: "INBOUND_CALLS", # required, accepts INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS, CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES, EARLY_MEDIA
4874
+ # value: "InstanceAttributeValue", # required
4875
+ # }
4876
+ #
4877
+ # @!attribute [rw] instance_id
4878
+ # The identifier of the Amazon Connect instance.
4879
+ # @return [String]
4880
+ #
4881
+ # @!attribute [rw] attribute_type
4882
+ # The type of attribute.
4883
+ # @return [String]
4884
+ #
4885
+ # @!attribute [rw] value
4886
+ # The value for the attribute. Maximum character limit is 100.
4887
+ # @return [String]
4888
+ #
4889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateInstanceAttributeRequest AWS API Documentation
4890
+ #
4891
+ class UpdateInstanceAttributeRequest < Struct.new(
4892
+ :instance_id,
4893
+ :attribute_type,
4894
+ :value)
4895
+ SENSITIVE = []
4896
+ include Aws::Structure
4897
+ end
4898
+
4899
+ # @note When making an API call, you may pass UpdateInstanceStorageConfigRequest
4900
+ # data as a hash:
4901
+ #
4902
+ # {
4903
+ # instance_id: "InstanceId", # required
4904
+ # association_id: "AssociationId", # required
4905
+ # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
4906
+ # storage_config: { # required
4907
+ # association_id: "AssociationId",
4908
+ # storage_type: "S3", # required, accepts S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM, KINESIS_FIREHOSE
4909
+ # s3_config: {
4910
+ # bucket_name: "BucketName", # required
4911
+ # bucket_prefix: "Prefix", # required
4912
+ # encryption_config: {
4913
+ # encryption_type: "KMS", # required, accepts KMS
4914
+ # key_id: "KeyId", # required
4915
+ # },
4916
+ # },
4917
+ # kinesis_video_stream_config: {
4918
+ # prefix: "Prefix", # required
4919
+ # retention_period_hours: 1, # required
4920
+ # encryption_config: { # required
4921
+ # encryption_type: "KMS", # required, accepts KMS
4922
+ # key_id: "KeyId", # required
4923
+ # },
4924
+ # },
4925
+ # kinesis_stream_config: {
4926
+ # stream_arn: "ARN", # required
4927
+ # },
4928
+ # kinesis_firehose_config: {
4929
+ # firehose_arn: "ARN", # required
4930
+ # },
4931
+ # },
4932
+ # }
4933
+ #
4934
+ # @!attribute [rw] instance_id
4935
+ # The identifier of the Amazon Connect instance.
4936
+ # @return [String]
4937
+ #
4938
+ # @!attribute [rw] association_id
4939
+ # The existing association identifier that uniquely identifies the
4940
+ # resource type and storage config for the given instance ID.
4941
+ # @return [String]
4942
+ #
4943
+ # @!attribute [rw] resource_type
4944
+ # A valid resource type.
4945
+ # @return [String]
4946
+ #
4947
+ # @!attribute [rw] storage_config
4948
+ # The storage configuration for the instance.
4949
+ # @return [Types::InstanceStorageConfig]
4950
+ #
4951
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateInstanceStorageConfigRequest AWS API Documentation
4952
+ #
4953
+ class UpdateInstanceStorageConfigRequest < Struct.new(
4954
+ :instance_id,
4955
+ :association_id,
4956
+ :resource_type,
4957
+ :storage_config)
4958
+ SENSITIVE = []
4959
+ include Aws::Structure
4960
+ end
4961
+
3547
4962
  # @note When making an API call, you may pass UpdateRoutingProfileConcurrencyRequest
3548
4963
  # data as a hash:
3549
4964
  #