aws-sdk-qbusiness 1.20.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qbusiness/async_client.rb +1 -1
- data/lib/aws-sdk-qbusiness/client.rb +29 -1
- data/lib/aws-sdk-qbusiness/client_api.rb +4 -0
- data/lib/aws-sdk-qbusiness/types.rb +22 -2
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +7 -2
- data/sig/types.rbs +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cb9ee07ebc249a457a30697cc9bdc03ffef87bd98443772d9002d439a963f66
|
4
|
+
data.tar.gz: ed98467c27fb12f55f7c78c562e8cb878fe9b8a9525a67463702c0364019912b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 621c632dd181a33accc3ab9a3803c7882bc77fc3591517c9402e5dbcf5ccebac2b8d9940ed85b2affa31620f671a61e8547ea870a073b2dd7dff0cc1f27bfc50
|
7
|
+
data.tar.gz: 2fd81a79dacb444f723f5e33355ac5d7052d888015bcc9d108274095f2630fea9e65703e658410812f16510da69e68195197c4ccb9f0e6d387b74008d638b533
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.22.0 (2024-11-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds S3 path option to pass group member list for PutGroup API.
|
8
|
+
|
9
|
+
1.21.0 (2024-10-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add a new field in chat response. This field can be used to support nested schemas in array fields
|
13
|
+
|
4
14
|
1.20.0 (2024-10-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.22.0
|
@@ -928,11 +928,17 @@ module Aws::QBusiness
|
|
928
928
|
# You must use the Amazon Q Business console to assign subscription
|
929
929
|
# tiers to users.
|
930
930
|
#
|
931
|
+
# A Amazon Q Apps service linked role will be created if it's absent in
|
932
|
+
# the Amazon Web Services account when the QAppsConfiguration is enabled
|
933
|
+
# in the request. For more information, see [ Using service-linked roles
|
934
|
+
# for Q Apps ][2]
|
935
|
+
#
|
931
936
|
# </note>
|
932
937
|
#
|
933
938
|
#
|
934
939
|
#
|
935
940
|
# [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#user-sub-tiers
|
941
|
+
# [2]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles-qapps.html
|
936
942
|
#
|
937
943
|
# @option params [required, String] :display_name
|
938
944
|
# A name for the Amazon Q Business application.
|
@@ -3314,6 +3320,12 @@ module Aws::QBusiness
|
|
3314
3320
|
# generating Amazon Q Business chat results only from document a user
|
3315
3321
|
# has access to.
|
3316
3322
|
#
|
3323
|
+
# @option params [String] :role_arn
|
3324
|
+
# The Amazon Resource Name (ARN) of an IAM role that has access to the
|
3325
|
+
# S3 file that contains your list of users that belong to a group.The
|
3326
|
+
# Amazon Resource Name (ARN) of an IAM role that has access to the S3
|
3327
|
+
# file that contains your list of users that belong to a group.
|
3328
|
+
#
|
3317
3329
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3318
3330
|
#
|
3319
3331
|
# @example Request syntax with placeholder values
|
@@ -3337,7 +3349,12 @@ module Aws::QBusiness
|
|
3337
3349
|
# type: "INDEX", # accepts INDEX, DATASOURCE
|
3338
3350
|
# },
|
3339
3351
|
# ],
|
3352
|
+
# s3_path_for_group_members: {
|
3353
|
+
# bucket: "S3BucketName", # required
|
3354
|
+
# key: "S3ObjectKey", # required
|
3355
|
+
# },
|
3340
3356
|
# },
|
3357
|
+
# role_arn: "RoleArn",
|
3341
3358
|
# })
|
3342
3359
|
#
|
3343
3360
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/PutGroup AWS API Documentation
|
@@ -3488,6 +3505,17 @@ module Aws::QBusiness
|
|
3488
3505
|
|
3489
3506
|
# Updates an existing Amazon Q Business application.
|
3490
3507
|
#
|
3508
|
+
# <note markdown="1"> A Amazon Q Apps service-linked role will be created if it's absent in
|
3509
|
+
# the Amazon Web Services account when the QAppsConfiguration is enabled
|
3510
|
+
# in the request. For more information, see [ Using service-linked roles
|
3511
|
+
# for Q Apps ][1]
|
3512
|
+
#
|
3513
|
+
# </note>
|
3514
|
+
#
|
3515
|
+
#
|
3516
|
+
#
|
3517
|
+
# [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles-qapps.html
|
3518
|
+
#
|
3491
3519
|
# @option params [required, String] :application_id
|
3492
3520
|
# The identifier of the Amazon Q Business application.
|
3493
3521
|
#
|
@@ -4186,7 +4214,7 @@ module Aws::QBusiness
|
|
4186
4214
|
tracer: tracer
|
4187
4215
|
)
|
4188
4216
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
4189
|
-
context[:gem_version] = '1.
|
4217
|
+
context[:gem_version] = '1.22.0'
|
4190
4218
|
Seahorse::Client::Request.new(handlers, context)
|
4191
4219
|
end
|
4192
4220
|
|
@@ -34,6 +34,7 @@ module Aws::QBusiness
|
|
34
34
|
ActionReviewPayloadField = Shapes::StructureShape.new(name: 'ActionReviewPayloadField')
|
35
35
|
ActionReviewPayloadFieldAllowedValue = Shapes::StructureShape.new(name: 'ActionReviewPayloadFieldAllowedValue')
|
36
36
|
ActionReviewPayloadFieldAllowedValues = Shapes::ListShape.new(name: 'ActionReviewPayloadFieldAllowedValues')
|
37
|
+
ActionReviewPayloadFieldArrayItemJsonSchema = Shapes::DocumentShape.new(name: 'ActionReviewPayloadFieldArrayItemJsonSchema', document: true)
|
37
38
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
38
39
|
Application = Shapes::StructureShape.new(name: 'Application')
|
39
40
|
ApplicationArn = Shapes::StringShape.new(name: 'ApplicationArn')
|
@@ -498,6 +499,7 @@ module Aws::QBusiness
|
|
498
499
|
ActionReviewPayloadField.add_member(:value, Shapes::ShapeRef.new(shape: ActionPayloadFieldValue, location_name: "value"))
|
499
500
|
ActionReviewPayloadField.add_member(:allowed_values, Shapes::ShapeRef.new(shape: ActionReviewPayloadFieldAllowedValues, location_name: "allowedValues"))
|
500
501
|
ActionReviewPayloadField.add_member(:allowed_format, Shapes::ShapeRef.new(shape: String, location_name: "allowedFormat"))
|
502
|
+
ActionReviewPayloadField.add_member(:array_item_json_schema, Shapes::ShapeRef.new(shape: ActionReviewPayloadFieldArrayItemJsonSchema, location_name: "arrayItemJsonSchema"))
|
501
503
|
ActionReviewPayloadField.add_member(:required, Shapes::ShapeRef.new(shape: Boolean, location_name: "required"))
|
502
504
|
ActionReviewPayloadField.struct_class = Types::ActionReviewPayloadField
|
503
505
|
|
@@ -1179,6 +1181,7 @@ module Aws::QBusiness
|
|
1179
1181
|
|
1180
1182
|
GroupMembers.add_member(:member_groups, Shapes::ShapeRef.new(shape: MemberGroups, location_name: "memberGroups"))
|
1181
1183
|
GroupMembers.add_member(:member_users, Shapes::ShapeRef.new(shape: MemberUsers, location_name: "memberUsers"))
|
1184
|
+
GroupMembers.add_member(:s3_path_for_group_members, Shapes::ShapeRef.new(shape: S3, location_name: "s3PathForGroupMembers"))
|
1182
1185
|
GroupMembers.struct_class = Types::GroupMembers
|
1183
1186
|
|
1184
1187
|
GroupStatusDetail.add_member(:status, Shapes::ShapeRef.new(shape: GroupStatus, location_name: "status"))
|
@@ -1473,6 +1476,7 @@ module Aws::QBusiness
|
|
1473
1476
|
PutGroupRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "dataSourceId"))
|
1474
1477
|
PutGroupRequest.add_member(:type, Shapes::ShapeRef.new(shape: MembershipType, required: true, location_name: "type"))
|
1475
1478
|
PutGroupRequest.add_member(:group_members, Shapes::ShapeRef.new(shape: GroupMembers, required: true, location_name: "groupMembers"))
|
1479
|
+
PutGroupRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
1476
1480
|
PutGroupRequest.struct_class = Types::PutGroupRequest
|
1477
1481
|
|
1478
1482
|
PutGroupResponse.struct_class = Types::PutGroupResponse
|
@@ -304,6 +304,11 @@ module Aws::QBusiness
|
|
304
304
|
# allowed format.
|
305
305
|
# @return [String]
|
306
306
|
#
|
307
|
+
# @!attribute [rw] array_item_json_schema
|
308
|
+
# Use to create a custom form with array fields (fields with nested
|
309
|
+
# objects inside an array).
|
310
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
311
|
+
#
|
307
312
|
# @!attribute [rw] required
|
308
313
|
# Information about whether the field is required.
|
309
314
|
# @return [Boolean]
|
@@ -318,6 +323,7 @@ module Aws::QBusiness
|
|
318
323
|
:value,
|
319
324
|
:allowed_values,
|
320
325
|
:allowed_format,
|
326
|
+
:array_item_json_schema,
|
321
327
|
:required)
|
322
328
|
SENSITIVE = []
|
323
329
|
include Aws::Structure
|
@@ -3729,11 +3735,17 @@ module Aws::QBusiness
|
|
3729
3735
|
# interns all belong to the "Interns" group.
|
3730
3736
|
# @return [Array<Types::MemberUser>]
|
3731
3737
|
#
|
3738
|
+
# @!attribute [rw] s3_path_for_group_members
|
3739
|
+
# Information required for Amazon Q Business to find a specific file
|
3740
|
+
# in an Amazon S3 bucket.
|
3741
|
+
# @return [Types::S3]
|
3742
|
+
#
|
3732
3743
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/GroupMembers AWS API Documentation
|
3733
3744
|
#
|
3734
3745
|
class GroupMembers < Struct.new(
|
3735
3746
|
:member_groups,
|
3736
|
-
:member_users
|
3747
|
+
:member_users,
|
3748
|
+
:s3_path_for_group_members)
|
3737
3749
|
SENSITIVE = []
|
3738
3750
|
include Aws::Structure
|
3739
3751
|
end
|
@@ -5209,6 +5221,13 @@ module Aws::QBusiness
|
|
5209
5221
|
# has access to.
|
5210
5222
|
# @return [Types::GroupMembers]
|
5211
5223
|
#
|
5224
|
+
# @!attribute [rw] role_arn
|
5225
|
+
# The Amazon Resource Name (ARN) of an IAM role that has access to the
|
5226
|
+
# S3 file that contains your list of users that belong to a group.The
|
5227
|
+
# Amazon Resource Name (ARN) of an IAM role that has access to the S3
|
5228
|
+
# file that contains your list of users that belong to a group.
|
5229
|
+
# @return [String]
|
5230
|
+
#
|
5212
5231
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/PutGroupRequest AWS API Documentation
|
5213
5232
|
#
|
5214
5233
|
class PutGroupRequest < Struct.new(
|
@@ -5217,7 +5236,8 @@ module Aws::QBusiness
|
|
5217
5236
|
:group_name,
|
5218
5237
|
:data_source_id,
|
5219
5238
|
:type,
|
5220
|
-
:group_members
|
5239
|
+
:group_members,
|
5240
|
+
:role_arn)
|
5221
5241
|
SENSITIVE = []
|
5222
5242
|
include Aws::Structure
|
5223
5243
|
end
|
data/lib/aws-sdk-qbusiness.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1122,8 +1122,13 @@ module Aws
|
|
1122
1122
|
user_id: ::String,
|
1123
1123
|
type: ("INDEX" | "DATASOURCE")?
|
1124
1124
|
},
|
1125
|
-
]
|
1126
|
-
|
1125
|
+
]?,
|
1126
|
+
s3_path_for_group_members: {
|
1127
|
+
bucket: ::String,
|
1128
|
+
key: ::String
|
1129
|
+
}?
|
1130
|
+
},
|
1131
|
+
?role_arn: ::String
|
1127
1132
|
) -> _PutGroupResponseSuccess
|
1128
1133
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutGroupResponseSuccess
|
1129
1134
|
|
data/sig/types.rbs
CHANGED
@@ -87,6 +87,7 @@ module Aws::QBusiness
|
|
87
87
|
attr_accessor value: untyped
|
88
88
|
attr_accessor allowed_values: ::Array[Types::ActionReviewPayloadFieldAllowedValue]
|
89
89
|
attr_accessor allowed_format: ::String
|
90
|
+
attr_accessor array_item_json_schema: untyped
|
90
91
|
attr_accessor required: bool
|
91
92
|
SENSITIVE: []
|
92
93
|
end
|
@@ -931,6 +932,7 @@ module Aws::QBusiness
|
|
931
932
|
class GroupMembers
|
932
933
|
attr_accessor member_groups: ::Array[Types::MemberGroup]
|
933
934
|
attr_accessor member_users: ::Array[Types::MemberUser]
|
935
|
+
attr_accessor s3_path_for_group_members: Types::S3
|
934
936
|
SENSITIVE: []
|
935
937
|
end
|
936
938
|
|
@@ -1328,6 +1330,7 @@ module Aws::QBusiness
|
|
1328
1330
|
attr_accessor data_source_id: ::String
|
1329
1331
|
attr_accessor type: ("INDEX" | "DATASOURCE")
|
1330
1332
|
attr_accessor group_members: Types::GroupMembers
|
1333
|
+
attr_accessor role_arn: ::String
|
1331
1334
|
SENSITIVE: []
|
1332
1335
|
end
|
1333
1336
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-qbusiness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|