aws-sdk-connect 1.56.0 → 1.60.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@
10
10
  module Aws::Connect
11
11
  module Types
12
12
 
13
- # You do not have sufficient access to perform this action.
13
+ # You do not have sufficient permissions to perform this action.
14
14
  #
15
15
  # @!attribute [rw] message
16
16
  # @return [String]
@@ -23,6 +23,25 @@ module Aws::Connect
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
+ # Information about the agent who accepted the contact.
27
+ #
28
+ # @!attribute [rw] id
29
+ # The identifier of the agent who accepted the contact.
30
+ # @return [String]
31
+ #
32
+ # @!attribute [rw] connected_to_agent_timestamp
33
+ # The timestamp when the contact was connected to the agent.
34
+ # @return [Time]
35
+ #
36
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AgentInfo AWS API Documentation
37
+ #
38
+ class AgentInfo < Struct.new(
39
+ :id,
40
+ :connected_to_agent_timestamp)
41
+ SENSITIVE = []
42
+ include Aws::Structure
43
+ end
44
+
26
45
  # Contains information about an agent status.
27
46
  #
28
47
  # @!attribute [rw] agent_status_arn
@@ -432,6 +451,31 @@ module Aws::Connect
432
451
  include Aws::Structure
433
452
  end
434
453
 
454
+ # Information about the attachment reference if the `referenceType` is
455
+ # `ATTACHMENT`. Otherwise, null.
456
+ #
457
+ # @!attribute [rw] name
458
+ # Identifier of the attachment reference.
459
+ # @return [String]
460
+ #
461
+ # @!attribute [rw] value
462
+ # Contains the location path of the attachment reference.
463
+ # @return [String]
464
+ #
465
+ # @!attribute [rw] status
466
+ # Status of an attachment reference type.
467
+ # @return [String]
468
+ #
469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AttachmentReference AWS API Documentation
470
+ #
471
+ class AttachmentReference < Struct.new(
472
+ :name,
473
+ :value,
474
+ :status)
475
+ SENSITIVE = []
476
+ include Aws::Structure
477
+ end
478
+
435
479
  # A toggle for an individual feature at the instance level.
436
480
  #
437
481
  # @!attribute [rw] attribute_type
@@ -502,6 +546,95 @@ module Aws::Connect
502
546
  include Aws::Structure
503
547
  end
504
548
 
549
+ # Contains information about a contact.
550
+ #
551
+ # @!attribute [rw] arn
552
+ # The Amazon Resource Name (ARN) for the contact.
553
+ # @return [String]
554
+ #
555
+ # @!attribute [rw] id
556
+ # The identifier for the contact.
557
+ # @return [String]
558
+ #
559
+ # @!attribute [rw] initial_contact_id
560
+ # If this contact is related to other contacts, this is the ID of the
561
+ # initial contact.
562
+ # @return [String]
563
+ #
564
+ # @!attribute [rw] previous_contact_id
565
+ # If this contact is not the first contact, this is the ID of the
566
+ # previous contact.
567
+ # @return [String]
568
+ #
569
+ # @!attribute [rw] initiation_method
570
+ # Indicates how the contact was initiated.
571
+ # @return [String]
572
+ #
573
+ # @!attribute [rw] name
574
+ # The name of the contact.
575
+ # @return [String]
576
+ #
577
+ # @!attribute [rw] description
578
+ # The description of the contact.
579
+ # @return [String]
580
+ #
581
+ # @!attribute [rw] channel
582
+ # How the contact reached your contact center.
583
+ # @return [String]
584
+ #
585
+ # @!attribute [rw] queue_info
586
+ # If this contact was queued, this contains information about the
587
+ # queue.
588
+ # @return [Types::QueueInfo]
589
+ #
590
+ # @!attribute [rw] agent_info
591
+ # Information about the agent who accepted the contact.
592
+ # @return [Types::AgentInfo]
593
+ #
594
+ # @!attribute [rw] initiation_timestamp
595
+ # The date and time this contact was initiated, in UTC time. For
596
+ # `INBOUND`, this is when the contact arrived. For `OUTBOUND`, this is
597
+ # when the agent began dialing. For `CALLBACK`, this is when the
598
+ # callback contact was created. For `TRANSFER` and `QUEUE_TRANSFER`,
599
+ # this is when the transfer was initiated. For `API`, this is when the
600
+ # request arrived.
601
+ # @return [Time]
602
+ #
603
+ # @!attribute [rw] disconnect_timestamp
604
+ # The timestamp when the customer endpoint disconnected from Amazon
605
+ # Connect.
606
+ # @return [Time]
607
+ #
608
+ # @!attribute [rw] last_update_timestamp
609
+ # The timestamp when contact was last updated.
610
+ # @return [Time]
611
+ #
612
+ # @!attribute [rw] scheduled_timestamp
613
+ # The timestamp, in Unix epoch time format, at which to start running
614
+ # the inbound flow.
615
+ # @return [Time]
616
+ #
617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Contact AWS API Documentation
618
+ #
619
+ class Contact < Struct.new(
620
+ :arn,
621
+ :id,
622
+ :initial_contact_id,
623
+ :previous_contact_id,
624
+ :initiation_method,
625
+ :name,
626
+ :description,
627
+ :channel,
628
+ :queue_info,
629
+ :agent_info,
630
+ :initiation_timestamp,
631
+ :disconnect_timestamp,
632
+ :last_update_timestamp,
633
+ :scheduled_timestamp)
634
+ SENSITIVE = []
635
+ include Aws::Structure
636
+ end
637
+
505
638
  # Contains information about a contact flow.
