aws-sdk-qbusiness 1.40.0 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qbusiness/async_client.rb +1 -1
- data/lib/aws-sdk-qbusiness/client.rb +50 -1
- data/lib/aws-sdk-qbusiness/client_api.rb +43 -0
- data/lib/aws-sdk-qbusiness/types.rb +147 -1
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +26 -0
- data/sig/types.rbs +35 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20848fc0aeec463799e9453fcba6ba06e5ec38b47bcb5904e39b4e34cef0a85b
|
4
|
+
data.tar.gz: 4216cee2bd35e80ad2c42fe3e6aa5cfa00bf8801db6166cc4d7deb7ed8f5889f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7ad62eb53d413785571f4107b9a4812239e488b6e1b04a3ce52ffdd6653a0f6681070c45d8177b155ac8786246cf16b7b289a0d89f7df1a94de94dabe648672
|
7
|
+
data.tar.gz: f0a28fb6eb4aca880e40fa18396d5fc1eafe70949e5dde09e6f5d295715c0bf6988b4cae9942f741d57a9d9ae048b260601ebc84de4b48cb52ee05bb6ebc2444
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.41.0 (2025-06-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for App level authentication for QBusiness DataAccessor using AWS IAM Identity center Trusted Token issuer
|
8
|
+
|
4
9
|
1.40.0 (2025-06-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
@@ -497,6 +497,11 @@ module Aws::QBusiness
|
|
497
497
|
# The list of Amazon Q Business actions that the ISV is allowed to
|
498
498
|
# perform.
|
499
499
|
#
|
500
|
+
# @option params [Array<Types::PermissionCondition>] :conditions
|
501
|
+
# The conditions that restrict when the permission is effective. These
|
502
|
+
# conditions can be used to limit the permission based on specific
|
503
|
+
# attributes of the request.
|
504
|
+
#
|
500
505
|
# @option params [required, String] :principal
|
501
506
|
# The Amazon Resource Name of the IAM role for the ISV that is being
|
502
507
|
# granted permission.
|
@@ -511,6 +516,13 @@ module Aws::QBusiness
|
|
511
516
|
# application_id: "ApplicationId", # required
|
512
517
|
# statement_id: "StatementId", # required
|
513
518
|
# actions: ["QIamAction"], # required
|
519
|
+
# conditions: [
|
520
|
+
# {
|
521
|
+
# condition_operator: "StringEquals", # required, accepts StringEquals
|
522
|
+
# condition_key: "PermissionConditionKey", # required
|
523
|
+
# condition_values: ["PermissionConditionValue"], # required
|
524
|
+
# },
|
525
|
+
# ],
|
514
526
|
# principal: "PrincipalRoleArn", # required
|
515
527
|
# })
|
516
528
|
#
|
@@ -1379,6 +1391,11 @@ module Aws::QBusiness
|
|
1379
1391
|
# @option params [required, String] :display_name
|
1380
1392
|
# A friendly name for the data accessor.
|
1381
1393
|
#
|
1394
|
+
# @option params [Types::DataAccessorAuthenticationDetail] :authentication_detail
|
1395
|
+
# The authentication configuration details for the data accessor. This
|
1396
|
+
# specifies how the ISV will authenticate when accessing data through
|
1397
|
+
# this data accessor.
|
1398
|
+
#
|
1382
1399
|
# @option params [Array<Types::Tag>] :tags
|
1383
1400
|
# The tags to associate with the data accessor.
|
1384
1401
|
#
|
@@ -1480,6 +1497,15 @@ module Aws::QBusiness
|
|
1480
1497
|
# ],
|
1481
1498
|
# client_token: "ClientToken",
|
1482
1499
|
# display_name: "DataAccessorName", # required
|
1500
|
+
# authentication_detail: {
|
1501
|
+
# authentication_type: "AWS_IAM_IDC_TTI", # required, accepts AWS_IAM_IDC_TTI, AWS_IAM_IDC_AUTH_CODE
|
1502
|
+
# authentication_configuration: {
|
1503
|
+
# idc_trusted_token_issuer_configuration: {
|
1504
|
+
# idc_trusted_token_issuer_arn: "IdcTrustedTokenIssuerArn", # required
|
1505
|
+
# },
|
1506
|
+
# },
|
1507
|
+
# external_ids: ["DataAccessorExternalId"],
|
1508
|
+
# },
|
1483
1509
|
# tags: [
|
1484
1510
|
# {
|
1485
1511
|
# key: "TagKey", # required
|
@@ -2810,6 +2836,7 @@ module Aws::QBusiness
|
|
2810
2836
|
# * {Types::GetDataAccessorResponse#idc_application_arn #idc_application_arn} => String
|
2811
2837
|
# * {Types::GetDataAccessorResponse#principal #principal} => String
|
2812
2838
|
# * {Types::GetDataAccessorResponse#action_configurations #action_configurations} => Array<Types::ActionConfiguration>
|
2839
|
+
# * {Types::GetDataAccessorResponse#authentication_detail #authentication_detail} => Types::DataAccessorAuthenticationDetail
|
2813
2840
|
# * {Types::GetDataAccessorResponse#created_at #created_at} => Time
|
2814
2841
|
# * {Types::GetDataAccessorResponse#updated_at #updated_at} => Time
|
2815
2842
|
#
|
@@ -2877,6 +2904,10 @@ module Aws::QBusiness
|
|
2877
2904
|
# resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than_or_equals.value.string_list_value[0] #=> String
|
2878
2905
|
# resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than_or_equals.value.long_value #=> Integer
|
2879
2906
|
# resp.action_configurations[0].filter_configuration.document_attribute_filter.less_than_or_equals.value.date_value #=> Time
|
2907
|
+
# resp.authentication_detail.authentication_type #=> String, one of "AWS_IAM_IDC_TTI", "AWS_IAM_IDC_AUTH_CODE"
|
2908
|
+
# resp.authentication_detail.authentication_configuration.idc_trusted_token_issuer_configuration.idc_trusted_token_issuer_arn #=> String
|
2909
|
+
# resp.authentication_detail.external_ids #=> Array
|
2910
|
+
# resp.authentication_detail.external_ids[0] #=> String
|
2880
2911
|
# resp.created_at #=> Time
|
2881
2912
|
# resp.updated_at #=> Time
|
2882
2913
|
#
|
@@ -3649,6 +3680,10 @@ module Aws::QBusiness
|
|
3649
3680
|
# resp.data_accessors[0].data_accessor_arn #=> String
|
3650
3681
|
# resp.data_accessors[0].idc_application_arn #=> String
|
3651
3682
|
# resp.data_accessors[0].principal #=> String
|
3683
|
+
# resp.data_accessors[0].authentication_detail.authentication_type #=> String, one of "AWS_IAM_IDC_TTI", "AWS_IAM_IDC_AUTH_CODE"
|
3684
|
+
# resp.data_accessors[0].authentication_detail.authentication_configuration.idc_trusted_token_issuer_configuration.idc_trusted_token_issuer_arn #=> String
|
3685
|
+
# resp.data_accessors[0].authentication_detail.external_ids #=> Array
|
3686
|
+
# resp.data_accessors[0].authentication_detail.external_ids[0] #=> String
|
3652
3687
|
# resp.data_accessors[0].created_at #=> Time
|
3653
3688
|
# resp.data_accessors[0].updated_at #=> Time
|
3654
3689
|
# resp.next_token #=> String
|
@@ -5116,6 +5151,11 @@ module Aws::QBusiness
|
|
5116
5151
|
# The updated list of action configurations specifying the allowed
|
5117
5152
|
# actions and any associated filters.
|
5118
5153
|
#
|
5154
|
+
# @option params [Types::DataAccessorAuthenticationDetail] :authentication_detail
|
5155
|
+
# The updated authentication configuration details for the data
|
5156
|
+
# accessor. This specifies how the ISV will authenticate when accessing
|
5157
|
+
# data through this data accessor.
|
5158
|
+
#
|
5119
5159
|
# @option params [String] :display_name
|
5120
5160
|
# The updated friendly name for the data accessor.
|
5121
5161
|
#
|
@@ -5211,6 +5251,15 @@ module Aws::QBusiness
|
|
5211
5251
|
# },
|
5212
5252
|
# },
|
5213
5253
|
# ],
|
5254
|
+
# authentication_detail: {
|
5255
|
+
# authentication_type: "AWS_IAM_IDC_TTI", # required, accepts AWS_IAM_IDC_TTI, AWS_IAM_IDC_AUTH_CODE
|
5256
|
+
# authentication_configuration: {
|
5257
|
+
# idc_trusted_token_issuer_configuration: {
|
5258
|
+
# idc_trusted_token_issuer_arn: "IdcTrustedTokenIssuerArn", # required
|
5259
|
+
# },
|
5260
|
+
# },
|
5261
|
+
# external_ids: ["DataAccessorExternalId"],
|
5262
|
+
# },
|
5214
5263
|
# display_name: "DataAccessorName",
|
5215
5264
|
# })
|
5216
5265
|
#
|
@@ -5824,7 +5873,7 @@ module Aws::QBusiness
|
|
5824
5873
|
tracer: tracer
|
5825
5874
|
)
|
5826
5875
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
5827
|
-
context[:gem_version] = '1.
|
5876
|
+
context[:gem_version] = '1.41.0'
|
5828
5877
|
Seahorse::Client::Request.new(handlers, context)
|
5829
5878
|
end
|
5830
5879
|
|
@@ -156,7 +156,13 @@ module Aws::QBusiness
|
|
156
156
|
CustomizationConfiguration = Shapes::StructureShape.new(name: 'CustomizationConfiguration')
|
157
157
|
DataAccessor = Shapes::StructureShape.new(name: 'DataAccessor')
|
158
158
|
DataAccessorArn = Shapes::StringShape.new(name: 'DataAccessorArn')
|
159
|
+
DataAccessorAuthenticationConfiguration = Shapes::UnionShape.new(name: 'DataAccessorAuthenticationConfiguration')
|
160
|
+
DataAccessorAuthenticationDetail = Shapes::StructureShape.new(name: 'DataAccessorAuthenticationDetail')
|
161
|
+
DataAccessorAuthenticationType = Shapes::StringShape.new(name: 'DataAccessorAuthenticationType')
|
162
|
+
DataAccessorExternalId = Shapes::StringShape.new(name: 'DataAccessorExternalId')
|
163
|
+
DataAccessorExternalIds = Shapes::ListShape.new(name: 'DataAccessorExternalIds')
|
159
164
|
DataAccessorId = Shapes::StringShape.new(name: 'DataAccessorId')
|
165
|
+
DataAccessorIdcTrustedTokenIssuerConfiguration = Shapes::StructureShape.new(name: 'DataAccessorIdcTrustedTokenIssuerConfiguration')
|
160
166
|
DataAccessorName = Shapes::StringShape.new(name: 'DataAccessorName')
|
161
167
|
DataAccessors = Shapes::ListShape.new(name: 'DataAccessors')
|
162
168
|
DataSource = Shapes::StructureShape.new(name: 'DataSource')
|
@@ -289,6 +295,7 @@ module Aws::QBusiness
|
|
289
295
|
IAMIdentityProviderArn = Shapes::StringShape.new(name: 'IAMIdentityProviderArn')
|
290
296
|
IdcApplicationArn = Shapes::StringShape.new(name: 'IdcApplicationArn')
|
291
297
|
IdcAuthConfiguration = Shapes::StructureShape.new(name: 'IdcAuthConfiguration')
|
298
|
+
IdcTrustedTokenIssuerArn = Shapes::StringShape.new(name: 'IdcTrustedTokenIssuerArn')
|
292
299
|
IdentityProviderConfiguration = Shapes::UnionShape.new(name: 'IdentityProviderConfiguration')
|
293
300
|
IdentityType = Shapes::StringShape.new(name: 'IdentityType')
|
294
301
|
ImageExtractionConfiguration = Shapes::StructureShape.new(name: 'ImageExtractionConfiguration')
|
@@ -406,6 +413,12 @@ module Aws::QBusiness
|
|
406
413
|
OrchestrationControl = Shapes::StringShape.new(name: 'OrchestrationControl')
|
407
414
|
Origin = Shapes::StringShape.new(name: 'Origin')
|
408
415
|
Payload = Shapes::StringShape.new(name: 'Payload')
|
416
|
+
PermissionCondition = Shapes::StructureShape.new(name: 'PermissionCondition')
|
417
|
+
PermissionConditionKey = Shapes::StringShape.new(name: 'PermissionConditionKey')
|
418
|
+
PermissionConditionOperator = Shapes::StringShape.new(name: 'PermissionConditionOperator')
|
419
|
+
PermissionConditionValue = Shapes::StringShape.new(name: 'PermissionConditionValue')
|
420
|
+
PermissionConditionValues = Shapes::ListShape.new(name: 'PermissionConditionValues')
|
421
|
+
PermissionConditions = Shapes::ListShape.new(name: 'PermissionConditions')
|
409
422
|
PersonalizationConfiguration = Shapes::StructureShape.new(name: 'PersonalizationConfiguration')
|
410
423
|
PersonalizationControlMode = Shapes::StringShape.new(name: 'PersonalizationControlMode')
|
411
424
|
Plugin = Shapes::StructureShape.new(name: 'Plugin')
|
@@ -683,6 +696,7 @@ module Aws::QBusiness
|
|
683
696
|
AssociatePermissionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
684
697
|
AssociatePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "statementId"))
|
685
698
|
AssociatePermissionRequest.add_member(:actions, Shapes::ShapeRef.new(shape: QIamActions, required: true, location_name: "actions"))
|
699
|
+
AssociatePermissionRequest.add_member(:conditions, Shapes::ShapeRef.new(shape: PermissionConditions, location_name: "conditions"))
|
686
700
|
AssociatePermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: PrincipalRoleArn, required: true, location_name: "principal"))
|
687
701
|
AssociatePermissionRequest.struct_class = Types::AssociatePermissionRequest
|
688
702
|
|
@@ -977,6 +991,7 @@ module Aws::QBusiness
|
|
977
991
|
CreateDataAccessorRequest.add_member(:action_configurations, Shapes::ShapeRef.new(shape: ActionConfigurationList, required: true, location_name: "actionConfigurations"))
|
978
992
|
CreateDataAccessorRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
979
993
|
CreateDataAccessorRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DataAccessorName, required: true, location_name: "displayName"))
|
994
|
+
CreateDataAccessorRequest.add_member(:authentication_detail, Shapes::ShapeRef.new(shape: DataAccessorAuthenticationDetail, location_name: "authenticationDetail"))
|
980
995
|
CreateDataAccessorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
981
996
|
CreateDataAccessorRequest.struct_class = Types::CreateDataAccessorRequest
|
982
997
|
|
@@ -1103,10 +1118,27 @@ module Aws::QBusiness
|
|
1103
1118
|
DataAccessor.add_member(:data_accessor_arn, Shapes::ShapeRef.new(shape: DataAccessorArn, location_name: "dataAccessorArn"))
|
1104
1119
|
DataAccessor.add_member(:idc_application_arn, Shapes::ShapeRef.new(shape: IdcApplicationArn, location_name: "idcApplicationArn"))
|
1105
1120
|
DataAccessor.add_member(:principal, Shapes::ShapeRef.new(shape: PrincipalRoleArn, location_name: "principal"))
|
1121
|
+
DataAccessor.add_member(:authentication_detail, Shapes::ShapeRef.new(shape: DataAccessorAuthenticationDetail, location_name: "authenticationDetail"))
|
1106
1122
|
DataAccessor.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1107
1123
|
DataAccessor.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
1108
1124
|
DataAccessor.struct_class = Types::DataAccessor
|
1109
1125
|
|
1126
|
+
DataAccessorAuthenticationConfiguration.add_member(:idc_trusted_token_issuer_configuration, Shapes::ShapeRef.new(shape: DataAccessorIdcTrustedTokenIssuerConfiguration, location_name: "idcTrustedTokenIssuerConfiguration"))
|
1127
|
+
DataAccessorAuthenticationConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1128
|
+
DataAccessorAuthenticationConfiguration.add_member_subclass(:idc_trusted_token_issuer_configuration, Types::DataAccessorAuthenticationConfiguration::IdcTrustedTokenIssuerConfiguration)
|
1129
|
+
DataAccessorAuthenticationConfiguration.add_member_subclass(:unknown, Types::DataAccessorAuthenticationConfiguration::Unknown)
|
1130
|
+
DataAccessorAuthenticationConfiguration.struct_class = Types::DataAccessorAuthenticationConfiguration
|
1131
|
+
|
1132
|
+
DataAccessorAuthenticationDetail.add_member(:authentication_type, Shapes::ShapeRef.new(shape: DataAccessorAuthenticationType, required: true, location_name: "authenticationType"))
|
1133
|
+
DataAccessorAuthenticationDetail.add_member(:authentication_configuration, Shapes::ShapeRef.new(shape: DataAccessorAuthenticationConfiguration, location_name: "authenticationConfiguration"))
|
1134
|
+
DataAccessorAuthenticationDetail.add_member(:external_ids, Shapes::ShapeRef.new(shape: DataAccessorExternalIds, location_name: "externalIds"))
|
1135
|
+
DataAccessorAuthenticationDetail.struct_class = Types::DataAccessorAuthenticationDetail
|
1136
|
+
|
1137
|
+
DataAccessorExternalIds.member = Shapes::ShapeRef.new(shape: DataAccessorExternalId)
|
1138
|
+
|
1139
|
+
DataAccessorIdcTrustedTokenIssuerConfiguration.add_member(:idc_trusted_token_issuer_arn, Shapes::ShapeRef.new(shape: IdcTrustedTokenIssuerArn, required: true, location_name: "idcTrustedTokenIssuerArn"))
|
1140
|
+
DataAccessorIdcTrustedTokenIssuerConfiguration.struct_class = Types::DataAccessorIdcTrustedTokenIssuerConfiguration
|
1141
|
+
|
1110
1142
|
DataAccessors.member = Shapes::ShapeRef.new(shape: DataAccessor)
|
1111
1143
|
|
1112
1144
|
DataSource.add_member(:display_name, Shapes::ShapeRef.new(shape: DataSourceName, location_name: "displayName"))
|
@@ -1429,6 +1461,7 @@ module Aws::QBusiness
|
|
1429
1461
|
GetDataAccessorResponse.add_member(:idc_application_arn, Shapes::ShapeRef.new(shape: IdcApplicationArn, location_name: "idcApplicationArn"))
|
1430
1462
|
GetDataAccessorResponse.add_member(:principal, Shapes::ShapeRef.new(shape: PrincipalRoleArn, location_name: "principal"))
|
1431
1463
|
GetDataAccessorResponse.add_member(:action_configurations, Shapes::ShapeRef.new(shape: ActionConfigurationList, location_name: "actionConfigurations"))
|
1464
|
+
GetDataAccessorResponse.add_member(:authentication_detail, Shapes::ShapeRef.new(shape: DataAccessorAuthenticationDetail, location_name: "authenticationDetail"))
|
1432
1465
|
GetDataAccessorResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1433
1466
|
GetDataAccessorResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
1434
1467
|
GetDataAccessorResponse.struct_class = Types::GetDataAccessorResponse
|
@@ -1887,6 +1920,15 @@ module Aws::QBusiness
|
|
1887
1920
|
OrchestrationConfiguration.add_member(:control, Shapes::ShapeRef.new(shape: OrchestrationControl, required: true, location_name: "control"))
|
1888
1921
|
OrchestrationConfiguration.struct_class = Types::OrchestrationConfiguration
|
1889
1922
|
|
1923
|
+
PermissionCondition.add_member(:condition_operator, Shapes::ShapeRef.new(shape: PermissionConditionOperator, required: true, location_name: "conditionOperator"))
|
1924
|
+
PermissionCondition.add_member(:condition_key, Shapes::ShapeRef.new(shape: PermissionConditionKey, required: true, location_name: "conditionKey"))
|
1925
|
+
PermissionCondition.add_member(:condition_values, Shapes::ShapeRef.new(shape: PermissionConditionValues, required: true, location_name: "conditionValues"))
|
1926
|
+
PermissionCondition.struct_class = Types::PermissionCondition
|
1927
|
+
|
1928
|
+
PermissionConditionValues.member = Shapes::ShapeRef.new(shape: PermissionConditionValue)
|
1929
|
+
|
1930
|
+
PermissionConditions.member = Shapes::ShapeRef.new(shape: PermissionCondition)
|
1931
|
+
|
1890
1932
|
PersonalizationConfiguration.add_member(:personalization_control_mode, Shapes::ShapeRef.new(shape: PersonalizationControlMode, required: true, location_name: "personalizationControlMode"))
|
1891
1933
|
PersonalizationConfiguration.struct_class = Types::PersonalizationConfiguration
|
1892
1934
|
|
@@ -2209,6 +2251,7 @@ module Aws::QBusiness
|
|
2209
2251
|
UpdateDataAccessorRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
2210
2252
|
UpdateDataAccessorRequest.add_member(:data_accessor_id, Shapes::ShapeRef.new(shape: DataAccessorId, required: true, location: "uri", location_name: "dataAccessorId"))
|
2211
2253
|
UpdateDataAccessorRequest.add_member(:action_configurations, Shapes::ShapeRef.new(shape: ActionConfigurationList, required: true, location_name: "actionConfigurations"))
|
2254
|
+
UpdateDataAccessorRequest.add_member(:authentication_detail, Shapes::ShapeRef.new(shape: DataAccessorAuthenticationDetail, location_name: "authenticationDetail"))
|
2212
2255
|
UpdateDataAccessorRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DataAccessorName, location_name: "displayName"))
|
2213
2256
|
UpdateDataAccessorRequest.struct_class = Types::UpdateDataAccessorRequest
|
2214
2257
|
|
@@ -548,6 +548,12 @@ module Aws::QBusiness
|
|
548
548
|
# perform.
|
549
549
|
# @return [Array<String>]
|
550
550
|
#
|
551
|
+
# @!attribute [rw] conditions
|
552
|
+
# The conditions that restrict when the permission is effective. These
|
553
|
+
# conditions can be used to limit the permission based on specific
|
554
|
+
# attributes of the request.
|
555
|
+
# @return [Array<Types::PermissionCondition>]
|
556
|
+
#
|
551
557
|
# @!attribute [rw] principal
|
552
558
|
# The Amazon Resource Name of the IAM role for the ISV that is being
|
553
559
|
# granted permission.
|
@@ -559,6 +565,7 @@ module Aws::QBusiness
|
|
559
565
|
:application_id,
|
560
566
|
:statement_id,
|
561
567
|
:actions,
|
568
|
+
:conditions,
|
562
569
|
:principal)
|
563
570
|
SENSITIVE = []
|
564
571
|
include Aws::Structure
|
@@ -1978,6 +1985,12 @@ module Aws::QBusiness
|
|
1978
1985
|
# A friendly name for the data accessor.
|
1979
1986
|
# @return [String]
|
1980
1987
|
#
|
1988
|
+
# @!attribute [rw] authentication_detail
|
1989
|
+
# The authentication configuration details for the data accessor. This
|
1990
|
+
# specifies how the ISV will authenticate when accessing data through
|
1991
|
+
# this data accessor.
|
1992
|
+
# @return [Types::DataAccessorAuthenticationDetail]
|
1993
|
+
#
|
1981
1994
|
# @!attribute [rw] tags
|
1982
1995
|
# The tags to associate with the data accessor.
|
1983
1996
|
# @return [Array<Types::Tag>]
|
@@ -1990,6 +2003,7 @@ module Aws::QBusiness
|
|
1990
2003
|
:action_configurations,
|
1991
2004
|
:client_token,
|
1992
2005
|
:display_name,
|
2006
|
+
:authentication_detail,
|
1993
2007
|
:tags)
|
1994
2008
|
SENSITIVE = [:display_name]
|
1995
2009
|
include Aws::Structure
|
@@ -2715,6 +2729,12 @@ module Aws::QBusiness
|
|
2715
2729
|
# associated with this data accessor.
|
2716
2730
|
# @return [String]
|
2717
2731
|
#
|
2732
|
+
# @!attribute [rw] authentication_detail
|
2733
|
+
# The authentication configuration details for the data accessor. This
|
2734
|
+
# specifies how the ISV authenticates when accessing data through this
|
2735
|
+
# data accessor.
|
2736
|
+
# @return [Types::DataAccessorAuthenticationDetail]
|
2737
|
+
#
|
2718
2738
|
# @!attribute [rw] created_at
|
2719
2739
|
# The timestamp when the data accessor was created.
|
2720
2740
|
# @return [Time]
|
@@ -2731,12 +2751,95 @@ module Aws::QBusiness
|
|
2731
2751
|
:data_accessor_arn,
|
2732
2752
|
:idc_application_arn,
|
2733
2753
|
:principal,
|
2754
|
+
:authentication_detail,
|
2734
2755
|
:created_at,
|
2735
2756
|
:updated_at)
|
2736
2757
|
SENSITIVE = [:display_name]
|
2737
2758
|
include Aws::Structure
|
2738
2759
|
end
|
2739
2760
|
|
2761
|
+
# A union type that contains the specific authentication configuration
|
2762
|
+
# based on the authentication type selected.
|
2763
|
+
#
|
2764
|
+
# @note DataAccessorAuthenticationConfiguration is a union - when making an API calls you must set exactly one of the members.
|
2765
|
+
#
|
2766
|
+
# @note DataAccessorAuthenticationConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DataAccessorAuthenticationConfiguration corresponding to the set member.
|
2767
|
+
#
|
2768
|
+
# @!attribute [rw] idc_trusted_token_issuer_configuration
|
2769
|
+
# Configuration for IAM Identity Center Trusted Token Issuer (TTI)
|
2770
|
+
# authentication used when the authentication type is
|
2771
|
+
# `AWS_IAM_IDC_TTI`.
|
2772
|
+
# @return [Types::DataAccessorIdcTrustedTokenIssuerConfiguration]
|
2773
|
+
#
|
2774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/DataAccessorAuthenticationConfiguration AWS API Documentation
|
2775
|
+
#
|
2776
|
+
class DataAccessorAuthenticationConfiguration < Struct.new(
|
2777
|
+
:idc_trusted_token_issuer_configuration,
|
2778
|
+
:unknown)
|
2779
|
+
SENSITIVE = []
|
2780
|
+
include Aws::Structure
|
2781
|
+
include Aws::Structure::Union
|
2782
|
+
|
2783
|
+
class IdcTrustedTokenIssuerConfiguration < DataAccessorAuthenticationConfiguration; end
|
2784
|
+
class Unknown < DataAccessorAuthenticationConfiguration; end
|
2785
|
+
end
|
2786
|
+
|
2787
|
+
# Contains the authentication configuration details for a data accessor.
|
2788
|
+
# This structure defines how the ISV authenticates when accessing data
|
2789
|
+
# through the data accessor.
|
2790
|
+
#
|
2791
|
+
# @!attribute [rw] authentication_type
|
2792
|
+
# The type of authentication to use for the data accessor. This
|
2793
|
+
# determines how the ISV authenticates when accessing data. You can
|
2794
|
+
# use one of two authentication types:
|
2795
|
+
#
|
2796
|
+
# * `AWS_IAM_IDC_TTI` - Authentication using IAM Identity Center
|
2797
|
+
# Trusted Token Issuer (TTI). This authentication type allows the
|
2798
|
+
# ISV to use a trusted token issuer to generate tokens for accessing
|
2799
|
+
# the data.
|
2800
|
+
#
|
2801
|
+
# * `AWS_IAM_IDC_AUTH_CODE` - Authentication using IAM Identity Center
|
2802
|
+
# authorization code flow. This authentication type uses the
|
2803
|
+
# standard OAuth 2.0 authorization code flow for authentication.
|
2804
|
+
# @return [String]
|
2805
|
+
#
|
2806
|
+
# @!attribute [rw] authentication_configuration
|
2807
|
+
# The specific authentication configuration based on the
|
2808
|
+
# authentication type.
|
2809
|
+
# @return [Types::DataAccessorAuthenticationConfiguration]
|
2810
|
+
#
|
2811
|
+
# @!attribute [rw] external_ids
|
2812
|
+
# A list of external identifiers associated with this authentication
|
2813
|
+
# configuration. These are used to correlate the data accessor with
|
2814
|
+
# external systems.
|
2815
|
+
# @return [Array<String>]
|
2816
|
+
#
|
2817
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/DataAccessorAuthenticationDetail AWS API Documentation
|
2818
|
+
#
|
2819
|
+
class DataAccessorAuthenticationDetail < Struct.new(
|
2820
|
+
:authentication_type,
|
2821
|
+
:authentication_configuration,
|
2822
|
+
:external_ids)
|
2823
|
+
SENSITIVE = []
|
2824
|
+
include Aws::Structure
|
2825
|
+
end
|
2826
|
+
|
2827
|
+
# Configuration details for IAM Identity Center Trusted Token Issuer
|
2828
|
+
# (TTI) authentication.
|
2829
|
+
#
|
2830
|
+
# @!attribute [rw] idc_trusted_token_issuer_arn
|
2831
|
+
# The Amazon Resource Name (ARN) of the IAM Identity Center Trusted
|
2832
|
+
# Token Issuer that will be used for authentication.
|
2833
|
+
# @return [String]
|
2834
|
+
#
|
2835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/DataAccessorIdcTrustedTokenIssuerConfiguration AWS API Documentation
|
2836
|
+
#
|
2837
|
+
class DataAccessorIdcTrustedTokenIssuerConfiguration < Struct.new(
|
2838
|
+
:idc_trusted_token_issuer_arn)
|
2839
|
+
SENSITIVE = []
|
2840
|
+
include Aws::Structure
|
2841
|
+
end
|
2842
|
+
|
2740
2843
|
# A data source in an Amazon Q Business application.
|
2741
2844
|
#
|
2742
2845
|
# @!attribute [rw] display_name
|
@@ -4248,6 +4351,12 @@ module Aws::QBusiness
|
|
4248
4351
|
# any associated filters.
|
4249
4352
|
# @return [Array<Types::ActionConfiguration>]
|
4250
4353
|
#
|
4354
|
+
# @!attribute [rw] authentication_detail
|
4355
|
+
# The authentication configuration details for the data accessor. This
|
4356
|
+
# specifies how the ISV authenticates when accessing data through this
|
4357
|
+
# data accessor.
|
4358
|
+
# @return [Types::DataAccessorAuthenticationDetail]
|
4359
|
+
#
|
4251
4360
|
# @!attribute [rw] created_at
|
4252
4361
|
# The timestamp when the data accessor was created.
|
4253
4362
|
# @return [Time]
|
@@ -4266,6 +4375,7 @@ module Aws::QBusiness
|
|
4266
4375
|
:idc_application_arn,
|
4267
4376
|
:principal,
|
4268
4377
|
:action_configurations,
|
4378
|
+
:authentication_detail,
|
4269
4379
|
:created_at,
|
4270
4380
|
:updated_at)
|
4271
4381
|
SENSITIVE = [:display_name]
|
@@ -5071,7 +5181,7 @@ module Aws::QBusiness
|
|
5071
5181
|
# @return [Types::DocumentAttributeCondition]
|
5072
5182
|
#
|
5073
5183
|
# @!attribute [rw] lambda_arn
|
5074
|
-
# The Amazon Resource Name (ARN) of the Lambda function
|
5184
|
+
# The Amazon Resource Name (ARN) of the Lambda function during
|
5075
5185
|
# ingestion. For more information, see [Using Lambda functions for
|
5076
5186
|
# Amazon Q Business document enrichment][1].
|
5077
5187
|
#
|
@@ -6606,6 +6716,35 @@ module Aws::QBusiness
|
|
6606
6716
|
include Aws::Structure
|
6607
6717
|
end
|
6608
6718
|
|
6719
|
+
# Defines a condition that restricts when a permission is effective.
|
6720
|
+
# Conditions allow you to control access based on specific attributes of
|
6721
|
+
# the request.
|
6722
|
+
#
|
6723
|
+
# @!attribute [rw] condition_operator
|
6724
|
+
# The operator to use for the condition evaluation. This determines
|
6725
|
+
# how the condition values are compared.
|
6726
|
+
# @return [String]
|
6727
|
+
#
|
6728
|
+
# @!attribute [rw] condition_key
|
6729
|
+
# The key for the condition. This identifies the attribute that the
|
6730
|
+
# condition applies to.
|
6731
|
+
# @return [String]
|
6732
|
+
#
|
6733
|
+
# @!attribute [rw] condition_values
|
6734
|
+
# The values to compare against using the specified condition
|
6735
|
+
# operator.
|
6736
|
+
# @return [Array<String>]
|
6737
|
+
#
|
6738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/PermissionCondition AWS API Documentation
|
6739
|
+
#
|
6740
|
+
class PermissionCondition < Struct.new(
|
6741
|
+
:condition_operator,
|
6742
|
+
:condition_key,
|
6743
|
+
:condition_values)
|
6744
|
+
SENSITIVE = []
|
6745
|
+
include Aws::Structure
|
6746
|
+
end
|
6747
|
+
|
6609
6748
|
# Configuration information about chat response personalization. For
|
6610
6749
|
# more information, see [Personalizing chat responses][1].
|
6611
6750
|
#
|
@@ -8081,6 +8220,12 @@ module Aws::QBusiness
|
|
8081
8220
|
# actions and any associated filters.
|
8082
8221
|
# @return [Array<Types::ActionConfiguration>]
|
8083
8222
|
#
|
8223
|
+
# @!attribute [rw] authentication_detail
|
8224
|
+
# The updated authentication configuration details for the data
|
8225
|
+
# accessor. This specifies how the ISV will authenticate when
|
8226
|
+
# accessing data through this data accessor.
|
8227
|
+
# @return [Types::DataAccessorAuthenticationDetail]
|
8228
|
+
#
|
8084
8229
|
# @!attribute [rw] display_name
|
8085
8230
|
# The updated friendly name for the data accessor.
|
8086
8231
|
# @return [String]
|
@@ -8091,6 +8236,7 @@ module Aws::QBusiness
|
|
8091
8236
|
:application_id,
|
8092
8237
|
:data_accessor_id,
|
8093
8238
|
:action_configurations,
|
8239
|
+
:authentication_detail,
|
8094
8240
|
:display_name)
|
8095
8241
|
SENSITIVE = [:display_name]
|
8096
8242
|
include Aws::Structure
|
data/lib/aws-sdk-qbusiness.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -89,6 +89,13 @@ module Aws
|
|
89
89
|
application_id: ::String,
|
90
90
|
statement_id: ::String,
|
91
91
|
actions: Array[::String],
|
92
|
+
?conditions: Array[
|
93
|
+
{
|
94
|
+
condition_operator: ("StringEquals"),
|
95
|
+
condition_key: ::String,
|
96
|
+
condition_values: Array[::String]
|
97
|
+
},
|
98
|
+
],
|
92
99
|
principal: ::String
|
93
100
|
) -> _AssociatePermissionResponseSuccess
|
94
101
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociatePermissionResponseSuccess
|
@@ -534,6 +541,15 @@ module Aws
|
|
534
541
|
],
|
535
542
|
?client_token: ::String,
|
536
543
|
display_name: ::String,
|
544
|
+
?authentication_detail: {
|
545
|
+
authentication_type: ("AWS_IAM_IDC_TTI" | "AWS_IAM_IDC_AUTH_CODE"),
|
546
|
+
authentication_configuration: {
|
547
|
+
idc_trusted_token_issuer_configuration: {
|
548
|
+
idc_trusted_token_issuer_arn: ::String
|
549
|
+
}?
|
550
|
+
}?,
|
551
|
+
external_ids: Array[::String]?
|
552
|
+
},
|
537
553
|
?tags: Array[
|
538
554
|
{
|
539
555
|
key: ::String,
|
@@ -1028,6 +1044,7 @@ module Aws
|
|
1028
1044
|
def idc_application_arn: () -> ::String
|
1029
1045
|
def principal: () -> ::String
|
1030
1046
|
def action_configurations: () -> ::Array[Types::ActionConfiguration]
|
1047
|
+
def authentication_detail: () -> Types::DataAccessorAuthenticationDetail
|
1031
1048
|
def created_at: () -> ::Time
|
1032
1049
|
def updated_at: () -> ::Time
|
1033
1050
|
end
|
@@ -1841,6 +1858,15 @@ module Aws
|
|
1841
1858
|
}?
|
1842
1859
|
},
|
1843
1860
|
],
|
1861
|
+
?authentication_detail: {
|
1862
|
+
authentication_type: ("AWS_IAM_IDC_TTI" | "AWS_IAM_IDC_AUTH_CODE"),
|
1863
|
+
authentication_configuration: {
|
1864
|
+
idc_trusted_token_issuer_configuration: {
|
1865
|
+
idc_trusted_token_issuer_arn: ::String
|
1866
|
+
}?
|
1867
|
+
}?,
|
1868
|
+
external_ids: Array[::String]?
|
1869
|
+
},
|
1844
1870
|
?display_name: ::String
|
1845
1871
|
) -> _UpdateDataAccessorResponseSuccess
|
1846
1872
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataAccessorResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -147,6 +147,7 @@ module Aws::QBusiness
|
|
147
147
|
attr_accessor application_id: ::String
|
148
148
|
attr_accessor statement_id: ::String
|
149
149
|
attr_accessor actions: ::Array[::String]
|
150
|
+
attr_accessor conditions: ::Array[Types::PermissionCondition]
|
150
151
|
attr_accessor principal: ::String
|
151
152
|
SENSITIVE: []
|
152
153
|
end
|
@@ -504,6 +505,7 @@ module Aws::QBusiness
|
|
504
505
|
attr_accessor action_configurations: ::Array[Types::ActionConfiguration]
|
505
506
|
attr_accessor client_token: ::String
|
506
507
|
attr_accessor display_name: ::String
|
508
|
+
attr_accessor authentication_detail: Types::DataAccessorAuthenticationDetail
|
507
509
|
attr_accessor tags: ::Array[Types::Tag]
|
508
510
|
SENSITIVE: [:display_name]
|
509
511
|
end
|
@@ -665,11 +667,35 @@ module Aws::QBusiness
|
|
665
667
|
attr_accessor data_accessor_arn: ::String
|
666
668
|
attr_accessor idc_application_arn: ::String
|
667
669
|
attr_accessor principal: ::String
|
670
|
+
attr_accessor authentication_detail: Types::DataAccessorAuthenticationDetail
|
668
671
|
attr_accessor created_at: ::Time
|
669
672
|
attr_accessor updated_at: ::Time
|
670
673
|
SENSITIVE: [:display_name]
|
671
674
|
end
|
672
675
|
|
676
|
+
class DataAccessorAuthenticationConfiguration
|
677
|
+
attr_accessor idc_trusted_token_issuer_configuration: Types::DataAccessorIdcTrustedTokenIssuerConfiguration
|
678
|
+
attr_accessor unknown: untyped
|
679
|
+
SENSITIVE: []
|
680
|
+
|
681
|
+
class IdcTrustedTokenIssuerConfiguration < DataAccessorAuthenticationConfiguration
|
682
|
+
end
|
683
|
+
class Unknown < DataAccessorAuthenticationConfiguration
|
684
|
+
end
|
685
|
+
end
|
686
|
+
|
687
|
+
class DataAccessorAuthenticationDetail
|
688
|
+
attr_accessor authentication_type: ("AWS_IAM_IDC_TTI" | "AWS_IAM_IDC_AUTH_CODE")
|
689
|
+
attr_accessor authentication_configuration: Types::DataAccessorAuthenticationConfiguration
|
690
|
+
attr_accessor external_ids: ::Array[::String]
|
691
|
+
SENSITIVE: []
|
692
|
+
end
|
693
|
+
|
694
|
+
class DataAccessorIdcTrustedTokenIssuerConfiguration
|
695
|
+
attr_accessor idc_trusted_token_issuer_arn: ::String
|
696
|
+
SENSITIVE: []
|
697
|
+
end
|
698
|
+
|
673
699
|
class DataSource
|
674
700
|
attr_accessor display_name: ::String
|
675
701
|
attr_accessor data_source_id: ::String
|
@@ -1081,6 +1107,7 @@ module Aws::QBusiness
|
|
1081
1107
|
attr_accessor idc_application_arn: ::String
|
1082
1108
|
attr_accessor principal: ::String
|
1083
1109
|
attr_accessor action_configurations: ::Array[Types::ActionConfiguration]
|
1110
|
+
attr_accessor authentication_detail: Types::DataAccessorAuthenticationDetail
|
1084
1111
|
attr_accessor created_at: ::Time
|
1085
1112
|
attr_accessor updated_at: ::Time
|
1086
1113
|
SENSITIVE: [:display_name]
|
@@ -1694,6 +1721,13 @@ module Aws::QBusiness
|
|
1694
1721
|
SENSITIVE: []
|
1695
1722
|
end
|
1696
1723
|
|
1724
|
+
class PermissionCondition
|
1725
|
+
attr_accessor condition_operator: ("StringEquals")
|
1726
|
+
attr_accessor condition_key: ::String
|
1727
|
+
attr_accessor condition_values: ::Array[::String]
|
1728
|
+
SENSITIVE: []
|
1729
|
+
end
|
1730
|
+
|
1697
1731
|
class PersonalizationConfiguration
|
1698
1732
|
attr_accessor personalization_control_mode: ("ENABLED" | "DISABLED")
|
1699
1733
|
SENSITIVE: []
|
@@ -2117,6 +2151,7 @@ module Aws::QBusiness
|
|
2117
2151
|
attr_accessor application_id: ::String
|
2118
2152
|
attr_accessor data_accessor_id: ::String
|
2119
2153
|
attr_accessor action_configurations: ::Array[Types::ActionConfiguration]
|
2154
|
+
attr_accessor authentication_detail: Types::DataAccessorAuthenticationDetail
|
2120
2155
|
attr_accessor display_name: ::String
|
2121
2156
|
SENSITIVE: [:display_name]
|
2122
2157
|
end
|