@aws-sdk/client-workspaces 3.556.0 → 3.558.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +55 -7
  2. package/dist-cjs/index.js +372 -24
  3. package/dist-es/WorkSpaces.js +12 -0
  4. package/dist-es/commands/AcceptAccountLinkInvitationCommand.js +24 -0
  5. package/dist-es/commands/CreateAccountLinkInvitationCommand.js +24 -0
  6. package/dist-es/commands/DeleteAccountLinkInvitationCommand.js +24 -0
  7. package/dist-es/commands/GetAccountLinkCommand.js +24 -0
  8. package/dist-es/commands/ListAccountLinksCommand.js +24 -0
  9. package/dist-es/commands/RejectAccountLinkInvitationCommand.js +24 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_0.js +60 -13
  12. package/dist-es/pagination/ListAccountLinksPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/protocols/Aws_json1_1.js +154 -4
  15. package/dist-types/WorkSpaces.d.ts +44 -0
  16. package/dist-types/WorkSpacesClient.d.ts +8 -2
  17. package/dist-types/commands/AcceptAccountLinkInvitationCommand.d.ts +84 -0
  18. package/dist-types/commands/CreateAccountLinkInvitationCommand.d.ts +78 -0
  19. package/dist-types/commands/DeleteAccountLinkInvitationCommand.d.ts +81 -0
  20. package/dist-types/commands/DescribeAccountCommand.d.ts +1 -0
  21. package/dist-types/commands/GetAccountLinkCommand.d.ts +78 -0
  22. package/dist-types/commands/ListAccountLinksCommand.d.ts +81 -0
  23. package/dist-types/commands/RejectAccountLinkInvitationCommand.d.ts +81 -0
  24. package/dist-types/commands/index.d.ts +6 -0
  25. package/dist-types/models/models_0.d.ts +272 -17
  26. package/dist-types/pagination/ListAccountLinksPaginator.d.ts +7 -0
  27. package/dist-types/pagination/index.d.ts +1 -0
  28. package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
  29. package/dist-types/ts3.4/WorkSpaces.d.ts +104 -0
  30. package/dist-types/ts3.4/WorkSpacesClient.d.ts +36 -0
  31. package/dist-types/ts3.4/commands/AcceptAccountLinkInvitationCommand.d.ts +39 -0
  32. package/dist-types/ts3.4/commands/CreateAccountLinkInvitationCommand.d.ts +39 -0
  33. package/dist-types/ts3.4/commands/DeleteAccountLinkInvitationCommand.d.ts +39 -0
  34. package/dist-types/ts3.4/commands/GetAccountLinkCommand.d.ts +38 -0
  35. package/dist-types/ts3.4/commands/ListAccountLinksCommand.d.ts +38 -0
  36. package/dist-types/ts3.4/commands/RejectAccountLinkInvitationCommand.d.ts +39 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +93 -8
  39. package/dist-types/ts3.4/pagination/ListAccountLinksPaginator.d.ts +11 -0
  40. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  41. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  42. package/package.json +1 -1
package/README.md CHANGED
@@ -40,16 +40,16 @@ using your favorite package manager:
40
40
 
41
41
  The AWS SDK is modulized by clients and commands.
42
42
  To send a request, you only need to import the `WorkSpacesClient` and
43
- the commands you need, for example `ListAvailableManagementCidrRangesCommand`:
43
+ the commands you need, for example `ListAccountLinksCommand`:
44
44
 
45
45
  ```js
46
46
  // ES5 example
47
- const { WorkSpacesClient, ListAvailableManagementCidrRangesCommand } = require("@aws-sdk/client-workspaces");
47
+ const { WorkSpacesClient, ListAccountLinksCommand } = require("@aws-sdk/client-workspaces");
48
48
  ```
49
49
 
50
50
  ```ts
51
51
  // ES6+ example
52
- import { WorkSpacesClient, ListAvailableManagementCidrRangesCommand } from "@aws-sdk/client-workspaces";
52
+ import { WorkSpacesClient, ListAccountLinksCommand } from "@aws-sdk/client-workspaces";
53
53
  ```
54
54
 
55
55
  ### Usage
@@ -68,7 +68,7 @@ const client = new WorkSpacesClient({ region: "REGION" });
68
68
  const params = {
69
69
  /** input parameters */
70
70
  };