506
639
  #
507
640
  # @!attribute [rw] arn
@@ -526,6 +659,10 @@ module Aws::Connect
526
659
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/create-contact-flow.html#contact-flow-types
527
660
  # @return [String]
528
661
  #
662
+ # @!attribute [rw] state
663
+ # The type of contact flow.
664
+ # @return [String]
665
+ #
529
666
  # @!attribute [rw] description
530
667
  # The description of the contact flow.
531
668
  # @return [String]
@@ -545,6 +682,7 @@ module Aws::Connect
545
682
  :id,
546
683
  :name,
547
684
  :type,
685
+ :state,
548
686
  :description,
549
687
  :content,
550
688
  :tags)
@@ -552,6 +690,85 @@ module Aws::Connect
552
690
  include Aws::Structure
553
691
  end
554
692
 
693
+ # Contains information about a contact flow module.
694
+ #
695
+ # @!attribute [rw] arn
696
+ # The Amazon Resource Name (ARN).
697
+ # @return [String]
698
+ #
699
+ # @!attribute [rw] id
700
+ # The identifier of the contact flow module.
701
+ # @return [String]
702
+ #
703
+ # @!attribute [rw] name
704
+ # The name of the contact flow module.
705
+ # @return [String]
706
+ #
707
+ # @!attribute [rw] content
708
+ # The content of the contact flow module.
709
+ # @return [String]
710
+ #
711
+ # @!attribute [rw] description
712
+ # The description of the contact flow module.
713
+ # @return [String]
714
+ #
715
+ # @!attribute [rw] state
716
+ # The type of contact flow module.
717
+ # @return [String]
718
+ #
719
+ # @!attribute [rw] status
720
+ # The status of the contact flow module.
721
+ # @return [String]
722
+ #
723
+ # @!attribute [rw] tags
724
+ # The tags used to organize, track, or control access for this
725
+ # resource.
726
+ # @return [Hash<String,String>]
727
+ #
728
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ContactFlowModule AWS API Documentation
729
+ #
730
+ class ContactFlowModule < Struct.new(
731
+ :arn,
732
+ :id,
733
+ :name,
734
+ :content,
735
+ :description,
736
+ :state,
737
+ :status,
738
+ :tags)
739
+ SENSITIVE = []
740
+ include Aws::Structure
741
+ end
742
+
743
+ # Contains summary information about a contact flow.
744
+ #
745
+ # @!attribute [rw] id
746
+ # The identifier of the contact flow module.
747
+ # @return [String]
748
+ #
749
+ # @!attribute [rw] arn
750
+ # The Amazon Resource Name (ARN) of the contact flow module.
751
+ # @return [String]
752
+ #
753
+ # @!attribute [rw] name
754
+ # The name of the contact flow module.
755
+ # @return [String]
756
+ #
757
+ # @!attribute [rw] state
758
+ # The type of contact flow module.
759
+ # @return [String]
760
+ #
761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ContactFlowModuleSummary AWS API Documentation
762
+ #
763
+ class ContactFlowModuleSummary < Struct.new(
764
+ :id,
765
+ :arn,
766
+ :name,
767
+ :state)
768
+ SENSITIVE = []
769
+ include Aws::Structure
770
+ end
771
+
555
772
  # The contact flow has not been published.
556
773
  #
557
774
  # @!attribute [rw] message
@@ -590,13 +807,18 @@ module Aws::Connect
590
807
  # The type of contact flow.
591
808
  # @return [String]
592
809
  #
810
+ # @!attribute [rw] contact_flow_state
811
+ # The type of contact flow.
812
+ # @return [String]
813
+ #
593
814
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ContactFlowSummary AWS API Documentation
594
815
  #
595
816
  class ContactFlowSummary < Struct.new(
596
817
  :id,
597
818
  :arn,
598
819
  :name,
599
- :contact_flow_type)
820
+ :contact_flow_type,
821
+ :contact_flow_state)
600
822
  SENSITIVE = []
601
823
  include Aws::Structure
602
824
  end
@@ -685,6 +907,80 @@ module Aws::Connect
685
907
  include Aws::Structure
686
908
  end
687
909
 
