aws-sdk-qconnect 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d018391138a513fa6991564e5c160370db519e6e82d3ba7bd47af7a3ed1adbb
4
- data.tar.gz: 0ee26bfadad15ed1efd21301df813ee7a5c50f8b797c3c76e28e542c84843ac0
3
+ metadata.gz: 5ed62ee1916e403aa6639366e46d4030fe33f666e573808764ac493fa9ce77ca
4
+ data.tar.gz: 1b690d17fdcbca70b8801bd07214302e869fb6e31675cc444cb029671283f8d0
5
5
  SHA512:
6
- metadata.gz: 21169f22e978bb42a1cda1427fefeb77edd57078e45b460087b7d1591fff83f6c266321b6244e8945a646508b530379865566e9d2d32675e999e44f7e8ece4b3
7
- data.tar.gz: eca48e203498bf3b38410fccaad6fc2c58a1a66546dc04538bb8bf004a836983a3153ff8823f44e0223f9573e96f1dc54004f97e56566630c09446a83baeef02
6
+ metadata.gz: b0d445fe602c2b8ba9fc5dfdb47fc0880f933e53c6c5a54757f60901806253ad7c95a867a2f660cd1f957c3c9c63cef4037d8f5f4c00b5e0e37bc6595248766e
7
+ data.tar.gz: 542765f1e4c838866348ba34da8c61467c4565980861c3e0f59b3f03364e4d948244b7d7a6143b3a60b93f94037a0da7816f8694c626c24f07fd0b3e694631c2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.0 (2024-06-27)
5
+ ------------------
6
+
7
+ * Feature - Adds CreateContentAssociation, ListContentAssociations, GetContentAssociation, and DeleteContentAssociation APIs.
8
+
4
9
  1.11.0 (2024-06-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.12.0
@@ -682,6 +682,103 @@ module Aws::QConnect
682
682
  req.send_request(options)
683
683
  end
684
684
 
685
+ # Creates an association between a content resource in a knowledge base
686
+ # and [step-by-step guides][1]. Step-by-step guides offer instructions
687
+ # to agents for resolving common customer issues. You create a content
688
+ # association to integrate Amazon Q in Connect and step-by-step guides.
689
+ #
690
+ # After you integrate Amazon Q and step-by-step guides, when Amazon Q
691
+ # provides a recommendation to an agent based on the intent that it's
692
+ # detected, it also provides them with the option to start the
693
+ # step-by-step guide that you have associated with the content.
694
+ #
695
+ # Note the following limitations:
696
+ #
697
+ # * You can create only one content association for each content
698
+ # resource in a knowledge base.
699
+ #
700
+ # * You can associate a step-by-step guide with multiple content
701
+ # resources.
702
+ #
703
+ # For more information, see [Integrate Amazon Q in Connect with
704
+ # step-by-step guides][2] in the *Amazon Connect Administrator Guide*.
705
+ #
706
+ #
707
+ #
708
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/step-by-step-guided-experiences.html
709
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html
710
+ #
711
+ # @option params [required, Types::ContentAssociationContents] :association
712
+ # The identifier of the associated resource.
713
+ #
714
+ # @option params [required, String] :association_type
715
+ # The type of association.
716
+ #
717
+ # @option params [String] :client_token
718
+ # A unique, case-sensitive identifier that you provide to ensure the
719
+ # idempotency of the request. If not provided, the Amazon Web Services
720
+ # SDK populates this field. For more information about idempotency, see
721
+ # [Making retries safe with idempotent APIs][1].
722
+ #
723
+ # **A suitable default value is auto-generated.** You should normally
724
+ # not need to pass this option.**
725
+ #
726
+ #
727
+ #
728
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
729
+ #
730
+ # @option params [required, String] :content_id
731
+ # The identifier of the content.
732
+ #
733
+ # @option params [required, String] :knowledge_base_id
734
+ # The identifier of the knowledge base.
735
+ #
736
+ # @option params [Hash<String,String>] :tags
737
+ # The tags used to organize, track, or control access for this resource.
738
+ #
739
+ # @return [Types::CreateContentAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
740
+ #
741
+ # * {Types::CreateContentAssociationResponse#content_association #content_association} => Types::ContentAssociationData
742
+ #
743
+ # @example Request syntax with placeholder values
744
+ #
745
+ # resp = client.create_content_association({
746
+ # association: { # required
747
+ # amazon_connect_guide_association: {
748
+ # flow_id: "GenericArn",
749
+ # },
750
+ # },
751
+ # association_type: "AMAZON_CONNECT_GUIDE", # required, accepts AMAZON_CONNECT_GUIDE
752
+ # client_token: "ClientToken",
753
+ # content_id: "UuidOrArn", # required
754
+ # knowledge_base_id: "UuidOrArn", # required
755
+ # tags: {
756
+ # "TagKey" => "TagValue",
757
+ # },
758
+ # })
759
+ #
760
+ # @example Response structure
761
+ #
762
+ # resp.content_association.association_data.amazon_connect_guide_association.flow_id #=> String
763
+ # resp.content_association.association_type #=> String, one of "AMAZON_CONNECT_GUIDE"
764
+ # resp.content_association.content_arn #=> String
765
+ # resp.content_association.content_association_arn #=> String
766
+ # resp.content_association.content_association_id #=> String
767
+ # resp.content_association.content_id #=> String
768
+ # resp.content_association.knowledge_base_arn #=> String
769
+ # resp.content_association.knowledge_base_id #=> String
770
+ # resp.content_association.tags #=> Hash
771
+ # resp.content_association.tags["TagKey"] #=> String
772
+ #
773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/CreateContentAssociation AWS API Documentation
774
+ #
775
+ # @overload create_content_association(params = {})
776
+ # @param [Hash] params ({})
777
+ def create_content_association(params = {}, options = {})
778
+ req = build_request(:create_content_association, params)
779
+ req.send_request(options)
780
+ end
781
+
685
782
  # Creates a knowledge base.
686
783
  #
687
784
  # <note markdown="1"> When using this API, you cannot reuse [Amazon AppIntegrations][1]
@@ -1123,6 +1220,45 @@ module Aws::QConnect
1123
1220
  req.send_request(options)
1124
1221
  end
1125
1222
 
1223
+ # Deletes the content association.
1224
+ #
1225
+ # For more information about content associations--what they are and
1226
+ # when they are used--see [Integrate Amazon Q in Connect with
1227
+ # step-by-step guides][1] in the *Amazon Connect Administrator Guide*.
1228
+ #
1229
+ #
1230
+ #
1231
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html
1232
+ #
1233
+ # @option params [required, String] :content_association_id
1234
+ # The identifier of the content association. Can be either the ID or the
1235
+ # ARN. URLs cannot contain the ARN.
1236
+ #
1237
+ # @option params [required, String] :content_id
1238
+ # The identifier of the content.
1239
+ #
1240
+ # @option params [required, String] :knowledge_base_id
1241
+ # The identifier of the knowledge base.
1242
+ #
1243
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1244
+ #
1245
+ # @example Request syntax with placeholder values
1246
+ #
1247
+ # resp = client.delete_content_association({
1248
+ # content_association_id: "UuidOrArn", # required
1249
+ # content_id: "UuidOrArn", # required
1250
+ # knowledge_base_id: "UuidOrArn", # required
1251
+ # })
1252
+ #
1253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/DeleteContentAssociation AWS API Documentation
1254
+ #
1255
+ # @overload delete_content_association(params = {})
1256
+ # @param [Hash] params ({})
1257
+ def delete_content_association(params = {}, options = {})
1258
+ req = build_request(:delete_content_association, params)
1259
+ req.send_request(options)
1260
+ end
1261
+
1126
1262
  # Deletes the quick response import job.
1127
1263
  #
1128
1264
  # @option params [required, String] :import_job_id
@@ -1346,6 +1482,60 @@ module Aws::QConnect
1346
1482
  req.send_request(options)
1347
1483
  end
1348
1484
 
1485
+ # Returns the content association.
1486
+ #
1487
+ # For more information about content associations--what they are and
1488
+ # when they are used--see [Integrate Amazon Q in Connect with
1489
+ # step-by-step guides][1] in the *Amazon Connect Administrator Guide*.
1490
+ #
1491
+ #
1492
+ #
1493
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html
1494
+ #
1495
+ # @option params [required, String] :content_association_id
1496
+ # The identifier of the content association. Can be either the ID or the
1497
+ # ARN. URLs cannot contain the ARN.
1498
+ #
1499
+ # @option params [required, String] :content_id
1500
+ # The identifier of the content.
1501
+ #
1502
+ # @option params [required, String] :knowledge_base_id
1503
+ # The identifier of the knowledge base.
1504
+ #
1505
+ # @return [Types::GetContentAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1506
+ #
1507
+ # * {Types::GetContentAssociationResponse#content_association #content_association} => Types::ContentAssociationData
1508
+ #
1509
+ # @example Request syntax with placeholder values
1510
+ #
1511
+ # resp = client.get_content_association({
1512
+ # content_association_id: "UuidOrArn", # required
1513
+ # content_id: "UuidOrArn", # required
1514
+ # knowledge_base_id: "UuidOrArn", # required
1515
+ # })
1516
+ #
1517
+ # @example Response structure
1518
+ #
1519
+ # resp.content_association.association_data.amazon_connect_guide_association.flow_id #=> String
1520
+ # resp.content_association.association_type #=> String, one of "AMAZON_CONNECT_GUIDE"
1521
+ # resp.content_association.content_arn #=> String
1522
+ # resp.content_association.content_association_arn #=> String
1523
+ # resp.content_association.content_association_id #=> String
1524
+ # resp.content_association.content_id #=> String
1525
+ # resp.content_association.knowledge_base_arn #=> String
1526
+ # resp.content_association.knowledge_base_id #=> String
1527
+ # resp.content_association.tags #=> Hash
1528
+ # resp.content_association.tags["TagKey"] #=> String
1529
+ #
1530
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/GetContentAssociation AWS API Documentation
1531
+ #
1532
+ # @overload get_content_association(params = {})
1533
+ # @param [Hash] params ({})
1534
+ def get_content_association(params = {}, options = {})
1535
+ req = build_request(:get_content_association, params)
1536
+ req.send_request(options)
1537
+ end
1538
+
1349
1539
  # Retrieves summary information about the content.
1350
1540
  #
1351
1541
  # @option params [required, String] :content_id
@@ -1807,6 +1997,70 @@ module Aws::QConnect
1807
1997
  req.send_request(options)
1808
1998
  end
1809
1999
 
2000
+ # Lists the content associations.
2001
+ #
2002
+ # For more information about content associations--what they are and
2003
+ # when they are used--see [Integrate Amazon Q in Connect with
2004
+ # step-by-step guides][1] in the *Amazon Connect Administrator Guide*.
2005
+ #
2006
+ #
2007
+ #
2008
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html
2009
+ #
2010
+ # @option params [required, String] :content_id
2011
+ # The identifier of the content.
2012
+ #
2013
+ # @option params [required, String] :knowledge_base_id
2014
+ # The identifier of the knowledge base.
2015
+ #
2016
+ # @option params [Integer] :max_results
2017
+ # The maximum number of results to return per page.
2018
+ #
2019
+ # @option params [String] :next_token
2020
+ # The token for the next set of results. Use the value returned in the
2021
+ # previous response in the next request to retrieve the next set of
2022
+ # results.
2023
+ #
2024
+ # @return [Types::ListContentAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2025
+ #
2026
+ # * {Types::ListContentAssociationsResponse#content_association_summaries #content_association_summaries} => Array&lt;Types::ContentAssociationSummary&gt;
2027
+ # * {Types::ListContentAssociationsResponse#next_token #next_token} => String
2028
+ #
2029
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2030
+ #
2031
+ # @example Request syntax with placeholder values
2032
+ #
2033
+ # resp = client.list_content_associations({
2034
+ # content_id: "UuidOrArn", # required
2035
+ # knowledge_base_id: "UuidOrArn", # required
2036
+ # max_results: 1,
2037
+ # next_token: "NextToken",
2038
+ # })
2039
+ #
2040
+ # @example Response structure
2041
+ #
2042
+ # resp.content_association_summaries #=> Array
2043
+ # resp.content_association_summaries[0].association_data.amazon_connect_guide_association.flow_id #=> String
2044
+ # resp.content_association_summaries[0].association_type #=> String, one of "AMAZON_CONNECT_GUIDE"
2045
+ # resp.content_association_summaries[0].content_arn #=> String
2046
+ # resp.content_association_summaries[0].content_association_arn #=> String
2047
+ # resp.content_association_summaries[0].content_association_id #=> String
2048
+ # resp.content_association_summaries[0].content_id #=> String
2049
+ # resp.content_association_summaries[0].knowledge_base_arn #=> String
2050
+ # resp.content_association_summaries[0].knowledge_base_id #=> String
2051
+ # resp.content_association_summaries[0].tags #=> Hash
2052
+ # resp.content_association_summaries[0].tags["TagKey"] #=> String
2053
+ # resp.next_token #=> String
2054
+ #
2055
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListContentAssociations AWS API Documentation
2056
+ #
2057
+ # @overload list_content_associations(params = {})
2058
+ # @param [Hash] params ({})
2059
+ def list_content_associations(params = {}, options = {})
2060
+ req = build_request(:list_content_associations, params)
2061
+ req.send_request(options)
2062
+ end
2063
+
1810
2064
  # Lists the content.
1811
2065
  #
1812
2066
  # @option params [required, String] :knowledge_base_id
@@ -3121,7 +3375,7 @@ module Aws::QConnect
3121
3375
  params: params,
3122
3376
  config: config)