71
- const command = new ListAvailableManagementCidrRangesCommand(params);
71
+ const command = new ListAccountLinksCommand(params);
72
72
  ```
73
73
 
74
74
  #### Async/await
@@ -147,7 +147,7 @@ const client = new AWS.WorkSpaces({ region: "REGION" });
147
147
 
148
148
  // async/await.
149
149
  try {
150
- const data = await client.listAvailableManagementCidrRanges(params);
150
+ const data = await client.listAccountLinks(params);
151
151
  // process data.
152
152
  } catch (error) {
153
153
  // error handling.
@@ -155,7 +155,7 @@ try {
155
155
 
156
156
  // Promises.
157
157
  client
158
- .listAvailableManagementCidrRanges(params)
158
+ .listAccountLinks(params)
159
159
  .then((data) => {
160
160
  // process data.
161
161
  })
@@ -164,7 +164,7 @@ client
164
164
  });
165
165
 
166
166
  // callbacks.
167
- client.listAvailableManagementCidrRanges(params, (err, data) => {
167
+ client.listAccountLinks(params, (err, data) => {
168
168
  // process err and data.
169
169
  });
170
170
  ```
@@ -220,6 +220,14 @@ see LICENSE for more information.
220
220
 
221
221
  ## Client Commands (Operations List)
222
222
 
223
+ <details>
224
+ <summary>
225
+ AcceptAccountLinkInvitation
226
+ </summary>
227
+
228
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/AcceptAccountLinkInvitationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/AcceptAccountLinkInvitationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/AcceptAccountLinkInvitationCommandOutput/)
229
+
230
+ </details>
223
231
  <details>
224
232
  <summary>
225
233
  AssociateConnectionAlias
@@ -259,6 +267,14 @@ CopyWorkspaceImage
259
267
 
260
268
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/CopyWorkspaceImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/CopyWorkspaceImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/CopyWorkspaceImageCommandOutput/)
261
269
 
270
+ </details>
271
+ <details>
272
+ <summary>
273
+ CreateAccountLinkInvitation
274
+ </summary>
275
+
276
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/CreateAccountLinkInvitationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/CreateAccountLinkInvitationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/CreateAccountLinkInvitationCommandOutput/)
277
+
262
278
  </details>
263
279
  <details>
264
280
  <summary>
@@ -331,6 +347,14 @@ CreateWorkspaces
331
347
 
332
348
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/CreateWorkspacesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/CreateWorkspacesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/CreateWorkspacesCommandOutput/)
333
349
 
350
+ </details>
351
+ <details>
352
+ <summary>
353
+ DeleteAccountLinkInvitation
354
+ </summary>
355
+
356
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/DeleteAccountLinkInvitationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/DeleteAccountLinkInvitationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/DeleteAccountLinkInvitationCommandOutput/)
357
+
334
358
  </details>
335
359
  <details>
336
360
  <summary>
@@ -595,6 +619,14 @@ DisassociateWorkspaceApplication
595
619
 
596
620
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/DisassociateWorkspaceApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/DisassociateWorkspaceApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/DisassociateWorkspaceApplicationCommandOutput/)
597
621
 
622
+ </details>
623
+ <details>
624
+ <summary>
625
+ GetAccountLink
626
+ </summary>
627
+
628
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/GetAccountLinkCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/GetAccountLinkCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/GetAccountLinkCommandOutput/)
629
+
598
630
  </details>
599
631
  <details>
600
632
  <summary>
@@ -611,6 +643,14 @@ ImportWorkspaceImage
611
643
 
612
644
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/ImportWorkspaceImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/ImportWorkspaceImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/ImportWorkspaceImageCommandOutput/)
613
645
 
646
+ </details>
647
+ <details>
648
+ <summary>
649
+ ListAccountLinks
650
+ </summary>
651
+
652
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/ListAccountLinksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/ListAccountLinksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/ListAccountLinksCommandOutput/)
653
+
614
654
  </details>
615
655
  <details>
616
656
  <summary>
@@ -723,6 +763,14 @@ RegisterWorkspaceDirectory
723
763
 
724
764
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/RegisterWorkspaceDirectoryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/RegisterWorkspaceDirectoryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/RegisterWorkspaceDirectoryCommandOutput/)
725
765
 
766
+ </details>
767
+ <details>
768
+ <summary>
769
+ RejectAccountLinkInvitation
770
+ </summary>
771
+
772
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/RejectAccountLinkInvitationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/RejectAccountLinkInvitationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/RejectAccountLinkInvitationCommandOutput/)
773
+
726
774
  </details>
727
775
  <details>
728
776
  <summary>