910
+ # @note When making an API call, you may pass CreateContactFlowModuleRequest
911
+ # data as a hash:
912
+ #
913
+ # {
914
+ # instance_id: "InstanceId", # required
915
+ # name: "ContactFlowModuleName", # required
916
+ # description: "ContactFlowModuleDescription",
917
+ # content: "ContactFlowModuleContent", # required
918
+ # tags: {
919
+ # "TagKey" => "TagValue",
920
+ # },
921
+ # client_token: "ClientToken",
922
+ # }
923
+ #
924
+ # @!attribute [rw] instance_id
925
+ # The identifier of the Amazon Connect instance. You can find the
926
+ # instanceId in the ARN of the instance.
927
+ # @return [String]
928
+ #
929
+ # @!attribute [rw] name
930
+ # The name of the contact flow module.
931
+ # @return [String]
932
+ #
933
+ # @!attribute [rw] description
934
+ # The description of the contact flow module.
935
+ # @return [String]
936
+ #
937
+ # @!attribute [rw] content
938
+ # The content of the contact flow module.
939
+ # @return [String]
940
+ #
941
+ # @!attribute [rw] tags
942
+ # The tags used to organize, track, or control access for this
943
+ # resource.
944
+ # @return [Hash<String,String>]
945
+ #
946
+ # @!attribute [rw] client_token
947
+ # A unique, case-sensitive identifier that you provide to ensure the
948
+ # idempotency of the request.
949
+ #
950
+ # **A suitable default value is auto-generated.** You should normally
951
+ # not need to pass this option.
952
+ # @return [String]
953
+ #
954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContactFlowModuleRequest AWS API Documentation
955
+ #
956
+ class CreateContactFlowModuleRequest < Struct.new(
957
+ :instance_id,
958
+ :name,
959
+ :description,
960
+ :content,
961
+ :tags,
962
+ :client_token)
963
+ SENSITIVE = []
964
+ include Aws::Structure
965
+ end
966
+
967
+ # @!attribute [rw] id
968
+ # The identifier of the contact flow module.
969
+ # @return [String]
970
+ #
971
+ # @!attribute [rw] arn
972
+ # The Amazon Resource Name (ARN) of the contact flow module.
973
+ # @return [String]
974
+ #
975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContactFlowModuleResponse AWS API Documentation
976
+ #
977
+ class CreateContactFlowModuleResponse < Struct.new(
978
+ :id,
979
+ :arn)
980
+ SENSITIVE = []
981
+ include Aws::Structure
982
+ end
983
+
688
984
  # @note When making an API call, you may pass CreateContactFlowRequest
689
985
  # data as a hash:
690
986
  #
@@ -1640,6 +1936,62 @@ module Aws::Connect
1640
1936
  include Aws::Structure
1641
1937
  end
1642
1938
 
1939
+ # @note When making an API call, you may pass DeleteContactFlowModuleRequest
1940
+ # data as a hash:
1941
+ #
1942
+ # {
1943
+ # instance_id: "InstanceId", # required
1944
+ # contact_flow_module_id: "ContactFlowModuleId", # required
1945
+ # }
1946
+ #
1947
+ # @!attribute [rw] instance_id
1948
+ # The identifier of the Amazon Connect instance. You can find the
1949
+ # instanceId in the ARN of the instance.
1950
+ # @return [String]
1951
+ #
1952
+ # @!attribute [rw] contact_flow_module_id
1953
+ # The identifier of the contact flow module.
1954
+ # @return [String]
1955
+ #
1956
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlowModuleRequest AWS API Documentation
1957
+ #
1958
+ class DeleteContactFlowModuleRequest < Struct.new(
1959
+ :instance_id,
1960
+ :contact_flow_module_id)
1961
+ SENSITIVE = []
1962
+ include Aws::Structure
1963
+ end
1964
+
1965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlowModuleResponse AWS API Documentation
1966
+ #
1967
+ class DeleteContactFlowModuleResponse < Aws::EmptyStructure; end
1968
+
1969
+ # @note When making an API call, you may pass DeleteContactFlowRequest
1970
+ # data as a hash:
1971
+ #
1972
+ # {
1973
+ # instance_id: "InstanceId", # required
1974
+ # contact_flow_id: "ContactFlowId", # required
1975
+ # }
1976
+ #
1977
+ # @!attribute [rw] instance_id
1978
+ # The identifier of the Amazon Connect instance. You can find the
1979
+ # instanceId in the ARN of the instance.
1980
+ # @return [String]
1981
+ #
1982
+ # @!attribute [rw] contact_flow_id
1983
+ # The identifier of the contact flow.
1984
+ # @return [String]
1985
+ #
1986
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlowRequest AWS API Documentation
1987
+ #
1988
+ class DeleteContactFlowRequest < Struct.new(
1989
+ :instance_id,
1990
+ :contact_flow_id)
1991
+ SENSITIVE = []
1992
+ include Aws::Structure
1993
+ end
1994
+
1643
1995
  # @note When making an API call, you may pass DeleteHoursOfOperationRequest
1644
1996
  # data as a hash:
1645
1997
  #
@@ -1886,6 +2238,44 @@ module Aws::Connect
1886
2238
  include Aws::Structure
1887
2239
  end
1888
2240
 
