Skip to content

Commit

Permalink
feat(client-workspaces-web): Added InstanceType and MaxConcurrentSess…
Browse files Browse the repository at this point in the history
…ions parameters on CreatePortal and UpdatePortal Operations as well as the ability to read Customer Managed Key & Additional Encryption Context parameters on supported resources (Portal, BrowserSettings, UserSettings, IPAccessSettings)
  • Loading branch information
awstools committed Apr 23, 2024
1 parent f542ac3 commit ef5386c
Show file tree
Hide file tree
Showing 13 changed files with 423 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export interface CreatePortalCommandOutput extends CreatePortalResponse, __Metad
* },
* clientToken: "STRING_VALUE",
* authenticationType: "STRING_VALUE",
* instanceType: "STRING_VALUE",
* maxConcurrentSessions: Number("int"),
* };
* const command = new CreatePortalCommand(input);
* const response = await client.send(command);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export interface GetBrowserSettingsCommandOutput extends GetBrowserSettingsRespo
* // "STRING_VALUE",
* // ],
* // browserPolicy: "STRING_VALUE",
* // customerManagedKey: "STRING_VALUE",
* // additionalEncryptionContext: { // EncryptionContextMap
* // "<keys>": "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ export interface GetIpAccessSettingsCommandOutput extends GetIpAccessSettingsRes
* // displayName: "STRING_VALUE",
* // description: "STRING_VALUE",
* // creationDate: new Date("TIMESTAMP"),
* // customerManagedKey: "STRING_VALUE",
* // additionalEncryptionContext: { // EncryptionContextMap
* // "<keys>": "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ export interface GetPortalCommandOutput extends GetPortalResponse, __MetadataBea
* // userAccessLoggingSettingsArn: "STRING_VALUE",
* // authenticationType: "STRING_VALUE",
* // ipAccessSettingsArn: "STRING_VALUE",
* // customerManagedKey: "STRING_VALUE",
* // additionalEncryptionContext: { // EncryptionContextMap
* // "<keys>": "STRING_VALUE",
* // },
* // instanceType: "STRING_VALUE",
* // maxConcurrentSessions: Number("int"),
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ export interface GetUserSettingsCommandOutput extends GetUserSettingsResponse, _
* // },
* // ],
* // },
* // customerManagedKey: "STRING_VALUE",
* // additionalEncryptionContext: { // EncryptionContextMap
* // "<keys>": "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export interface ListPortalsCommandOutput extends ListPortalsResponse, __Metadat
* // userAccessLoggingSettingsArn: "STRING_VALUE",
* // authenticationType: "STRING_VALUE",
* // ipAccessSettingsArn: "STRING_VALUE",
* // instanceType: "STRING_VALUE",
* // maxConcurrentSessions: Number("int"),
* // },
* // ],
* // nextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ export interface UpdateBrowserSettingsCommandOutput extends UpdateBrowserSetting
* // "STRING_VALUE",
* // ],
* // browserPolicy: "STRING_VALUE",
* // customerManagedKey: "STRING_VALUE",
* // additionalEncryptionContext: { // EncryptionContextMap
* // "<keys>": "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ export interface UpdateIpAccessSettingsCommandOutput extends UpdateIpAccessSetti
* // displayName: "STRING_VALUE",
* // description: "STRING_VALUE",
* // creationDate: new Date("TIMESTAMP"),
* // customerManagedKey: "STRING_VALUE",
* // additionalEncryptionContext: { // EncryptionContextMap
* // "<keys>": "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
11 changes: 11 additions & 0 deletions clients/client-workspaces-web/src/commands/UpdatePortalCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export interface UpdatePortalCommandOutput extends UpdatePortalResponse, __Metad
* portalArn: "STRING_VALUE", // required
* displayName: "STRING_VALUE",
* authenticationType: "STRING_VALUE",
* instanceType: "STRING_VALUE",
* maxConcurrentSessions: Number("int"),
* };
* const command = new UpdatePortalCommand(input);
* const response = await client.send(command);
Expand All @@ -63,6 +65,12 @@ export interface UpdatePortalCommandOutput extends UpdatePortalResponse, __Metad
* // userAccessLoggingSettingsArn: "STRING_VALUE",
* // authenticationType: "STRING_VALUE",
* // ipAccessSettingsArn: "STRING_VALUE",
* // customerManagedKey: "STRING_VALUE",
* // additionalEncryptionContext: { // EncryptionContextMap
* // "<keys>": "STRING_VALUE",
* // },
* // instanceType: "STRING_VALUE",
* // maxConcurrentSessions: Number("int"),
* // },
* // };
*
Expand All @@ -86,6 +94,9 @@ export interface UpdatePortalCommandOutput extends UpdatePortalResponse, __Metad
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource cannot be found.</p>
*
* @throws {@link ServiceQuotaExceededException} (client fault)
* <p>The service quota has been exceeded.</p>
*
* @throws {@link ThrottlingException} (client fault)
* <p>There is a throttling error.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ export interface UpdateUserSettingsCommandOutput extends UpdateUserSettingsRespo
* // },
* // ],
* // },
* // customerManagedKey: "STRING_VALUE",
* // additionalEncryptionContext: { // EncryptionContextMap
* // "<keys>": "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Loading

0 comments on commit ef5386c

Please sign in to comment.