aws-sdk-qbusiness 1.34.0 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4614a1bcb8aa0f7d7f629afdce8a88a26a477af72140f7d6c407131a9054ea00
4
- data.tar.gz: '097f9ebfc553e50fe7b339172274c82309b6a1e46b1e81ec7f7fa86473892162'
3
+ metadata.gz: b6ebd0fed9c7bc329e1f44e0c41c5a75a9b78a6cbf67a482b84077d395959fb5
4
+ data.tar.gz: 6821c993c85523e4210f23616cff02913111d0010c4dad7e837857f9ce67e733
5
5
  SHA512:
6
- metadata.gz: f431d09304fdf124af8e7ad89eef477337a49150817b37372d6ad864cef507fc30e86485845e159b387e57a459a852de9e8d293a0064b361cef8d84e6589607e
7
- data.tar.gz: ce28b90dab2432fef0a76e3b1453c05055e1d21947b6c16968c5c125db5e94ae4dc044d9a00cad482b7512f249275ecb05de3d7d73bca6abf173022fbb019499
6
+ metadata.gz: 4002e493fc598e7d3653089010ceed732b3a4761fff5fbdf05e3a5c8c5bbe09ac9e1bee59307207dd4bc4ac87f1c78cabeccddeff67f357556eb0867d13afe32
7
+ data.tar.gz: 1a750b4a0713fb7b80a97d94811a846ad089bd7c17471d882460326b0d14557dfb0ec45d5dee1a6b0b62cee50eb17a306ab970eab12858b14f0b266aaedbfffd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.0 (2025-04-21)
5
+ ------------------
6
+
7
+ * Feature - The CheckDocumentAccess API for Amazon Q Business is a self-service debugging API that allows administrators to verify document access permissions and review Access Control List (ACL) configurations.
8
+
4
9
  1.34.0 (2025-04-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.34.0
1
+ 1.35.0
@@ -643,7 +643,7 @@ module Aws::QBusiness
643
643
  tracer: tracer
644
644
  )
645
645
  context[:gem_name] = 'aws-sdk-qbusiness'
646
- context[:gem_version] = '1.34.0'
646
+ context[:gem_version] = '1.35.0'
647
647
  Seahorse::Client::Request.new(handlers, context)
648
648
  end
649
649
 
@@ -1072,6 +1072,88 @@ module Aws::QBusiness
1072
1072
  req.send_request(options)
1073
1073
  end
1074
1074
 
1075
+ # Verifies if a user has access permissions for a specified document and
1076
+ # returns the actual ACL attached to the document. Resolves user access
1077
+ # on the document via user aliases and groups when verifying user
1078
+ # access.
1079
+ #
1080
+ # @option params [required, String] :application_id
1081
+ # The unique identifier of the application. This is required to identify
1082
+ # the specific Amazon Q Business application context for the document
1083
+ # access check.
1084
+ #
1085
+ # @option params [required, String] :index_id
1086
+ # The unique identifier of the index. Used to locate the correct index
1087
+ # within the application where the document is stored.
1088
+ #
1089
+ # @option params [required, String] :user_id
1090
+ # The unique identifier of the user. Used to check the access
1091
+ # permissions for this specific user against the document's ACL.
1092
+ #
1093
+ # @option params [required, String] :document_id
1094
+ # The unique identifier of the document. Specifies which document's
1095
+ # access permissions are being checked.
1096
+ #
1097
+ # @option params [String] :data_source_id
1098
+ # The unique identifier of the data source. Identifies the specific data
1099
+ # source from which the document originates. Should not be used when a
1100
+ # document is uploaded directly with BatchPutDocument, as no
1101
+ # dataSourceId is available or necessary.
1102
+ #
1103
+ # @return [Types::CheckDocumentAccessResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1104
+ #
1105
+ # * {Types::CheckDocumentAccessResponse#user_groups #user_groups} => Array<Types::AssociatedGroup>
1106
+ # * {Types::CheckDocumentAccessResponse#user_aliases #user_aliases} => Array<Types::AssociatedUser>
1107
+ # * {Types::CheckDocumentAccessResponse#has_access #has_access} => Boolean
1108
+ # * {Types::CheckDocumentAccessResponse#document_acl #document_acl} => Types::DocumentAcl
1109
+ #
1110
+ # @example Request syntax with placeholder values
1111
+ #
1112
+ # resp = client.check_document_access({
1113
+ # application_id: "ApplicationId", # required
1114
+ # index_id: "IndexId", # required
1115
+ # user_id: "String", # required
1116
+ # document_id: "DocumentId", # required
1117
+ # data_source_id: "DataSourceId",
1118
+ # })
1119
+ #
1120
+ # @example Response structure
1121
+ #
1122
+ # resp.user_groups #=> Array
1123
+ # resp.user_groups[0].name #=> String
1124
+ # resp.user_groups[0].type #=> String, one of "INDEX", "DATASOURCE"
1125
+ # resp.user_aliases #=> Array
1126
+ # resp.user_aliases[0].id #=> String
1127
+ # resp.user_aliases[0].type #=> String, one of "INDEX", "DATASOURCE"
1128
+ # resp.has_access #=> Boolean
1129
+ # resp.document_acl.allowlist.member_relation #=> String, one of "AND", "OR"
1130
+ # resp.document_acl.allowlist.conditions #=> Array
1131
+ # resp.document_acl.allowlist.conditions[0].member_relation #=> String, one of "AND", "OR"
1132
+ # resp.document_acl.allowlist.conditions[0].users #=> Array
1133
+ # resp.document_acl.allowlist.conditions[0].users[0].id #=> String
1134
+ # resp.document_acl.allowlist.conditions[0].users[0].type #=> String, one of "INDEX", "DATASOURCE"
1135
+ # resp.document_acl.allowlist.conditions[0].groups #=> Array
1136
+ # resp.document_acl.allowlist.conditions[0].groups[0].name #=> String
1137
+ # resp.document_acl.allowlist.conditions[0].groups[0].type #=> String, one of "INDEX", "DATASOURCE"
1138
+ # resp.document_acl.deny_list.member_relation #=> String, one of "AND", "OR"
1139
+ # resp.document_acl.deny_list.conditions #=> Array
1140
+ # resp.document_acl.deny_list.conditions[0].member_relation #=> String, one of "AND", "OR"
1141
+ # resp.document_acl.deny_list.conditions[0].users #=> Array
1142
+ # resp.document_acl.deny_list.conditions[0].users[0].id #=> String
1143
+ # resp.document_acl.deny_list.conditions[0].users[0].type #=> String, one of "INDEX", "DATASOURCE"
1144
+ # resp.document_acl.deny_list.conditions[0].groups #=> Array
1145
+ # resp.document_acl.deny_list.conditions[0].groups[0].name #=> String
1146
+ # resp.document_acl.deny_list.conditions[0].groups[0].type #=> String, one of "INDEX", "DATASOURCE"
1147
+ #
1148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CheckDocumentAccess AWS API Documentation
1149
+ #
1150
+ # @overload check_document_access(params = {})
1151
+ # @param [Hash] params ({})
1152
+ def check_document_access(params = {}, options = {})
1153
+ req = build_request(:check_document_access, params)
1154
+ req.send_request(options)
1155
+ end
1156
+
1075
1157
  # Creates an Amazon Q Business application.