2241
+ # @note When making an API call, you may pass DescribeContactFlowModuleRequest
2242
+ # data as a hash:
2243
+ #
2244
+ # {
2245
+ # instance_id: "InstanceId", # required
2246
+ # contact_flow_module_id: "ContactFlowModuleId", # required
2247
+ # }
2248
+ #
2249
+ # @!attribute [rw] instance_id
2250
+ # The identifier of the Amazon Connect instance. You can find the
2251
+ # instanceId in the ARN of the instance.
2252
+ # @return [String]
2253
+ #
2254
+ # @!attribute [rw] contact_flow_module_id
2255
+ # The identifier of the contact flow module.
2256
+ # @return [String]
2257
+ #
2258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactFlowModuleRequest AWS API Documentation
2259
+ #
2260
+ class DescribeContactFlowModuleRequest < Struct.new(
2261
+ :instance_id,
2262
+ :contact_flow_module_id)
2263
+ SENSITIVE = []
2264
+ include Aws::Structure
2265
+ end
2266
+
2267
+ # @!attribute [rw] contact_flow_module
2268
+ # Information about the contact flow module.
2269
+ # @return [Types::ContactFlowModule]
2270
+ #
2271
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactFlowModuleResponse AWS API Documentation
2272
+ #
2273
+ class DescribeContactFlowModuleResponse < Struct.new(
2274
+ :contact_flow_module)
2275
+ SENSITIVE = []
2276
+ include Aws::Structure
2277
+ end
2278
+
1889
2279
  # @note When making an API call, you may pass DescribeContactFlowRequest
1890
2280
  # data as a hash:
1891
2281
  #
@@ -1923,6 +2313,44 @@ module Aws::Connect
1923
2313
  include Aws::Structure
1924
2314
  end
1925
2315
 
2316
+ # @note When making an API call, you may pass DescribeContactRequest
2317
+ # data as a hash:
2318
+ #
2319
+ # {
2320
+ # instance_id: "InstanceId", # required
2321
+ # contact_id: "ContactId", # required
2322
+ # }
2323
+ #
2324
+ # @!attribute [rw] instance_id
2325
+ # The identifier of the Amazon Connect instance. You can find the
2326
+ # instanceId in the ARN of the instance.
2327
+ # @return [String]
2328
+ #
2329
+ # @!attribute [rw] contact_id
2330
+ # The identifier of the contact.
2331
+ # @return [String]
2332
+ #
2333
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactRequest AWS API Documentation
2334
+ #
2335
+ class DescribeContactRequest < Struct.new(
2336
+ :instance_id,
2337
+ :contact_id)
2338
+ SENSITIVE = []
2339
+ include Aws::Structure
2340
+ end
2341
+
2342
+ # @!attribute [rw] contact
2343
+ # Information about the contact.
2344
+ # @return [Types::Contact]
2345
+ #
2346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactResponse AWS API Documentation
2347
+ #
2348
+ class DescribeContactResponse < Struct.new(
2349
+ :contact)
2350
+ SENSITIVE = []
2351
+ include Aws::Structure
2352
+ end
2353
+
1926
2354
  # @note When making an API call, you may pass DescribeHoursOfOperationRequest
1927
2355
  # data as a hash:
1928
2356
  #
@@ -3720,6 +4148,19 @@ module Aws::Connect
3720
4148
  include Aws::Structure
3721
4149
  end
3722
4150
 
4151
+ # An entity with the same name already exists.
4152
+ #
4153
+ # @!attribute [rw] message
4154
+ # @return [String]
4155
+ #
4156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/IdempotencyException AWS API Documentation
4157
+ #
4158
+ class IdempotencyException < Struct.new(
4159
+ :message)
4160
+ SENSITIVE = []
4161
+ include Aws::Structure
4162
+ end
4163
+
3723
4164
  # The Amazon Connect instance.
3724
4165
  #
3725
4166
  # @!attribute [rw] id
@@ -3997,6 +4438,19 @@ module Aws::Connect
3997
4438
  include Aws::Structure
3998
4439
  end
3999
4440
 
4441
+ # The problems with the module. Please fix before trying again.
4442
+ #
4443
+ # @!attribute [rw] problems
4444
+ # @return [Array<Types::ProblemDetail>]
4445
+ #
4446
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InvalidContactFlowModuleException AWS API Documentation
4447
+ #
4448
+ class InvalidContactFlowModuleException < Struct.new(
4449
+ :problems)
4450
+ SENSITIVE = []
4451
+ include Aws::Structure
4452
+ end
4453
+
4000
4454
  # One or more of the specified parameters are not valid.
4001
4455
  #
4002
4456
  # @!attribute [rw] message
@@ -4358,6 +4812,64 @@ module Aws::Connect
4358
4812
  include Aws::Structure
4359
4813
  end
4360
4814
 
