@aws-sdk/client-workspaces-web 3.342.0 → 3.343.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.
- package/README.md +56 -0
- package/dist-cjs/WorkSpacesWeb.js +14 -0
- package/dist-cjs/commands/AssociateIpAccessSettingsCommand.js +46 -0
- package/dist-cjs/commands/CreateIpAccessSettingsCommand.js +47 -0
- package/dist-cjs/commands/DeleteIpAccessSettingsCommand.js +46 -0
- package/dist-cjs/commands/DisassociateIpAccessSettingsCommand.js +46 -0
- package/dist-cjs/commands/GetIpAccessSettingsCommand.js +47 -0
- package/dist-cjs/commands/ListIpAccessSettingsCommand.js +47 -0
- package/dist-cjs/commands/UpdateIpAccessSettingsCommand.js +47 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +52 -1
- package/dist-cjs/pagination/ListIpAccessSettingsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +498 -3
- package/dist-es/WorkSpacesWeb.js +14 -0
- package/dist-es/commands/AssociateIpAccessSettingsCommand.js +42 -0
- package/dist-es/commands/CreateIpAccessSettingsCommand.js +43 -0
- package/dist-es/commands/DeleteIpAccessSettingsCommand.js +42 -0
- package/dist-es/commands/DisassociateIpAccessSettingsCommand.js +42 -0
- package/dist-es/commands/GetIpAccessSettingsCommand.js +43 -0
- package/dist-es/commands/ListIpAccessSettingsCommand.js +43 -0
- package/dist-es/commands/UpdateIpAccessSettingsCommand.js +43 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +43 -0
- package/dist-es/pagination/ListIpAccessSettingsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +481 -0
- package/dist-types/WorkSpacesWeb.d.ts +49 -0
- package/dist-types/WorkSpacesWebClient.d.ts +9 -2
- package/dist-types/commands/AssociateIpAccessSettingsCommand.d.ts +93 -0
- package/dist-types/commands/CreateIpAccessSettingsCommand.d.ts +109 -0
- package/dist-types/commands/DeleteIpAccessSettingsCommand.d.ts +86 -0
- package/dist-types/commands/DisassociateIpAccessSettingsCommand.d.ts +86 -0
- package/dist-types/commands/GetIpAccessSettingsCommand.d.ts +102 -0
- package/dist-types/commands/GetPortalCommand.d.ts +1 -0
- package/dist-types/commands/ListIpAccessSettingsCommand.d.ts +94 -0
- package/dist-types/commands/ListPortalsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateIpAccessSettingsCommand.d.ts +111 -0
- package/dist-types/commands/UpdatePortalCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +290 -0
- package/dist-types/pagination/ListIpAccessSettingsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/WorkSpacesWeb.d.ts +119 -0
- package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssociateIpAccessSettingsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateIpAccessSettingsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteIpAccessSettingsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DisassociateIpAccessSettingsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetIpAccessSettingsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListIpAccessSettingsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateIpAccessSettingsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +94 -0
- package/dist-types/ts3.4/pagination/ListIpAccessSettingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +1 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AssociateBrowserSettingsCommandInput, AssociateBrowserSettingsCommandOutput } from "./commands/AssociateBrowserSettingsCommand";
|
|
3
|
+
import { AssociateIpAccessSettingsCommandInput, AssociateIpAccessSettingsCommandOutput } from "./commands/AssociateIpAccessSettingsCommand";
|
|
3
4
|
import { AssociateNetworkSettingsCommandInput, AssociateNetworkSettingsCommandOutput } from "./commands/AssociateNetworkSettingsCommand";
|
|
4
5
|
import { AssociateTrustStoreCommandInput, AssociateTrustStoreCommandOutput } from "./commands/AssociateTrustStoreCommand";
|
|
5
6
|
import { AssociateUserAccessLoggingSettingsCommandInput, AssociateUserAccessLoggingSettingsCommandOutput } from "./commands/AssociateUserAccessLoggingSettingsCommand";
|
|
6
7
|
import { AssociateUserSettingsCommandInput, AssociateUserSettingsCommandOutput } from "./commands/AssociateUserSettingsCommand";
|
|
7
8
|
import { CreateBrowserSettingsCommandInput, CreateBrowserSettingsCommandOutput } from "./commands/CreateBrowserSettingsCommand";
|
|
8
9
|
import { CreateIdentityProviderCommandInput, CreateIdentityProviderCommandOutput } from "./commands/CreateIdentityProviderCommand";
|
|
10
|
+
import { CreateIpAccessSettingsCommandInput, CreateIpAccessSettingsCommandOutput } from "./commands/CreateIpAccessSettingsCommand";
|
|
9
11
|
import { CreateNetworkSettingsCommandInput, CreateNetworkSettingsCommandOutput } from "./commands/CreateNetworkSettingsCommand";
|
|
10
12
|
import { CreatePortalCommandInput, CreatePortalCommandOutput } from "./commands/CreatePortalCommand";
|
|
11
13
|
import { CreateTrustStoreCommandInput, CreateTrustStoreCommandOutput } from "./commands/CreateTrustStoreCommand";
|
|
@@ -13,18 +15,21 @@ import { CreateUserAccessLoggingSettingsCommandInput, CreateUserAccessLoggingSet
|
|
|
13
15
|
import { CreateUserSettingsCommandInput, CreateUserSettingsCommandOutput } from "./commands/CreateUserSettingsCommand";
|
|
14
16
|
import { DeleteBrowserSettingsCommandInput, DeleteBrowserSettingsCommandOutput } from "./commands/DeleteBrowserSettingsCommand";
|
|
15
17
|
import { DeleteIdentityProviderCommandInput, DeleteIdentityProviderCommandOutput } from "./commands/DeleteIdentityProviderCommand";
|
|
18
|
+
import { DeleteIpAccessSettingsCommandInput, DeleteIpAccessSettingsCommandOutput } from "./commands/DeleteIpAccessSettingsCommand";
|
|
16
19
|
import { DeleteNetworkSettingsCommandInput, DeleteNetworkSettingsCommandOutput } from "./commands/DeleteNetworkSettingsCommand";
|
|
17
20
|
import { DeletePortalCommandInput, DeletePortalCommandOutput } from "./commands/DeletePortalCommand";
|
|
18
21
|
import { DeleteTrustStoreCommandInput, DeleteTrustStoreCommandOutput } from "./commands/DeleteTrustStoreCommand";
|
|
19
22
|
import { DeleteUserAccessLoggingSettingsCommandInput, DeleteUserAccessLoggingSettingsCommandOutput } from "./commands/DeleteUserAccessLoggingSettingsCommand";
|
|
20
23
|
import { DeleteUserSettingsCommandInput, DeleteUserSettingsCommandOutput } from "./commands/DeleteUserSettingsCommand";
|
|
21
24
|
import { DisassociateBrowserSettingsCommandInput, DisassociateBrowserSettingsCommandOutput } from "./commands/DisassociateBrowserSettingsCommand";
|
|
25
|
+
import { DisassociateIpAccessSettingsCommandInput, DisassociateIpAccessSettingsCommandOutput } from "./commands/DisassociateIpAccessSettingsCommand";
|
|
22
26
|
import { DisassociateNetworkSettingsCommandInput, DisassociateNetworkSettingsCommandOutput } from "./commands/DisassociateNetworkSettingsCommand";
|
|
23
27
|
import { DisassociateTrustStoreCommandInput, DisassociateTrustStoreCommandOutput } from "./commands/DisassociateTrustStoreCommand";
|
|
24
28
|
import { DisassociateUserAccessLoggingSettingsCommandInput, DisassociateUserAccessLoggingSettingsCommandOutput } from "./commands/DisassociateUserAccessLoggingSettingsCommand";
|
|
25
29
|
import { DisassociateUserSettingsCommandInput, DisassociateUserSettingsCommandOutput } from "./commands/DisassociateUserSettingsCommand";
|
|
26
30
|
import { GetBrowserSettingsCommandInput, GetBrowserSettingsCommandOutput } from "./commands/GetBrowserSettingsCommand";
|
|
27
31
|
import { GetIdentityProviderCommandInput, GetIdentityProviderCommandOutput } from "./commands/GetIdentityProviderCommand";
|
|
32
|
+
import { GetIpAccessSettingsCommandInput, GetIpAccessSettingsCommandOutput } from "./commands/GetIpAccessSettingsCommand";
|
|
28
33
|
import { GetNetworkSettingsCommandInput, GetNetworkSettingsCommandOutput } from "./commands/GetNetworkSettingsCommand";
|
|
29
34
|
import { GetPortalCommandInput, GetPortalCommandOutput } from "./commands/GetPortalCommand";
|
|
30
35
|
import { GetPortalServiceProviderMetadataCommandInput, GetPortalServiceProviderMetadataCommandOutput } from "./commands/GetPortalServiceProviderMetadataCommand";
|
|
@@ -34,6 +39,7 @@ import { GetUserAccessLoggingSettingsCommandInput, GetUserAccessLoggingSettingsC
|
|
|
34
39
|
import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "./commands/GetUserSettingsCommand";
|
|
35
40
|
import { ListBrowserSettingsCommandInput, ListBrowserSettingsCommandOutput } from "./commands/ListBrowserSettingsCommand";
|
|
36
41
|
import { ListIdentityProvidersCommandInput, ListIdentityProvidersCommandOutput } from "./commands/ListIdentityProvidersCommand";
|
|
42
|
+
import { ListIpAccessSettingsCommandInput, ListIpAccessSettingsCommandOutput } from "./commands/ListIpAccessSettingsCommand";
|
|
37
43
|
import { ListNetworkSettingsCommandInput, ListNetworkSettingsCommandOutput } from "./commands/ListNetworkSettingsCommand";
|
|
38
44
|
import { ListPortalsCommandInput, ListPortalsCommandOutput } from "./commands/ListPortalsCommand";
|
|
39
45
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -45,6 +51,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
45
51
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
46
52
|
import { UpdateBrowserSettingsCommandInput, UpdateBrowserSettingsCommandOutput } from "./commands/UpdateBrowserSettingsCommand";
|
|
47
53
|
import { UpdateIdentityProviderCommandInput, UpdateIdentityProviderCommandOutput } from "./commands/UpdateIdentityProviderCommand";
|
|
54
|
+
import { UpdateIpAccessSettingsCommandInput, UpdateIpAccessSettingsCommandOutput } from "./commands/UpdateIpAccessSettingsCommand";
|
|
48
55
|
import { UpdateNetworkSettingsCommandInput, UpdateNetworkSettingsCommandOutput } from "./commands/UpdateNetworkSettingsCommand";
|
|
49
56
|
import { UpdatePortalCommandInput, UpdatePortalCommandOutput } from "./commands/UpdatePortalCommand";
|
|
50
57
|
import { UpdateTrustStoreCommandInput, UpdateTrustStoreCommandOutput } from "./commands/UpdateTrustStoreCommand";
|
|
@@ -58,6 +65,12 @@ export interface WorkSpacesWeb {
|
|
|
58
65
|
associateBrowserSettings(args: AssociateBrowserSettingsCommandInput, options?: __HttpHandlerOptions): Promise<AssociateBrowserSettingsCommandOutput>;
|
|
59
66
|
associateBrowserSettings(args: AssociateBrowserSettingsCommandInput, cb: (err: any, data?: AssociateBrowserSettingsCommandOutput) => void): void;
|
|
60
67
|
associateBrowserSettings(args: AssociateBrowserSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateBrowserSettingsCommandOutput) => void): void;
|
|
68
|
+
/**
|
|
69
|
+
* @see {@link AssociateIpAccessSettingsCommand}
|
|
70
|
+
*/
|
|
71
|
+
associateIpAccessSettings(args: AssociateIpAccessSettingsCommandInput, options?: __HttpHandlerOptions): Promise<AssociateIpAccessSettingsCommandOutput>;
|
|
72
|
+
associateIpAccessSettings(args: AssociateIpAccessSettingsCommandInput, cb: (err: any, data?: AssociateIpAccessSettingsCommandOutput) => void): void;
|
|
73
|
+
associateIpAccessSettings(args: AssociateIpAccessSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateIpAccessSettingsCommandOutput) => void): void;
|
|
61
74
|
/**
|
|
62
75
|
* @see {@link AssociateNetworkSettingsCommand}
|
|
63
76
|
*/
|
|
@@ -94,6 +107,12 @@ export interface WorkSpacesWeb {
|
|
|
94
107
|
createIdentityProvider(args: CreateIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<CreateIdentityProviderCommandOutput>;
|
|
95
108
|
createIdentityProvider(args: CreateIdentityProviderCommandInput, cb: (err: any, data?: CreateIdentityProviderCommandOutput) => void): void;
|
|
96
109
|
createIdentityProvider(args: CreateIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIdentityProviderCommandOutput) => void): void;
|
|
110
|
+
/**
|
|
111
|
+
* @see {@link CreateIpAccessSettingsCommand}
|
|
112
|
+
*/
|
|
113
|
+
createIpAccessSettings(args: CreateIpAccessSettingsCommandInput, options?: __HttpHandlerOptions): Promise<CreateIpAccessSettingsCommandOutput>;
|
|
114
|
+
createIpAccessSettings(args: CreateIpAccessSettingsCommandInput, cb: (err: any, data?: CreateIpAccessSettingsCommandOutput) => void): void;
|
|
115
|
+
createIpAccessSettings(args: CreateIpAccessSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIpAccessSettingsCommandOutput) => void): void;
|
|
97
116
|
/**
|
|
98
117
|
* @see {@link CreateNetworkSettingsCommand}
|
|
99
118
|
*/
|
|
@@ -136,6 +155,12 @@ export interface WorkSpacesWeb {
|
|
|
136
155
|
deleteIdentityProvider(args: DeleteIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIdentityProviderCommandOutput>;
|
|
137
156
|
deleteIdentityProvider(args: DeleteIdentityProviderCommandInput, cb: (err: any, data?: DeleteIdentityProviderCommandOutput) => void): void;
|
|
138
157
|
deleteIdentityProvider(args: DeleteIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIdentityProviderCommandOutput) => void): void;
|
|
158
|
+
/**
|
|
159
|
+
* @see {@link DeleteIpAccessSettingsCommand}
|
|
160
|
+
*/
|
|
161
|
+
deleteIpAccessSettings(args: DeleteIpAccessSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIpAccessSettingsCommandOutput>;
|
|
162
|
+
deleteIpAccessSettings(args: DeleteIpAccessSettingsCommandInput, cb: (err: any, data?: DeleteIpAccessSettingsCommandOutput) => void): void;
|
|
163
|
+
deleteIpAccessSettings(args: DeleteIpAccessSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIpAccessSettingsCommandOutput) => void): void;
|
|
139
164
|
/**
|
|
140
165
|
* @see {@link DeleteNetworkSettingsCommand}
|
|
141
166
|
*/
|
|
@@ -172,6 +197,12 @@ export interface WorkSpacesWeb {
|
|
|
172
197
|
disassociateBrowserSettings(args: DisassociateBrowserSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateBrowserSettingsCommandOutput>;
|
|
173
198
|
disassociateBrowserSettings(args: DisassociateBrowserSettingsCommandInput, cb: (err: any, data?: DisassociateBrowserSettingsCommandOutput) => void): void;
|
|
174
199
|
disassociateBrowserSettings(args: DisassociateBrowserSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateBrowserSettingsCommandOutput) => void): void;
|
|
200
|
+
/**
|
|
201
|
+
* @see {@link DisassociateIpAccessSettingsCommand}
|
|
202
|
+
*/
|
|
203
|
+
disassociateIpAccessSettings(args: DisassociateIpAccessSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateIpAccessSettingsCommandOutput>;
|
|
204
|
+
disassociateIpAccessSettings(args: DisassociateIpAccessSettingsCommandInput, cb: (err: any, data?: DisassociateIpAccessSettingsCommandOutput) => void): void;
|
|
205
|
+
disassociateIpAccessSettings(args: DisassociateIpAccessSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateIpAccessSettingsCommandOutput) => void): void;
|
|
175
206
|
/**
|
|
176
207
|
* @see {@link DisassociateNetworkSettingsCommand}
|
|
177
208
|
*/
|
|
@@ -208,6 +239,12 @@ export interface WorkSpacesWeb {
|
|
|
208
239
|
getIdentityProvider(args: GetIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<GetIdentityProviderCommandOutput>;
|
|
209
240
|
getIdentityProvider(args: GetIdentityProviderCommandInput, cb: (err: any, data?: GetIdentityProviderCommandOutput) => void): void;
|
|
210
241
|
getIdentityProvider(args: GetIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIdentityProviderCommandOutput) => void): void;
|
|
242
|
+
/**
|
|
243
|
+
* @see {@link GetIpAccessSettingsCommand}
|
|
244
|
+
*/
|
|
245
|
+
getIpAccessSettings(args: GetIpAccessSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetIpAccessSettingsCommandOutput>;
|
|
246
|
+
getIpAccessSettings(args: GetIpAccessSettingsCommandInput, cb: (err: any, data?: GetIpAccessSettingsCommandOutput) => void): void;
|
|
247
|
+
getIpAccessSettings(args: GetIpAccessSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIpAccessSettingsCommandOutput) => void): void;
|
|
211
248
|
/**
|
|
212
249
|
* @see {@link GetNetworkSettingsCommand}
|
|
213
250
|
*/
|
|
@@ -262,6 +299,12 @@ export interface WorkSpacesWeb {
|
|
|
262
299
|
listIdentityProviders(args: ListIdentityProvidersCommandInput, options?: __HttpHandlerOptions): Promise<ListIdentityProvidersCommandOutput>;
|
|
263
300
|
listIdentityProviders(args: ListIdentityProvidersCommandInput, cb: (err: any, data?: ListIdentityProvidersCommandOutput) => void): void;
|
|
264
301
|
listIdentityProviders(args: ListIdentityProvidersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentityProvidersCommandOutput) => void): void;
|
|
302
|
+
/**
|
|
303
|
+
* @see {@link ListIpAccessSettingsCommand}
|
|
304
|
+
*/
|
|
305
|
+
listIpAccessSettings(args: ListIpAccessSettingsCommandInput, options?: __HttpHandlerOptions): Promise<ListIpAccessSettingsCommandOutput>;
|
|
306
|
+
listIpAccessSettings(args: ListIpAccessSettingsCommandInput, cb: (err: any, data?: ListIpAccessSettingsCommandOutput) => void): void;
|
|
307
|
+
listIpAccessSettings(args: ListIpAccessSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIpAccessSettingsCommandOutput) => void): void;
|
|
265
308
|
/**
|
|
266
309
|
* @see {@link ListNetworkSettingsCommand}
|
|
267
310
|
*/
|
|
@@ -328,6 +371,12 @@ export interface WorkSpacesWeb {
|
|
|
328
371
|
updateIdentityProvider(args: UpdateIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIdentityProviderCommandOutput>;
|
|
329
372
|
updateIdentityProvider(args: UpdateIdentityProviderCommandInput, cb: (err: any, data?: UpdateIdentityProviderCommandOutput) => void): void;
|
|
330
373
|
updateIdentityProvider(args: UpdateIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIdentityProviderCommandOutput) => void): void;
|
|
374
|
+
/**
|
|
375
|
+
* @see {@link UpdateIpAccessSettingsCommand}
|
|
376
|
+
*/
|
|
377
|
+
updateIpAccessSettings(args: UpdateIpAccessSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIpAccessSettingsCommandOutput>;
|
|
378
|
+
updateIpAccessSettings(args: UpdateIpAccessSettingsCommandInput, cb: (err: any, data?: UpdateIpAccessSettingsCommandOutput) => void): void;
|
|
379
|
+
updateIpAccessSettings(args: UpdateIpAccessSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIpAccessSettingsCommandOutput) => void): void;
|
|
331
380
|
/**
|
|
332
381
|
* @see {@link UpdateNetworkSettingsCommand}
|
|
333
382
|
*/
|
|
@@ -9,12 +9,14 @@ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as
|
|
|
9
9
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
10
|
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
11
11
|
import { AssociateBrowserSettingsCommandInput, AssociateBrowserSettingsCommandOutput } from "./commands/AssociateBrowserSettingsCommand";
|
|
12
|
+
import { AssociateIpAccessSettingsCommandInput, AssociateIpAccessSettingsCommandOutput } from "./commands/AssociateIpAccessSettingsCommand";
|
|
12
13
|
import { AssociateNetworkSettingsCommandInput, AssociateNetworkSettingsCommandOutput } from "./commands/AssociateNetworkSettingsCommand";
|
|
13
14
|
import { AssociateTrustStoreCommandInput, AssociateTrustStoreCommandOutput } from "./commands/AssociateTrustStoreCommand";
|
|
14
15
|
import { AssociateUserAccessLoggingSettingsCommandInput, AssociateUserAccessLoggingSettingsCommandOutput } from "./commands/AssociateUserAccessLoggingSettingsCommand";
|
|
15
16
|
import { AssociateUserSettingsCommandInput, AssociateUserSettingsCommandOutput } from "./commands/AssociateUserSettingsCommand";
|
|
16
17
|
import { CreateBrowserSettingsCommandInput, CreateBrowserSettingsCommandOutput } from "./commands/CreateBrowserSettingsCommand";
|
|
17
18
|
import { CreateIdentityProviderCommandInput, CreateIdentityProviderCommandOutput } from "./commands/CreateIdentityProviderCommand";
|
|
19
|
+
import { CreateIpAccessSettingsCommandInput, CreateIpAccessSettingsCommandOutput } from "./commands/CreateIpAccessSettingsCommand";
|
|
18
20
|
import { CreateNetworkSettingsCommandInput, CreateNetworkSettingsCommandOutput } from "./commands/CreateNetworkSettingsCommand";
|
|
19
21
|
import { CreatePortalCommandInput, CreatePortalCommandOutput } from "./commands/CreatePortalCommand";
|
|
20
22
|
import { CreateTrustStoreCommandInput, CreateTrustStoreCommandOutput } from "./commands/CreateTrustStoreCommand";
|
|
@@ -22,18 +24,21 @@ import { CreateUserAccessLoggingSettingsCommandInput, CreateUserAccessLoggingSet
|
|
|
22
24
|
import { CreateUserSettingsCommandInput, CreateUserSettingsCommandOutput } from "./commands/CreateUserSettingsCommand";
|
|
23
25
|
import { DeleteBrowserSettingsCommandInput, DeleteBrowserSettingsCommandOutput } from "./commands/DeleteBrowserSettingsCommand";
|
|
24
26
|
import { DeleteIdentityProviderCommandInput, DeleteIdentityProviderCommandOutput } from "./commands/DeleteIdentityProviderCommand";
|
|
27
|
+
import { DeleteIpAccessSettingsCommandInput, DeleteIpAccessSettingsCommandOutput } from "./commands/DeleteIpAccessSettingsCommand";
|
|
25
28
|
import { DeleteNetworkSettingsCommandInput, DeleteNetworkSettingsCommandOutput } from "./commands/DeleteNetworkSettingsCommand";
|
|
26
29
|
import { DeletePortalCommandInput, DeletePortalCommandOutput } from "./commands/DeletePortalCommand";
|
|
27
30
|
import { DeleteTrustStoreCommandInput, DeleteTrustStoreCommandOutput } from "./commands/DeleteTrustStoreCommand";
|
|
28
31
|
import { DeleteUserAccessLoggingSettingsCommandInput, DeleteUserAccessLoggingSettingsCommandOutput } from "./commands/DeleteUserAccessLoggingSettingsCommand";
|
|
29
32
|
import { DeleteUserSettingsCommandInput, DeleteUserSettingsCommandOutput } from "./commands/DeleteUserSettingsCommand";
|
|
30
33
|
import { DisassociateBrowserSettingsCommandInput, DisassociateBrowserSettingsCommandOutput } from "./commands/DisassociateBrowserSettingsCommand";
|
|
34
|
+
import { DisassociateIpAccessSettingsCommandInput, DisassociateIpAccessSettingsCommandOutput } from "./commands/DisassociateIpAccessSettingsCommand";
|
|
31
35
|
import { DisassociateNetworkSettingsCommandInput, DisassociateNetworkSettingsCommandOutput } from "./commands/DisassociateNetworkSettingsCommand";
|
|
32
36
|
import { DisassociateTrustStoreCommandInput, DisassociateTrustStoreCommandOutput } from "./commands/DisassociateTrustStoreCommand";
|
|
33
37
|
import { DisassociateUserAccessLoggingSettingsCommandInput, DisassociateUserAccessLoggingSettingsCommandOutput } from "./commands/DisassociateUserAccessLoggingSettingsCommand";
|
|
34
38
|
import { DisassociateUserSettingsCommandInput, DisassociateUserSettingsCommandOutput } from "./commands/DisassociateUserSettingsCommand";
|
|
35
39
|
import { GetBrowserSettingsCommandInput, GetBrowserSettingsCommandOutput } from "./commands/GetBrowserSettingsCommand";
|
|
36
40
|
import { GetIdentityProviderCommandInput, GetIdentityProviderCommandOutput } from "./commands/GetIdentityProviderCommand";
|
|
41
|
+
import { GetIpAccessSettingsCommandInput, GetIpAccessSettingsCommandOutput } from "./commands/GetIpAccessSettingsCommand";
|
|
37
42
|
import { GetNetworkSettingsCommandInput, GetNetworkSettingsCommandOutput } from "./commands/GetNetworkSettingsCommand";
|
|
38
43
|
import { GetPortalCommandInput, GetPortalCommandOutput } from "./commands/GetPortalCommand";
|
|
39
44
|
import { GetPortalServiceProviderMetadataCommandInput, GetPortalServiceProviderMetadataCommandOutput } from "./commands/GetPortalServiceProviderMetadataCommand";
|
|
@@ -43,6 +48,7 @@ import { GetUserAccessLoggingSettingsCommandInput, GetUserAccessLoggingSettingsC
|
|
|
43
48
|
import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "./commands/GetUserSettingsCommand";
|
|
44
49
|
import { ListBrowserSettingsCommandInput, ListBrowserSettingsCommandOutput } from "./commands/ListBrowserSettingsCommand";
|
|
45
50
|
import { ListIdentityProvidersCommandInput, ListIdentityProvidersCommandOutput } from "./commands/ListIdentityProvidersCommand";
|
|
51
|
+
import { ListIpAccessSettingsCommandInput, ListIpAccessSettingsCommandOutput } from "./commands/ListIpAccessSettingsCommand";
|
|
46
52
|
import { ListNetworkSettingsCommandInput, ListNetworkSettingsCommandOutput } from "./commands/ListNetworkSettingsCommand";
|
|
47
53
|
import { ListPortalsCommandInput, ListPortalsCommandOutput } from "./commands/ListPortalsCommand";
|
|
48
54
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -54,6 +60,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
54
60
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
55
61
|
import { UpdateBrowserSettingsCommandInput, UpdateBrowserSettingsCommandOutput } from "./commands/UpdateBrowserSettingsCommand";
|
|
56
62
|
import { UpdateIdentityProviderCommandInput, UpdateIdentityProviderCommandOutput } from "./commands/UpdateIdentityProviderCommand";
|
|
63
|
+
import { UpdateIpAccessSettingsCommandInput, UpdateIpAccessSettingsCommandOutput } from "./commands/UpdateIpAccessSettingsCommand";
|
|
57
64
|
import { UpdateNetworkSettingsCommandInput, UpdateNetworkSettingsCommandOutput } from "./commands/UpdateNetworkSettingsCommand";
|
|
58
65
|
import { UpdatePortalCommandInput, UpdatePortalCommandOutput } from "./commands/UpdatePortalCommand";
|
|
59
66
|
import { UpdateTrustStoreCommandInput, UpdateTrustStoreCommandOutput } from "./commands/UpdateTrustStoreCommand";
|
|
@@ -64,11 +71,11 @@ export { __Client };
|
|
|
64
71
|
/**
|
|
65
72
|
* @public
|
|
66
73
|
*/
|
|
67
|
-
export type ServiceInputTypes = AssociateBrowserSettingsCommandInput | AssociateNetworkSettingsCommandInput | AssociateTrustStoreCommandInput | AssociateUserAccessLoggingSettingsCommandInput | AssociateUserSettingsCommandInput | CreateBrowserSettingsCommandInput | CreateIdentityProviderCommandInput | CreateNetworkSettingsCommandInput | CreatePortalCommandInput | CreateTrustStoreCommandInput | CreateUserAccessLoggingSettingsCommandInput | CreateUserSettingsCommandInput | DeleteBrowserSettingsCommandInput | DeleteIdentityProviderCommandInput | DeleteNetworkSettingsCommandInput | DeletePortalCommandInput | DeleteTrustStoreCommandInput | DeleteUserAccessLoggingSettingsCommandInput | DeleteUserSettingsCommandInput | DisassociateBrowserSettingsCommandInput | DisassociateNetworkSettingsCommandInput | DisassociateTrustStoreCommandInput | DisassociateUserAccessLoggingSettingsCommandInput | DisassociateUserSettingsCommandInput | GetBrowserSettingsCommandInput | GetIdentityProviderCommandInput | GetNetworkSettingsCommandInput | GetPortalCommandInput | GetPortalServiceProviderMetadataCommandInput | GetTrustStoreCertificateCommandInput | GetTrustStoreCommandInput | GetUserAccessLoggingSettingsCommandInput | GetUserSettingsCommandInput | ListBrowserSettingsCommandInput | ListIdentityProvidersCommandInput | ListNetworkSettingsCommandInput | ListPortalsCommandInput | ListTagsForResourceCommandInput | ListTrustStoreCertificatesCommandInput | ListTrustStoresCommandInput | ListUserAccessLoggingSettingsCommandInput | ListUserSettingsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrowserSettingsCommandInput | UpdateIdentityProviderCommandInput | UpdateNetworkSettingsCommandInput | UpdatePortalCommandInput | UpdateTrustStoreCommandInput | UpdateUserAccessLoggingSettingsCommandInput | UpdateUserSettingsCommandInput;
|
|
74
|
+
export type ServiceInputTypes = AssociateBrowserSettingsCommandInput | AssociateIpAccessSettingsCommandInput | AssociateNetworkSettingsCommandInput | AssociateTrustStoreCommandInput | AssociateUserAccessLoggingSettingsCommandInput | AssociateUserSettingsCommandInput | CreateBrowserSettingsCommandInput | CreateIdentityProviderCommandInput | CreateIpAccessSettingsCommandInput | CreateNetworkSettingsCommandInput | CreatePortalCommandInput | CreateTrustStoreCommandInput | CreateUserAccessLoggingSettingsCommandInput | CreateUserSettingsCommandInput | DeleteBrowserSettingsCommandInput | DeleteIdentityProviderCommandInput | DeleteIpAccessSettingsCommandInput | DeleteNetworkSettingsCommandInput | DeletePortalCommandInput | DeleteTrustStoreCommandInput | DeleteUserAccessLoggingSettingsCommandInput | DeleteUserSettingsCommandInput | DisassociateBrowserSettingsCommandInput | DisassociateIpAccessSettingsCommandInput | DisassociateNetworkSettingsCommandInput | DisassociateTrustStoreCommandInput | DisassociateUserAccessLoggingSettingsCommandInput | DisassociateUserSettingsCommandInput | GetBrowserSettingsCommandInput | GetIdentityProviderCommandInput | GetIpAccessSettingsCommandInput | GetNetworkSettingsCommandInput | GetPortalCommandInput | GetPortalServiceProviderMetadataCommandInput | GetTrustStoreCertificateCommandInput | GetTrustStoreCommandInput | GetUserAccessLoggingSettingsCommandInput | GetUserSettingsCommandInput | ListBrowserSettingsCommandInput | ListIdentityProvidersCommandInput | ListIpAccessSettingsCommandInput | ListNetworkSettingsCommandInput | ListPortalsCommandInput | ListTagsForResourceCommandInput | ListTrustStoreCertificatesCommandInput | ListTrustStoresCommandInput | ListUserAccessLoggingSettingsCommandInput | ListUserSettingsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrowserSettingsCommandInput | UpdateIdentityProviderCommandInput | UpdateIpAccessSettingsCommandInput | UpdateNetworkSettingsCommandInput | UpdatePortalCommandInput | UpdateTrustStoreCommandInput | UpdateUserAccessLoggingSettingsCommandInput | UpdateUserSettingsCommandInput;
|
|
68
75
|
/**
|
|
69
76
|
* @public
|
|
70
77
|
*/
|
|
71
|
-
export type ServiceOutputTypes = AssociateBrowserSettingsCommandOutput | AssociateNetworkSettingsCommandOutput | AssociateTrustStoreCommandOutput | AssociateUserAccessLoggingSettingsCommandOutput | AssociateUserSettingsCommandOutput | CreateBrowserSettingsCommandOutput | CreateIdentityProviderCommandOutput | CreateNetworkSettingsCommandOutput | CreatePortalCommandOutput | CreateTrustStoreCommandOutput | CreateUserAccessLoggingSettingsCommandOutput | CreateUserSettingsCommandOutput | DeleteBrowserSettingsCommandOutput | DeleteIdentityProviderCommandOutput | DeleteNetworkSettingsCommandOutput | DeletePortalCommandOutput | DeleteTrustStoreCommandOutput | DeleteUserAccessLoggingSettingsCommandOutput | DeleteUserSettingsCommandOutput | DisassociateBrowserSettingsCommandOutput | DisassociateNetworkSettingsCommandOutput | DisassociateTrustStoreCommandOutput | DisassociateUserAccessLoggingSettingsCommandOutput | DisassociateUserSettingsCommandOutput | GetBrowserSettingsCommandOutput | GetIdentityProviderCommandOutput | GetNetworkSettingsCommandOutput | GetPortalCommandOutput | GetPortalServiceProviderMetadataCommandOutput | GetTrustStoreCertificateCommandOutput | GetTrustStoreCommandOutput | GetUserAccessLoggingSettingsCommandOutput | GetUserSettingsCommandOutput | ListBrowserSettingsCommandOutput | ListIdentityProvidersCommandOutput | ListNetworkSettingsCommandOutput | ListPortalsCommandOutput | ListTagsForResourceCommandOutput | ListTrustStoreCertificatesCommandOutput | ListTrustStoresCommandOutput | ListUserAccessLoggingSettingsCommandOutput | ListUserSettingsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrowserSettingsCommandOutput | UpdateIdentityProviderCommandOutput | UpdateNetworkSettingsCommandOutput | UpdatePortalCommandOutput | UpdateTrustStoreCommandOutput | UpdateUserAccessLoggingSettingsCommandOutput | UpdateUserSettingsCommandOutput;
|
|
78
|
+
export type ServiceOutputTypes = AssociateBrowserSettingsCommandOutput | AssociateIpAccessSettingsCommandOutput | AssociateNetworkSettingsCommandOutput | AssociateTrustStoreCommandOutput | AssociateUserAccessLoggingSettingsCommandOutput | AssociateUserSettingsCommandOutput | CreateBrowserSettingsCommandOutput | CreateIdentityProviderCommandOutput | CreateIpAccessSettingsCommandOutput | CreateNetworkSettingsCommandOutput | CreatePortalCommandOutput | CreateTrustStoreCommandOutput | CreateUserAccessLoggingSettingsCommandOutput | CreateUserSettingsCommandOutput | DeleteBrowserSettingsCommandOutput | DeleteIdentityProviderCommandOutput | DeleteIpAccessSettingsCommandOutput | DeleteNetworkSettingsCommandOutput | DeletePortalCommandOutput | DeleteTrustStoreCommandOutput | DeleteUserAccessLoggingSettingsCommandOutput | DeleteUserSettingsCommandOutput | DisassociateBrowserSettingsCommandOutput | DisassociateIpAccessSettingsCommandOutput | DisassociateNetworkSettingsCommandOutput | DisassociateTrustStoreCommandOutput | DisassociateUserAccessLoggingSettingsCommandOutput | DisassociateUserSettingsCommandOutput | GetBrowserSettingsCommandOutput | GetIdentityProviderCommandOutput | GetIpAccessSettingsCommandOutput | GetNetworkSettingsCommandOutput | GetPortalCommandOutput | GetPortalServiceProviderMetadataCommandOutput | GetTrustStoreCertificateCommandOutput | GetTrustStoreCommandOutput | GetUserAccessLoggingSettingsCommandOutput | GetUserSettingsCommandOutput | ListBrowserSettingsCommandOutput | ListIdentityProvidersCommandOutput | ListIpAccessSettingsCommandOutput | ListNetworkSettingsCommandOutput | ListPortalsCommandOutput | ListTagsForResourceCommandOutput | ListTrustStoreCertificatesCommandOutput | ListTrustStoresCommandOutput | ListUserAccessLoggingSettingsCommandOutput | ListUserSettingsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrowserSettingsCommandOutput | UpdateIdentityProviderCommandOutput | UpdateIpAccessSettingsCommandOutput | UpdateNetworkSettingsCommandOutput | UpdatePortalCommandOutput | UpdateTrustStoreCommandOutput | UpdateUserAccessLoggingSettingsCommandOutput | UpdateUserSettingsCommandOutput;
|
|
72
79
|
/**
|
|
73
80
|
* @public
|
|
74
81
|
*/
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AssociateIpAccessSettingsRequest, AssociateIpAccessSettingsResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesWebClientResolvedConfig } from "../WorkSpacesWebClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateIpAccessSettingsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateIpAccessSettingsCommandInput extends AssociateIpAccessSettingsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateIpAccessSettingsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateIpAccessSettingsCommandOutput extends AssociateIpAccessSettingsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Associates an IP access settings resource with a web portal.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesWebClient, AssociateIpAccessSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesWebClient, AssociateIpAccessSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesWebClient(config);
|
|
33
|
+
* const input = { // AssociateIpAccessSettingsRequest
|
|
34
|
+
* portalArn: "STRING_VALUE", // required
|
|
35
|
+
* ipAccessSettingsArn: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new AssociateIpAccessSettingsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // AssociateIpAccessSettingsResponse
|
|
40
|
+
* // portalArn: "STRING_VALUE", // required
|
|
41
|
+
* // ipAccessSettingsArn: "STRING_VALUE", // required
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param AssociateIpAccessSettingsCommandInput - {@link AssociateIpAccessSettingsCommandInput}
|
|
47
|
+
* @returns {@link AssociateIpAccessSettingsCommandOutput}
|
|
48
|
+
* @see {@link AssociateIpAccessSettingsCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link AssociateIpAccessSettingsCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>Access is denied.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>There is a conflict.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>There is an internal server error.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The resource cannot be found.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>There is a throttling error.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>There is a validation error.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link WorkSpacesWebServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export declare class AssociateIpAccessSettingsCommand extends $Command<AssociateIpAccessSettingsCommandInput, AssociateIpAccessSettingsCommandOutput, WorkSpacesWebClientResolvedConfig> {
|
|
75
|
+
readonly input: AssociateIpAccessSettingsCommandInput;
|
|
76
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
constructor(input: AssociateIpAccessSettingsCommandInput);
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesWebClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateIpAccessSettingsCommandInput, AssociateIpAccessSettingsCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private deserialize;
|
|
93
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CreateIpAccessSettingsRequest, CreateIpAccessSettingsResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesWebClientResolvedConfig } from "../WorkSpacesWebClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateIpAccessSettingsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateIpAccessSettingsCommandInput extends CreateIpAccessSettingsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateIpAccessSettingsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateIpAccessSettingsCommandOutput extends CreateIpAccessSettingsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates an IP access settings resource that can be associated with a web portal.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesWebClient, CreateIpAccessSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesWebClient, CreateIpAccessSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesWebClient(config);
|
|
33
|
+
* const input = { // CreateIpAccessSettingsRequest
|
|
34
|
+
* displayName: "STRING_VALUE",
|
|
35
|
+
* description: "STRING_VALUE",
|
|
36
|
+
* tags: [ // TagList
|
|
37
|
+
* { // Tag
|
|
38
|
+
* Key: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* customerManagedKey: "STRING_VALUE",
|
|
43
|
+
* additionalEncryptionContext: { // EncryptionContextMap
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ipRules: [ // IpRuleList // required
|
|
47
|
+
* { // IpRule
|
|
48
|
+
* ipRange: "STRING_VALUE", // required
|
|
49
|
+
* description: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* clientToken: "STRING_VALUE",
|
|
53
|
+
* };
|
|
54
|
+
* const command = new CreateIpAccessSettingsCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // CreateIpAccessSettingsResponse
|
|
57
|
+
* // ipAccessSettingsArn: "STRING_VALUE", // required
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param CreateIpAccessSettingsCommandInput - {@link CreateIpAccessSettingsCommandInput}
|
|
63
|
+
* @returns {@link CreateIpAccessSettingsCommandOutput}
|
|
64
|
+
* @see {@link CreateIpAccessSettingsCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link CreateIpAccessSettingsCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>Access is denied.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>There is a conflict.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>There is an internal server error.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
78
|
+
* <p>The service quota has been exceeded.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>There is a throttling error.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>There is a validation error.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link WorkSpacesWebServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
export declare class CreateIpAccessSettingsCommand extends $Command<CreateIpAccessSettingsCommandInput, CreateIpAccessSettingsCommandOutput, WorkSpacesWebClientResolvedConfig> {
|
|
91
|
+
readonly input: CreateIpAccessSettingsCommandInput;
|
|
92
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
constructor(input: CreateIpAccessSettingsCommandInput);
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesWebClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateIpAccessSettingsCommandInput, CreateIpAccessSettingsCommandOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private serialize;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private deserialize;
|
|
109
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DeleteIpAccessSettingsRequest, DeleteIpAccessSettingsResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesWebClientResolvedConfig } from "../WorkSpacesWebClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteIpAccessSettingsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteIpAccessSettingsCommandInput extends DeleteIpAccessSettingsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteIpAccessSettingsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteIpAccessSettingsCommandOutput extends DeleteIpAccessSettingsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes IP access settings.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesWebClient, DeleteIpAccessSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesWebClient, DeleteIpAccessSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesWebClient(config);
|
|
33
|
+
* const input = { // DeleteIpAccessSettingsRequest
|
|
34
|
+
* ipAccessSettingsArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DeleteIpAccessSettingsCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param DeleteIpAccessSettingsCommandInput - {@link DeleteIpAccessSettingsCommandInput}
|
|
43
|
+
* @returns {@link DeleteIpAccessSettingsCommandOutput}
|
|
44
|
+
* @see {@link DeleteIpAccessSettingsCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link DeleteIpAccessSettingsCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
49
|
+
* <p>Access is denied.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ConflictException} (client fault)
|
|
52
|
+
* <p>There is a conflict.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>There is an internal server error.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
58
|
+
* <p>There is a throttling error.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ValidationException} (client fault)
|
|
61
|
+
* <p>There is a validation error.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link WorkSpacesWebServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
export declare class DeleteIpAccessSettingsCommand extends $Command<DeleteIpAccessSettingsCommandInput, DeleteIpAccessSettingsCommandOutput, WorkSpacesWebClientResolvedConfig> {
|
|
68
|
+
readonly input: DeleteIpAccessSettingsCommandInput;
|
|
69
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
constructor(input: DeleteIpAccessSettingsCommandInput);
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesWebClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteIpAccessSettingsCommandInput, DeleteIpAccessSettingsCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private deserialize;
|
|
86
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DisassociateIpAccessSettingsRequest, DisassociateIpAccessSettingsResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesWebClientResolvedConfig } from "../WorkSpacesWebClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateIpAccessSettingsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateIpAccessSettingsCommandInput extends DisassociateIpAccessSettingsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateIpAccessSettingsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateIpAccessSettingsCommandOutput extends DisassociateIpAccessSettingsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Disassociates IP access settings from a web portal.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesWebClient, DisassociateIpAccessSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesWebClient, DisassociateIpAccessSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesWebClient(config);
|
|
33
|
+
* const input = { // DisassociateIpAccessSettingsRequest
|
|
34
|
+
* portalArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DisassociateIpAccessSettingsCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param DisassociateIpAccessSettingsCommandInput - {@link DisassociateIpAccessSettingsCommandInput}
|
|
43
|
+
* @returns {@link DisassociateIpAccessSettingsCommandOutput}
|
|
44
|
+
* @see {@link DisassociateIpAccessSettingsCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link DisassociateIpAccessSettingsCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
49
|
+
* <p>Access is denied.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InternalServerException} (server fault)
|
|
52
|
+
* <p>There is an internal server error.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
|
+
* <p>The resource cannot be found.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
58
|
+
* <p>There is a throttling error.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ValidationException} (client fault)
|
|
61
|
+
* <p>There is a validation error.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link WorkSpacesWebServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
export declare class DisassociateIpAccessSettingsCommand extends $Command<DisassociateIpAccessSettingsCommandInput, DisassociateIpAccessSettingsCommandOutput, WorkSpacesWebClientResolvedConfig> {
|
|
68
|
+
readonly input: DisassociateIpAccessSettingsCommandInput;
|
|
69
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
constructor(input: DisassociateIpAccessSettingsCommandInput);
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesWebClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateIpAccessSettingsCommandInput, DisassociateIpAccessSettingsCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private deserialize;
|
|
86
|
+
}
|