@aws-sdk/client-workspaces-web 3.651.1 → 3.655.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 (149) hide show
  1. package/README.md +31 -6
  2. package/dist-cjs/index.js +207 -0
  3. package/dist-es/WorkSpacesWeb.js +6 -0
  4. package/dist-es/commands/ExpireSessionCommand.js +22 -0
  5. package/dist-es/commands/GetSessionCommand.js +23 -0
  6. package/dist-es/commands/ListSessionsCommand.js +23 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +29 -0
  9. package/dist-es/pagination/ListSessionsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_restJson1.js +109 -0
  12. package/dist-types/WorkSpacesWeb.d.ts +28 -6
  13. package/dist-types/WorkSpacesWebClient.d.ts +12 -8
  14. package/dist-types/commands/AssociateBrowserSettingsCommand.d.ts +11 -0
  15. package/dist-types/commands/AssociateIpAccessSettingsCommand.d.ts +11 -0
  16. package/dist-types/commands/AssociateNetworkSettingsCommand.d.ts +11 -0
  17. package/dist-types/commands/AssociateTrustStoreCommand.d.ts +11 -0
  18. package/dist-types/commands/AssociateUserAccessLoggingSettingsCommand.d.ts +11 -0
  19. package/dist-types/commands/AssociateUserSettingsCommand.d.ts +11 -0
  20. package/dist-types/commands/CreateBrowserSettingsCommand.d.ts +11 -0
  21. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +11 -0
  22. package/dist-types/commands/CreateIpAccessSettingsCommand.d.ts +11 -0
  23. package/dist-types/commands/CreateNetworkSettingsCommand.d.ts +11 -0
  24. package/dist-types/commands/CreatePortalCommand.d.ts +11 -0
  25. package/dist-types/commands/CreateTrustStoreCommand.d.ts +11 -0
  26. package/dist-types/commands/CreateUserAccessLoggingSettingsCommand.d.ts +13 -1
  27. package/dist-types/commands/CreateUserSettingsCommand.d.ts +11 -0
  28. package/dist-types/commands/DeleteBrowserSettingsCommand.d.ts +11 -0
  29. package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +11 -0
  30. package/dist-types/commands/DeleteIpAccessSettingsCommand.d.ts +11 -0
  31. package/dist-types/commands/DeleteNetworkSettingsCommand.d.ts +11 -0
  32. package/dist-types/commands/DeletePortalCommand.d.ts +11 -0
  33. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +11 -0
  34. package/dist-types/commands/DeleteUserAccessLoggingSettingsCommand.d.ts +11 -0
  35. package/dist-types/commands/DeleteUserSettingsCommand.d.ts +11 -0
  36. package/dist-types/commands/DisassociateBrowserSettingsCommand.d.ts +11 -0
  37. package/dist-types/commands/DisassociateIpAccessSettingsCommand.d.ts +11 -0
  38. package/dist-types/commands/DisassociateNetworkSettingsCommand.d.ts +11 -0
  39. package/dist-types/commands/DisassociateTrustStoreCommand.d.ts +11 -0
  40. package/dist-types/commands/DisassociateUserAccessLoggingSettingsCommand.d.ts +11 -0
  41. package/dist-types/commands/DisassociateUserSettingsCommand.d.ts +11 -0
  42. package/dist-types/commands/ExpireSessionCommand.d.ts +85 -0
  43. package/dist-types/commands/GetBrowserSettingsCommand.d.ts +11 -0
  44. package/dist-types/commands/GetIdentityProviderCommand.d.ts +11 -0
  45. package/dist-types/commands/GetIpAccessSettingsCommand.d.ts +11 -0
  46. package/dist-types/commands/GetNetworkSettingsCommand.d.ts +11 -0
  47. package/dist-types/commands/GetPortalCommand.d.ts +11 -0
  48. package/dist-types/commands/GetPortalServiceProviderMetadataCommand.d.ts +11 -0
  49. package/dist-types/commands/GetSessionCommand.d.ts +97 -0
  50. package/dist-types/commands/GetTrustStoreCertificateCommand.d.ts +11 -0
  51. package/dist-types/commands/GetTrustStoreCommand.d.ts +11 -0
  52. package/dist-types/commands/GetUserAccessLoggingSettingsCommand.d.ts +11 -0
  53. package/dist-types/commands/GetUserSettingsCommand.d.ts +11 -0
  54. package/dist-types/commands/ListBrowserSettingsCommand.d.ts +11 -0
  55. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +11 -0
  56. package/dist-types/commands/ListIpAccessSettingsCommand.d.ts +11 -0
  57. package/dist-types/commands/ListNetworkSettingsCommand.d.ts +11 -0
  58. package/dist-types/commands/ListPortalsCommand.d.ts +11 -0
  59. package/dist-types/commands/ListSessionsCommand.d.ts +102 -0
  60. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  61. package/dist-types/commands/ListTrustStoreCertificatesCommand.d.ts +11 -0
  62. package/dist-types/commands/ListTrustStoresCommand.d.ts +11 -0
  63. package/dist-types/commands/ListUserAccessLoggingSettingsCommand.d.ts +11 -0
  64. package/dist-types/commands/ListUserSettingsCommand.d.ts +11 -0
  65. package/dist-types/commands/TagResourceCommand.d.ts +11 -0
  66. package/dist-types/commands/UntagResourceCommand.d.ts +11 -0
  67. package/dist-types/commands/UpdateBrowserSettingsCommand.d.ts +11 -0
  68. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +11 -0
  69. package/dist-types/commands/UpdateIpAccessSettingsCommand.d.ts +11 -0
  70. package/dist-types/commands/UpdateNetworkSettingsCommand.d.ts +11 -0
  71. package/dist-types/commands/UpdatePortalCommand.d.ts +11 -0
  72. package/dist-types/commands/UpdateTrustStoreCommand.d.ts +11 -0
  73. package/dist-types/commands/UpdateUserAccessLoggingSettingsCommand.d.ts +11 -0
  74. package/dist-types/commands/UpdateUserSettingsCommand.d.ts +11 -0
  75. package/dist-types/commands/index.d.ts +3 -0
  76. package/dist-types/index.d.ts +7 -6
  77. package/dist-types/models/models_0.d.ts +352 -75
  78. package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
  79. package/dist-types/pagination/index.d.ts +1 -0
  80. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  81. package/dist-types/ts3.4/WorkSpacesWeb.d.ts +51 -0
  82. package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +18 -0
  83. package/dist-types/ts3.4/commands/AssociateBrowserSettingsCommand.d.ts +12 -1
  84. package/dist-types/ts3.4/commands/AssociateIpAccessSettingsCommand.d.ts +12 -1
  85. package/dist-types/ts3.4/commands/AssociateNetworkSettingsCommand.d.ts +12 -1
  86. package/dist-types/ts3.4/commands/AssociateTrustStoreCommand.d.ts +12 -1
  87. package/dist-types/ts3.4/commands/AssociateUserAccessLoggingSettingsCommand.d.ts +12 -1
  88. package/dist-types/ts3.4/commands/AssociateUserSettingsCommand.d.ts +12 -1
  89. package/dist-types/ts3.4/commands/CreateBrowserSettingsCommand.d.ts +12 -1
  90. package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +12 -1
  91. package/dist-types/ts3.4/commands/CreateIpAccessSettingsCommand.d.ts +12 -1
  92. package/dist-types/ts3.4/commands/CreateNetworkSettingsCommand.d.ts +12 -1
  93. package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +12 -1
  94. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +12 -1
  95. package/dist-types/ts3.4/commands/CreateUserAccessLoggingSettingsCommand.d.ts +12 -1
  96. package/dist-types/ts3.4/commands/CreateUserSettingsCommand.d.ts +12 -1
  97. package/dist-types/ts3.4/commands/DeleteBrowserSettingsCommand.d.ts +12 -1
  98. package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +12 -1
  99. package/dist-types/ts3.4/commands/DeleteIpAccessSettingsCommand.d.ts +12 -1
  100. package/dist-types/ts3.4/commands/DeleteNetworkSettingsCommand.d.ts +12 -1
  101. package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +12 -1
  102. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +12 -1
  103. package/dist-types/ts3.4/commands/DeleteUserAccessLoggingSettingsCommand.d.ts +12 -1
  104. package/dist-types/ts3.4/commands/DeleteUserSettingsCommand.d.ts +12 -1
  105. package/dist-types/ts3.4/commands/DisassociateBrowserSettingsCommand.d.ts +12 -1
  106. package/dist-types/ts3.4/commands/DisassociateIpAccessSettingsCommand.d.ts +12 -1
  107. package/dist-types/ts3.4/commands/DisassociateNetworkSettingsCommand.d.ts +12 -1
  108. package/dist-types/ts3.4/commands/DisassociateTrustStoreCommand.d.ts +12 -1
  109. package/dist-types/ts3.4/commands/DisassociateUserAccessLoggingSettingsCommand.d.ts +12 -1
  110. package/dist-types/ts3.4/commands/DisassociateUserSettingsCommand.d.ts +12 -1
  111. package/dist-types/ts3.4/commands/ExpireSessionCommand.d.ts +50 -0
  112. package/dist-types/ts3.4/commands/GetBrowserSettingsCommand.d.ts +12 -1
  113. package/dist-types/ts3.4/commands/GetIdentityProviderCommand.d.ts +12 -1
  114. package/dist-types/ts3.4/commands/GetIpAccessSettingsCommand.d.ts +12 -1
  115. package/dist-types/ts3.4/commands/GetNetworkSettingsCommand.d.ts +12 -1
  116. package/dist-types/ts3.4/commands/GetPortalCommand.d.ts +12 -1
  117. package/dist-types/ts3.4/commands/GetPortalServiceProviderMetadataCommand.d.ts +12 -1
  118. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
  119. package/dist-types/ts3.4/commands/GetTrustStoreCertificateCommand.d.ts +12 -1
  120. package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +12 -1
  121. package/dist-types/ts3.4/commands/GetUserAccessLoggingSettingsCommand.d.ts +12 -1
  122. package/dist-types/ts3.4/commands/GetUserSettingsCommand.d.ts +12 -1
  123. package/dist-types/ts3.4/commands/ListBrowserSettingsCommand.d.ts +12 -1
  124. package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +12 -1
  125. package/dist-types/ts3.4/commands/ListIpAccessSettingsCommand.d.ts +12 -1
  126. package/dist-types/ts3.4/commands/ListNetworkSettingsCommand.d.ts +12 -1
  127. package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +12 -1
  128. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
  129. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +12 -1
  130. package/dist-types/ts3.4/commands/ListTrustStoreCertificatesCommand.d.ts +12 -1
  131. package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +12 -1
  132. package/dist-types/ts3.4/commands/ListUserAccessLoggingSettingsCommand.d.ts +12 -1
  133. package/dist-types/ts3.4/commands/ListUserSettingsCommand.d.ts +12 -1
  134. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +12 -1
  135. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +12 -1
  136. package/dist-types/ts3.4/commands/UpdateBrowserSettingsCommand.d.ts +12 -1
  137. package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +12 -1
  138. package/dist-types/ts3.4/commands/UpdateIpAccessSettingsCommand.d.ts +12 -1
  139. package/dist-types/ts3.4/commands/UpdateNetworkSettingsCommand.d.ts +12 -1
  140. package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +12 -1
  141. package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +12 -1
  142. package/dist-types/ts3.4/commands/UpdateUserAccessLoggingSettingsCommand.d.ts +12 -1
  143. package/dist-types/ts3.4/commands/UpdateUserSettingsCommand.d.ts +12 -1
  144. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  145. package/dist-types/ts3.4/models/models_0.d.ts +65 -0
  146. package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  148. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  149. package/package.json +35 -35
