Skip to content

Commit

Permalink
feat(client-workspaces-web): Added ability to enable DeepLinking func…
Browse files Browse the repository at this point in the history
…tionality on a Portal via UserSettings as well as added support for IdentityProvider resource tagging.
  • Loading branch information
awstools committed Jun 24, 2024
1 parent a72bef5 commit 7035c56
Show file tree
Hide file tree
Showing 19 changed files with 141 additions and 15 deletions.
6 changes: 3 additions & 3 deletions clients/client-workspaces-web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

AWS SDK for JavaScript WorkSpacesWeb Client for Node.js, Browser and React Native.

<p>WorkSpaces Web is a low cost, fully managed WorkSpace built specifically to facilitate
secure, web-based workloads. WorkSpaces Web makes it easy for customers to safely provide
<p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built specifically to facilitate
secure, web-based workloads. WorkSpaces Secure Browser makes it easy for customers to safely provide
their employees with access to internal websites and SaaS web applications without the
administrative burden of appliances or specialized client software. WorkSpaces Web provides
administrative burden of appliances or specialized client software. WorkSpaces Secure Browser provides
simple policy tools tailored for user interactions, while offloading common tasks like
capacity management, scaling, and maintaining browser images.</p>

Expand Down
6 changes: 3 additions & 3 deletions clients/client-workspaces-web/src/WorkSpacesWeb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1286,10 +1286,10 @@ export interface WorkSpacesWeb {
}