4815
+ # @note When making an API call, you may pass ListContactFlowModulesRequest
4816
+ # data as a hash:
4817
+ #
4818
+ # {
4819
+ # instance_id: "InstanceId", # required
4820
+ # next_token: "NextToken",
4821
+ # max_results: 1,
4822
+ # contact_flow_module_state: "ACTIVE", # accepts ACTIVE, ARCHIVED
4823
+ # }
4824
+ #
4825
+ # @!attribute [rw] instance_id
4826
+ # The identifier of the Amazon Connect instance. You can find the
4827
+ # instanceId in the ARN of the instance.
4828
+ # @return [String]
4829
+ #
4830
+ # @!attribute [rw] next_token
4831
+ # The token for the next set of results. Use the value returned in the
4832
+ # previous response in the next request to retrieve the next set of
4833
+ # results.
4834
+ # @return [String]
4835
+ #
4836
+ # @!attribute [rw] max_results
4837
+ # The maximum number of results to return per page.
4838
+ # @return [Integer]
4839
+ #
4840
+ # @!attribute [rw] contact_flow_module_state
4841
+ # The state of the contact flow module.
4842
+ # @return [String]
4843
+ #
4844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlowModulesRequest AWS API Documentation
4845
+ #
4846
+ class ListContactFlowModulesRequest < Struct.new(
4847
+ :instance_id,
4848
+ :next_token,
4849
+ :max_results,
4850
+ :contact_flow_module_state)
4851
+ SENSITIVE = []
4852
+ include Aws::Structure
4853
+ end
4854
+
4855
+ # @!attribute [rw] contact_flow_modules_summary_list
4856
+ # Information about the contact flow module.
4857
+ # @return [Array<Types::ContactFlowModuleSummary>]
4858
+ #
4859
+ # @!attribute [rw] next_token
4860
+ # If there are additional results, this is the token for the next set
4861
+ # of results.
4862
+ # @return [String]
4863
+ #
4864
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlowModulesResponse AWS API Documentation
4865
+ #
4866
+ class ListContactFlowModulesResponse < Struct.new(
4867
+ :contact_flow_modules_summary_list,
4868
+ :next_token)
4869
+ SENSITIVE = []
4870
+ include Aws::Structure
4871
+ end
4872
+
4361
4873
  # @note When making an API call, you may pass ListContactFlowsRequest
4362
4874
  # data as a hash:
4363
4875
  #
@@ -4416,6 +4928,69 @@ module Aws::Connect
4416
4928
  include Aws::Structure
4417
4929
  end
4418
4930
 
4931
+ # @note When making an API call, you may pass ListContactReferencesRequest
4932
+ # data as a hash:
4933
+ #
4934
+ # {
4935
+ # instance_id: "InstanceId", # required
4936
+ # contact_id: "ContactId", # required
4937
+ # reference_types: ["URL"], # required, accepts URL, ATTACHMENT
4938
+ # next_token: "NextToken",
4939
+ # }
4940
+ #
4941
+ # @!attribute [rw] instance_id
4942
+ # The identifier of the Amazon Connect instance. You can find the
4943
+ # instanceId in the ARN of the instance.
4944
+ # @return [String]
4945
+ #
4946
+ # @!attribute [rw] contact_id
4947
+ # The identifier of the initial contact.
4948
+ # @return [String]
4949
+ #
4950
+ # @!attribute [rw] reference_types
4951
+ # The type of reference.
4952
+ # @return [Array<String>]
4953
+ #
4954
+ # @!attribute [rw] next_token
4955
+ # The token for the next set of results. Use the value returned in the
4956
+ # previous response in the next request to retrieve the next set of
4957
+ # results.
4958
+ #
4959
+ # This is not expected to be set, because the value returned in the
4960
+ # previous response is always null.
4961
+ # @return [String]
4962
+ #
4963
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactReferencesRequest AWS API Documentation
4964
+ #
4965
+ class ListContactReferencesRequest < Struct.new(
4966
+ :instance_id,
4967
+ :contact_id,
4968
+ :reference_types,
4969
+ :next_token)
4970
+ SENSITIVE = []
4971
+ include Aws::Structure
4972
+ end
4973
+
4974
+ # @!attribute [rw] reference_summary_list
4975
+ # Information about the contact flows.
4976
+ # @return [Array<Types::ReferenceSummary>]
4977
+ #
4978
+ # @!attribute [rw] next_token
4979
+ # If there are additional results, this is the token for the next set
4980
+ # of results.
4981
+ #
4982
+ # This is always returned as null in the response.
4983
+ # @return [String]
4984
+ #
4985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactReferencesResponse AWS API Documentation
4986
+ #
4987
+ class ListContactReferencesResponse < Struct.new(
4988
+ :reference_summary_list,
4989
+ :next_token)
4990
+ SENSITIVE = []
4991
+ include Aws::Structure
4992
+ end
4993
+
4419
4994
  # @note When making an API call, you may pass ListHoursOfOperationsRequest
4420
4995
  # data as a hash:
4421
4996
  #
@@ -4639,7 +5214,7 @@ module Aws::Connect
4639
5214
  # @return [String]
4640
5215
  #
4641
5216
  # @!attribute [rw] integration_type
4642
- # The type of integration.
5217
+ # The integration type.
4643
5218
  # @return [String]
4644
5219
  #
4645
5220
  # @!attribute [rw] next_token
@@ -4716,7 +5291,7 @@ module Aws::Connect
4716
5291
  end
4717
5292
 
4718
5293
  # @!attribute [rw] lambda_functions
4719
- # The Lambda function ARNs associated with the specified instance.
5294
+ # The Lambdafunction ARNs associated with the specified instance.
4720
5295
  # @return [Array<String>]
4721
5296
  #
4722
5297
  # @!attribute [rw] next_token
@@ -5801,6 +6376,25 @@ module Aws::Connect
5801
6376
  include Aws::Structure
5802
6377
  end