@@ -70,4 +70,15 @@ declare const DeleteBrowserSettingsCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class DeleteBrowserSettingsCommand extends DeleteBrowserSettingsCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteBrowserSettingsRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteBrowserSettingsCommandInput;
81
+ output: DeleteBrowserSettingsCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -70,4 +70,15 @@ declare const DeleteIdentityProviderCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class DeleteIdentityProviderCommand extends DeleteIdentityProviderCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteIdentityProviderRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteIdentityProviderCommandInput;
81
+ output: DeleteIdentityProviderCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -70,4 +70,15 @@ declare const DeleteIpAccessSettingsCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class DeleteIpAccessSettingsCommand extends DeleteIpAccessSettingsCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteIpAccessSettingsRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteIpAccessSettingsCommandInput;
81
+ output: DeleteIpAccessSettingsCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -70,4 +70,15 @@ declare const DeleteNetworkSettingsCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class DeleteNetworkSettingsCommand extends DeleteNetworkSettingsCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteNetworkSettingsRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteNetworkSettingsCommandInput;
81
+ output: DeleteNetworkSettingsCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -70,4 +70,15 @@ declare const DeletePortalCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class DeletePortalCommand extends DeletePortalCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeletePortalRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeletePortalCommandInput;
81
+ output: DeletePortalCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -70,4 +70,15 @@ declare const DeleteTrustStoreCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class DeleteTrustStoreCommand extends DeleteTrustStoreCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteTrustStoreRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteTrustStoreCommandInput;
81
+ output: DeleteTrustStoreCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -70,4 +70,15 @@ declare const DeleteUserAccessLoggingSettingsCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class DeleteUserAccessLoggingSettingsCommand extends DeleteUserAccessLoggingSettingsCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteUserAccessLoggingSettingsRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteUserAccessLoggingSettingsCommandInput;
81
+ output: DeleteUserAccessLoggingSettingsCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -70,4 +70,15 @@ declare const DeleteUserSettingsCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class DeleteUserSettingsCommand extends DeleteUserSettingsCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteUserSettingsRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteUserSettingsCommandInput;
81
+ output: DeleteUserSettingsCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -73,4 +73,15 @@ declare const DisassociateBrowserSettingsCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class DisassociateBrowserSettingsCommand extends DisassociateBrowserSettingsCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DisassociateBrowserSettingsRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DisassociateBrowserSettingsCommandInput;
84
+ output: DisassociateBrowserSettingsCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -73,4 +73,15 @@ declare const DisassociateIpAccessSettingsCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class DisassociateIpAccessSettingsCommand extends DisassociateIpAccessSettingsCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DisassociateIpAccessSettingsRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DisassociateIpAccessSettingsCommandInput;
84
+ output: DisassociateIpAccessSettingsCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -73,4 +73,15 @@ declare const DisassociateNetworkSettingsCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class DisassociateNetworkSettingsCommand extends DisassociateNetworkSettingsCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DisassociateNetworkSettingsRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DisassociateNetworkSettingsCommandInput;
84
+ output: DisassociateNetworkSettingsCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -73,4 +73,15 @@ declare const DisassociateTrustStoreCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class DisassociateTrustStoreCommand extends DisassociateTrustStoreCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DisassociateTrustStoreRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DisassociateTrustStoreCommandInput;
84
+ output: DisassociateTrustStoreCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -73,4 +73,15 @@ declare const DisassociateUserAccessLoggingSettingsCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class DisassociateUserAccessLoggingSettingsCommand extends DisassociateUserAccessLoggingSettingsCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DisassociateUserAccessLoggingSettingsRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DisassociateUserAccessLoggingSettingsCommandInput;
84
+ output: DisassociateUserAccessLoggingSettingsCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -73,4 +73,15 @@ declare const DisassociateUserSettingsCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class DisassociateUserSettingsCommand extends DisassociateUserSettingsCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DisassociateUserSettingsRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DisassociateUserSettingsCommandInput;
84
+ output: DisassociateUserSettingsCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -0,0 +1,85 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ExpireSessionRequest, ExpireSessionResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesWebClientResolvedConfig } from "../WorkSpacesWebClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ExpireSessionCommand}.
14
+ */
15
+ export interface ExpireSessionCommandInput extends ExpireSessionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ExpireSessionCommand}.
21
+ */
22
+ export interface ExpireSessionCommandOutput extends ExpireSessionResponse, __MetadataBearer {
23
+ }
24
+ declare const ExpireSessionCommand_base: {
25
+ new (input: ExpireSessionCommandInput): import("@smithy/smithy-client").CommandImpl<ExpireSessionCommandInput, ExpireSessionCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ExpireSessionCommandInput): import("@smithy/smithy-client").CommandImpl<ExpireSessionCommandInput, ExpireSessionCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Expires an active secure browser session.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WorkSpacesWebClient, ExpireSessionCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
35
+ * // const { WorkSpacesWebClient, ExpireSessionCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
36
+ * const client = new WorkSpacesWebClient(config);
37
+ * const input = { // ExpireSessionRequest
38
+ * portalId: "STRING_VALUE", // required
39
+ * sessionId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new ExpireSessionCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param ExpireSessionCommandInput - {@link ExpireSessionCommandInput}
48
+ * @returns {@link ExpireSessionCommandOutput}
49
+ * @see {@link ExpireSessionCommandInput} for command's `input` shape.
50
+ * @see {@link ExpireSessionCommandOutput} for command's `response` shape.
51
+ * @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>Access is denied.</p>
55
+ *
56
+ * @throws {@link InternalServerException} (server fault)
57
+ * <p>There is an internal server error.</p>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>The resource cannot be found.</p>
61
+ *
62
+ * @throws {@link ThrottlingException} (client fault)
63
+ * <p>There is a throttling error.</p>
64
+ *
65
+ * @throws {@link ValidationException} (client fault)
66
+ * <p>There is a validation error.</p>
67
+ *
68
+ * @throws {@link WorkSpacesWebServiceException}
69
+ * <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
70
+ *
71
+ * @public
72
+ */
73
+ export declare class ExpireSessionCommand extends ExpireSessionCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: ExpireSessionRequest;
78
+ output: {};
79
+ };
80
+ sdk: {
81
+ input: ExpireSessionCommandInput;
82
+ output: ExpireSessionCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -82,4 +82,15 @@ declare const GetBrowserSettingsCommand_base: {
82
82
  * @public
83
83
  */
84
84
  export declare class GetBrowserSettingsCommand extends GetBrowserSettingsCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: GetBrowserSettingsRequest;
89
+ output: GetBrowserSettingsResponse;
90
+ };
91
+ sdk: {
92
+ input: GetBrowserSettingsCommandInput;
93
+ output: GetBrowserSettingsCommandOutput;
94
+ };
95
+ };
85
96
  }