/**
* <p>WorkSpaces Web is a low cost, fully managed WorkSpace built specifically to facilitate
* secure, web-based workloads. WorkSpaces Web makes it easy for customers to safely provide
* <p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built specifically to facilitate
* secure, web-based workloads. WorkSpaces Secure Browser makes it easy for customers to safely provide
* their employees with access to internal websites and SaaS web applications without the
* administrative burden of appliances or specialized client software. WorkSpaces Web provides
* administrative burden of appliances or specialized client software. WorkSpaces Secure Browser provides
* simple policy tools tailored for user interactions, while offloading common tasks like
* capacity management, scaling, and maintaining browser images.</p>
* @public
Expand Down
6 changes: 3 additions & 3 deletions clients/client-workspaces-web/src/WorkSpacesWebClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,10 @@ export type WorkSpacesWebClientResolvedConfigType = __SmithyResolvedConfiguratio
export interface WorkSpacesWebClientResolvedConfig extends WorkSpacesWebClientResolvedConfigType {}

/**
* <p>WorkSpaces Web is a low cost, fully managed WorkSpace built specifically to facilitate
* secure, web-based workloads. WorkSpaces Web makes it easy for customers to safely provide
* <p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built specifically to facilitate
* secure, web-based workloads. WorkSpaces Secure Browser makes it easy for customers to safely provide
* their employees with access to internal websites and SaaS web applications without the
* administrative burden of appliances or specialized client software. WorkSpaces Web provides
* administrative burden of appliances or specialized client software. WorkSpaces Secure Browser provides
* simple policy tools tailored for user interactions, while offloading common tasks like
* capacity management, scaling, and maintaining browser images.</p>
* @public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ export interface AssociateTrustStoreCommandOutput extends AssociateTrustStoreRes
* @throws {@link AccessDeniedException} (client fault)
* <p>Access is denied.</p>
*
* @throws {@link ConflictException} (client fault)
* <p>There is a conflict.</p>
*
* @throws {@link InternalServerException} (server fault)
* <p>There is an internal server error.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ export interface CreateIdentityProviderCommandOutput extends CreateIdentityProvi
* "<keys>": "STRING_VALUE",
* },
* clientToken: "STRING_VALUE",
* tags: [ // TagList
* { // Tag
* Key: "STRING_VALUE", // required
* Value: "STRING_VALUE", // required
* },
* ],
* };
* const command = new CreateIdentityProviderCommand(input);
* const response = await client.send(command);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export interface CreateUserSettingsCommandOutput extends CreateUserSettingsRespo
* additionalEncryptionContext: { // EncryptionContextMap
* "<keys>": "STRING_VALUE",
* },
* deepLinkAllowed: "STRING_VALUE",
* };
* const command = new CreateUserSettingsCommand(input);
* const response = await client.send(command);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ export interface DisassociateBrowserSettingsCommandOutput
* @throws {@link AccessDeniedException} (client fault)
* <p>Access is denied.</p>
*
* @throws {@link ConflictException} (client fault)
* <p>There is a conflict.</p>
*
* @throws {@link InternalServerException} (server fault)
* <p>There is an internal server error.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ export interface DisassociateIpAccessSettingsCommandOutput
* @throws {@link AccessDeniedException} (client fault)
* <p>Access is denied.</p>
*
* @throws {@link ConflictException} (client fault)
* <p>There is a conflict.</p>
*
* @throws {@link InternalServerException} (server fault)
* <p>There is an internal server error.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ export interface DisassociateNetworkSettingsCommandOutput
* @throws {@link AccessDeniedException} (client fault)
* <p>Access is denied.</p>
*
* @throws {@link ConflictException} (client fault)
* <p>There is a conflict.</p>
*
* @throws {@link InternalServerException} (server fault)
* <p>There is an internal server error.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ export interface DisassociateTrustStoreCommandOutput extends DisassociateTrustSt
* @throws {@link AccessDeniedException} (client fault)
* <p>Access is denied.</p>
*
* @throws {@link ConflictException} (client fault)
* <p>There is a conflict.</p>
*
* @throws {@link InternalServerException} (server fault)
* <p>There is an internal server error.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export interface DisassociateUserAccessLoggingSettingsCommandOutput
* @throws {@link AccessDeniedException} (client fault)
* <p>Access is denied.</p>
*
* @throws {@link ConflictException} (client fault)
* <p>There is a conflict.</p>
*
* @throws {@link InternalServerException} (server fault)
* <p>There is an internal server error.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ export interface DisassociateUserSettingsCommandOutput extends DisassociateUserS
* @throws {@link AccessDeniedException} (client fault)
* <p>Access is denied.</p>
*
* @throws {@link ConflictException} (client fault)
* <p>There is a conflict.</p>
*
* @throws {@link InternalServerException} (server fault)
* <p>There is an internal server error.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export interface GetUserSettingsCommandOutput extends GetUserSettingsResponse, _
* // additionalEncryptionContext: { // EncryptionContextMap
* // "<keys>": "STRING_VALUE",
* // },
* // deepLinkAllowed: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export interface ListUserSettingsCommandOutput extends ListUserSettingsResponse,
* // },
* // ],
* // },
* // deepLinkAllowed: "STRING_VALUE",
* // },
* // ],
* // nextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export interface UpdateUserSettingsCommandOutput extends UpdateUserSettingsRespo
* },
* ],
* },
* deepLinkAllowed: "STRING_VALUE",
* };
* const command = new UpdateUserSettingsCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -102,6 +103,7 @@ export interface UpdateUserSettingsCommandOutput extends UpdateUserSettingsRespo
* // additionalEncryptionContext: { // EncryptionContextMap
* // "<keys>": "STRING_VALUE",
* // },
* // deepLinkAllowed: "STRING_VALUE",
* // },
* // };
*
Expand Down
6 changes: 3 additions & 3 deletions clients/client-workspaces-web/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// smithy-typescript generated code
/* eslint-disable */
/**
* <p>WorkSpaces Web is a low cost, fully managed WorkSpace built specifically to facilitate
* secure, web-based workloads. WorkSpaces Web makes it easy for customers to safely provide
* <p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built specifically to facilitate
* secure, web-based workloads. WorkSpaces Secure Browser makes it easy for customers to safely provide
* their employees with access to internal websites and SaaS web applications without the
* administrative burden of appliances or specialized client software. WorkSpaces Web provides
* administrative burden of appliances or specialized client software. WorkSpaces Secure Browser provides
* simple policy tools tailored for user interactions, while offloading common tasks like
* capacity management, scaling, and maintaining browser images.</p>
*
Expand Down
33 changes: 32 additions & 1 deletion clients/client-workspaces-web/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,12 @@ export interface CreateIdentityProviderRequest {
* @public
*/
clientToken?: string;

