Skip to content

Commit

Permalink
feat(client-qbusiness): Amazon QBusiness: Enable support for SAML and…
Browse files Browse the repository at this point in the history
… OIDC federation through AWS IAM Identity Provider integration.
  • Loading branch information
awstools committed Aug 23, 2024
1 parent 632626f commit 52bc2d8
Show file tree
Hide file tree
Showing 10 changed files with 593 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
* const input = { // CreateApplicationRequest
* displayName: "STRING_VALUE", // required
* roleArn: "STRING_VALUE",
* identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC",
* iamIdentityProviderArn: "STRING_VALUE",
* identityCenterInstanceArn: "STRING_VALUE",
* clientIdsForOIDC: [ // ClientIdsForOIDC
* "STRING_VALUE",
* ],
* description: "STRING_VALUE",
* encryptionConfiguration: { // EncryptionConfiguration
* kmsKeyId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ export interface CreateWebExperienceCommandOutput extends CreateWebExperienceRes
* },
* ],
* clientToken: "STRING_VALUE",
* identityProviderConfiguration: { // IdentityProviderConfiguration Union: only one key present
* samlConfiguration: { // SamlProviderConfiguration
* authenticationUrl: "STRING_VALUE", // required
* },
* openIDConnectConfiguration: { // OpenIDConnectProviderConfiguration
* secretsArn: "STRING_VALUE", // required
* secretsRole: "STRING_VALUE", // required
* },
* },
* };
* const command = new CreateWebExperienceCommand(input);
* const response = await client.send(command);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
* // displayName: "STRING_VALUE",
* // applicationId: "STRING_VALUE",
* // applicationArn: "STRING_VALUE",
* // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC",
* // iamIdentityProviderArn: "STRING_VALUE",
* // identityCenterApplicationArn: "STRING_VALUE",
* // roleArn: "STRING_VALUE",
* // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED" || "UPDATING",
Expand All @@ -70,6 +72,13 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
* // personalizationConfiguration: { // PersonalizationConfiguration
* // personalizationControlMode: "ENABLED" || "DISABLED", // required
* // },
* // autoSubscriptionConfiguration: { // AutoSubscriptionConfiguration
* // autoSubscribe: "ENABLED" || "DISABLED", // required
* // defaultSubscriptionType: "Q_LITE" || "Q_BUSINESS",
* // },
* // clientIdsForOIDC: [ // ClientIdsForOIDC
* // "STRING_VALUE",
* // ],
* // };
*
* ```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ export interface GetWebExperienceCommandOutput extends GetWebExperienceResponse,
* // welcomeMessage: "STRING_VALUE",
* // samplePromptsControlMode: "ENABLED" || "DISABLED",
* // roleArn: "STRING_VALUE",
* // identityProviderConfiguration: { // IdentityProviderConfiguration Union: only one key present
* // samlConfiguration: { // SamlProviderConfiguration
* // authenticationUrl: "STRING_VALUE", // required
* // },
* // openIDConnectConfiguration: { // OpenIDConnectProviderConfiguration
* // secretsArn: "STRING_VALUE", // required
* // secretsRole: "STRING_VALUE", // required
* // },
* // },
* // authenticationConfiguration: { // WebExperienceAuthConfiguration Union: only one key present
* // samlConfiguration: { // SamlConfiguration
* // metadataXML: "STRING_VALUE", // required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
* // createdAt: new Date("TIMESTAMP"),
* // updatedAt: new Date("TIMESTAMP"),
* // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED" || "UPDATING",
* // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC",
* // },
* // ],
* // };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
* personalizationConfiguration: { // PersonalizationConfiguration
* personalizationControlMode: "ENABLED" || "DISABLED", // required
* },
* autoSubscriptionConfiguration: { // AutoSubscriptionConfiguration
* autoSubscribe: "ENABLED" || "DISABLED", // required
* defaultSubscriptionType: "Q_LITE" || "Q_BUSINESS",
* },
* };
* const command = new UpdateApplicationCommand(input);
* const response = await client.send(command);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ export interface UpdateWebExperienceCommandOutput extends UpdateWebExperienceRes
* subtitle: "STRING_VALUE",
* welcomeMessage: "STRING_VALUE",
* samplePromptsControlMode: "ENABLED" || "DISABLED",
* identityProviderConfiguration: { // IdentityProviderConfiguration Union: only one key present
* samlConfiguration: { // SamlProviderConfiguration
* authenticationUrl: "STRING_VALUE", // required
* },
* openIDConnectConfiguration: { // OpenIDConnectProviderConfiguration
* secretsArn: "STRING_VALUE", // required
* secretsRole: "STRING_VALUE", // required
* },
* },
* };
* const command = new UpdateWebExperienceCommand(input);
* const response = await client.send(command);
Expand Down
Loading

0 comments on commit 52bc2d8

Please sign in to comment.