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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d018391138a513fa6991564e5c160370db519e6e82d3ba7bd47af7a3ed1adbb
4
- data.tar.gz: 0ee26bfadad15ed1efd21301df813ee7a5c50f8b797c3c76e28e542c84843ac0
3
+ metadata.gz: 62f995f9809836ae6ad7a69bb8b66858004e54ae5095d0877cb29f6a27cbdcc3
4
+ data.tar.gz: e811eb258bf114cb0ce6abdf7c5679f95bd3a4da617375137d575b9cc19cced3
5
5
  SHA512:
6
- metadata.gz: 21169f22e978bb42a1cda1427fefeb77edd57078e45b460087b7d1591fff83f6c266321b6244e8945a646508b530379865566e9d2d32675e999e44f7e8ece4b3
7
- data.tar.gz: eca48e203498bf3b38410fccaad6fc2c58a1a66546dc04538bb8bf004a836983a3153ff8823f44e0223f9573e96f1dc54004f97e56566630c09446a83baeef02
6
+ metadata.gz: 42eb091476f9d536905a281b9dc916c3022ee3c0e70d428f5081069be3b69e55136499c73a52a279d44d035692384b185de6339bbcd56be3550847be34e98d3b
7
+ data.tar.gz: 2aa060d1a4d30f5b5ddf8551bd3088d4d118be11c4569c41d232b2cac2c705b82ac39a1c4c28903b2ef1948a1fcfa646072992ee5e74919179aae49a52758e8f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2024-07-02)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.12.0 (2024-06-27)
10
+ ------------------
11
+
12
+ * Feature - Adds CreateContentAssociation, ListContentAssociations, GetContentAssociation, and DeleteContentAssociation APIs.
13
+
4
14
  1.11.0 (2024-06-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.13.0
@@ -312,6 +312,15 @@ module Aws::QConnect
312
312
  #
313
313
  # @option options [String] :session_token
314
314
  #
315
+ # @option options [Array] :sigv4a_signing_region_set
316
+ # A list of regions that should be signed with SigV4a signing. When
317
+ # not passed, a default `:sigv4a_signing_region_set` is searched for
318
+ # in the following locations:
319
+ #
320
+ # * `Aws.config[:sigv4a_signing_region_set]`
321
+ # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
322
+ # * `~/.aws/config`
323
+ #
315
324
  # @option options [Boolean] :stub_responses (false)
316
325
  # Causes the client to return stubbed responses. By default
317
326
  # fake responses are generated and returned. You can specify
@@ -682,6 +691,103 @@ module Aws::QConnect
682
691
  req.send_request(options)
683
692
  end
684
693
 
694
+ # Creates an association between a content resource in a knowledge base
695
+ # and [step-by-step guides][1]. Step-by-step guides offer instructions
696
+ # to agents for resolving common customer issues. You create a content
697
+ # association to integrate Amazon Q in Connect and step-by-step guides.
698
+ #
699
+ # After you integrate Amazon Q and step-by-step guides, when Amazon Q
700
+ # provides a recommendation to an agent based on the intent that it's
701
+ # detected, it also provides them with the option to start the
702
+ # step-by-step guide that you have associated with the content.
703
+ #
704
+ # Note the following limitations:
705
+ #
706
+ # * You can create only one content association for each content
707
+ # resource in a knowledge base.
708
+ #
709
+ # * You can associate a step-by-step guide with multiple content
710
+ # resources.
711
+ #
712
+ # For more information, see [Integrate Amazon Q in Connect with
713
+ # step-by-step guides][2] in the *Amazon Connect Administrator Guide*.
714
+ #
715
+ #
716
+ #
717
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/step-by-step-guided-experiences.html
718
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html
719
+ #
720
+ # @option params [required, Types::ContentAssociationContents] :association
721
+ # The identifier of the associated resource.
722
+ #
723
+ # @option params [required, String] :association_type
724
+ # The type of association.
725
+ #
726
+ # @option params [String] :client_token
727
+ # A unique, case-sensitive identifier that you provide to ensure the
728
+ # idempotency of the request. If not provided, the Amazon Web Services
729
+ # SDK populates this field. For more information about idempotency, see
730
+ # [Making retries safe with idempotent APIs][1].
731
+ #
732
+ # **A suitable default value is auto-generated.** You should normally
733
+ # not need to pass this option.**
734
+ #
735
+ #
736
+ #
737
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
738
+ #
739
+ # @option params [required, String] :content_id
740
+ # The identifier of the content.
741
+ #
742
+ # @option params [required, String] :knowledge_base_id
743
+ # The identifier of the knowledge base.
744
+ #
745
+ # @option params [Hash<String,String>] :tags
746
+ # The tags used to organize, track, or control access for this resource.
747
+ #
748
+ # @return [Types::CreateContentAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
749
+ #
750
+ # * {Types::CreateContentAssociationResponse#content_association #content_association} => Types::ContentAssociationData
751
+ #
752
+ # @example Request syntax with placeholder values
753
+ #
754
+ # resp = client.create_content_association({
755
+ # association: { # required
756
+ # amazon_connect_guide_association: {
757
+ # flow_id: "GenericArn",
758
+ # },
759
+ # },
760
+ # association_type: "AMAZON_CONNECT_GUIDE", # required, accepts AMAZON_CONNECT_GUIDE
761
+ # client_token: "ClientToken",
762
+ # content_id: "UuidOrArn", # required
763
+ # knowledge_base_id: "UuidOrArn", # required
764
+ # tags: {
765
+ # "TagKey" => "TagValue",
766
+ # },
767
+ # })
768
+ #
769
+ # @example Response structure
770
+ #
771
+ # resp.content_association.association_data.amazon_connect_guide_association.flow_id #=> String
772
+ # resp.content_association.association_type #=> String, one of "AMAZON_CONNECT_GUIDE"
773
+ # resp.content_association.content_arn #=> String
774
+ # resp.content_association.content_association_arn #=> String
775
+ # resp.content_association.content_association_id #=> String
776
+ # resp.content_association.content_id #=> String
777
+ # resp.content_association.knowledge_base_arn #=> String
778
+ # resp.content_association.knowledge_base_id #=> String
779
+ # resp.content_association.tags #=> Hash
780
+ # resp.content_association.tags["TagKey"] #=> String
781
+ #
782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/CreateContentAssociation AWS API Documentation
783
+ #
784
+ # @overload create_content_association(params = {})
785
+ # @param [Hash] params ({})
786
+ def create_content_association(params = {}, options = {})
787
+ req = build_request(:create_content_association, params)
788
+ req.send_request(options)
789
+ end
790
+
685
791
  # Creates a knowledge base.
686
792
  #
687
793
  # <note markdown="1"> When using this API, you cannot reuse [Amazon AppIntegrations][1]
@@ -1123,6 +1229,45 @@ module Aws::QConnect
1123
1229
  req.send_request(options)
1124
1230
  end
1125
1231
 
1232
+ # Deletes the content association.
1233
+ #
1234
+ # For more information about content associations--what they are and
1235
+ # when they are used--see [Integrate Amazon Q in Connect with
1236
+ # step-by-step guides][1] in the *Amazon Connect Administrator Guide*.
1237
+ #
1238
+ #
1239
+ #
1240
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html
1241
+ #
1242
+ # @option params [required, String] :content_association_id
1243
+ # The identifier of the content association. Can be either the ID or the
1244
+ # ARN. URLs cannot contain the ARN.
1245
+ #
1246
+ # @option params [required, String] :content_id
1247
+ # The identifier of the content.
1248
+ #
1249
+ # @option params [required, String] :knowledge_base_id
1250
+ # The identifier of the knowledge base.
1251
+ #
1252
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1253
+ #
1254
+ # @example Request syntax with placeholder values
1255
+ #
1256
+ # resp = client.delete_content_association({
1257
+ # content_association_id: "UuidOrArn", # required
1258
+ # content_id: "UuidOrArn", # required
1259
+ # knowledge_base_id: "UuidOrArn", # required
1260
+ # })
1261
+ #
1262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/DeleteContentAssociation AWS API Documentation
1263
+ #
1264
+ # @overload delete_content_association(params = {})
1265
+ # @param [Hash] params ({})
1266
+ def delete_content_association(params = {}, options = {})
1267
+ req = build_request(:delete_content_association, params)
1268
+ req.send_request(options)
1269
+ end
1270
+
1126
1271
  # Deletes the quick response import job.
1127
1272
  #
1128
1273
  # @option params [required, String] :import_job_id
@@ -1346,6 +1491,60 @@ module Aws::QConnect
1346
1491
  req.send_request(options)
1347
1492
  end
1348
1493
 
1494
+ # Returns the content association.
1495
+ #
1496
+ # For more information about content associations--what they are and
1497
+ # when they are used--see [Integrate Amazon Q in Connect with
1498
+ # step-by-step guides][1] in the *Amazon Connect Administrator Guide*.
1499
+ #
1500
+ #
1501
+ #
1502
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html
1503
+ #
1504
+ # @option params [required, String] :content_association_id
1505
+ # The identifier of the content association. Can be either the ID or the
1506
+ # ARN. URLs cannot contain the ARN.
1507
+ #
1508
+ # @option params [required, String] :content_id
1509
+ # The identifier of the content.
1510
+ #
1511
+ # @option params [required, String] :knowledge_base_id
1512
+ # The identifier of the knowledge base.
1513
+ #
1514
+ # @return [Types::GetContentAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1515
+ #
1516
+ # * {Types::GetContentAssociationResponse#content_association #content_association} => Types::ContentAssociationData
1517
+ #
1518
+ # @example Request syntax with placeholder values
1519
+ #
1520
+ # resp = client.get_content_association({
1521
+ # content_association_id: "UuidOrArn", # required
1522
+ # content_id: "UuidOrArn", # required
1523
+ # knowledge_base_id: "UuidOrArn", # required
1524
+ # })
1525
+ #
1526
+ # @example Response structure
1527
+ #
1528
+ # resp.content_association.association_data.amazon_connect_guide_association.flow_id #=> String
1529
+ # resp.content_association.association_type #=> String, one of "AMAZON_CONNECT_GUIDE"
1530
+ # resp.content_association.content_arn #=> String
1531
+ # resp.content_association.content_association_arn #=> String
1532
+ # resp.content_association.content_association_id #=> String
1533
+ # resp.content_association.content_id #=> String
1534
+ # resp.content_association.knowledge_base_arn #=> String
1535
+ # resp.content_association.knowledge_base_id #=> String
1536
+ # resp.content_association.tags #=> Hash
1537
+ # resp.content_association.tags["TagKey"] #=> String
1538
+ #
1539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/GetContentAssociation AWS API Documentation
1540
+ #
1541
+ # @overload get_content_association(params = {})
1542
+ # @param [Hash] params ({})
1543
+ def get_content_association(params = {}, options = {})
1544
+ req = build_request(:get_content_association, params)
1545
+ req.send_request(options)
1546
+ end
1547
+
1349
1548
  # Retrieves summary information about the content.
1350
1549
  #
1351
1550
  # @option params [required, String] :content_id
@@ -1807,6 +2006,70 @@ module Aws::QConnect
1807
2006
  req.send_request(options)
1808
2007
  end
1809
2008
 
2009
+ # Lists the content associations.
2010
+ #
2011
+ # For more information about content associations--what they are and
2012
+ # when they are used--see [Integrate Amazon Q in Connect with
2013
+ # step-by-step guides][1] in the *Amazon Connect Administrator Guide*.
2014
+ #
2015
+ #
2016
+ #
2017
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html
2018
+ #
2019
+ # @option params [required, String] :content_id
2020
+ # The identifier of the content.
2021
+ #
2022
+ # @option params [required, String] :knowledge_base_id
2023
+ # The identifier of the knowledge base.
2024
+ #
2025
+ # @option params [Integer] :max_results
2026
+ # The maximum number of results to return per page.
2027
+ #
2028
+ # @option params [String] :next_token
2029
+ # The token for the next set of results. Use the value returned in the
2030
+ # previous response in the next request to retrieve the next set of
2031
+ # results.
2032
+ #
2033
+ # @return [Types::ListContentAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2034
+ #
2035
+ # * {Types::ListContentAssociationsResponse#content_association_summaries #content_association_summaries} => Array&lt;Types::ContentAssociationSummary&gt;
2036
+ # * {Types::ListContentAssociationsResponse#next_token #next_token} => String
2037
+ #
2038
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2039
+ #
2040
+ # @example Request syntax with placeholder values
2041
+ #
2042
+ # resp = client.list_content_associations({
2043
+ # content_id: "UuidOrArn", # required
2044
+ # knowledge_base_id: "UuidOrArn", # required
2045
+ # max_results: 1,
2046
+ # next_token: "NextToken",
2047
+ # })
2048
+ #
2049
+ # @example Response structure
2050
+ #
2051
+ # resp.content_association_summaries #=> Array
2052
+ # resp.content_association_summaries[0].association_data.amazon_connect_guide_association.flow_id #=> String
2053
+ # resp.content_association_summaries[0].association_type #=> String, one of "AMAZON_CONNECT_GUIDE"
2054
+ # resp.content_association_summaries[0].content_arn #=> String
2055
+ # resp.content_association_summaries[0].content_association_arn #=> String
2056
+ # resp.content_association_summaries[0].content_association_id #=> String
2057
+ # resp.content_association_summaries[0].content_id #=> String
2058
+ # resp.content_association_summaries[0].knowledge_base_arn #=> String
2059
+ # resp.content_association_summaries[0].knowledge_base_id #=> String
2060
+ # resp.content_association_summaries[0].tags #=> Hash
2061
+ # resp.content_association_summaries[0].tags["TagKey"] #=> String
2062
+ # resp.next_token #=> String
2063
+ #
2064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListContentAssociations AWS API Documentation
2065
+ #
2066
+ # @overload list_content_associations(params = {})
2067
+ # @param [Hash] params ({})
2068
+ def list_content_associations(params = {}, options = {})
2069
+ req = build_request(:list_content_associations, params)
2070
+ req.send_request(options)
2071
+ end
2072
+
1810
2073
  # Lists the content.
1811
2074
  #
1812
2075
  # @option params [required, String] :knowledge_base_id
@@ -3121,7 +3384,7 @@ module Aws::QConnect
3121
3384
  params: params,
3122
3385
  config: config)
3123
3386
  context[:gem_name] = 'aws-sdk-qconnect'
3124
- context[:gem_version] = '1.11.0'
3387
+ context[:gem_version] = '1.13.0'
3125
3388
  Seahorse::Client::Request.new(handlers, context)
3126
3389
  end
3127
3390
 
@@ -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"