Skip to content

Commit a0824b3

Browse files
author
awstools
committed
feat(client-qbusiness): Adds S3 path option to pass group member list for PutGroup API.
1 parent 0c470f6 commit a0824b3

File tree

6 files changed

+51
-3
lines changed

6 files changed

+51
-3
lines changed

clients/client-qbusiness/src/commands/CreateApplicationCommand.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,16 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
3737
* <p>There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are
3838
* also available in Amazon Q Business Lite. For information on what's included in
3939
* Amazon Q Business Lite and what's included in Amazon Q Business Pro, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#user-sub-tiers">Amazon Q Business tiers</a>. You must use the Amazon Q Business console to assign
40-
* subscription tiers to users.</p>
40+
* subscription tiers to users.
41+
* </p>
42+
* <p>
43+
* A Amazon Q Apps service linked role will be created if it's absent in the
44+
* Amazon Web Services account when the QAppsConfiguration is enabled in the request.
45+
* For more information, see
46+
* <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles-qapps.html">
47+
* Using service-linked roles for Q Apps
48+
* </a>
49+
* </p>
4150
* </note>
4251
* @example
4352
* Use a bare-bones client and the command you need to make an API call.

clients/client-qbusiness/src/commands/PutGroupCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ export interface PutGroupCommandOutput extends PutGroupResponse, __MetadataBeare
6060
* type: "INDEX" || "DATASOURCE",
6161
* },
6262
* ],
63+
* s3PathForGroupMembers: { // S3
64+
* bucket: "STRING_VALUE", // required
65+
* key: "STRING_VALUE", // required
66+
* },
6367
* },
68+
* roleArn: "STRING_VALUE",
6469
* };
6570
* const command = new PutGroupCommand(input);
6671
* const response = await client.send(command);

clients/client-qbusiness/src/commands/UpdateApplicationCommand.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
2929

3030
/**
3131
* <p>Updates an existing Amazon Q Business application.</p>
32+
* <note>
33+
* <p>
34+
* A Amazon Q Apps service-linked role will be created if it's absent in the Amazon Web Services account
35+
* when the QAppsConfiguration is enabled in the request.
36+
* For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles-qapps.html">
37+
* Using service-linked roles for Q Apps
38+
* </a>
39+
* </p>
40+
* </note>
3241
* @example
3342
* Use a bare-bones client and the command you need to make an API call.
3443
* ```javascript

clients/client-qbusiness/src/models/models_0.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6949,6 +6949,13 @@ export interface GroupMembers {
69496949
* @public
69506950
*/
69516951
memberUsers?: MemberUser[];
6952+
6953+
/**
6954+
* <p>Information required for Amazon Q Business to find a specific file in an Amazon S3
6955+
* bucket.</p>
6956+
* @public
6957+
*/
6958+
s3PathForGroupMembers?: S3;
69526959
}
69536960

69546961
/**
@@ -6998,6 +7005,14 @@ export interface PutGroupRequest {
69987005
* @public
69997006
*/
70007007
groupMembers: GroupMembers | undefined;
7008+
7009+
/**
7010+
* <p>The Amazon Resource Name (ARN) of an IAM role that has access to the S3 file that contains
7011+
* your list of users that belong to a group.The Amazon Resource Name (ARN) of an IAM role that
7012+
* has access to the S3 file that contains your list of users that belong to a group.</p>
7013+
* @public
7014+
*/
7015+
roleArn?: string;
70017016
}
70027017

70037018
/**

clients/client-qbusiness/src/protocols/Aws_restJson1.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,6 +1191,7 @@ export const se_PutGroupCommand = async (
11911191
dataSourceId: [],
11921192
groupMembers: (_) => _json(_),
11931193
groupName: [],
1194+
roleArn: [],
11941195
type: [],
11951196
})
11961197
);

codegen/sdk-codegen/aws-models/qbusiness.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,7 +1946,7 @@
19461946
"kms:DescribeKey",
19471947
"kms:CreateGrant"
19481948
],
1949-
"smithy.api#documentation": "<p>Creates an Amazon Q Business application.</p>\n <note>\n <p>There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are\n also available in Amazon Q Business Lite. For information on what's included in\n Amazon Q Business Lite and what's included in Amazon Q Business Pro, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#user-sub-tiers\">Amazon Q Business tiers</a>. You must use the Amazon Q Business console to assign\n subscription tiers to users.</p>\n </note>",
1949+
"smithy.api#documentation": "<p>Creates an Amazon Q Business application.</p>\n <note>\n <p>There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are\n also available in Amazon Q Business Lite. For information on what's included in\n Amazon Q Business Lite and what's included in Amazon Q Business Pro, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#user-sub-tiers\">Amazon Q Business tiers</a>. You must use the Amazon Q Business console to assign\n subscription tiers to users.\n </p>\n <p>\n A Amazon Q Apps service linked role will be created if it's absent in the \n Amazon Web Services account when the QAppsConfiguration is enabled in the request. \n For more information, see \n <a href=\"https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles-qapps.html\">\n Using service-linked roles for Q Apps\n </a>\n </p>\n </note>",
19501950
"smithy.api#http": {
19511951
"uri": "/applications",
19521952
"method": "POST"
@@ -6407,6 +6407,9 @@
64076407
"traits": {
64086408
"smithy.api#documentation": "<p>A list of users that belong to a group. For example, a list of interns all belong to\n the \"Interns\" group.</p>"
64096409
}
6410+
},
6411+
"s3PathForGroupMembers": {
6412+
"target": "com.amazonaws.qbusiness#S3"
64106413
}
64116414
},
64126415
"traits": {
@@ -9265,6 +9268,12 @@
92659268
"traits": {
92669269
"smithy.api#required": {}
92679270
}
9271+
},
9272+
"roleArn": {
9273+
"target": "com.amazonaws.qbusiness#RoleArn",
9274+
"traits": {
9275+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an IAM role that has access to the S3 file that contains \n your list of users that belong to a group.The Amazon Resource Name (ARN) of an IAM role that \n has access to the S3 file that contains your list of users that belong to a group.</p>"
9276+
}
92689277
}
92699278
},
92709279
"traits": {
@@ -10629,7 +10638,7 @@
1062910638
"qbusiness:ListTagsForResource",
1063010639
"iam:PassRole"
1063110640
],
10632-
"smithy.api#documentation": "<p>Updates an existing Amazon Q Business application.</p>",
10641+
"smithy.api#documentation": "<p>Updates an existing Amazon Q Business application.</p>\n <note>\n <p>\n A Amazon Q Apps service-linked role will be created if it's absent in the Amazon Web Services account\n when the QAppsConfiguration is enabled in the request.\n For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles-qapps.html\">\n Using service-linked roles for Q Apps\n </a>\n </p>\n </note>",
1063310642
"smithy.api#http": {
1063410643
"uri": "/applications/{applicationId}",
1063510644
"method": "PUT"

0 commit comments

Comments
 (0)