5803
6378
 
6379
+ # If this contact was queued, this contains information about the queue.
6380
+ #
6381
+ # @!attribute [rw] id
6382
+ # The identifier of the agent who accepted the contact.
6383
+ # @return [String]
6384
+ #
6385
+ # @!attribute [rw] enqueue_timestamp
6386
+ # The timestamp when the contact was added to the queue.
6387
+ # @return [Time]
6388
+ #
6389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/QueueInfo AWS API Documentation
6390
+ #
6391
+ class QueueInfo < Struct.new(
6392
+ :id,
6393
+ :enqueue_timestamp)
6394
+ SENSITIVE = []
6395
+ include Aws::Structure
6396
+ end
6397
+
5804
6398
  # Contains information about a queue for a quick connect. The contact
5805
6399
  # flow must be of type Transfer to Queue.
5806
6400
  #
@@ -6011,16 +6605,18 @@ module Aws::Connect
6011
6605
  #
6012
6606
  # {
6013
6607
  # value: "ReferenceValue", # required
6014
- # type: "URL", # required, accepts URL
6608
+ # type: "URL", # required, accepts URL, ATTACHMENT
6015
6609
  # }
6016
6610
  #
6017
6611
  # @!attribute [rw] value
6018
- # A formatted URL that displays to an agent in the Contact Control
6019
- # Panel (CCP)
6612
+ # A valid value for the reference. For example, for a URL reference, a
6613
+ # formatted URL that is displayed to an agent in the Contact Control
6614
+ # Panel (CCP).
6020
6615
  # @return [String]
6021
6616
  #
6022
6617
  # @!attribute [rw] type
6023
- # A valid URL.
6618
+ # The type of the reference. Only `URL` type can be added or updated
6619
+ # on a contact.
6024
6620
  # @return [String]
6025
6621
  #
6026
6622
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Reference AWS API Documentation
@@ -6032,6 +6628,37 @@ module Aws::Connect
6032
6628
  include Aws::Structure
6033
6629
  end
6034
6630
 
6631
+ # Contains summary information about a reference. `ReferenceSummary`
6632
+ # contains only one non null field between the URL and attachment based
6633
+ # on the reference type.
6634
+ #
6635
+ # @note ReferenceSummary is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ReferenceSummary corresponding to the set member.
6636
+ #
6637
+ # @!attribute [rw] url
6638
+ # Information about the URL reference if the `referenceType` is `URL`.
6639
+ # Otherwise, null.
6640
+ # @return [Types::UrlReference]
6641
+ #
6642
+ # @!attribute [rw] attachment
6643
+ # Information about the attachment reference if the `referenceType` is
6644
+ # `ATTACHMENT`. Otherwise, null.
6645
+ # @return [Types::AttachmentReference]
6646
+ #
6647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ReferenceSummary AWS API Documentation
6648
+ #
6649
+ class ReferenceSummary < Struct.new(
6650
+ :url,
6651
+ :attachment,
6652
+ :unknown)
6653
+ SENSITIVE = []
6654
+ include Aws::Structure
6655
+ include Aws::Structure::Union
6656
+
6657
+ class Url < ReferenceSummary; end
6658
+ class Attachment < ReferenceSummary; end
6659
+ class Unknown < ReferenceSummary; end
6660
+ end
6661
+
6035
6662
  # A resource already has that name.
6036
6663
  #
6037
6664
  # @!attribute [rw] message
@@ -6801,11 +7428,12 @@ module Aws::Connect
6801
7428
  # references: {
6802
7429
  # "ReferenceKey" => {
6803
7430
  # value: "ReferenceValue", # required
6804
- # type: "URL", # required, accepts URL
7431
+ # type: "URL", # required, accepts URL, ATTACHMENT
6805
7432
  # },
6806
7433
  # },
6807
7434
  # description: "Description",
6808
7435
  # client_token: "ClientToken",
7436
+ # scheduled_time: Time.now,
6809
7437
  # }
6810
7438
  #
6811
7439
  # @!attribute [rw] instance_id
@@ -6861,6 +7489,12 @@ module Aws::Connect
6861
7489
  # not need to pass this option.
6862
7490
  # @return [String]
6863
7491
  #
7492
+ # @!attribute [rw] scheduled_time
7493
+ # The timestamp, in Unix Epoch seconds format, at which to start
7494
+ # running the inbound contact flow. The scheduled time cannot be in
7495
+ # the past. It must be within up to 6 days in future.
7496
+ # @return [Time]
7497
+ #
6864
7498
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartTaskContactRequest AWS API Documentation
6865
7499
  #
6866
7500
  class StartTaskContactRequest < Struct.new(
@@ -6871,7 +7505,8 @@ module Aws::Connect
6871
7505
  :name,
6872
7506
  :references,
6873
7507
  :description,
6874
- :client_token)
7508
+ :client_token,
7509
+ :scheduled_time)
6875
7510
  SENSITIVE = []
6876
7511
  include Aws::Structure
6877
7512
  end
@@ -7261,6 +7896,134 @@ module Aws::Connect
7261
7896
  include Aws::Structure
7262
7897
  end
7263
7898
 