1076
1158
  #
1077
1159
  # <note markdown="1"> There are new tiers for Amazon Q Business. Not all features in Amazon
@@ -2017,12 +2099,14 @@ module Aws::QBusiness
2017
2099
  #
2018
2100
  # @option params [Array<String>] :origins
2019
2101
  # Sets the website domain origins that are allowed to embed the Amazon Q
2020
- # Business web experience. The <i>domain origin</i> refers to the
2021
- # base URL for accessing a website including the protocol
2022
- # (<code>http/https</code>), the domain name, and the port number (if
2023
- # specified). </p> <note> <p>You must only submit a <i>base URL</i> and
2024
- # not a full path. For example,
2025
- # <code>https://docs.aws.amazon.com</code>.</p> </note>
2102
+ # Business web experience. The *domain origin* refers to the base URL
2103
+ # for accessing a website including the protocol (`http/https`), the
2104
+ # domain name, and the port number (if specified).
2105
+ #
2106
+ # <note markdown="1"> You must only submit a *base URL* and not a full path. For example,
2107
+ # `https://docs.aws.amazon.com`.
2108
+ #
2109
+ # </note>
2026
2110
  #
2027
2111
  # @option params [String] :role_arn
2028
2112
  # The Amazon Resource Name (ARN) of the service role attached to your
@@ -5601,14 +5685,17 @@ module Aws::QBusiness
5601
5685
  #
5602
5686
  # @option params [Array<String>] :origins
5603
5687
  # Updates the website domain origins that are allowed to embed the
5604
- # Amazon Q Business web experience. The <i>domain origin</i> refers
5605
- # to the <i>base URL</i> for accessing a website including the protocol
5606
- # (<code>http/https</code>), the domain name, and the port number (if
5607
- # specified).</p> <note> <ul> <li> <p>Any values except
5608
- # <code>null</code> submitted as part of this update will replace all
5609
- # previous values.</p> </li> <li> <p>You must only submit a <i>base
5610
- # URL</i> and not a full path. For example,
5611
- # <code>https://docs.aws.amazon.com</code>.</p> </li> </ul> </note>
5688
+ # Amazon Q Business web experience. The *domain origin* refers to the
5689
+ # *base URL* for accessing a website including the protocol
5690
+ # (`http/https`), the domain name, and the port number (if specified).
5691
+ #
5692
+ # <note markdown="1"> * Any values except `null` submitted as part of this update will
5693
+ # replace all previous values.
5694
+ #
5695
+ # * You must only submit a *base URL* and not a full path. For example,
5696
+ # `https://docs.aws.amazon.com`.
5697
+ #
5698
+ # </note>
5612
5699
  #
5613
5700
  # @option params [Types::BrowserExtensionConfiguration] :browser_extension_configuration
5614
5701
  # The browser extension configuration for an Amazon Q Business web
@@ -5698,7 +5785,7 @@ module Aws::QBusiness
5698
5785
  tracer: tracer
5699
5786
  )
5700
5787
  context[:gem_name] = 'aws-sdk-qbusiness'
5701
- context[:gem_version] = '1.34.0'
5788
+ context[:gem_version] = '1.35.0'
5702
5789
  Seahorse::Client::Request.new(handlers, context)
5703
5790
  end
5704
5791