@@ -79,4 +79,15 @@ declare const GetIdentityProviderCommand_base: {
79
79
  * @public
80
80
  */
81
81
  export declare class GetIdentityProviderCommand extends GetIdentityProviderCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: GetIdentityProviderRequest;
86
+ output: GetIdentityProviderResponse;
87
+ };
88
+ sdk: {
89
+ input: GetIdentityProviderCommandInput;
90
+ output: GetIdentityProviderCommandOutput;
91
+ };
92
+ };
82
93
  }
@@ -90,4 +90,15 @@ declare const GetIpAccessSettingsCommand_base: {
90
90
  * @public
91
91
  */
92
92
  export declare class GetIpAccessSettingsCommand extends GetIpAccessSettingsCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: GetIpAccessSettingsRequest;
97
+ output: GetIpAccessSettingsResponse;
98
+ };
99
+ sdk: {
100
+ input: GetIpAccessSettingsCommandInput;
101
+ output: GetIpAccessSettingsCommandOutput;
102
+ };
103
+ };
93
104
  }
@@ -84,4 +84,15 @@ declare const GetNetworkSettingsCommand_base: {
84
84
  * @public
85
85
  */
86
86
  export declare class GetNetworkSettingsCommand extends GetNetworkSettingsCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: GetNetworkSettingsRequest;
91
+ output: GetNetworkSettingsResponse;
92
+ };
93
+ sdk: {
94
+ input: GetNetworkSettingsCommandInput;
95
+ output: GetNetworkSettingsCommandOutput;
96
+ };
97
+ };
87
98
  }
