Skip to content

Commit 52bc2d8

Browse files
author
awstools
committed
feat(client-qbusiness): Amazon QBusiness: Enable support for SAML and OIDC federation through AWS IAM Identity Provider integration.
1 parent 632626f commit 52bc2d8

File tree

10 files changed

+593
-10
lines changed

10 files changed

+593
-10
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
4848
* const input = { // CreateApplicationRequest
4949
* displayName: "STRING_VALUE", // required
5050
* roleArn: "STRING_VALUE",
51+
* identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC",
52+
* iamIdentityProviderArn: "STRING_VALUE",
5153
* identityCenterInstanceArn: "STRING_VALUE",
54+
* clientIdsForOIDC: [ // ClientIdsForOIDC
55+
* "STRING_VALUE",
56+
* ],
5257
* description: "STRING_VALUE",
5358
* encryptionConfiguration: { // EncryptionConfiguration
5459
* kmsKeyId: "STRING_VALUE",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ export interface CreateWebExperienceCommandOutput extends CreateWebExperienceRes
4949
* },
5050
* ],
5151
* clientToken: "STRING_VALUE",
52+
* identityProviderConfiguration: { // IdentityProviderConfiguration Union: only one key present
53+
* samlConfiguration: { // SamlProviderConfiguration
54+
* authenticationUrl: "STRING_VALUE", // required
55+
* },
56+
* openIDConnectConfiguration: { // OpenIDConnectProviderConfiguration
57+
* secretsArn: "STRING_VALUE", // required
58+
* secretsRole: "STRING_VALUE", // required
59+
* },
60+
* },
5261
* };
5362
* const command = new CreateWebExperienceCommand(input);
5463
* const response = await client.send(command);

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
4848
* // displayName: "STRING_VALUE",
4949
* // applicationId: "STRING_VALUE",
5050
* // applicationArn: "STRING_VALUE",
51+
* // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC",
52+
* // iamIdentityProviderArn: "STRING_VALUE",
5153
* // identityCenterApplicationArn: "STRING_VALUE",
5254
* // roleArn: "STRING_VALUE",
5355
* // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED" || "UPDATING",
@@ -70,6 +72,13 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
7072
* // personalizationConfiguration: { // PersonalizationConfiguration
7173
* // personalizationControlMode: "ENABLED" || "DISABLED", // required
7274
* // },
75+
* // autoSubscriptionConfiguration: { // AutoSubscriptionConfiguration
76+
* // autoSubscribe: "ENABLED" || "DISABLED", // required
77+
* // defaultSubscriptionType: "Q_LITE" || "Q_BUSINESS",
78+
* // },
79+
* // clientIdsForOIDC: [ // ClientIdsForOIDC
80+
* // "STRING_VALUE",
81+
* // ],
7382
* // };
7483
*
7584
* ```

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ export interface GetWebExperienceCommandOutput extends GetWebExperienceResponse,
5454
* // welcomeMessage: "STRING_VALUE",
5555
* // samplePromptsControlMode: "ENABLED" || "DISABLED",
5656
* // roleArn: "STRING_VALUE",
57+
* // identityProviderConfiguration: { // IdentityProviderConfiguration Union: only one key present
58+
* // samlConfiguration: { // SamlProviderConfiguration
59+
* // authenticationUrl: "STRING_VALUE", // required
60+
* // },
61+
* // openIDConnectConfiguration: { // OpenIDConnectProviderConfiguration
62+
* // secretsArn: "STRING_VALUE", // required
63+
* // secretsRole: "STRING_VALUE", // required
64+
* // },
65+
* // },
5766
* // authenticationConfiguration: { // WebExperienceAuthConfiguration Union: only one key present
5867
* // samlConfiguration: { // SamlConfiguration
5968
* // metadataXML: "STRING_VALUE", // required

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
5050
* // createdAt: new Date("TIMESTAMP"),
5151
* // updatedAt: new Date("TIMESTAMP"),
5252
* // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED" || "UPDATING",
53+
* // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC",
5354
* // },
5455
* // ],
5556
* // };

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
5050
* personalizationConfiguration: { // PersonalizationConfiguration
5151
* personalizationControlMode: "ENABLED" || "DISABLED", // required
5252
* },
53+
* autoSubscriptionConfiguration: { // AutoSubscriptionConfiguration
54+
* autoSubscribe: "ENABLED" || "DISABLED", // required
55+
* defaultSubscriptionType: "Q_LITE" || "Q_BUSINESS",
56+
* },
5357
* };
5458
* const command = new UpdateApplicationCommand(input);
5559
* const response = await client.send(command);

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ export interface UpdateWebExperienceCommandOutput extends UpdateWebExperienceRes
5151
* subtitle: "STRING_VALUE",
5252
* welcomeMessage: "STRING_VALUE",
5353
* samplePromptsControlMode: "ENABLED" || "DISABLED",
54+
* identityProviderConfiguration: { // IdentityProviderConfiguration Union: only one key present
55+
* samlConfiguration: { // SamlProviderConfiguration
56+
* authenticationUrl: "STRING_VALUE", // required
57+
* },
58+
* openIDConnectConfiguration: { // OpenIDConnectProviderConfiguration
59+
* secretsArn: "STRING_VALUE", // required
60+
* secretsRole: "STRING_VALUE", // required
61+
* },
62+
* },
5463
* };
5564
* const command = new UpdateWebExperienceCommand(input);
5665
* const response = await client.send(command);

0 commit comments

Comments
 (0)