3123
3377
  context[:gem_name] = 'aws-sdk-qconnect'
3124
- context[:gem_version] = '1.11.0'
3378
+ context[:gem_version] = '1.12.0'
3125
3379
  Seahorse::Client::Request.new(handlers, context)
3126
3380
  end
3127
3381
 
@@ -14,6 +14,7 @@ module Aws::QConnect
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AmazonConnectGuideAssociationData = Shapes::StructureShape.new(name: 'AmazonConnectGuideAssociationData')
17
18
  AndConditions = Shapes::ListShape.new(name: 'AndConditions')
18
19
  AppIntegrationsConfiguration = Shapes::StructureShape.new(name: 'AppIntegrationsConfiguration')
19
20
  Arn = Shapes::StringShape.new(name: 'Arn')
@@ -42,6 +43,11 @@ module Aws::QConnect
42
43
  ContactAttributeKeys = Shapes::ListShape.new(name: 'ContactAttributeKeys')
43
44
  ContactAttributeValue = Shapes::StringShape.new(name: 'ContactAttributeValue')
44
45
  ContactAttributes = Shapes::MapShape.new(name: 'ContactAttributes')
46
+ ContentAssociationContents = Shapes::UnionShape.new(name: 'ContentAssociationContents')
47
+ ContentAssociationData = Shapes::StructureShape.new(name: 'ContentAssociationData')
48
+ ContentAssociationSummary = Shapes::StructureShape.new(name: 'ContentAssociationSummary')
49
+ ContentAssociationSummaryList = Shapes::ListShape.new(name: 'ContentAssociationSummaryList')
50
+ ContentAssociationType = Shapes::StringShape.new(name: 'ContentAssociationType')
45
51
  ContentData = Shapes::StructureShape.new(name: 'ContentData')