@@ -94,4 +94,15 @@ declare const GetPortalCommand_base: {
94
94
  * @public
95
95
  */
96
96
  export declare class GetPortalCommand extends GetPortalCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: GetPortalRequest;
101
+ output: GetPortalResponse;
102
+ };
103
+ sdk: {
104
+ input: GetPortalCommandInput;
105
+ output: GetPortalCommandOutput;
106
+ };
107
+ };
97
108
  }
@@ -73,4 +73,15 @@ declare const GetPortalServiceProviderMetadataCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class GetPortalServiceProviderMetadataCommand extends GetPortalServiceProviderMetadataCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: GetPortalServiceProviderMetadataRequest;
80
+ output: GetPortalServiceProviderMetadataResponse;
81
+ };
82
+ sdk: {
83
+ input: GetPortalServiceProviderMetadataCommandInput;
84
+ output: GetPortalServiceProviderMetadataCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesWebClientResolvedConfig } from "../WorkSpacesWebClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetSessionCommand}.
14
+ */
15
+ export interface GetSessionCommandInput extends GetSessionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetSessionCommand}.
21
+ */
22
+ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
23
+ }
24
+ declare const GetSessionCommand_base: {
25
+ new (input: GetSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets information for a secure browser session.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WorkSpacesWebClient, GetSessionCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
35
+ * // const { WorkSpacesWebClient, GetSessionCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
36
+ * const client = new WorkSpacesWebClient(config);
37
+ * const input = { // GetSessionRequest
38
+ * portalId: "STRING_VALUE", // required
39
+ * sessionId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetSessionCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetSessionResponse
44
+ * // session: { // Session
45
+ * // portalArn: "STRING_VALUE",
46
+ * // sessionId: "STRING_VALUE",
47
+ * // username: "STRING_VALUE",
48
+ * // clientIpAddresses: [ // IpAddressList
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // status: "Active" || "Terminated",
52
+ * // startTime: new Date("TIMESTAMP"),
53
+ * // endTime: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetSessionCommandInput - {@link GetSessionCommandInput}
60
+ * @returns {@link GetSessionCommandOutput}
61
+ * @see {@link GetSessionCommandInput} for command's `input` shape.
62
+ * @see {@link GetSessionCommandOutput} for command's `response` shape.
63
+ * @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>Access is denied.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>There is an internal server error.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The resource cannot be found.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>There is a throttling error.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>There is a validation error.</p>
79
+ *
80
+ * @throws {@link WorkSpacesWebServiceException}
81
+ * <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
82
+ *
83
+ * @public
84
+ */
85
+ export declare class GetSessionCommand extends GetSessionCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: GetSessionRequest;
90
+ output: GetSessionResponse;
91
+ };
92
+ sdk: {
93
+ input: GetSessionCommandInput;
94
+ output: GetSessionCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -81,4 +81,15 @@ declare const GetTrustStoreCertificateCommand_base: {
81
81
  * @public
82
82
  */
83
83
  export declare class GetTrustStoreCertificateCommand extends GetTrustStoreCertificateCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: GetTrustStoreCertificateRequest;
88
+ output: GetTrustStoreCertificateResponse;
89
+ };
90
+ sdk: {
91
+ input: GetTrustStoreCertificateCommandInput;
92
+ output: GetTrustStoreCertificateCommandOutput;
93
+ };
94
+ };
84
95
  }
@@ -77,4 +77,15 @@ declare const GetTrustStoreCommand_base: {
77
77
  * @public
78
78
  */
79
79
  export declare class GetTrustStoreCommand extends GetTrustStoreCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: GetTrustStoreRequest;
84
+ output: GetTrustStoreResponse;
85
+ };
86
+ sdk: {
87
+ input: GetTrustStoreCommandInput;
88
+ output: GetTrustStoreCommandOutput;
89
+ };
90
+ };
80
91
  }