/**
* <p>The tags to add to the identity provider resource. A tag is a key-value pair.</p>
* @public
*/
tags?: Tag[];
}

/**
Expand Down Expand Up @@ -1514,7 +1520,7 @@ export interface CreateIpAccessSettingsRequest {
description?: string;

/**
* <p>The tags to add to the browser settings resource. A tag is a key-value pair.</p>
* <p>The tags to add to the IP access settings resource. A tag is a key-value pair.</p>
* @public
*/
tags?: Tag[];
Expand Down Expand Up @@ -3418,6 +3424,12 @@ export interface CreateUserSettingsRequest {
* @public
*/
additionalEncryptionContext?: Record<string, string>;

/**
* <p>Specifies whether the user can use deep links that open automatically when connecting to a session.</p>
* @public
*/
deepLinkAllowed?: EnabledType;
}

/**
Expand Down Expand Up @@ -3540,6 +3552,12 @@ export interface UserSettings {
* @public
*/
additionalEncryptionContext?: Record<string, string>;

/**
* <p>Specifies whether the user can use deep links that open automatically when connecting to a session.</p>
* @public
*/
deepLinkAllowed?: EnabledType;
}

/**
Expand Down Expand Up @@ -3632,6 +3650,12 @@ export interface UserSettingsSummary {
* @public
*/
cookieSynchronizationConfiguration?: CookieSynchronizationConfiguration;

/**
* <p>Specifies whether the user can use deep links that open automatically when connecting to a session.</p>
* @public
*/
deepLinkAllowed?: EnabledType;
}

/**
Expand Down Expand Up @@ -3724,6 +3748,12 @@ export interface UpdateUserSettingsRequest {
* @public
*/
cookieSynchronizationConfiguration?: CookieSynchronizationConfiguration;

/**
* <p>Specifies whether the user can use deep links that open automatically when connecting to a session.</p>
* @public
*/
deepLinkAllowed?: EnabledType;
}

/**
Expand Down Expand Up @@ -3794,6 +3824,7 @@ export const CreateIdentityProviderRequestFilterSensitiveLog = (obj: CreateIdent
...obj,
...(obj.identityProviderName && { identityProviderName: SENSITIVE_STRING }),
...(obj.identityProviderDetails && { identityProviderDetails: SENSITIVE_STRING }),
...(obj.tags && { tags: SENSITIVE_STRING }),
});

/**
Expand Down
3 changes: 3 additions & 0 deletions clients/client-workspaces-web/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ export const se_CreateIdentityProviderCommand = async (
identityProviderName: [],
identityProviderType: [],
portalArn: [],
tags: (_) => _json(_),
})
);
b.m("POST").h(headers).b(body);
Expand Down Expand Up @@ -540,6 +541,7 @@ export const se_CreateUserSettingsCommand = async (
cookieSynchronizationConfiguration: (_) => _json(_),
copyAllowed: [],
customerManagedKey: [],
deepLinkAllowed: [],
disconnectTimeoutInMinutes: [],
downloadAllowed: [],
idleDisconnectTimeoutInMinutes: [],
Expand Down Expand Up @@ -1386,6 +1388,7 @@ export const se_UpdateUserSettingsCommand = async (
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
cookieSynchronizationConfiguration: (_) => _json(_),
copyAllowed: [],
deepLinkAllowed: [],
disconnectTimeoutInMinutes: [],
downloadAllowed: [],
idleDisconnectTimeoutInMinutes: [],
Expand Down
Loading

0 comments on commit 7035c56

Please sign in to comment.