aws-sdk-qconnect 1.11.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qconnect/client.rb +264 -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 +57 -0
- data/sig/errors.rbs +3 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +98 -0
- metadata +4 -4
@@ -54,6 +54,20 @@ module Aws::QConnect
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
class CreateContentAssociation
|
58
|
+
def self.build(context)
|
59
|
+
unless context.config.regional_endpoint
|
60
|
+
endpoint = context.config.endpoint.to_s
|
61
|
+
end
|
62
|
+
Aws::QConnect::EndpointParameters.new(
|
63
|
+
region: context.config.region,
|
64
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
65
|
+
use_fips: context.config.use_fips_endpoint,
|
66
|
+
endpoint: endpoint,
|
67
|
+
)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
57
71
|
class CreateKnowledgeBase
|
58
72
|
def self.build(context)
|
59
73
|
unless context.config.regional_endpoint
|
@@ -138,6 +152,20 @@ module Aws::QConnect
|
|
138
152
|
end
|
139
153
|
end
|
140
154
|
|
155
|
+
class DeleteContentAssociation
|
156
|
+
def self.build(context)
|
157
|
+
unless context.config.regional_endpoint
|
158
|
+
endpoint = context.config.endpoint.to_s
|
159
|
+
end
|
160
|
+
Aws::QConnect::EndpointParameters.new(
|
161
|
+
region: context.config.region,
|
162
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
+
use_fips: context.config.use_fips_endpoint,
|
164
|
+
endpoint: endpoint,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
141
169
|
class DeleteImportJob
|
142
170
|
def self.build(context)
|
143
171
|
unless context.config.regional_endpoint
|
@@ -222,6 +250,20 @@ module Aws::QConnect
|
|
222
250
|
end
|
223
251
|
end
|
224
252
|
|
253
|
+
class GetContentAssociation
|
254
|
+
def self.build(context)
|
255
|
+
unless context.config.regional_endpoint
|
256
|
+
endpoint = context.config.endpoint.to_s
|
257
|
+
end
|
258
|
+
Aws::QConnect::EndpointParameters.new(
|
259
|
+
region: context.config.region,
|
260
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
261
|
+
use_fips: context.config.use_fips_endpoint,
|
262
|
+
endpoint: endpoint,
|
263
|
+
)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
225
267
|
class GetContentSummary
|
226
268
|
def self.build(context)
|
227
269
|
unless context.config.regional_endpoint
|
@@ -334,6 +376,20 @@ module Aws::QConnect
|
|
334
376
|
end
|
335
377
|
end
|
336
378
|
|
379
|
+
class ListContentAssociations
|
380
|
+
def self.build(context)
|
381
|
+
unless context.config.regional_endpoint
|
382
|
+
endpoint = context.config.endpoint.to_s
|
383
|
+
end
|
384
|
+
Aws::QConnect::EndpointParameters.new(
|
385
|
+
region: context.config.region,
|
386
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
387
|
+
use_fips: context.config.use_fips_endpoint,
|
388
|
+
endpoint: endpoint,
|
389
|
+
)
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
337
393
|
class ListContents
|
338
394
|
def self.build(context)
|
339
395
|
unless context.config.regional_endpoint
|
@@ -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
@@ -48,6 +48,7 @@ module Aws
|
|
48
48
|
?sdk_ua_app_id: String,
|
49
49
|
?secret_access_key: String,
|
50
50
|
?session_token: String,
|
51
|
+
?sigv4a_signing_region_set: Array[String],
|
51
52
|
?stub_responses: untyped,
|
52
53
|
?token_provider: untyped,
|
53
54
|
?use_dualstack_endpoint: bool,
|
@@ -122,6 +123,25 @@ module Aws
|
|
122
123
|
) -> _CreateContentResponseSuccess
|
123
124
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateContentResponseSuccess
|
124
125
|
|
126
|
+
interface _CreateContentAssociationResponseSuccess
|
127
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateContentAssociationResponse]
|
128
|
+
def content_association: () -> Types::ContentAssociationData
|
129
|
+
end
|
130
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#create_content_association-instance_method
|
131
|
+
def create_content_association: (
|
132
|
+
association: {
|
133
|
+
amazon_connect_guide_association: {
|
134
|
+
flow_id: ::String?
|
135
|
+
}?
|
136
|
+
},
|
137
|
+
association_type: ("AMAZON_CONNECT_GUIDE"),
|
138
|
+
?client_token: ::String,
|
139
|
+
content_id: ::String,
|
140
|
+
knowledge_base_id: ::String,
|
141
|
+
?tags: Hash[::String, ::String]
|
142
|
+
) -> _CreateContentAssociationResponseSuccess
|
143
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateContentAssociationResponseSuccess
|
144
|
+
|
125
145
|
interface _CreateKnowledgeBaseResponseSuccess
|
126
146
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateKnowledgeBaseResponse]
|
127
147
|
def knowledge_base: () -> Types::KnowledgeBaseData
|
@@ -243,6 +263,17 @@ module Aws
|
|
243
263
|
) -> _DeleteContentResponseSuccess
|
244
264
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteContentResponseSuccess
|
245
265
|
|
266
|
+
interface _DeleteContentAssociationResponseSuccess
|
267
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteContentAssociationResponse]
|
268
|
+
end
|
269
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#delete_content_association-instance_method
|
270
|
+
def delete_content_association: (
|
271
|
+
content_association_id: ::String,
|
272
|
+
content_id: ::String,
|
273
|
+
knowledge_base_id: ::String
|
274
|
+
) -> _DeleteContentAssociationResponseSuccess
|
275
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteContentAssociationResponseSuccess
|
276
|
+
|
246
277
|
interface _DeleteImportJobResponseSuccess
|
247
278
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteImportJobResponse]
|
248
279
|
end
|
@@ -304,6 +335,18 @@ module Aws
|
|
304
335
|
) -> _GetContentResponseSuccess
|
305
336
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContentResponseSuccess
|
306
337
|
|
338
|
+
interface _GetContentAssociationResponseSuccess
|
339
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetContentAssociationResponse]
|
340
|
+
def content_association: () -> Types::ContentAssociationData
|
341
|
+
end
|
342
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#get_content_association-instance_method
|
343
|
+
def get_content_association: (
|
344
|
+
content_association_id: ::String,
|
345
|
+
content_id: ::String,
|
346
|
+
knowledge_base_id: ::String
|
347
|
+
) -> _GetContentAssociationResponseSuccess
|
348
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContentAssociationResponseSuccess
|
349
|
+
|
307
350
|
interface _GetContentSummaryResponseSuccess
|
308
351
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetContentSummaryResponse]
|
309
352
|
def content_summary: () -> Types::ContentSummary
|
@@ -397,6 +440,20 @@ module Aws
|
|
397
440
|
) -> _ListAssistantsResponseSuccess
|
398
441
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssistantsResponseSuccess
|
399
442
|
|
443
|
+
interface _ListContentAssociationsResponseSuccess
|
444
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListContentAssociationsResponse]
|
445
|
+
def content_association_summaries: () -> ::Array[Types::ContentAssociationSummary]
|
446
|
+
def next_token: () -> ::String
|
447
|
+
end
|
448
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#list_content_associations-instance_method
|
449
|
+
def list_content_associations: (
|
450
|
+
content_id: ::String,
|
451
|
+
knowledge_base_id: ::String,
|
452
|
+
?max_results: ::Integer,
|
453
|
+
?next_token: ::String
|
454
|
+
) -> _ListContentAssociationsResponseSuccess
|
455
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContentAssociationsResponseSuccess
|
456
|
+
|
400
457
|
interface _ListContentsResponseSuccess
|
401
458
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListContentsResponse]
|
402
459
|
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
|
data/sig/resource.rbs
CHANGED