aws-sdk-qconnect 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qconnect/client.rb +255 -1
- data/lib/aws-sdk-qconnect/client_api.rb +140 -0
- data/lib/aws-sdk-qconnect/endpoints.rb +56 -0
- data/lib/aws-sdk-qconnect/errors.rb +20 -0
- data/lib/aws-sdk-qconnect/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-qconnect/types.rb +339 -1
- data/lib/aws-sdk-qconnect.rb +1 -1
- data/sig/client.rbs +56 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +98 -0
- metadata +2 -2
@@ -33,6 +33,7 @@ module Aws::QConnect
|
|
33
33
|
# * {RequestTimeoutException}
|
34
34
|
# * {ResourceNotFoundException}
|
35
35
|
# * {ServiceQuotaExceededException}
|
36
|
+
# * {ThrottlingException}
|
36
37
|
# * {TooManyTagsException}
|
37
38
|
# * {ValidationException}
|
38
39
|
#
|
@@ -141,6 +142,25 @@ module Aws::QConnect
|
|
141
142
|
end
|
142
143
|
end
|
143
144
|
|
145
|
+
class ThrottlingException < ServiceError
|
146
|
+
|
147
|
+
# @param [Seahorse::Client::RequestContext] context
|
148
|
+
# @param [String] message
|
149
|
+
# @param [Aws::QConnect::Types::ThrottlingException] data
|
150
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
151
|
+
super(context, message, data)
|
152
|
+
end
|
153
|
+
|
154
|
+
# @return [String]
|
155
|
+
def message
|
156
|
+
@message || @data[:message]
|
157
|
+
end
|
158
|
+
|
159
|
+
def retryable?
|
160
|
+
true
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
144
164
|
class TooManyTagsException < ServiceError
|
145
165
|
|
146
166
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -64,6 +64,8 @@ module Aws::QConnect
|
|
64
64
|
Aws::QConnect::Endpoints::CreateAssistantAssociation.build(context)
|
65
65
|
when :create_content
|
66
66
|
Aws::QConnect::Endpoints::CreateContent.build(context)
|
67
|
+
when :create_content_association
|
68
|
+
Aws::QConnect::Endpoints::CreateContentAssociation.build(context)
|
67
69
|
when :create_knowledge_base
|
68
70
|
Aws::QConnect::Endpoints::CreateKnowledgeBase.build(context)
|
69
71
|
when :create_quick_response
|
@@ -76,6 +78,8 @@ module Aws::QConnect
|
|
76
78
|
Aws::QConnect::Endpoints::DeleteAssistantAssociation.build(context)
|
77
79
|
when :delete_content
|
78
80
|
Aws::QConnect::Endpoints::DeleteContent.build(context)
|
81
|
+
when :delete_content_association
|
82
|
+
Aws::QConnect::Endpoints::DeleteContentAssociation.build(context)
|
79
83
|
when :delete_import_job
|
80
84
|
Aws::QConnect::Endpoints::DeleteImportJob.build(context)
|
81
85
|
when :delete_knowledge_base
|
@@ -88,6 +92,8 @@ module Aws::QConnect
|
|
88
92
|
Aws::QConnect::Endpoints::GetAssistantAssociation.build(context)
|
89
93
|
when :get_content
|
90
94
|
Aws::QConnect::Endpoints::GetContent.build(context)
|
95
|
+
when :get_content_association
|
96
|
+
Aws::QConnect::Endpoints::GetContentAssociation.build(context)
|
91
97
|
when :get_content_summary
|
92
98
|
Aws::QConnect::Endpoints::GetContentSummary.build(context)
|
93
99
|
when :get_import_job
|
@@ -104,6 +110,8 @@ module Aws::QConnect
|
|
104
110
|
Aws::QConnect::Endpoints::ListAssistantAssociations.build(context)
|
105
111
|
when :list_assistants
|
106
112
|
Aws::QConnect::Endpoints::ListAssistants.build(context)
|
113
|
+
when :list_content_associations
|
114
|
+
Aws::QConnect::Endpoints::ListContentAssociations.build(context)
|
107
115
|
when :list_contents
|
108
116
|
Aws::QConnect::Endpoints::ListContents.build(context)
|
109
117
|
when :list_import_jobs
|
@@ -23,6 +23,25 @@ module Aws::QConnect
|
|
23
23
|
include Aws::Structure
|
24
24
|
end
|
25
25
|
|
26
|
+
# Content association data for a [step-by-step guide][1].
|
27
|
+
#
|
28
|
+
#
|
29
|
+
#
|
30
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/step-by-step-guided-experiences.html
|
31
|
+
#
|
32
|
+
# @!attribute [rw] flow_id
|
33
|
+
# The Amazon Resource Name (ARN) of an Amazon Connect flow.
|
34
|
+
# Step-by-step guides are a type of flow.
|
35
|
+
# @return [String]
|
36
|
+
#
|
37
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/AmazonConnectGuideAssociationData AWS API Documentation
|
38
|
+
#
|
39
|
+
class AmazonConnectGuideAssociationData < Struct.new(
|
40
|
+
:flow_id)
|
41
|
+
SENSITIVE = []
|
42
|
+
include Aws::Structure
|
43
|
+
end
|
44
|
+
|
26
45
|
# Configuration information for Amazon AppIntegrations to automatically
|
27
46
|
# ingest content.
|
28
47
|
#
|
@@ -480,6 +499,141 @@ module Aws::QConnect
|
|
480
499
|
include Aws::Structure
|
481
500
|
end
|
482
501
|
|
502
|
+
# The contents of a content association.
|
503
|
+
#
|
504
|
+
# @note ContentAssociationContents is a union - when making an API calls you must set exactly one of the members.
|
505
|
+
#
|
506
|
+
# @note ContentAssociationContents is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ContentAssociationContents corresponding to the set member.
|
507
|
+
#
|
508
|
+
# @!attribute [rw] amazon_connect_guide_association
|
509
|
+
# The data of the step-by-step guide association.
|
510
|
+
# @return [Types::AmazonConnectGuideAssociationData]
|
511
|
+
#
|
512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ContentAssociationContents AWS API Documentation
|
513
|
+
#
|
514
|
+
class ContentAssociationContents < Struct.new(
|
515
|
+
:amazon_connect_guide_association,
|
516
|
+
:unknown)
|
517
|
+
SENSITIVE = []
|
518
|
+
include Aws::Structure
|
519
|
+
include Aws::Structure::Union
|
520
|
+
|
521
|
+
class AmazonConnectGuideAssociation < ContentAssociationContents; end
|
522
|
+
class Unknown < ContentAssociationContents; end
|
523
|
+
end
|
524
|
+
|
525
|
+
# Information about the content association.
|
526
|
+
#
|
527
|
+
# @!attribute [rw] association_data
|
528
|
+
# The content association.
|
529
|
+
# @return [Types::ContentAssociationContents]
|
530
|
+
#
|
531
|
+
# @!attribute [rw] association_type
|
532
|
+
# The type of association.
|
533
|
+
# @return [String]
|
534
|
+
#
|
535
|
+
# @!attribute [rw] content_arn
|
536
|
+
# The Amazon Resource Name (ARN) of the content.
|
537
|
+
# @return [String]
|
538
|
+
#
|
539
|
+
# @!attribute [rw] content_association_arn
|
540
|
+
# The Amazon Resource Name (ARN) of the content association.
|
541
|
+
# @return [String]
|
542
|
+
#
|
543
|
+
# @!attribute [rw] content_association_id
|
544
|
+
# The identifier of the content association. Can be either the ID or
|
545
|
+
# the ARN. URLs cannot contain the ARN.
|
546
|
+
# @return [String]
|
547
|
+
#
|
548
|
+
# @!attribute [rw] content_id
|
549
|
+
# The identifier of the content.
|
550
|
+
# @return [String]
|
551
|
+
#
|
552
|
+
# @!attribute [rw] knowledge_base_arn
|
553
|
+
# The Amazon Resource Name (ARN) of the knowledge base.
|
554
|
+
# @return [String]
|
555
|
+
#
|
556
|
+
# @!attribute [rw] knowledge_base_id
|
557
|
+
# The identifier of the knowledge base.
|
558
|
+
# @return [String]
|
559
|
+
#
|
560
|
+
# @!attribute [rw] tags
|
561
|
+
# The tags used to organize, track, or control access for this
|
562
|
+
# resource.
|
563
|
+
# @return [Hash<String,String>]
|
564
|
+
#
|
565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ContentAssociationData AWS API Documentation
|
566
|
+
#
|
567
|
+
class ContentAssociationData < Struct.new(
|
568
|
+
:association_data,
|
569
|
+
:association_type,
|
570
|
+
:content_arn,
|
571
|
+
:content_association_arn,
|
572
|
+
:content_association_id,
|
573
|
+
:content_id,
|
574
|
+
:knowledge_base_arn,
|
575
|
+
:knowledge_base_id,
|
576
|
+
:tags)
|
577
|
+
SENSITIVE = []
|
578
|
+
include Aws::Structure
|
579
|
+
end
|
580
|
+
|
581
|
+
# Summary information about a content association.
|
582
|
+
#
|
583
|
+
# @!attribute [rw] association_data
|
584
|
+
# The content association.
|
585
|
+
# @return [Types::ContentAssociationContents]
|
586
|
+
#
|
587
|
+
# @!attribute [rw] association_type
|
588
|
+
# The type of association.
|
589
|
+
# @return [String]
|
590
|
+
#
|
591
|
+
# @!attribute [rw] content_arn
|
592
|
+
# The Amazon Resource Name (ARN) of the content.
|
593
|
+
# @return [String]
|
594
|
+
#
|
595
|
+
# @!attribute [rw] content_association_arn
|
596
|
+
# The Amazon Resource Name (ARN) of the content association.
|
597
|
+
# @return [String]
|
598
|
+
#
|
599
|
+
# @!attribute [rw] content_association_id
|
600
|
+
# The identifier of the content association. Can be either the ID or
|
601
|
+
# the ARN. URLs cannot contain the ARN.
|
602
|
+
# @return [String]
|
603
|
+
#
|
604
|
+
# @!attribute [rw] content_id
|
605
|
+
# The identifier of the content.
|
606
|
+
# @return [String]
|
607
|
+
#
|
608
|
+
# @!attribute [rw] knowledge_base_arn
|
609
|
+
# The Amazon Resource Name (ARN) of the knowledge base.
|
610
|
+
# @return [String]
|
611
|
+
#
|
612
|
+
# @!attribute [rw] knowledge_base_id
|
613
|
+
# The identifier of the knowledge base.
|
614
|
+
# @return [String]
|
615
|
+
#
|
616
|
+
# @!attribute [rw] tags
|
617
|
+
# The tags used to organize, track, or control access for this
|
618
|
+
# resource.
|
619
|
+
# @return [Hash<String,String>]
|
620
|
+
#
|
621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ContentAssociationSummary AWS API Documentation
|
622
|
+
#
|
623
|
+
class ContentAssociationSummary < Struct.new(
|
624
|
+
:association_data,
|
625
|
+
:association_type,
|
626
|
+
:content_arn,
|
627
|
+
:content_association_arn,
|
628
|
+
:content_association_id,
|
629
|
+
:content_id,
|
630
|
+
:knowledge_base_arn,
|
631
|
+
:knowledge_base_id,
|
632
|
+
:tags)
|
633
|
+
SENSITIVE = []
|
634
|
+
include Aws::Structure
|
635
|
+
end
|
636
|
+
|
483
637
|
# Information about the content.
|
484
638
|
#
|
485
639
|
# @!attribute [rw] content_arn
|
@@ -837,6 +991,67 @@ module Aws::QConnect
|
|
837
991
|
include Aws::Structure
|
838
992
|
end
|
839
993
|
|
994
|
+
# @!attribute [rw] association
|
995
|
+
# The identifier of the associated resource.
|
996
|
+
# @return [Types::ContentAssociationContents]
|
997
|
+
#
|
998
|
+
# @!attribute [rw] association_type
|
999
|
+
# The type of association.
|
1000
|
+
# @return [String]
|
1001
|
+
#
|
1002
|
+
# @!attribute [rw] client_token
|
1003
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
1004
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
1005
|
+
# SDK populates this field. For more information about idempotency,
|
1006
|
+
# see [Making retries safe with idempotent APIs][1].
|
1007
|
+
#
|
1008
|
+
# **A suitable default value is auto-generated.** You should normally
|
1009
|
+
# not need to pass this option.
|
1010
|
+
#
|
1011
|
+
#
|
1012
|
+
#
|
1013
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
1014
|
+
# @return [String]
|
1015
|
+
#
|
1016
|
+
# @!attribute [rw] content_id
|
1017
|
+
# The identifier of the content.
|
1018
|
+
# @return [String]
|
1019
|
+
#
|
1020
|
+
# @!attribute [rw] knowledge_base_id
|
1021
|
+
# The identifier of the knowledge base.
|
1022
|
+
# @return [String]
|
1023
|
+
#
|
1024
|
+
# @!attribute [rw] tags
|
1025
|
+
# The tags used to organize, track, or control access for this
|
1026
|
+
# resource.
|
1027
|
+
# @return [Hash<String,String>]
|
1028
|
+
#
|
1029
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/CreateContentAssociationRequest AWS API Documentation
|
1030
|
+
#
|
1031
|
+
class CreateContentAssociationRequest < Struct.new(
|
1032
|
+
:association,
|
1033
|
+
:association_type,
|
1034
|
+
:client_token,
|
1035
|
+
:content_id,
|
1036
|
+
:knowledge_base_id,
|
1037
|
+
:tags)
|
1038
|
+
SENSITIVE = []
|
1039
|
+
include Aws::Structure
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
# @!attribute [rw] content_association
|
1043
|
+
# The association between Amazon Q in Connect content and another
|
1044
|
+
# resource.
|
1045
|
+
# @return [Types::ContentAssociationData]
|
1046
|
+
#
|
1047
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/CreateContentAssociationResponse AWS API Documentation
|
1048
|
+
#
|
1049
|
+
class CreateContentAssociationResponse < Struct.new(
|
1050
|
+
:content_association)
|
1051
|
+
SENSITIVE = []
|
1052
|
+
include Aws::Structure
|
1053
|
+
end
|
1054
|
+
|
840
1055
|
# @!attribute [rw] client_token
|
841
1056
|
# A unique, case-sensitive identifier that you provide to ensure the
|
842
1057
|
# idempotency of the request. If not provided, the Amazon Web Services
|
@@ -1297,6 +1512,33 @@ module Aws::QConnect
|
|
1297
1512
|
#
|
1298
1513
|
class DeleteAssistantResponse < Aws::EmptyStructure; end
|
1299
1514
|
|
1515
|
+
# @!attribute [rw] content_association_id
|
1516
|
+
# The identifier of the content association. Can be either the ID or
|
1517
|
+
# the ARN. URLs cannot contain the ARN.
|
1518
|
+
# @return [String]
|
1519
|
+
#
|
1520
|
+
# @!attribute [rw] content_id
|
1521
|
+
# The identifier of the content.
|
1522
|
+
# @return [String]
|
1523
|
+
#
|
1524
|
+
# @!attribute [rw] knowledge_base_id
|
1525
|
+
# The identifier of the knowledge base.
|
1526
|
+
# @return [String]
|
1527
|
+
#
|
1528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/DeleteContentAssociationRequest AWS API Documentation
|
1529
|
+
#
|
1530
|
+
class DeleteContentAssociationRequest < Struct.new(
|
1531
|
+
:content_association_id,
|
1532
|
+
:content_id,
|
1533
|
+
:knowledge_base_id)
|
1534
|
+
SENSITIVE = []
|
1535
|
+
include Aws::Structure
|
1536
|
+
end
|
1537
|
+
|
1538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/DeleteContentAssociationResponse AWS API Documentation
|
1539
|
+
#
|
1540
|
+
class DeleteContentAssociationResponse < Aws::EmptyStructure; end
|
1541
|
+
|
1300
1542
|
# @!attribute [rw] content_id
|
1301
1543
|
# The identifier of the content. Can be either the ID or the ARN. URLs
|
1302
1544
|
# cannot contain the ARN.
|
@@ -1580,6 +1822,42 @@ module Aws::QConnect
|
|
1580
1822
|
include Aws::Structure
|
1581
1823
|
end
|
1582
1824
|
|
1825
|
+
# @!attribute [rw] content_association_id
|
1826
|
+
# The identifier of the content association. Can be either the ID or
|
1827
|
+
# the ARN. URLs cannot contain the ARN.
|
1828
|
+
# @return [String]
|
1829
|
+
#
|
1830
|
+
# @!attribute [rw] content_id
|
1831
|
+
# The identifier of the content.
|
1832
|
+
# @return [String]
|
1833
|
+
#
|
1834
|
+
# @!attribute [rw] knowledge_base_id
|
1835
|
+
# The identifier of the knowledge base.
|
1836
|
+
# @return [String]
|
1837
|
+
#
|
1838
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/GetContentAssociationRequest AWS API Documentation
|
1839
|
+
#
|
1840
|
+
class GetContentAssociationRequest < Struct.new(
|
1841
|
+
:content_association_id,
|
1842
|
+
:content_id,
|
1843
|
+
:knowledge_base_id)
|
1844
|
+
SENSITIVE = []
|
1845
|
+
include Aws::Structure
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
# @!attribute [rw] content_association
|
1849
|
+
# The association between Amazon Q in Connect content and another
|
1850
|
+
# resource.
|
1851
|
+
# @return [Types::ContentAssociationData]
|
1852
|
+
#
|
1853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/GetContentAssociationResponse AWS API Documentation
|
1854
|
+
#
|
1855
|
+
class GetContentAssociationResponse < Struct.new(
|
1856
|
+
:content_association)
|
1857
|
+
SENSITIVE = []
|
1858
|
+
include Aws::Structure
|
1859
|
+
end
|
1860
|
+
|
1583
1861
|
# @!attribute [rw] content_id
|
1584
1862
|
# The identifier of the content. Can be either the ID or the ARN. URLs
|
1585
1863
|
# cannot contain the ARN.
|
@@ -1885,7 +2163,7 @@ module Aws::QConnect
|
|
1885
2163
|
# @return [Types::ExternalSourceConfiguration]
|
1886
2164
|
#
|
1887
2165
|
# @!attribute [rw] failed_record_report
|
1888
|
-
# The link to
|
2166
|
+
# The link to download the information of resource data that failed to
|
1889
2167
|
# be imported.
|
1890
2168
|
# @return [String]
|
1891
2169
|
#
|
@@ -2274,6 +2552,53 @@ module Aws::QConnect
|
|
2274
2552
|
include Aws::Structure
|
2275
2553
|
end
|
2276
2554
|
|
2555
|
+
# @!attribute [rw] content_id
|
2556
|
+
# The identifier of the content.
|
2557
|
+
# @return [String]
|
2558
|
+
#
|
2559
|
+
# @!attribute [rw] knowledge_base_id
|
2560
|
+
# The identifier of the knowledge base.
|
2561
|
+
# @return [String]
|
2562
|
+
#
|
2563
|
+
# @!attribute [rw] max_results
|
2564
|
+
# The maximum number of results to return per page.
|
2565
|
+
# @return [Integer]
|
2566
|
+
#
|
2567
|
+
# @!attribute [rw] next_token
|
2568
|
+
# The token for the next set of results. Use the value returned in the
|
2569
|
+
# previous response in the next request to retrieve the next set of
|
2570
|
+
# results.
|
2571
|
+
# @return [String]
|
2572
|
+
#
|
2573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListContentAssociationsRequest AWS API Documentation
|
2574
|
+
#
|
2575
|
+
class ListContentAssociationsRequest < Struct.new(
|
2576
|
+
:content_id,
|
2577
|
+
:knowledge_base_id,
|
2578
|
+
:max_results,
|
2579
|
+
:next_token)
|
2580
|
+
SENSITIVE = []
|
2581
|
+
include Aws::Structure
|
2582
|
+
end
|
2583
|
+
|
2584
|
+
# @!attribute [rw] content_association_summaries
|
2585
|
+
# Summary information about content associations.
|
2586
|
+
# @return [Array<Types::ContentAssociationSummary>]
|
2587
|
+
#
|
2588
|
+
# @!attribute [rw] next_token
|
2589
|
+
# If there are additional results, this is the token for the next set
|
2590
|
+
# of results.
|
2591
|
+
# @return [String]
|
2592
|
+
#
|
2593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListContentAssociationsResponse AWS API Documentation
|
2594
|
+
#
|
2595
|
+
class ListContentAssociationsResponse < Struct.new(
|
2596
|
+
:content_association_summaries,
|
2597
|
+
:next_token)
|
2598
|
+
SENSITIVE = []
|
2599
|
+
include Aws::Structure
|
2600
|
+
end
|
2601
|
+
|
2277
2602
|
# @!attribute [rw] knowledge_base_id
|
2278
2603
|
# The identifier of the knowledge base. This should not be a
|
2279
2604
|
# QUICK\_RESPONSES type knowledge base. Can be either the ID or the
|
@@ -4121,6 +4446,19 @@ module Aws::QConnect
|
|
4121
4446
|
include Aws::Structure
|
4122
4447
|
end
|
4123
4448
|
|
4449
|
+
# The throttling limit has been exceeded.
|
4450
|
+
#
|
4451
|
+
# @!attribute [rw] message
|
4452
|
+
# @return [String]
|
4453
|
+
#
|
4454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ThrottlingException AWS API Documentation
|
4455
|
+
#
|
4456
|
+
class ThrottlingException < Struct.new(
|
4457
|
+
:message)
|
4458
|
+
SENSITIVE = []
|
4459
|
+
include Aws::Structure
|
4460
|
+
end
|
4461
|
+
|
4124
4462
|
# Amazon Q in Connect throws this exception if you have too many tags in
|
4125
4463
|
# your tag set.
|
4126
4464
|
#
|
data/lib/aws-sdk-qconnect.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -122,6 +122,25 @@ module Aws
|
|
122
122
|
) -> _CreateContentResponseSuccess
|
123
123
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateContentResponseSuccess
|
124
124
|
|
125
|
+
interface _CreateContentAssociationResponseSuccess
|
126
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateContentAssociationResponse]
|
127
|
+
def content_association: () -> Types::ContentAssociationData
|
128
|
+
end
|
129
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#create_content_association-instance_method
|
130
|
+
def create_content_association: (
|
131
|
+
association: {
|
132
|
+
amazon_connect_guide_association: {
|
133
|
+
flow_id: ::String?
|
134
|
+
}?
|
135
|
+
},
|
136
|
+
association_type: ("AMAZON_CONNECT_GUIDE"),
|
137
|
+
?client_token: ::String,
|
138
|
+
content_id: ::String,
|
139
|
+
knowledge_base_id: ::String,
|
140
|
+
?tags: Hash[::String, ::String]
|
141
|
+
) -> _CreateContentAssociationResponseSuccess
|
142
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateContentAssociationResponseSuccess
|
143
|
+
|
125
144
|
interface _CreateKnowledgeBaseResponseSuccess
|
126
145
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateKnowledgeBaseResponse]
|
127
146
|
def knowledge_base: () -> Types::KnowledgeBaseData
|
@@ -243,6 +262,17 @@ module Aws
|
|
243
262
|
) -> _DeleteContentResponseSuccess
|
244
263
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteContentResponseSuccess
|
245
264
|
|
265
|
+
interface _DeleteContentAssociationResponseSuccess
|
266
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteContentAssociationResponse]
|
267
|
+
end
|
268
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#delete_content_association-instance_method
|
269
|
+
def delete_content_association: (
|
270
|
+
content_association_id: ::String,
|
271
|
+
content_id: ::String,
|
272
|
+
knowledge_base_id: ::String
|
273
|
+
) -> _DeleteContentAssociationResponseSuccess
|
274
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteContentAssociationResponseSuccess
|
275
|
+
|
246
276
|
interface _DeleteImportJobResponseSuccess
|
247
277
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteImportJobResponse]
|
248
278
|
end
|
@@ -304,6 +334,18 @@ module Aws
|
|
304
334
|
) -> _GetContentResponseSuccess
|
305
335
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContentResponseSuccess
|
306
336
|
|
337
|
+
interface _GetContentAssociationResponseSuccess
|
338
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetContentAssociationResponse]
|
339
|
+
def content_association: () -> Types::ContentAssociationData
|
340
|
+
end
|
341
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#get_content_association-instance_method
|
342
|
+
def get_content_association: (
|
343
|
+
content_association_id: ::String,
|
344
|
+
content_id: ::String,
|
345
|
+
knowledge_base_id: ::String
|
346
|
+
) -> _GetContentAssociationResponseSuccess
|
347
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContentAssociationResponseSuccess
|
348
|
+
|
307
349
|
interface _GetContentSummaryResponseSuccess
|
308
350
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetContentSummaryResponse]
|
309
351
|
def content_summary: () -> Types::ContentSummary
|
@@ -397,6 +439,20 @@ module Aws
|
|
397
439
|
) -> _ListAssistantsResponseSuccess
|
398
440
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssistantsResponseSuccess
|
399
441
|
|
442
|
+
interface _ListContentAssociationsResponseSuccess
|
443
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListContentAssociationsResponse]
|
444
|
+
def content_association_summaries: () -> ::Array[Types::ContentAssociationSummary]
|
445
|
+
def next_token: () -> ::String
|
446
|
+
end
|
447
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#list_content_associations-instance_method
|
448
|
+
def list_content_associations: (
|
449
|
+
content_id: ::String,
|
450
|
+
knowledge_base_id: ::String,
|
451
|
+
?max_results: ::Integer,
|
452
|
+
?next_token: ::String
|
453
|
+
) -> _ListContentAssociationsResponseSuccess
|
454
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContentAssociationsResponseSuccess
|
455
|
+
|
400
456
|
interface _ListContentsResponseSuccess
|
401
457
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListContentsResponse]
|
402
458
|
def content_summaries: () -> ::Array[Types::ContentSummary]
|
data/sig/errors.rbs
CHANGED
@@ -30,6 +30,9 @@ module Aws
|
|
30
30
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
31
31
|
def message: () -> ::String
|
32
32
|
end
|
33
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
34
|
+
def message: () -> ::String
|
35
|
+
end
|
33
36
|
class TooManyTagsException < ::Aws::Errors::ServiceError
|
34
37
|
def message: () -> ::String
|
35
38
|
def resource_name: () -> ::String
|