7899
+ # @note When making an API call, you may pass UpdateContactFlowMetadataRequest
7900
+ # data as a hash:
7901
+ #
7902
+ # {
7903
+ # instance_id: "InstanceId", # required
7904
+ # contact_flow_id: "ContactFlowId", # required
7905
+ # name: "ContactFlowName",
7906
+ # description: "ContactFlowDescription",
7907
+ # contact_flow_state: "ACTIVE", # accepts ACTIVE, ARCHIVED
7908
+ # }
7909
+ #
7910
+ # @!attribute [rw] instance_id
7911
+ # The identifier of the Amazon Connect instance. You can find the
7912
+ # instanceId in the ARN of the instance.
7913
+ # @return [String]
7914
+ #
7915
+ # @!attribute [rw] contact_flow_id
7916
+ # The identifier of the contact flow.
7917
+ # @return [String]
7918
+ #
7919
+ # @!attribute [rw] name
7920
+ # TThe name of the contact flow.
7921
+ # @return [String]
7922
+ #
7923
+ # @!attribute [rw] description
7924
+ # The description of the contact flow.
7925
+ # @return [String]
7926
+ #
7927
+ # @!attribute [rw] contact_flow_state
7928
+ # The state of contact flow.
7929
+ # @return [String]
7930
+ #
7931
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowMetadataRequest AWS API Documentation
7932
+ #
7933
+ class UpdateContactFlowMetadataRequest < Struct.new(
7934
+ :instance_id,
7935
+ :contact_flow_id,
7936
+ :name,
7937
+ :description,
7938
+ :contact_flow_state)
7939
+ SENSITIVE = []
7940
+ include Aws::Structure
7941
+ end
7942
+
7943
+ # @note When making an API call, you may pass UpdateContactFlowModuleContentRequest
7944
+ # data as a hash:
7945
+ #
7946
+ # {
7947
+ # instance_id: "InstanceId", # required
7948
+ # contact_flow_module_id: "ContactFlowModuleId", # required
7949
+ # content: "ContactFlowModuleContent", # required
7950
+ # }
7951
+ #
7952
+ # @!attribute [rw] instance_id
7953
+ # The identifier of the Amazon Connect instance. You can find the
7954
+ # instanceId in the ARN of the instance.
7955
+ # @return [String]
7956
+ #
7957
+ # @!attribute [rw] contact_flow_module_id
7958
+ # The identifier of the contact flow module.
7959
+ # @return [String]
7960
+ #
7961
+ # @!attribute [rw] content
7962
+ # The content of the contact flow module.
7963
+ # @return [String]
7964
+ #
7965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowModuleContentRequest AWS API Documentation
7966
+ #
7967
+ class UpdateContactFlowModuleContentRequest < Struct.new(
7968
+ :instance_id,
7969
+ :contact_flow_module_id,
7970
+ :content)
7971
+ SENSITIVE = []
7972
+ include Aws::Structure
7973
+ end
7974
+
7975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowModuleContentResponse AWS API Documentation
7976
+ #
7977
+ class UpdateContactFlowModuleContentResponse < Aws::EmptyStructure; end
7978
+
7979
+ # @note When making an API call, you may pass UpdateContactFlowModuleMetadataRequest
7980
+ # data as a hash:
7981
+ #
7982
+ # {
7983
+ # instance_id: "InstanceId", # required
7984
+ # contact_flow_module_id: "ContactFlowModuleId", # required
7985
+ # name: "ContactFlowModuleName",
7986
+ # description: "ContactFlowModuleDescription",
7987
+ # state: "ACTIVE", # accepts ACTIVE, ARCHIVED
7988
+ # }
7989
+ #
7990
+ # @!attribute [rw] instance_id
7991
+ # The identifier of the Amazon Connect instance. You can find the
7992
+ # instanceId in the ARN of the instance.
7993
+ # @return [String]
7994
+ #
7995
+ # @!attribute [rw] contact_flow_module_id
7996
+ # The identifier of the contact flow module.
7997
+ # @return [String]
7998
+ #
7999
+ # @!attribute [rw] name
8000
+ # The name of the contact flow module.
8001
+ # @return [String]
8002
+ #
8003
+ # @!attribute [rw] description
8004
+ # The description of the contact flow module.
8005
+ # @return [String]
8006
+ #
8007
+ # @!attribute [rw] state
8008
+ # The state of contact flow module.
8009
+ # @return [String]
8010
+ #
8011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowModuleMetadataRequest AWS API Documentation
8012
+ #
8013
+ class UpdateContactFlowModuleMetadataRequest < Struct.new(
8014
+ :instance_id,
8015
+ :contact_flow_module_id,
8016
+ :name,
8017
+ :description,
8018
+ :state)
8019
+ SENSITIVE = []
8020
+ include Aws::Structure
8021
+ end
8022
+
8023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowModuleMetadataResponse AWS API Documentation
8024
+ #
8025
+ class UpdateContactFlowModuleMetadataResponse < Aws::EmptyStructure; end
8026
+
7264
8027
  # @note When making an API call, you may pass UpdateContactFlowNameRequest
7265
8028
  # data as a hash:
7266
8029
  #
