@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.
- package/README.md +55 -7
- package/dist-cjs/index.js +372 -24
- package/dist-es/WorkSpaces.js +12 -0
- package/dist-es/commands/AcceptAccountLinkInvitationCommand.js +24 -0
- package/dist-es/commands/CreateAccountLinkInvitationCommand.js +24 -0
- package/dist-es/commands/DeleteAccountLinkInvitationCommand.js +24 -0
- package/dist-es/commands/GetAccountLinkCommand.js +24 -0
- package/dist-es/commands/ListAccountLinksCommand.js +24 -0
- package/dist-es/commands/RejectAccountLinkInvitationCommand.js +24 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +60 -13
- package/dist-es/pagination/ListAccountLinksPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +154 -4
- package/dist-types/WorkSpaces.d.ts +44 -0
- package/dist-types/WorkSpacesClient.d.ts +8 -2
- package/dist-types/commands/AcceptAccountLinkInvitationCommand.d.ts +84 -0
- package/dist-types/commands/CreateAccountLinkInvitationCommand.d.ts +78 -0
- package/dist-types/commands/DeleteAccountLinkInvitationCommand.d.ts +81 -0
- package/dist-types/commands/DescribeAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetAccountLinkCommand.d.ts +78 -0
- package/dist-types/commands/ListAccountLinksCommand.d.ts +81 -0
- package/dist-types/commands/RejectAccountLinkInvitationCommand.d.ts +81 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +272 -17
- package/dist-types/pagination/ListAccountLinksPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +104 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/AcceptAccountLinkInvitationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateAccountLinkInvitationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteAccountLinkInvitationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAccountLinkCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAccountLinksCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RejectAccountLinkInvitationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -8
- package/dist-types/ts3.4/pagination/ListAccountLinksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { AcceptAccountLinkInvitationCommandInput, AcceptAccountLinkInvitationCommandOutput } from "./commands/AcceptAccountLinkInvitationCommand";
|
|
2
3
|
import { AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput } from "./commands/AssociateConnectionAliasCommand";
|
|
3
4
|
import { AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput } from "./commands/AssociateIpGroupsCommand";
|
|
4
5
|
import { AssociateWorkspaceApplicationCommandInput, AssociateWorkspaceApplicationCommandOutput } from "./commands/AssociateWorkspaceApplicationCommand";
|
|
5
6
|
import { AuthorizeIpRulesCommandInput, AuthorizeIpRulesCommandOutput } from "./commands/AuthorizeIpRulesCommand";
|
|
6
7
|
import { CopyWorkspaceImageCommandInput, CopyWorkspaceImageCommandOutput } from "./commands/CopyWorkspaceImageCommand";
|
|
8
|
+
import { CreateAccountLinkInvitationCommandInput, CreateAccountLinkInvitationCommandOutput } from "./commands/CreateAccountLinkInvitationCommand";
|
|
7
9
|
import { CreateConnectClientAddInCommandInput, CreateConnectClientAddInCommandOutput } from "./commands/CreateConnectClientAddInCommand";
|
|
8
10
|
import { CreateConnectionAliasCommandInput, CreateConnectionAliasCommandOutput } from "./commands/CreateConnectionAliasCommand";
|
|
9
11
|
import { CreateIpGroupCommandInput, CreateIpGroupCommandOutput } from "./commands/CreateIpGroupCommand";
|
|
@@ -13,6 +15,7 @@ import { CreateUpdatedWorkspaceImageCommandInput, CreateUpdatedWorkspaceImageCom
|
|
|
13
15
|
import { CreateWorkspaceBundleCommandInput, CreateWorkspaceBundleCommandOutput } from "./commands/CreateWorkspaceBundleCommand";
|
|
14
16
|
import { CreateWorkspaceImageCommandInput, CreateWorkspaceImageCommandOutput } from "./commands/CreateWorkspaceImageCommand";
|
|
15
17
|
import { CreateWorkspacesCommandInput, CreateWorkspacesCommandOutput } from "./commands/CreateWorkspacesCommand";
|
|
18
|
+
import { DeleteAccountLinkInvitationCommandInput, DeleteAccountLinkInvitationCommandOutput } from "./commands/DeleteAccountLinkInvitationCommand";
|
|
16
19
|
import { DeleteClientBrandingCommandInput, DeleteClientBrandingCommandOutput } from "./commands/DeleteClientBrandingCommand";
|
|
17
20
|
import { DeleteConnectClientAddInCommandInput, DeleteConnectClientAddInCommandOutput } from "./commands/DeleteConnectClientAddInCommand";
|
|
18
21
|
import { DeleteConnectionAliasCommandInput, DeleteConnectionAliasCommandOutput } from "./commands/DeleteConnectionAliasCommand";
|
|
@@ -46,8 +49,10 @@ import { DescribeWorkspaceSnapshotsCommandInput, DescribeWorkspaceSnapshotsComma
|
|
|
46
49
|
import { DisassociateConnectionAliasCommandInput, DisassociateConnectionAliasCommandOutput } from "./commands/DisassociateConnectionAliasCommand";
|
|
47
50
|
import { DisassociateIpGroupsCommandInput, DisassociateIpGroupsCommandOutput } from "./commands/DisassociateIpGroupsCommand";
|
|
48
51
|
import { DisassociateWorkspaceApplicationCommandInput, DisassociateWorkspaceApplicationCommandOutput } from "./commands/DisassociateWorkspaceApplicationCommand";
|
|
52
|
+
import { GetAccountLinkCommandInput, GetAccountLinkCommandOutput } from "./commands/GetAccountLinkCommand";
|
|
49
53
|
import { ImportClientBrandingCommandInput, ImportClientBrandingCommandOutput } from "./commands/ImportClientBrandingCommand";
|
|
50
54
|
import { ImportWorkspaceImageCommandInput, ImportWorkspaceImageCommandOutput } from "./commands/ImportWorkspaceImageCommand";
|
|
55
|
+
import { ListAccountLinksCommandInput, ListAccountLinksCommandOutput } from "./commands/ListAccountLinksCommand";
|
|
51
56
|
import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementCidrRangesCommandOutput } from "./commands/ListAvailableManagementCidrRangesCommand";
|
|
52
57
|
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "./commands/MigrateWorkspaceCommand";
|
|
53
58
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "./commands/ModifyAccountCommand";
|
|
@@ -62,6 +67,7 @@ import { ModifyWorkspaceStateCommandInput, ModifyWorkspaceStateCommandOutput } f
|
|
|
62
67
|
import { RebootWorkspacesCommandInput, RebootWorkspacesCommandOutput } from "./commands/RebootWorkspacesCommand";
|
|
63
68
|
import { RebuildWorkspacesCommandInput, RebuildWorkspacesCommandOutput } from "./commands/RebuildWorkspacesCommand";
|
|
64
69
|
import { RegisterWorkspaceDirectoryCommandInput, RegisterWorkspaceDirectoryCommandOutput } from "./commands/RegisterWorkspaceDirectoryCommand";
|
|
70
|
+
import { RejectAccountLinkInvitationCommandInput, RejectAccountLinkInvitationCommandOutput } from "./commands/RejectAccountLinkInvitationCommand";
|
|
65
71
|
import { RestoreWorkspaceCommandInput, RestoreWorkspaceCommandOutput } from "./commands/RestoreWorkspaceCommand";
|
|
66
72
|
import { RevokeIpRulesCommandInput, RevokeIpRulesCommandOutput } from "./commands/RevokeIpRulesCommand";
|
|
67
73
|
import { StartWorkspacesCommandInput, StartWorkspacesCommandOutput } from "./commands/StartWorkspacesCommand";
|
|
@@ -74,6 +80,12 @@ import { UpdateWorkspaceBundleCommandInput, UpdateWorkspaceBundleCommandOutput }
|
|
|
74
80
|
import { UpdateWorkspaceImagePermissionCommandInput, UpdateWorkspaceImagePermissionCommandOutput } from "./commands/UpdateWorkspaceImagePermissionCommand";
|
|
75
81
|
import { WorkSpacesClient } from "./WorkSpacesClient";
|
|
76
82
|
export interface WorkSpaces {
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link AcceptAccountLinkInvitationCommand}
|
|
85
|
+
*/
|
|
86
|
+
acceptAccountLinkInvitation(args: AcceptAccountLinkInvitationCommandInput, options?: __HttpHandlerOptions): Promise<AcceptAccountLinkInvitationCommandOutput>;
|
|
87
|
+
acceptAccountLinkInvitation(args: AcceptAccountLinkInvitationCommandInput, cb: (err: any, data?: AcceptAccountLinkInvitationCommandOutput) => void): void;
|
|
88
|
+
acceptAccountLinkInvitation(args: AcceptAccountLinkInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptAccountLinkInvitationCommandOutput) => void): void;
|
|
77
89
|
/**
|
|
78
90
|
* @see {@link AssociateConnectionAliasCommand}
|
|
79
91
|
*/
|
|
@@ -104,6 +116,12 @@ export interface WorkSpaces {
|
|
|
104
116
|
copyWorkspaceImage(args: CopyWorkspaceImageCommandInput, options?: __HttpHandlerOptions): Promise<CopyWorkspaceImageCommandOutput>;
|
|
105
117
|
copyWorkspaceImage(args: CopyWorkspaceImageCommandInput, cb: (err: any, data?: CopyWorkspaceImageCommandOutput) => void): void;
|
|
106
118
|
copyWorkspaceImage(args: CopyWorkspaceImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopyWorkspaceImageCommandOutput) => void): void;
|
|
119
|
+
/**
|
|
120
|
+
* @see {@link CreateAccountLinkInvitationCommand}
|
|
121
|
+
*/
|
|
122
|
+
createAccountLinkInvitation(args: CreateAccountLinkInvitationCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccountLinkInvitationCommandOutput>;
|
|
123
|
+
createAccountLinkInvitation(args: CreateAccountLinkInvitationCommandInput, cb: (err: any, data?: CreateAccountLinkInvitationCommandOutput) => void): void;
|
|
124
|
+
createAccountLinkInvitation(args: CreateAccountLinkInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccountLinkInvitationCommandOutput) => void): void;
|
|
107
125
|
/**
|
|
108
126
|
* @see {@link CreateConnectClientAddInCommand}
|
|
109
127
|
*/
|
|
@@ -158,6 +176,12 @@ export interface WorkSpaces {
|
|
|
158
176
|
createWorkspaces(args: CreateWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspacesCommandOutput>;
|
|
159
177
|
createWorkspaces(args: CreateWorkspacesCommandInput, cb: (err: any, data?: CreateWorkspacesCommandOutput) => void): void;
|
|
160
178
|
createWorkspaces(args: CreateWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspacesCommandOutput) => void): void;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link DeleteAccountLinkInvitationCommand}
|
|
181
|
+
*/
|
|
182
|
+
deleteAccountLinkInvitation(args: DeleteAccountLinkInvitationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccountLinkInvitationCommandOutput>;
|
|
183
|
+
deleteAccountLinkInvitation(args: DeleteAccountLinkInvitationCommandInput, cb: (err: any, data?: DeleteAccountLinkInvitationCommandOutput) => void): void;
|
|
184
|
+
deleteAccountLinkInvitation(args: DeleteAccountLinkInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccountLinkInvitationCommandOutput) => void): void;
|
|
161
185
|
/**
|
|
162
186
|
* @see {@link DeleteClientBrandingCommand}
|
|
163
187
|
*/
|
|
@@ -367,6 +391,13 @@ export interface WorkSpaces {
|
|
|
367
391
|
disassociateWorkspaceApplication(args: DisassociateWorkspaceApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateWorkspaceApplicationCommandOutput>;
|
|
368
392
|
disassociateWorkspaceApplication(args: DisassociateWorkspaceApplicationCommandInput, cb: (err: any, data?: DisassociateWorkspaceApplicationCommandOutput) => void): void;
|
|
369
393
|
disassociateWorkspaceApplication(args: DisassociateWorkspaceApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateWorkspaceApplicationCommandOutput) => void): void;
|
|
394
|
+
/**
|
|
395
|
+
* @see {@link GetAccountLinkCommand}
|
|
396
|
+
*/
|
|
397
|
+
getAccountLink(): Promise<GetAccountLinkCommandOutput>;
|
|
398
|
+
getAccountLink(args: GetAccountLinkCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountLinkCommandOutput>;
|
|
399
|
+
getAccountLink(args: GetAccountLinkCommandInput, cb: (err: any, data?: GetAccountLinkCommandOutput) => void): void;
|
|
400
|
+
getAccountLink(args: GetAccountLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountLinkCommandOutput) => void): void;
|
|
370
401
|
/**
|
|
371
402
|
* @see {@link ImportClientBrandingCommand}
|
|
372
403
|
*/
|
|
@@ -379,6 +410,13 @@ export interface WorkSpaces {
|
|
|
379
410
|
importWorkspaceImage(args: ImportWorkspaceImageCommandInput, options?: __HttpHandlerOptions): Promise<ImportWorkspaceImageCommandOutput>;
|
|
380
411
|
importWorkspaceImage(args: ImportWorkspaceImageCommandInput, cb: (err: any, data?: ImportWorkspaceImageCommandOutput) => void): void;
|
|
381
412
|
importWorkspaceImage(args: ImportWorkspaceImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportWorkspaceImageCommandOutput) => void): void;
|
|
413
|
+
/**
|
|
414
|
+
* @see {@link ListAccountLinksCommand}
|
|
415
|
+
*/
|
|
416
|
+
listAccountLinks(): Promise<ListAccountLinksCommandOutput>;
|
|
417
|
+
listAccountLinks(args: ListAccountLinksCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountLinksCommandOutput>;
|
|
418
|
+
listAccountLinks(args: ListAccountLinksCommandInput, cb: (err: any, data?: ListAccountLinksCommandOutput) => void): void;
|
|
419
|
+
listAccountLinks(args: ListAccountLinksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountLinksCommandOutput) => void): void;
|
|
382
420
|
/**
|
|
383
421
|
* @see {@link ListAvailableManagementCidrRangesCommand}
|
|
384
422
|
*/
|
|
@@ -464,6 +502,12 @@ export interface WorkSpaces {
|
|
|
464
502
|
registerWorkspaceDirectory(args: RegisterWorkspaceDirectoryCommandInput, options?: __HttpHandlerOptions): Promise<RegisterWorkspaceDirectoryCommandOutput>;
|
|
465
503
|
registerWorkspaceDirectory(args: RegisterWorkspaceDirectoryCommandInput, cb: (err: any, data?: RegisterWorkspaceDirectoryCommandOutput) => void): void;
|
|
466
504
|
registerWorkspaceDirectory(args: RegisterWorkspaceDirectoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterWorkspaceDirectoryCommandOutput) => void): void;
|
|
505
|
+
/**
|
|
506
|
+
* @see {@link RejectAccountLinkInvitationCommand}
|
|
507
|
+
*/
|
|
508
|
+
rejectAccountLinkInvitation(args: RejectAccountLinkInvitationCommandInput, options?: __HttpHandlerOptions): Promise<RejectAccountLinkInvitationCommandOutput>;
|
|
509
|
+
rejectAccountLinkInvitation(args: RejectAccountLinkInvitationCommandInput, cb: (err: any, data?: RejectAccountLinkInvitationCommandOutput) => void): void;
|
|
510
|
+
rejectAccountLinkInvitation(args: RejectAccountLinkInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectAccountLinkInvitationCommandOutput) => void): void;
|
|
467
511
|
/**
|
|
468
512
|
* @see {@link RestoreWorkspaceCommand}
|
|
469
513
|
*/
|
|
@@ -7,11 +7,13 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { AcceptAccountLinkInvitationCommandInput, AcceptAccountLinkInvitationCommandOutput } from "./commands/AcceptAccountLinkInvitationCommand";
|
|
10
11
|
import { AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput } from "./commands/AssociateConnectionAliasCommand";
|
|
11
12
|
import { AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput } from "./commands/AssociateIpGroupsCommand";
|
|
12
13
|
import { AssociateWorkspaceApplicationCommandInput, AssociateWorkspaceApplicationCommandOutput } from "./commands/AssociateWorkspaceApplicationCommand";
|
|
13
14
|
import { AuthorizeIpRulesCommandInput, AuthorizeIpRulesCommandOutput } from "./commands/AuthorizeIpRulesCommand";
|
|
14
15
|
import { CopyWorkspaceImageCommandInput, CopyWorkspaceImageCommandOutput } from "./commands/CopyWorkspaceImageCommand";
|
|
16
|
+
import { CreateAccountLinkInvitationCommandInput, CreateAccountLinkInvitationCommandOutput } from "./commands/CreateAccountLinkInvitationCommand";
|
|
15
17
|
import { CreateConnectClientAddInCommandInput, CreateConnectClientAddInCommandOutput } from "./commands/CreateConnectClientAddInCommand";
|
|
16
18
|
import { CreateConnectionAliasCommandInput, CreateConnectionAliasCommandOutput } from "./commands/CreateConnectionAliasCommand";
|
|
17
19
|
import { CreateIpGroupCommandInput, CreateIpGroupCommandOutput } from "./commands/CreateIpGroupCommand";
|
|
@@ -21,6 +23,7 @@ import { CreateUpdatedWorkspaceImageCommandInput, CreateUpdatedWorkspaceImageCom
|
|
|
21
23
|
import { CreateWorkspaceBundleCommandInput, CreateWorkspaceBundleCommandOutput } from "./commands/CreateWorkspaceBundleCommand";
|
|
22
24
|
import { CreateWorkspaceImageCommandInput, CreateWorkspaceImageCommandOutput } from "./commands/CreateWorkspaceImageCommand";
|
|
23
25
|
import { CreateWorkspacesCommandInput, CreateWorkspacesCommandOutput } from "./commands/CreateWorkspacesCommand";
|
|
26
|
+
import { DeleteAccountLinkInvitationCommandInput, DeleteAccountLinkInvitationCommandOutput } from "./commands/DeleteAccountLinkInvitationCommand";
|
|
24
27
|
import { DeleteClientBrandingCommandInput, DeleteClientBrandingCommandOutput } from "./commands/DeleteClientBrandingCommand";
|
|
25
28
|
import { DeleteConnectClientAddInCommandInput, DeleteConnectClientAddInCommandOutput } from "./commands/DeleteConnectClientAddInCommand";
|
|
26
29
|
import { DeleteConnectionAliasCommandInput, DeleteConnectionAliasCommandOutput } from "./commands/DeleteConnectionAliasCommand";
|
|
@@ -54,8 +57,10 @@ import { DescribeWorkspaceSnapshotsCommandInput, DescribeWorkspaceSnapshotsComma
|
|
|
54
57
|
import { DisassociateConnectionAliasCommandInput, DisassociateConnectionAliasCommandOutput } from "./commands/DisassociateConnectionAliasCommand";
|
|
55
58
|
import { DisassociateIpGroupsCommandInput, DisassociateIpGroupsCommandOutput } from "./commands/DisassociateIpGroupsCommand";
|
|
56
59
|
import { DisassociateWorkspaceApplicationCommandInput, DisassociateWorkspaceApplicationCommandOutput } from "./commands/DisassociateWorkspaceApplicationCommand";
|
|
60
|
+
import { GetAccountLinkCommandInput, GetAccountLinkCommandOutput } from "./commands/GetAccountLinkCommand";
|
|
57
61
|
import { ImportClientBrandingCommandInput, ImportClientBrandingCommandOutput } from "./commands/ImportClientBrandingCommand";
|
|
58
62
|
import { ImportWorkspaceImageCommandInput, ImportWorkspaceImageCommandOutput } from "./commands/ImportWorkspaceImageCommand";
|
|
63
|
+
import { ListAccountLinksCommandInput, ListAccountLinksCommandOutput } from "./commands/ListAccountLinksCommand";
|
|
59
64
|
import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementCidrRangesCommandOutput } from "./commands/ListAvailableManagementCidrRangesCommand";
|
|
60
65
|
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "./commands/MigrateWorkspaceCommand";
|
|
61
66
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "./commands/ModifyAccountCommand";
|
|
@@ -70,6 +75,7 @@ import { ModifyWorkspaceStateCommandInput, ModifyWorkspaceStateCommandOutput } f
|
|
|
70
75
|
import { RebootWorkspacesCommandInput, RebootWorkspacesCommandOutput } from "./commands/RebootWorkspacesCommand";
|
|
71
76
|
import { RebuildWorkspacesCommandInput, RebuildWorkspacesCommandOutput } from "./commands/RebuildWorkspacesCommand";
|
|
72
77
|
import { RegisterWorkspaceDirectoryCommandInput, RegisterWorkspaceDirectoryCommandOutput } from "./commands/RegisterWorkspaceDirectoryCommand";
|
|
78
|
+
import { RejectAccountLinkInvitationCommandInput, RejectAccountLinkInvitationCommandOutput } from "./commands/RejectAccountLinkInvitationCommand";
|
|
73
79
|
import { RestoreWorkspaceCommandInput, RestoreWorkspaceCommandOutput } from "./commands/RestoreWorkspaceCommand";
|
|
74
80
|
import { RevokeIpRulesCommandInput, RevokeIpRulesCommandOutput } from "./commands/RevokeIpRulesCommand";
|
|
75
81
|
import { StartWorkspacesCommandInput, StartWorkspacesCommandOutput } from "./commands/StartWorkspacesCommand";
|
|
@@ -86,11 +92,11 @@ export { __Client };
|
|
|
86
92
|
/**
|
|
87
93
|
* @public
|
|
88
94
|
*/
|
|
89
|
-
export type ServiceInputTypes = AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AssociateWorkspaceApplicationCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateStandbyWorkspacesCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspaceImageCommandInput | CreateWorkspacesCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeployWorkspaceApplicationsCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeApplicationAssociationsCommandInput | DescribeApplicationsCommandInput | DescribeBundleAssociationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeImageAssociationsCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceAssociationsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | DisassociateWorkspaceApplicationCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyCertificateBasedAuthPropertiesCommandInput | ModifyClientPropertiesCommandInput | ModifySamlPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StopWorkspacesCommandInput | TerminateWorkspacesCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput;
|
|
95
|
+
export type ServiceInputTypes = AcceptAccountLinkInvitationCommandInput | AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AssociateWorkspaceApplicationCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateAccountLinkInvitationCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateStandbyWorkspacesCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspaceImageCommandInput | CreateWorkspacesCommandInput | DeleteAccountLinkInvitationCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeployWorkspaceApplicationsCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeApplicationAssociationsCommandInput | DescribeApplicationsCommandInput | DescribeBundleAssociationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeImageAssociationsCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceAssociationsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | DisassociateWorkspaceApplicationCommandInput | GetAccountLinkCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAccountLinksCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyCertificateBasedAuthPropertiesCommandInput | ModifyClientPropertiesCommandInput | ModifySamlPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RejectAccountLinkInvitationCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StopWorkspacesCommandInput | TerminateWorkspacesCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput;
|
|
90
96
|
/**
|
|
91
97
|
* @public
|
|
92
98
|
*/
|
|
93
|
-
export type ServiceOutputTypes = AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AssociateWorkspaceApplicationCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateStandbyWorkspacesCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspaceImageCommandOutput | CreateWorkspacesCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeployWorkspaceApplicationsCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeApplicationAssociationsCommandOutput | DescribeApplicationsCommandOutput | DescribeBundleAssociationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeImageAssociationsCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceAssociationsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | DisassociateWorkspaceApplicationCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyCertificateBasedAuthPropertiesCommandOutput | ModifyClientPropertiesCommandOutput | ModifySamlPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StopWorkspacesCommandOutput | TerminateWorkspacesCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput;
|
|
99
|
+
export type ServiceOutputTypes = AcceptAccountLinkInvitationCommandOutput | AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AssociateWorkspaceApplicationCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateAccountLinkInvitationCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateStandbyWorkspacesCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspaceImageCommandOutput | CreateWorkspacesCommandOutput | DeleteAccountLinkInvitationCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeployWorkspaceApplicationsCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeApplicationAssociationsCommandOutput | DescribeApplicationsCommandOutput | DescribeBundleAssociationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeImageAssociationsCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceAssociationsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | DisassociateWorkspaceApplicationCommandOutput | GetAccountLinkCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAccountLinksCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyCertificateBasedAuthPropertiesCommandOutput | ModifyClientPropertiesCommandOutput | ModifySamlPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RejectAccountLinkInvitationCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StopWorkspacesCommandOutput | TerminateWorkspacesCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput;
|
|
94
100
|
/**
|
|
95
101
|
* @public
|
|
96
102
|
*/
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AcceptAccountLinkInvitationRequest, AcceptAccountLinkInvitationResult } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link AcceptAccountLinkInvitationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface AcceptAccountLinkInvitationCommandInput extends AcceptAccountLinkInvitationRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link AcceptAccountLinkInvitationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface AcceptAccountLinkInvitationCommandOutput extends AcceptAccountLinkInvitationResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const AcceptAccountLinkInvitationCommand_base: {
|
|
24
|
+
new (input: AcceptAccountLinkInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptAccountLinkInvitationCommandInput, AcceptAccountLinkInvitationCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: AcceptAccountLinkInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptAccountLinkInvitationCommandInput, AcceptAccountLinkInvitationCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Accepts the account link invitation.</p>
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>There's currently no unlinking capability after you accept the account linking invitation.</p>
|
|
32
|
+
* </important>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WorkSpacesClient, AcceptAccountLinkInvitationCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
37
|
+
* // const { WorkSpacesClient, AcceptAccountLinkInvitationCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
38
|
+
* const client = new WorkSpacesClient(config);
|
|
39
|
+
* const input = { // AcceptAccountLinkInvitationRequest
|
|
40
|
+
* LinkId: "STRING_VALUE", // required
|
|
41
|
+
* ClientToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new AcceptAccountLinkInvitationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // AcceptAccountLinkInvitationResult
|
|
46
|
+
* // AccountLink: { // AccountLink
|
|
47
|
+
* // AccountLinkId: "STRING_VALUE",
|
|
48
|
+
* // AccountLinkStatus: "LINKED" || "LINKING_FAILED" || "LINK_NOT_FOUND" || "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" || "REJECTED",
|
|
49
|
+
* // SourceAccountId: "STRING_VALUE",
|
|
50
|
+
* // TargetAccountId: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param AcceptAccountLinkInvitationCommandInput - {@link AcceptAccountLinkInvitationCommandInput}
|
|
57
|
+
* @returns {@link AcceptAccountLinkInvitationCommandOutput}
|
|
58
|
+
* @see {@link AcceptAccountLinkInvitationCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link AcceptAccountLinkInvitationCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* <p>The <code>TargetAccountId</code> is already linked or invited.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (client fault)
|
|
69
|
+
* <p>Unexpected server error occured.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The resource could not be found.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>You either haven't provided a <code>TargetAccountId</code> or
|
|
76
|
+
* are using the same value for <code>TargetAccountId</code> and <code>SourceAccountId</code>.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link WorkSpacesServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class AcceptAccountLinkInvitationCommand extends AcceptAccountLinkInvitationCommand_base {
|
|
84
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateAccountLinkInvitationRequest, CreateAccountLinkInvitationResult } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link CreateAccountLinkInvitationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface CreateAccountLinkInvitationCommandInput extends CreateAccountLinkInvitationRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link CreateAccountLinkInvitationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateAccountLinkInvitationCommandOutput extends CreateAccountLinkInvitationResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const CreateAccountLinkInvitationCommand_base: {
|
|
24
|
+
new (input: CreateAccountLinkInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAccountLinkInvitationCommandInput, CreateAccountLinkInvitationCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateAccountLinkInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAccountLinkInvitationCommandInput, CreateAccountLinkInvitationCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Creates the account link invitation.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { WorkSpacesClient, CreateAccountLinkInvitationCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
34
|
+
* // const { WorkSpacesClient, CreateAccountLinkInvitationCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
35
|
+
* const client = new WorkSpacesClient(config);
|
|
36
|
+
* const input = { // CreateAccountLinkInvitationRequest
|
|
37
|
+
* TargetAccountId: "STRING_VALUE", // required
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new CreateAccountLinkInvitationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // CreateAccountLinkInvitationResult
|
|
43
|
+
* // AccountLink: { // AccountLink
|
|
44
|
+
* // AccountLinkId: "STRING_VALUE",
|
|
45
|
+
* // AccountLinkStatus: "LINKED" || "LINKING_FAILED" || "LINK_NOT_FOUND" || "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" || "REJECTED",
|
|
46
|
+
* // SourceAccountId: "STRING_VALUE",
|
|
47
|
+
* // TargetAccountId: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param CreateAccountLinkInvitationCommandInput - {@link CreateAccountLinkInvitationCommandInput}
|
|
54
|
+
* @returns {@link CreateAccountLinkInvitationCommandOutput}
|
|
55
|
+
* @see {@link CreateAccountLinkInvitationCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link CreateAccountLinkInvitationCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>The <code>TargetAccountId</code> is already linked or invited.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (client fault)
|
|
66
|
+
* <p>Unexpected server error occured.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>You either haven't provided a <code>TargetAccountId</code> or
|
|
70
|
+
* are using the same value for <code>TargetAccountId</code> and <code>SourceAccountId</code>.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link WorkSpacesServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class CreateAccountLinkInvitationCommand extends CreateAccountLinkInvitationCommand_base {
|
|
78
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteAccountLinkInvitationRequest, DeleteAccountLinkInvitationResult } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeleteAccountLinkInvitationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeleteAccountLinkInvitationCommandInput extends DeleteAccountLinkInvitationRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeleteAccountLinkInvitationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteAccountLinkInvitationCommandOutput extends DeleteAccountLinkInvitationResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeleteAccountLinkInvitationCommand_base: {
|
|
24
|
+
new (input: DeleteAccountLinkInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAccountLinkInvitationCommandInput, DeleteAccountLinkInvitationCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteAccountLinkInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAccountLinkInvitationCommandInput, DeleteAccountLinkInvitationCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Deletes the account link invitation.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { WorkSpacesClient, DeleteAccountLinkInvitationCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
34
|
+
* // const { WorkSpacesClient, DeleteAccountLinkInvitationCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
35
|
+
* const client = new WorkSpacesClient(config);
|
|
36
|
+
* const input = { // DeleteAccountLinkInvitationRequest
|
|
37
|
+
* LinkId: "STRING_VALUE", // required
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteAccountLinkInvitationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DeleteAccountLinkInvitationResult
|
|
43
|
+
* // AccountLink: { // AccountLink
|
|
44
|
+
* // AccountLinkId: "STRING_VALUE",
|
|
45
|
+
* // AccountLinkStatus: "LINKED" || "LINKING_FAILED" || "LINK_NOT_FOUND" || "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" || "REJECTED",
|
|
46
|
+
* // SourceAccountId: "STRING_VALUE",
|
|
47
|
+
* // TargetAccountId: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param DeleteAccountLinkInvitationCommandInput - {@link DeleteAccountLinkInvitationCommandInput}
|
|
54
|
+
* @returns {@link DeleteAccountLinkInvitationCommandOutput}
|
|
55
|
+
* @see {@link DeleteAccountLinkInvitationCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link DeleteAccountLinkInvitationCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>The <code>TargetAccountId</code> is already linked or invited.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (client fault)
|
|
66
|
+
* <p>Unexpected server error occured.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The resource could not be found.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>You either haven't provided a <code>TargetAccountId</code> or
|
|
73
|
+
* are using the same value for <code>TargetAccountId</code> and <code>SourceAccountId</code>.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link WorkSpacesServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DeleteAccountLinkInvitationCommand extends DeleteAccountLinkInvitationCommand_base {
|
|
81
|
+
}
|
|
@@ -40,6 +40,7 @@ declare const DescribeAccountCommand_base: {
|
|
|
40
40
|
* // { // DescribeAccountResult
|
|
41
41
|
* // DedicatedTenancySupport: "ENABLED" || "DISABLED",
|
|
42
42
|
* // DedicatedTenancyManagementCidrRange: "STRING_VALUE",
|
|
43
|
+
* // DedicatedTenancyAccountType: "SOURCE_ACCOUNT" || "TARGET_ACCOUNT",
|
|
43
44
|
* // };
|
|
44
45
|
*
|
|
45
46
|
* ```
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetAccountLinkRequest, GetAccountLinkResult } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetAccountLinkCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetAccountLinkCommandInput extends GetAccountLinkRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetAccountLinkCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetAccountLinkCommandOutput extends GetAccountLinkResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetAccountLinkCommand_base: {
|
|
24
|
+
new (input: GetAccountLinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountLinkCommandInput, GetAccountLinkCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetAccountLinkCommandInput]): import("@smithy/smithy-client").CommandImpl<GetAccountLinkCommandInput, GetAccountLinkCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Retrieves account link information.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { WorkSpacesClient, GetAccountLinkCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
34
|
+
* // const { WorkSpacesClient, GetAccountLinkCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
35
|
+
* const client = new WorkSpacesClient(config);
|
|
36
|
+
* const input = { // GetAccountLinkRequest
|
|
37
|
+
* LinkId: "STRING_VALUE",
|
|
38
|
+
* LinkedAccountId: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetAccountLinkCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetAccountLinkResult
|
|
43
|
+
* // AccountLink: { // AccountLink
|
|
44
|
+
* // AccountLinkId: "STRING_VALUE",
|
|
45
|
+
* // AccountLinkStatus: "LINKED" || "LINKING_FAILED" || "LINK_NOT_FOUND" || "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" || "REJECTED",
|
|
46
|
+
* // SourceAccountId: "STRING_VALUE",
|
|
47
|
+
* // TargetAccountId: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param GetAccountLinkCommandInput - {@link GetAccountLinkCommandInput}
|
|
54
|
+
* @returns {@link GetAccountLinkCommandOutput}
|
|
55
|
+
* @see {@link GetAccountLinkCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link GetAccountLinkCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (client fault)
|
|
63
|
+
* <p>Unexpected server error occured.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The resource could not be found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>You either haven't provided a <code>TargetAccountId</code> or
|
|
70
|
+
* are using the same value for <code>TargetAccountId</code> and <code>SourceAccountId</code>.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link WorkSpacesServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class GetAccountLinkCommand extends GetAccountLinkCommand_base {
|
|
78
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListAccountLinksRequest, ListAccountLinksResult } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListAccountLinksCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListAccountLinksCommandInput extends ListAccountLinksRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListAccountLinksCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListAccountLinksCommandOutput extends ListAccountLinksResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListAccountLinksCommand_base: {
|
|
24
|
+
new (input: ListAccountLinksCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountLinksCommandInput, ListAccountLinksCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListAccountLinksCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAccountLinksCommandInput, ListAccountLinksCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Lists all account links.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { WorkSpacesClient, ListAccountLinksCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
34
|
+
* // const { WorkSpacesClient, ListAccountLinksCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
35
|
+
* const client = new WorkSpacesClient(config);
|
|
36
|
+
* const input = { // ListAccountLinksRequest
|
|
37
|
+
* LinkStatusFilter: [ // LinkStatusFilterList
|
|
38
|
+
* "LINKED" || "LINKING_FAILED" || "LINK_NOT_FOUND" || "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" || "REJECTED",
|
|
39
|
+
* ],
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* MaxResults: Number("int"),
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListAccountLinksCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListAccountLinksResult
|
|
46
|
+
* // AccountLinks: [ // AccountLinkList
|
|
47
|
+
* // { // AccountLink
|
|
48
|
+
* // AccountLinkId: "STRING_VALUE",
|
|
49
|
+
* // AccountLinkStatus: "LINKED" || "LINKING_FAILED" || "LINK_NOT_FOUND" || "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" || "REJECTED",
|
|
50
|
+
* // SourceAccountId: "STRING_VALUE",
|
|
51
|
+
* // TargetAccountId: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // NextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ListAccountLinksCommandInput - {@link ListAccountLinksCommandInput}
|
|
60
|
+
* @returns {@link ListAccountLinksCommandOutput}
|
|
61
|
+
* @see {@link ListAccountLinksCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ListAccountLinksCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (client fault)
|
|
69
|
+
* <p>Unexpected server error occured.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>You either haven't provided a <code>TargetAccountId</code> or
|
|
73
|
+
* are using the same value for <code>TargetAccountId</code> and <code>SourceAccountId</code>.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link WorkSpacesServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class ListAccountLinksCommand extends ListAccountLinksCommand_base {
|
|
81
|
+
}
|