46
52
  ContentDataDetails = Shapes::StructureShape.new(name: 'ContentDataDetails')
47
53
  ContentFeedbackData = Shapes::UnionShape.new(name: 'ContentFeedbackData')
@@ -56,6 +62,8 @@ module Aws::QConnect
56
62
  CreateAssistantAssociationResponse = Shapes::StructureShape.new(name: 'CreateAssistantAssociationResponse')
57
63
  CreateAssistantRequest = Shapes::StructureShape.new(name: 'CreateAssistantRequest')
58
64
  CreateAssistantResponse = Shapes::StructureShape.new(name: 'CreateAssistantResponse')
65
+ CreateContentAssociationRequest = Shapes::StructureShape.new(name: 'CreateContentAssociationRequest')
66
+ CreateContentAssociationResponse = Shapes::StructureShape.new(name: 'CreateContentAssociationResponse')
59
67
  CreateContentRequest = Shapes::StructureShape.new(name: 'CreateContentRequest')
60
68
  CreateContentResponse = Shapes::StructureShape.new(name: 'CreateContentResponse')
61
69
  CreateKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'CreateKnowledgeBaseRequest')
@@ -72,6 +80,8 @@ module Aws::QConnect
72
80
  DeleteAssistantAssociationResponse = Shapes::StructureShape.new(name: 'DeleteAssistantAssociationResponse')