@@ -7298,6 +8061,99 @@ module Aws::Connect
7298
8061
  include Aws::Structure
7299
8062
  end
7300
8063
 
8064
+ # @note When making an API call, you may pass UpdateContactRequest
8065
+ # data as a hash:
8066
+ #
8067
+ # {
8068
+ # instance_id: "InstanceId", # required
8069
+ # contact_id: "ContactId", # required
8070
+ # name: "Name",
8071
+ # description: "Description",
8072
+ # references: {
8073
+ # "ReferenceKey" => {
8074
+ # value: "ReferenceValue", # required
8075
+ # type: "URL", # required, accepts URL, ATTACHMENT
8076
+ # },
8077
+ # },
8078
+ # }
8079
+ #
8080
+ # @!attribute [rw] instance_id
8081
+ # The identifier of the Amazon Connect instance. You can find the
8082
+ # instanceId in the ARN of the instance.
8083
+ # @return [String]
8084
+ #
8085
+ # @!attribute [rw] contact_id
8086
+ # The identifier of the contact. This is the identifier of the contact
8087
+ # associated with the first interaction with your contact center.
8088
+ # @return [String]
8089
+ #
8090
+ # @!attribute [rw] name
8091
+ # The name of the contact.
8092
+ # @return [String]
8093
+ #
8094
+ # @!attribute [rw] description
8095
+ # The description of the contact.
8096
+ # @return [String]
8097
+ #
8098
+ # @!attribute [rw] references
8099
+ # A formatted URL that is shown to an agent in the Contact Control
8100
+ # Panel (CCP).
8101
+ # @return [Hash<String,Types::Reference>]
8102
+ #
8103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactRequest AWS API Documentation
8104
+ #
8105
+ class UpdateContactRequest < Struct.new(
8106
+ :instance_id,
8107
+ :contact_id,
8108
+ :name,
8109
+ :description,
8110
+ :references)
8111
+ SENSITIVE = []
8112
+ include Aws::Structure
8113
+ end
8114
+
8115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactResponse AWS API Documentation
8116
+ #
8117
+ class UpdateContactResponse < Aws::EmptyStructure; end
8118
+
8119
+ # @note When making an API call, you may pass UpdateContactScheduleRequest
8120
+ # data as a hash:
8121
+ #
8122
+ # {
8123
+ # instance_id: "InstanceId", # required
8124
+ # contact_id: "ContactId", # required
8125
+ # scheduled_time: Time.now, # required
8126
+ # }
8127
+ #
8128
+ # @!attribute [rw] instance_id
8129
+ # The identifier of the Amazon Connect instance. You can find the
8130
+ # instanceId in the ARN of the instance.
8131
+ # @return [String]
8132
+ #
8133
+ # @!attribute [rw] contact_id
8134
+ # The identifier of the contact.
8135
+ # @return [String]
8136
+ #
8137
+ # @!attribute [rw] scheduled_time
8138
+ # The timestamp, in Unix Epoch seconds format, at which to start
8139
+ # running the inbound contact flow. The scheduled time cannot be in
8140
+ # the past. It must be within up to 6 days in future.
8141
+ # @return [Time]
8142
+ #
8143
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactScheduleRequest AWS API Documentation
8144
+ #
8145
+ class UpdateContactScheduleRequest < Struct.new(
8146
+ :instance_id,
8147
+ :contact_id,
8148
+ :scheduled_time)
8149
+ SENSITIVE = []
8150
+ include Aws::Structure
8151
+ end
8152
+
8153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactScheduleResponse AWS API Documentation
8154
+ #
8155
+ class UpdateContactScheduleResponse < Aws::EmptyStructure; end
8156
+
7301
8157
  # @note When making an API call, you may pass UpdateHoursOfOperationRequest
7302
8158
  # data as a hash:
7303
8159
  #
@@ -7378,8 +8234,7 @@ module Aws::Connect
7378
8234
  # The type of attribute.
7379
8235
  #
7380
8236
  # <note markdown="1"> Only allowlisted customers can consume USE\_CUSTOM\_TTS\_VOICES. To
7381
- # access this feature, contact Amazon Web Services Support for
7382
- # allowlisting.
8237
+ # access this feature, contact AWS Support for allowlisting.
7383
8238
  #
7384
8239
  # </note>
7385
8240
  # @return [String]
@@ -8151,6 +9006,25 @@ module Aws::Connect
8151
9006
  include Aws::Structure
8152
9007
  end
8153
9008
 
9009
+ # The URL reference.
9010
+ #
9011
+ # @!attribute [rw] name
9012
+ # Identifier of the URL reference.
9013
+ # @return [String]
9014
+ #
9015
+ # @!attribute [rw] value
9016
+ # A valid URL.
9017
+ # @return [String]
9018
+ #
9019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UrlReference AWS API Documentation
9020
+ #
9021
+ class UrlReference < Struct.new(
9022
+ :name,
9023
+ :value)
9024
+ SENSITIVE = []
9025
+ include Aws::Structure
9026
+ end
9027
+
8154
9028
  # Contains the use case.
8155
9029
  #
8156
9030
  # @!attribute [rw] use_case_id