@@ -78,4 +78,15 @@ declare const GetUserAccessLoggingSettingsCommand_base: {
78
78
  * @public
79
79
  */
80
80
  export declare class GetUserAccessLoggingSettingsCommand extends GetUserAccessLoggingSettingsCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: GetUserAccessLoggingSettingsRequest;
85
+ output: GetUserAccessLoggingSettingsResponse;
86
+ };
87
+ sdk: {
88
+ input: GetUserAccessLoggingSettingsCommandInput;
89
+ output: GetUserAccessLoggingSettingsCommandOutput;
90
+ };
91
+ };
81
92
  }
@@ -105,4 +105,15 @@ declare const GetUserSettingsCommand_base: {
105
105
  * @public
106
106
  */
107
107
  export declare class GetUserSettingsCommand extends GetUserSettingsCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: GetUserSettingsRequest;
112
+ output: GetUserSettingsResponse;
113
+ };
114
+ sdk: {
115
+ input: GetUserSettingsCommandInput;
116
+ output: GetUserSettingsCommandOutput;
117
+ };
118
+ };
108
119
  }
@@ -75,4 +75,15 @@ declare const ListBrowserSettingsCommand_base: {
75
75
  * @public
76
76
  */
77
77
  export declare class ListBrowserSettingsCommand extends ListBrowserSettingsCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: ListBrowserSettingsRequest;
82
+ output: ListBrowserSettingsResponse;
83
+ };
84
+ sdk: {
85
+ input: ListBrowserSettingsCommandInput;
86
+ output: ListBrowserSettingsCommandOutput;
87
+ };
88
+ };
78
89
  }