73
81
  DeleteAssistantRequest = Shapes::StructureShape.new(name: 'DeleteAssistantRequest')
74
82
  DeleteAssistantResponse = Shapes::StructureShape.new(name: 'DeleteAssistantResponse')
83
+ DeleteContentAssociationRequest = Shapes::StructureShape.new(name: 'DeleteContentAssociationRequest')
84
+ DeleteContentAssociationResponse = Shapes::StructureShape.new(name: 'DeleteContentAssociationResponse')
75
85
  DeleteContentRequest = Shapes::StructureShape.new(name: 'DeleteContentRequest')
76
86
  DeleteContentResponse = Shapes::StructureShape.new(name: 'DeleteContentResponse')
77
87
  DeleteImportJobRequest = Shapes::StructureShape.new(name: 'DeleteImportJobRequest')
@@ -97,6 +107,8 @@ module Aws::QConnect
97
107
  GetAssistantAssociationResponse = Shapes::StructureShape.new(name: 'GetAssistantAssociationResponse')
98
108
  GetAssistantRequest = Shapes::StructureShape.new(name: 'GetAssistantRequest')
99
109
  GetAssistantResponse = Shapes::StructureShape.new(name: 'GetAssistantResponse')
110
+ GetContentAssociationRequest = Shapes::StructureShape.new(name: 'GetContentAssociationRequest')
111
+ GetContentAssociationResponse = Shapes::StructureShape.new(name: 'GetContentAssociationResponse')
100
112
  GetContentRequest = Shapes::StructureShape.new(name: 'GetContentRequest')
101
113
  GetContentResponse = Shapes::StructureShape.new(name: 'GetContentResponse')
102
114
  GetContentSummaryRequest = Shapes::StructureShape.new(name: 'GetContentSummaryRequest')
@@ -135,6 +147,8 @@ module Aws::QConnect
135
147
  ListAssistantAssociationsResponse = Shapes::StructureShape.new(name: 'ListAssistantAssociationsResponse')
136
148
  ListAssistantsRequest = Shapes::StructureShape.new(name: 'ListAssistantsRequest')
137
149
  ListAssistantsResponse = Shapes::StructureShape.new(name: 'ListAssistantsResponse')
150
+ ListContentAssociationsRequest = Shapes::StructureShape.new(name: 'ListContentAssociationsRequest')
151
+ ListContentAssociationsResponse = Shapes::StructureShape.new(name: 'ListContentAssociationsResponse')
138
152
  ListContentsRequest = Shapes::StructureShape.new(name: 'ListContentsRequest')
139
153
  ListContentsResponse = Shapes::StructureShape.new(name: 'ListContentsResponse')
140
154
  ListImportJobsRequest = Shapes::StructureShape.new(name: 'ListImportJobsRequest')
@@ -253,6 +267,7 @@ module Aws::QConnect
253
267
  Tags = Shapes::MapShape.new(name: 'Tags')