@@ -78,4 +78,15 @@ declare const ListIdentityProvidersCommand_base: {
78
78
  * @public
79
79
  */
80
80
  export declare class ListIdentityProvidersCommand extends ListIdentityProvidersCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: ListIdentityProvidersRequest;
85
+ output: ListIdentityProvidersResponse;
86
+ };
87
+ sdk: {
88
+ input: ListIdentityProvidersCommandInput;
89
+ output: ListIdentityProvidersCommandOutput;
90
+ };
91
+ };
81
92
  }
@@ -78,4 +78,15 @@ declare const ListIpAccessSettingsCommand_base: {
78
78
  * @public
79
79
  */
80
80
  export declare class ListIpAccessSettingsCommand extends ListIpAccessSettingsCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: ListIpAccessSettingsRequest;
85
+ output: ListIpAccessSettingsResponse;
86
+ };
87
+ sdk: {
88
+ input: ListIpAccessSettingsCommandInput;
89
+ output: ListIpAccessSettingsCommandOutput;
90
+ };
91
+ };
81
92
  }
@@ -76,4 +76,15 @@ declare const ListNetworkSettingsCommand_base: {
76
76
  * @public
77
77
  */
78
78
  export declare class ListNetworkSettingsCommand extends ListNetworkSettingsCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: ListNetworkSettingsRequest;
83
+ output: ListNetworkSettingsResponse;
84
+ };
85
+ sdk: {
86
+ input: ListNetworkSettingsCommandInput;
87
+ output: ListNetworkSettingsCommandOutput;
88
+ };
89
+ };
79
90
  }