254
268
  TargetType = Shapes::StringShape.new(name: 'TargetType')
255
269
  TextData = Shapes::StructureShape.new(name: 'TextData')
270
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
256
271
  TimeToLive = Shapes::IntegerShape.new(name: 'TimeToLive')
257
272
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
258
273
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -276,6 +291,9 @@ module Aws::QConnect
276
291
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
277
292
  AccessDeniedException.struct_class = Types::AccessDeniedException
278
293
 
294
+ AmazonConnectGuideAssociationData.add_member(:flow_id, Shapes::ShapeRef.new(shape: GenericArn, location_name: "flowId"))
295
+ AmazonConnectGuideAssociationData.struct_class = Types::AmazonConnectGuideAssociationData
296
+
279
297
  AndConditions.member = Shapes::ShapeRef.new(shape: TagCondition)
280
298
 
281
299
  AppIntegrationsConfiguration.add_member(:app_integration_arn, Shapes::ShapeRef.new(shape: GenericArn, required: true, location_name: "appIntegrationArn"))
@@ -365,6 +383,36 @@ module Aws::QConnect
365
383
  ContactAttributes.key = Shapes::ShapeRef.new(shape: ContactAttributeKey)
366
384
  ContactAttributes.value = Shapes::ShapeRef.new(shape: ContactAttributeValue)
367
385
 
386
+ ContentAssociationContents.add_member(:amazon_connect_guide_association, Shapes::ShapeRef.new(shape: AmazonConnectGuideAssociationData, location_name: "amazonConnectGuideAssociation"))
387
+ ContentAssociationContents.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
388
+ ContentAssociationContents.add_member_subclass(:amazon_connect_guide_association, Types::ContentAssociationContents::AmazonConnectGuideAssociation)
389
+ ContentAssociationContents.add_member_subclass(:unknown, Types::ContentAssociationContents::Unknown)
390
+ ContentAssociationContents.struct_class = Types::ContentAssociationContents
391
+
392
+ ContentAssociationData.add_member(:association_data, Shapes::ShapeRef.new(shape: ContentAssociationContents, required: true, location_name: "associationData"))
393
+ ContentAssociationData.add_member(:association_type, Shapes::ShapeRef.new(shape: ContentAssociationType, required: true, location_name: "associationType"))
394
+ ContentAssociationData.add_member(:content_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "contentArn"))
395
+ ContentAssociationData.add_member(:content_association_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "contentAssociationArn"))
396
+ ContentAssociationData.add_member(:content_association_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "contentAssociationId"))
397
+ ContentAssociationData.add_member(:content_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "contentId"))
398
+ ContentAssociationData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
399
+ ContentAssociationData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
400
+ ContentAssociationData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
401
+ ContentAssociationData.struct_class = Types::ContentAssociationData
402
+
403
+ ContentAssociationSummary.add_member(:association_data, Shapes::ShapeRef.new(shape: ContentAssociationContents, required: true, location_name: "associationData"))
404
+ ContentAssociationSummary.add_member(:association_type, Shapes::ShapeRef.new(shape: ContentAssociationType, required: true, location_name: "associationType"))
405
+ ContentAssociationSummary.add_member(:content_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "contentArn"))
406
+ ContentAssociationSummary.add_member(:content_association_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "contentAssociationArn"))
407
+ ContentAssociationSummary.add_member(:content_association_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "contentAssociationId"))
408
+ ContentAssociationSummary.add_member(:content_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "contentId"))
409
+ ContentAssociationSummary.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
410
+ ContentAssociationSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
411
+ ContentAssociationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
412
+ ContentAssociationSummary.struct_class = Types::ContentAssociationSummary
413
+
414
+ ContentAssociationSummaryList.member = Shapes::ShapeRef.new(shape: ContentAssociationSummary)
415
+
368
416
  ContentData.add_member(:content_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "contentArn"))
369
417
  ContentData.add_member(:content_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "contentId"))
370
418
  ContentData.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
@@ -436,6 +484,17 @@ module Aws::QConnect
436
484
  CreateAssistantResponse.add_member(:assistant, Shapes::ShapeRef.new(shape: AssistantData, location_name: "assistant"))
437
485
  CreateAssistantResponse.struct_class = Types::CreateAssistantResponse
438
486
 
487
+ CreateContentAssociationRequest.add_member(:association, Shapes::ShapeRef.new(shape: ContentAssociationContents, required: true, location_name: "association"))
488
+ CreateContentAssociationRequest.add_member(:association_type, Shapes::ShapeRef.new(shape: ContentAssociationType, required: true, location_name: "associationType"))
489
+ CreateContentAssociationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
490
+ CreateContentAssociationRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
491
+ CreateContentAssociationRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
492
+ CreateContentAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
493
+ CreateContentAssociationRequest.struct_class = Types::CreateContentAssociationRequest
494
+
495
+ CreateContentAssociationResponse.add_member(:content_association, Shapes::ShapeRef.new(shape: ContentAssociationData, location_name: "contentAssociation"))
496
+ CreateContentAssociationResponse.struct_class = Types::CreateContentAssociationResponse
497
+
439
498
  CreateContentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
440
499
  CreateContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
441
500
  CreateContentRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, location_name: "metadata"))
@@ -525,6 +584,13 @@ module Aws::QConnect
525
584
 
526
585
  DeleteAssistantResponse.struct_class = Types::DeleteAssistantResponse
527
586
 
587
+ DeleteContentAssociationRequest.add_member(:content_association_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentAssociationId"))
588
+ DeleteContentAssociationRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
589
+ DeleteContentAssociationRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
590
+ DeleteContentAssociationRequest.struct_class = Types::DeleteContentAssociationRequest
591
+
592
+ DeleteContentAssociationResponse.struct_class = Types::DeleteContentAssociationResponse
593
+
528
594
  DeleteContentRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
529
595
  DeleteContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
530
596
  DeleteContentRequest.struct_class = Types::DeleteContentRequest
@@ -593,6 +659,14 @@ module Aws::QConnect
593
659
  GetAssistantResponse.add_member(:assistant, Shapes::ShapeRef.new(shape: AssistantData, location_name: "assistant"))
594
660
  GetAssistantResponse.struct_class = Types::GetAssistantResponse
595
661
 
662
+ GetContentAssociationRequest.add_member(:content_association_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentAssociationId"))
663
+ GetContentAssociationRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
664
+ GetContentAssociationRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
665
+ GetContentAssociationRequest.struct_class = Types::GetContentAssociationRequest
666
+
667
+ GetContentAssociationResponse.add_member(:content_association, Shapes::ShapeRef.new(shape: ContentAssociationData, location_name: "contentAssociation"))
668
+ GetContentAssociationResponse.struct_class = Types::GetContentAssociationResponse
669
+
596
670
  GetContentRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
597
671
  GetContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
598
672
  GetContentRequest.struct_class = Types::GetContentRequest
@@ -736,6 +810,16 @@ module Aws::QConnect
736
810
  ListAssistantsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
737
811
  ListAssistantsResponse.struct_class = Types::ListAssistantsResponse
738
812
 
813
+ ListContentAssociationsRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
814
+ ListContentAssociationsRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
815
+ ListContentAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
816
+ ListContentAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
817
+ ListContentAssociationsRequest.struct_class = Types::ListContentAssociationsRequest
818
+
819
+ ListContentAssociationsResponse.add_member(:content_association_summaries, Shapes::ShapeRef.new(shape: ContentAssociationSummaryList, required: true, location_name: "contentAssociationSummaries"))
820
+ ListContentAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
821
+ ListContentAssociationsResponse.struct_class = Types::ListContentAssociationsResponse
822
+
739
823
  ListContentsRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
740
824
  ListContentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
741
825
  ListContentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1134,6 +1218,9 @@ module Aws::QConnect
1134
1218
  TextData.add_member(:title, Shapes::ShapeRef.new(shape: DocumentText, location_name: "title"))
1135
1219
  TextData.struct_class = Types::TextData
1136
1220
 
1221
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1222
+ ThrottlingException.struct_class = Types::ThrottlingException
1223
+
1137
1224
  TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1138
1225
  TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "resourceName"))
1139
1226
  TooManyTagsException.struct_class = Types::TooManyTagsException
@@ -1251,6 +1338,20 @@ module Aws::QConnect
1251
1338
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1252
1339
  end)
1253
1340
 
1341
+ api.add_operation(:create_content_association, Seahorse::Model::Operation.new.tap do |o|
1342
+ o.name = "CreateContentAssociation"
1343
+ o.http_method = "POST"
1344
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations"
1345
+ o.input = Shapes::ShapeRef.new(shape: CreateContentAssociationRequest)
1346
+ o.output = Shapes::ShapeRef.new(shape: CreateContentAssociationResponse)
1347
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1348
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1350
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1351
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1352
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1353
+ end)
1354
+
1254
1355
  api.add_operation(:create_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
1255
1356
  o.name = "CreateKnowledgeBase"
1256
1357
  o.http_method = "POST"
@@ -1321,6 +1422,17 @@ module Aws::QConnect
1321
1422
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1322
1423
  end)
1323
1424
 
1425
+ api.add_operation(:delete_content_association, Seahorse::Model::Operation.new.tap do |o|
1426
+ o.name = "DeleteContentAssociation"
1427
+ o.http_method = "DELETE"
1428
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}"
1429
+ o.input = Shapes::ShapeRef.new(shape: DeleteContentAssociationRequest)
1430
+ o.output = Shapes::ShapeRef.new(shape: DeleteContentAssociationResponse)
1431
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1432
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1433
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1434
+ end)
1435
+
1324
1436
  api.add_operation(:delete_import_job, Seahorse::Model::Operation.new.tap do |o|
1325
1437
  o.name = "DeleteImportJob"
1326
1438
  o.http_method = "DELETE"
@@ -1389,6 +1501,17 @@ module Aws::QConnect
1389
1501
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1390
1502
  end)
1391
1503
 
1504
+ api.add_operation(:get_content_association, Seahorse::Model::Operation.new.tap do |o|
1505
+ o.name = "GetContentAssociation"
1506
+ o.http_method = "GET"
1507
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}"
1508
+ o.input = Shapes::ShapeRef.new(shape: GetContentAssociationRequest)
1509
+ o.output = Shapes::ShapeRef.new(shape: GetContentAssociationResponse)
1510
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1511
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1512
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1513
+ end)
1514
+
1392
1515
  api.add_operation(:get_content_summary, Seahorse::Model::Operation.new.tap do |o|
1393
1516
  o.name = "GetContentSummary"
1394
1517
  o.http_method = "GET"
@@ -1489,6 +1612,23 @@ module Aws::QConnect
1489
1612
  )
1490
1613
  end)
1491
1614
 
1615
+ api.add_operation(:list_content_associations, Seahorse::Model::Operation.new.tap do |o|
1616
+ o.name = "ListContentAssociations"
1617
+ o.http_method = "GET"
1618
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations"
1619
+ o.input = Shapes::ShapeRef.new(shape: ListContentAssociationsRequest)
1620
+ o.output = Shapes::ShapeRef.new(shape: ListContentAssociationsResponse)
1621
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1622
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1623
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1624
+ o[:pager] = Aws::Pager.new(
1625
+ limit_key: "max_results",
1626
+ tokens: {
1627
+ "next_token" => "next_token"
1628
+ }
1629
+ )
1630
+ end)
1631
+
1492
1632
  api.add_operation(:list_contents, Seahorse::Model::Operation.new.tap do |o|
1493
1633
  o.name = "ListContents"
1494
1634
  o.http_method = "GET"
@@ -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