@aws-sdk/client-workspaces 3.554.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 +4 -4
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { RejectAccountLinkInvitationRequest, RejectAccountLinkInvitationResult } 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 RejectAccountLinkInvitationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface RejectAccountLinkInvitationCommandInput extends RejectAccountLinkInvitationRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link RejectAccountLinkInvitationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface RejectAccountLinkInvitationCommandOutput extends RejectAccountLinkInvitationResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const RejectAccountLinkInvitationCommand_base: {
|
|
24
|
+
new (input: RejectAccountLinkInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<RejectAccountLinkInvitationCommandInput, RejectAccountLinkInvitationCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: RejectAccountLinkInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<RejectAccountLinkInvitationCommandInput, RejectAccountLinkInvitationCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Rejects 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, RejectAccountLinkInvitationCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
34
|
+
* // const { WorkSpacesClient, RejectAccountLinkInvitationCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
35
|
+
* const client = new WorkSpacesClient(config);
|
|
36
|
+
* const input = { // RejectAccountLinkInvitationRequest
|
|
37
|
+
* LinkId: "STRING_VALUE", // required
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new RejectAccountLinkInvitationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // RejectAccountLinkInvitationResult
|
|
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 RejectAccountLinkInvitationCommandInput - {@link RejectAccountLinkInvitationCommandInput}
|
|
54
|
+
* @returns {@link RejectAccountLinkInvitationCommandOutput}
|
|
55
|
+
* @see {@link RejectAccountLinkInvitationCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link RejectAccountLinkInvitationCommandOutput} 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 RejectAccountLinkInvitationCommand extends RejectAccountLinkInvitationCommand_base {
|
|
81
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
export * from "./AcceptAccountLinkInvitationCommand";
|
|
1
2
|
export * from "./AssociateConnectionAliasCommand";
|
|
2
3
|
export * from "./AssociateIpGroupsCommand";
|
|
3
4
|
export * from "./AssociateWorkspaceApplicationCommand";
|
|
4
5
|
export * from "./AuthorizeIpRulesCommand";
|
|
5
6
|
export * from "./CopyWorkspaceImageCommand";
|
|
7
|
+
export * from "./CreateAccountLinkInvitationCommand";
|
|
6
8
|
export * from "./CreateConnectClientAddInCommand";
|
|
7
9
|
export * from "./CreateConnectionAliasCommand";
|
|
8
10
|
export * from "./CreateIpGroupCommand";
|
|
@@ -12,6 +14,7 @@ export * from "./CreateUpdatedWorkspaceImageCommand";
|
|
|
12
14
|
export * from "./CreateWorkspaceBundleCommand";
|
|
13
15
|
export * from "./CreateWorkspaceImageCommand";
|
|
14
16
|
export * from "./CreateWorkspacesCommand";
|
|
17
|
+
export * from "./DeleteAccountLinkInvitationCommand";
|
|
15
18
|
export * from "./DeleteClientBrandingCommand";
|
|
16
19
|
export * from "./DeleteConnectClientAddInCommand";
|
|
17
20
|
export * from "./DeleteConnectionAliasCommand";
|
|
@@ -45,8 +48,10 @@ export * from "./DescribeWorkspacesConnectionStatusCommand";
|
|
|
45
48
|
export * from "./DisassociateConnectionAliasCommand";
|
|
46
49
|
export * from "./DisassociateIpGroupsCommand";
|
|
47
50
|
export * from "./DisassociateWorkspaceApplicationCommand";
|
|
51
|
+
export * from "./GetAccountLinkCommand";
|
|
48
52
|
export * from "./ImportClientBrandingCommand";
|
|
49
53
|
export * from "./ImportWorkspaceImageCommand";
|
|
54
|
+
export * from "./ListAccountLinksCommand";
|
|
50
55
|
export * from "./ListAvailableManagementCidrRangesCommand";
|
|
51
56
|
export * from "./MigrateWorkspaceCommand";
|
|
52
57
|
export * from "./ModifyAccountCommand";
|
|
@@ -61,6 +66,7 @@ export * from "./ModifyWorkspaceStateCommand";
|
|
|
61
66
|
export * from "./RebootWorkspacesCommand";
|
|
62
67
|
export * from "./RebuildWorkspacesCommand";
|
|
63
68
|
export * from "./RegisterWorkspaceDirectoryCommand";
|
|
69
|
+
export * from "./RejectAccountLinkInvitationCommand";
|
|
64
70
|
export * from "./RestoreWorkspaceCommand";
|
|
65
71
|
export * from "./RevokeIpRulesCommand";
|
|
66
72
|
export * from "./StartWorkspacesCommand";
|
|
@@ -1,5 +1,71 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface AcceptAccountLinkInvitationRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The identifier of the account link.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
LinkId: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
ClientToken?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
* @enum
|
|
21
|
+
*/
|
|
22
|
+
export declare const AccountLinkStatusEnum: {
|
|
23
|
+
readonly LINKED: "LINKED";
|
|
24
|
+
readonly LINKING_FAILED: "LINKING_FAILED";
|
|
25
|
+
readonly LINK_NOT_FOUND: "LINK_NOT_FOUND";
|
|
26
|
+
readonly PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT: "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT";
|
|
27
|
+
readonly REJECTED: "REJECTED";
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export type AccountLinkStatusEnum = (typeof AccountLinkStatusEnum)[keyof typeof AccountLinkStatusEnum];
|
|
33
|
+
/**
|
|
34
|
+
* <p>Information about about the account link.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export interface AccountLink {
|
|
38
|
+
/**
|
|
39
|
+
* <p>The identifier of the account link.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
AccountLinkId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The status of the account link.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
AccountLinkStatus?: AccountLinkStatusEnum;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The identifier of the source account.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
SourceAccountId?: string;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The identifier of the target account.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
TargetAccountId?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export interface AcceptAccountLinkInvitationResult {
|
|
63
|
+
/**
|
|
64
|
+
* <p>Information about the account link.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
AccountLink?: AccountLink;
|
|
68
|
+
}
|
|
3
69
|
/**
|
|
4
70
|
* <p>The user is not authorized to access a resource.</p>
|
|
5
71
|
* @public
|
|
@@ -12,6 +78,60 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
12
78
|
*/
|
|
13
79
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* <p>The <code>TargetAccountId</code> is already linked or invited.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class ConflictException extends __BaseException {
|
|
86
|
+
readonly name: "ConflictException";
|
|
87
|
+
readonly $fault: "client";
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* <p>Unexpected server error occured.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class InternalServerException extends __BaseException {
|
|
98
|
+
readonly name: "InternalServerException";
|
|
99
|
+
readonly $fault: "client";
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* <p>The resource could not be found.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
110
|
+
readonly name: "ResourceNotFoundException";
|
|
111
|
+
readonly $fault: "client";
|
|
112
|
+
/**
|
|
113
|
+
* <p>The ID of the resource that could not be found.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
ResourceId?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* <p>You either haven't provided a <code>TargetAccountId</code> or
|
|
124
|
+
* are using the same value for <code>TargetAccountId</code> and <code>SourceAccountId</code>.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export declare class ValidationException extends __BaseException {
|
|
128
|
+
readonly name: "ValidationException";
|
|
129
|
+
readonly $fault: "client";
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
134
|
+
}
|
|
15
135
|
/**
|
|
16
136
|
* @public
|
|
17
137
|
* @enum
|
|
@@ -295,23 +415,6 @@ export declare class ResourceAssociatedException extends __BaseException {
|
|
|
295
415
|
*/
|
|
296
416
|
constructor(opts: __ExceptionOptionType<ResourceAssociatedException, __BaseException>);
|
|
297
417
|
}
|
|
298
|
-
/**
|
|
299
|
-
* <p>The resource could not be found.</p>
|
|
300
|
-
* @public
|
|
301
|
-
*/
|
|
302
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
303
|
-
readonly name: "ResourceNotFoundException";
|
|
304
|
-
readonly $fault: "client";
|
|
305
|
-
/**
|
|
306
|
-
* <p>The ID of the resource that could not be found.</p>
|
|
307
|
-
* @public
|
|
308
|
-
*/
|
|
309
|
-
ResourceId?: string;
|
|
310
|
-
/**
|
|
311
|
-
* @internal
|
|
312
|
-
*/
|
|
313
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
314
|
-
}
|
|
315
418
|
/**
|
|
316
419
|
* @public
|
|
317
420
|
*/
|
|
@@ -1050,6 +1153,31 @@ export declare class ResourceUnavailableException extends __BaseException {
|
|
|
1050
1153
|
*/
|
|
1051
1154
|
constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
|
|
1052
1155
|
}
|
|
1156
|
+
/**
|
|
1157
|
+
* @public
|
|
1158
|
+
*/
|
|
1159
|
+
export interface CreateAccountLinkInvitationRequest {
|
|
1160
|
+
/**
|
|
1161
|
+
* <p>The identifier of the target account.</p>
|
|
1162
|
+
* @public
|
|
1163
|
+
*/
|
|
1164
|
+
TargetAccountId: string | undefined;
|
|
1165
|
+
/**
|
|
1166
|
+
* <p>A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.</p>
|
|
1167
|
+
* @public
|
|
1168
|
+
*/
|
|
1169
|
+
ClientToken?: string;
|
|
1170
|
+
}
|
|
1171
|
+
/**
|
|
1172
|
+
* @public
|
|
1173
|
+
*/
|
|
1174
|
+
export interface CreateAccountLinkInvitationResult {
|
|
1175
|
+
/**
|
|
1176
|
+
* <p>Information about the account link.</p>
|
|
1177
|
+
* @public
|
|
1178
|
+
*/
|
|
1179
|
+
AccountLink?: AccountLink;
|
|
1180
|
+
}
|
|
1053
1181
|
/**
|
|
1054
1182
|
* @public
|
|
1055
1183
|
*/
|
|
@@ -2070,6 +2198,18 @@ export interface CreateWorkspacesResult {
|
|
|
2070
2198
|
*/
|
|
2071
2199
|
PendingRequests?: Workspace[];
|
|
2072
2200
|
}
|
|
2201
|
+
/**
|
|
2202
|
+
* @public
|
|
2203
|
+
* @enum
|
|
2204
|
+
*/
|
|
2205
|
+
export declare const DedicatedTenancyAccountType: {
|
|
2206
|
+
readonly SOURCE_ACCOUNT: "SOURCE_ACCOUNT";
|
|
2207
|
+
readonly TARGET_ACCOUNT: "TARGET_ACCOUNT";
|
|
2208
|
+
};
|
|
2209
|
+
/**
|
|
2210
|
+
* @public
|
|
2211
|
+
*/
|
|
2212
|
+
export type DedicatedTenancyAccountType = (typeof DedicatedTenancyAccountType)[keyof typeof DedicatedTenancyAccountType];
|
|
2073
2213
|
/**
|
|
2074
2214
|
* @public
|
|
2075
2215
|
* @enum
|
|
@@ -2284,6 +2424,31 @@ export declare const DeletableSamlProperty: {
|
|
|
2284
2424
|
* @public
|
|
2285
2425
|
*/
|
|
2286
2426
|
export type DeletableSamlProperty = (typeof DeletableSamlProperty)[keyof typeof DeletableSamlProperty];
|
|
2427
|
+
/**
|
|
2428
|
+
* @public
|
|
2429
|
+
*/
|
|
2430
|
+
export interface DeleteAccountLinkInvitationRequest {
|
|
2431
|
+
/**
|
|
2432
|
+
* <p>The identifier of the account link.</p>
|
|
2433
|
+
* @public
|
|
2434
|
+
*/
|
|
2435
|
+
LinkId: string | undefined;
|
|
2436
|
+
/**
|
|
2437
|
+
* <p>A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.</p>
|
|
2438
|
+
* @public
|
|
2439
|
+
*/
|
|
2440
|
+
ClientToken?: string;
|
|
2441
|
+
}
|
|
2442
|
+
/**
|
|
2443
|
+
* @public
|
|
2444
|
+
*/
|
|
2445
|
+
export interface DeleteAccountLinkInvitationResult {
|
|
2446
|
+
/**
|
|
2447
|
+
* <p>Information about the account link.</p>
|
|
2448
|
+
* @public
|
|
2449
|
+
*/
|
|
2450
|
+
AccountLink?: AccountLink;
|
|
2451
|
+
}
|
|
2287
2452
|
/**
|
|
2288
2453
|
* @public
|
|
2289
2454
|
*/
|
|
@@ -2484,6 +2649,11 @@ export interface DescribeAccountResult {
|
|
|
2484
2649
|
* @public
|
|
2485
2650
|
*/
|
|
2486
2651
|
DedicatedTenancyManagementCidrRange?: string;
|
|
2652
|
+
/**
|
|
2653
|
+
* <p>The type of linked account.</p>
|
|
2654
|
+
* @public
|
|
2655
|
+
*/
|
|
2656
|
+
DedicatedTenancyAccountType?: DedicatedTenancyAccountType;
|
|
2487
2657
|
}
|
|
2488
2658
|
/**
|
|
2489
2659
|
* @public
|
|
@@ -4037,6 +4207,31 @@ export interface FailedWorkspaceChangeRequest {
|
|
|
4037
4207
|
*/
|
|
4038
4208
|
ErrorMessage?: string;
|
|
4039
4209
|
}
|
|
4210
|
+
/**
|
|
4211
|
+
* @public
|
|
4212
|
+
*/
|
|
4213
|
+
export interface GetAccountLinkRequest {
|
|
4214
|
+
/**
|
|
4215
|
+
* <p>The identifier of the account to link.</p>
|
|
4216
|
+
* @public
|
|
4217
|
+
*/
|
|
4218
|
+
LinkId?: string;
|
|
4219
|
+
/**
|
|
4220
|
+
* <p>The identifier of the account link</p>
|
|
4221
|
+
* @public
|
|
4222
|
+
*/
|
|
4223
|
+
LinkedAccountId?: string;
|
|
4224
|
+
}
|
|
4225
|
+
/**
|
|
4226
|
+
* @public
|
|
4227
|
+
*/
|
|
4228
|
+
export interface GetAccountLinkResult {
|
|
4229
|
+
/**
|
|
4230
|
+
* <p>The account link of the account link to retrieve.</p>
|
|
4231
|
+
* @public
|
|
4232
|
+
*/
|
|
4233
|
+
AccountLink?: AccountLink;
|
|
4234
|
+
}
|
|
4040
4235
|
/**
|
|
4041
4236
|
* <p>The client branding attributes to import for iOS device types. These attributes are
|
|
4042
4237
|
* displayed on the iOS client login screen.</p>
|
|
@@ -4289,6 +4484,41 @@ export interface ImportWorkspaceImageResult {
|
|
|
4289
4484
|
*/
|
|
4290
4485
|
ImageId?: string;
|
|
4291
4486
|
}
|
|
4487
|
+
/**
|
|
4488
|
+
* @public
|
|
4489
|
+
*/
|
|
4490
|
+
export interface ListAccountLinksRequest {
|
|
4491
|
+
/**
|
|
4492
|
+
* <p>Filters the account based on their link status.</p>
|
|
4493
|
+
* @public
|
|
4494
|
+
*/
|
|
4495
|
+
LinkStatusFilter?: AccountLinkStatusEnum[];
|
|
4496
|
+
/**
|
|
4497
|
+
* <p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>
|
|
4498
|
+
* @public
|
|
4499
|
+
*/
|
|
4500
|
+
NextToken?: string;
|
|
4501
|
+
/**
|
|
4502
|
+
* <p>The maximum number of accounts to return.</p>
|
|
4503
|
+
* @public
|
|
4504
|
+
*/
|
|
4505
|
+
MaxResults?: number;
|
|
4506
|
+
}
|
|
4507
|
+
/**
|
|
4508
|
+
* @public
|
|
4509
|
+
*/
|
|
4510
|
+
export interface ListAccountLinksResult {
|
|
4511
|
+
/**
|
|
4512
|
+
* <p>Information about the account links.</p>
|
|
4513
|
+
* @public
|
|
4514
|
+
*/
|
|
4515
|
+
AccountLinks?: AccountLink[];
|
|
4516
|
+
/**
|
|
4517
|
+
* <p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>
|
|
4518
|
+
* @public
|
|
4519
|
+
*/
|
|
4520
|
+
NextToken?: string;
|
|
4521
|
+
}
|
|
4292
4522
|
/**
|
|
4293
4523
|
* @public
|
|
4294
4524
|
*/
|
|
@@ -4822,6 +5052,31 @@ export declare class WorkspacesDefaultRoleNotFoundException extends __BaseExcept
|
|
|
4822
5052
|
*/
|
|
4823
5053
|
constructor(opts: __ExceptionOptionType<WorkspacesDefaultRoleNotFoundException, __BaseException>);
|
|
4824
5054
|
}
|
|
5055
|
+
/**
|
|
5056
|
+
* @public
|
|
5057
|
+
*/
|
|
5058
|
+
export interface RejectAccountLinkInvitationRequest {
|
|
5059
|
+
/**
|
|
5060
|
+
* <p>The identifier of the account link</p>
|
|
5061
|
+
* @public
|
|
5062
|
+
*/
|
|
5063
|
+
LinkId: string | undefined;
|
|
5064
|
+
/**
|
|
5065
|
+
* <p>The client token of the account link invitation to reject.</p>
|
|
5066
|
+
* @public
|
|
5067
|
+
*/
|
|
5068
|
+
ClientToken?: string;
|
|
5069
|
+
}
|
|
5070
|
+
/**
|
|
5071
|
+
* @public
|
|
5072
|
+
*/
|
|
5073
|
+
export interface RejectAccountLinkInvitationResult {
|
|
5074
|
+
/**
|
|
5075
|
+
* <p>Information about the account link.</p>
|
|
5076
|
+
* @public
|
|
5077
|
+
*/
|
|
5078
|
+
AccountLink?: AccountLink;
|
|
5079
|
+
}
|
|
4825
5080
|
/**
|
|
4826
5081
|
* @public
|
|
4827
5082
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAccountLinksCommandInput, ListAccountLinksCommandOutput } from "../commands/ListAccountLinksCommand";
|
|
3
|
+
import { WorkSpacesPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListAccountLinks: (config: WorkSpacesPaginationConfiguration, input: ListAccountLinksCommandInput, ...rest: any[]) => Paginator<ListAccountLinksCommandOutput>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
+
import { AcceptAccountLinkInvitationCommandInput, AcceptAccountLinkInvitationCommandOutput } from "../commands/AcceptAccountLinkInvitationCommand";
|
|
3
4
|
import { AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput } from "../commands/AssociateConnectionAliasCommand";
|
|
4
5
|
import { AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput } from "../commands/AssociateIpGroupsCommand";
|
|
5
6
|
import { AssociateWorkspaceApplicationCommandInput, AssociateWorkspaceApplicationCommandOutput } from "../commands/AssociateWorkspaceApplicationCommand";
|
|
6
7
|
import { AuthorizeIpRulesCommandInput, AuthorizeIpRulesCommandOutput } from "../commands/AuthorizeIpRulesCommand";
|
|
7
8
|
import { CopyWorkspaceImageCommandInput, CopyWorkspaceImageCommandOutput } from "../commands/CopyWorkspaceImageCommand";
|
|
9
|
+
import { CreateAccountLinkInvitationCommandInput, CreateAccountLinkInvitationCommandOutput } from "../commands/CreateAccountLinkInvitationCommand";
|
|
8
10
|
import { CreateConnectClientAddInCommandInput, CreateConnectClientAddInCommandOutput } from "../commands/CreateConnectClientAddInCommand";
|
|
9
11
|
import { CreateConnectionAliasCommandInput, CreateConnectionAliasCommandOutput } from "../commands/CreateConnectionAliasCommand";
|
|
10
12
|
import { CreateIpGroupCommandInput, CreateIpGroupCommandOutput } from "../commands/CreateIpGroupCommand";
|
|
@@ -14,6 +16,7 @@ import { CreateUpdatedWorkspaceImageCommandInput, CreateUpdatedWorkspaceImageCom
|
|
|
14
16
|
import { CreateWorkspaceBundleCommandInput, CreateWorkspaceBundleCommandOutput } from "../commands/CreateWorkspaceBundleCommand";
|
|
15
17
|
import { CreateWorkspaceImageCommandInput, CreateWorkspaceImageCommandOutput } from "../commands/CreateWorkspaceImageCommand";
|
|
16
18
|
import { CreateWorkspacesCommandInput, CreateWorkspacesCommandOutput } from "../commands/CreateWorkspacesCommand";
|
|
19
|
+
import { DeleteAccountLinkInvitationCommandInput, DeleteAccountLinkInvitationCommandOutput } from "../commands/DeleteAccountLinkInvitationCommand";
|
|
17
20
|
import { DeleteClientBrandingCommandInput, DeleteClientBrandingCommandOutput } from "../commands/DeleteClientBrandingCommand";
|
|
18
21
|
import { DeleteConnectClientAddInCommandInput, DeleteConnectClientAddInCommandOutput } from "../commands/DeleteConnectClientAddInCommand";
|
|
19
22
|
import { DeleteConnectionAliasCommandInput, DeleteConnectionAliasCommandOutput } from "../commands/DeleteConnectionAliasCommand";
|
|
@@ -47,8 +50,10 @@ import { DescribeWorkspaceSnapshotsCommandInput, DescribeWorkspaceSnapshotsComma
|
|
|
47
50
|
import { DisassociateConnectionAliasCommandInput, DisassociateConnectionAliasCommandOutput } from "../commands/DisassociateConnectionAliasCommand";
|
|
48
51
|
import { DisassociateIpGroupsCommandInput, DisassociateIpGroupsCommandOutput } from "../commands/DisassociateIpGroupsCommand";
|
|
49
52
|
import { DisassociateWorkspaceApplicationCommandInput, DisassociateWorkspaceApplicationCommandOutput } from "../commands/DisassociateWorkspaceApplicationCommand";
|
|
53
|
+
import { GetAccountLinkCommandInput, GetAccountLinkCommandOutput } from "../commands/GetAccountLinkCommand";
|
|
50
54
|
import { ImportClientBrandingCommandInput, ImportClientBrandingCommandOutput } from "../commands/ImportClientBrandingCommand";
|
|
51
55
|
import { ImportWorkspaceImageCommandInput, ImportWorkspaceImageCommandOutput } from "../commands/ImportWorkspaceImageCommand";
|
|
56
|
+
import { ListAccountLinksCommandInput, ListAccountLinksCommandOutput } from "../commands/ListAccountLinksCommand";
|
|
52
57
|
import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementCidrRangesCommandOutput } from "../commands/ListAvailableManagementCidrRangesCommand";
|
|
53
58
|
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "../commands/MigrateWorkspaceCommand";
|
|
54
59
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "../commands/ModifyAccountCommand";
|
|
@@ -63,6 +68,7 @@ import { ModifyWorkspaceStateCommandInput, ModifyWorkspaceStateCommandOutput } f
|
|
|
63
68
|
import { RebootWorkspacesCommandInput, RebootWorkspacesCommandOutput } from "../commands/RebootWorkspacesCommand";
|
|
64
69
|
import { RebuildWorkspacesCommandInput, RebuildWorkspacesCommandOutput } from "../commands/RebuildWorkspacesCommand";
|
|
65
70
|
import { RegisterWorkspaceDirectoryCommandInput, RegisterWorkspaceDirectoryCommandOutput } from "../commands/RegisterWorkspaceDirectoryCommand";
|
|
71
|
+
import { RejectAccountLinkInvitationCommandInput, RejectAccountLinkInvitationCommandOutput } from "../commands/RejectAccountLinkInvitationCommand";
|
|
66
72
|
import { RestoreWorkspaceCommandInput, RestoreWorkspaceCommandOutput } from "../commands/RestoreWorkspaceCommand";
|
|
67
73
|
import { RevokeIpRulesCommandInput, RevokeIpRulesCommandOutput } from "../commands/RevokeIpRulesCommand";
|
|
68
74
|
import { StartWorkspacesCommandInput, StartWorkspacesCommandOutput } from "../commands/StartWorkspacesCommand";
|
|
@@ -73,6 +79,10 @@ import { UpdateConnectionAliasPermissionCommandInput, UpdateConnectionAliasPermi
|
|
|
73
79
|
import { UpdateRulesOfIpGroupCommandInput, UpdateRulesOfIpGroupCommandOutput } from "../commands/UpdateRulesOfIpGroupCommand";
|
|
74
80
|
import { UpdateWorkspaceBundleCommandInput, UpdateWorkspaceBundleCommandOutput } from "../commands/UpdateWorkspaceBundleCommand";
|
|
75
81
|
import { UpdateWorkspaceImagePermissionCommandInput, UpdateWorkspaceImagePermissionCommandOutput } from "../commands/UpdateWorkspaceImagePermissionCommand";
|
|
82
|
+
/**
|
|
83
|
+
* serializeAws_json1_1AcceptAccountLinkInvitationCommand
|
|
84
|
+
*/
|
|
85
|
+
export declare const se_AcceptAccountLinkInvitationCommand: (input: AcceptAccountLinkInvitationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
76
86
|
/**
|
|
77
87
|
* serializeAws_json1_1AssociateConnectionAliasCommand
|
|
78
88
|
*/
|
|
@@ -93,6 +103,10 @@ export declare const se_AuthorizeIpRulesCommand: (input: AuthorizeIpRulesCommand
|
|
|
93
103
|
* serializeAws_json1_1CopyWorkspaceImageCommand
|
|
94
104
|
*/
|
|
95
105
|
export declare const se_CopyWorkspaceImageCommand: (input: CopyWorkspaceImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
106
|
+
/**
|
|
107
|
+
* serializeAws_json1_1CreateAccountLinkInvitationCommand
|
|
108
|
+
*/
|
|
109
|
+
export declare const se_CreateAccountLinkInvitationCommand: (input: CreateAccountLinkInvitationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
110
|
/**
|
|
97
111
|
* serializeAws_json1_1CreateConnectClientAddInCommand
|
|
98
112
|
*/
|
|
@@ -129,6 +143,10 @@ export declare const se_CreateWorkspaceImageCommand: (input: CreateWorkspaceImag
|
|
|
129
143
|
* serializeAws_json1_1CreateWorkspacesCommand
|
|
130
144
|
*/
|
|
131
145
|
export declare const se_CreateWorkspacesCommand: (input: CreateWorkspacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
146
|
+
/**
|
|
147
|
+
* serializeAws_json1_1DeleteAccountLinkInvitationCommand
|
|
148
|
+
*/
|
|
149
|
+
export declare const se_DeleteAccountLinkInvitationCommand: (input: DeleteAccountLinkInvitationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
132
150
|
/**
|
|
133
151
|
* serializeAws_json1_1DeleteClientBrandingCommand
|
|
134
152
|
*/
|
|
@@ -261,6 +279,10 @@ export declare const se_DisassociateIpGroupsCommand: (input: DisassociateIpGroup
|
|
|
261
279
|
* serializeAws_json1_1DisassociateWorkspaceApplicationCommand
|
|
262
280
|
*/
|
|
263
281
|
export declare const se_DisassociateWorkspaceApplicationCommand: (input: DisassociateWorkspaceApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
282
|
+
/**
|
|
283
|
+
* serializeAws_json1_1GetAccountLinkCommand
|
|
284
|
+
*/
|
|
285
|
+
export declare const se_GetAccountLinkCommand: (input: GetAccountLinkCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
264
286
|
/**
|
|
265
287
|
* serializeAws_json1_1ImportClientBrandingCommand
|
|
266
288
|
*/
|
|
@@ -269,6 +291,10 @@ export declare const se_ImportClientBrandingCommand: (input: ImportClientBrandin
|
|
|
269
291
|
* serializeAws_json1_1ImportWorkspaceImageCommand
|
|
270
292
|
*/
|
|
271
293
|
export declare const se_ImportWorkspaceImageCommand: (input: ImportWorkspaceImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
294
|
+
/**
|
|
295
|
+
* serializeAws_json1_1ListAccountLinksCommand
|
|
296
|
+
*/
|
|
297
|
+
export declare const se_ListAccountLinksCommand: (input: ListAccountLinksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
272
298
|
/**
|
|
273
299
|
* serializeAws_json1_1ListAvailableManagementCidrRangesCommand
|
|
274
300
|
*/
|
|
@@ -325,6 +351,10 @@ export declare const se_RebuildWorkspacesCommand: (input: RebuildWorkspacesComma
|
|
|
325
351
|
* serializeAws_json1_1RegisterWorkspaceDirectoryCommand
|
|
326
352
|
*/
|
|
327
353
|
export declare const se_RegisterWorkspaceDirectoryCommand: (input: RegisterWorkspaceDirectoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
354
|
+
/**
|
|
355
|
+
* serializeAws_json1_1RejectAccountLinkInvitationCommand
|
|
356
|
+
*/
|
|
357
|
+
export declare const se_RejectAccountLinkInvitationCommand: (input: RejectAccountLinkInvitationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
328
358
|
/**
|
|
329
359
|
* serializeAws_json1_1RestoreWorkspaceCommand
|
|
330
360
|
*/
|
|
@@ -365,6 +395,10 @@ export declare const se_UpdateWorkspaceBundleCommand: (input: UpdateWorkspaceBun
|
|
|
365
395
|
* serializeAws_json1_1UpdateWorkspaceImagePermissionCommand
|
|
366
396
|
*/
|
|
367
397
|
export declare const se_UpdateWorkspaceImagePermissionCommand: (input: UpdateWorkspaceImagePermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
398
|
+
/**
|
|
399
|
+
* deserializeAws_json1_1AcceptAccountLinkInvitationCommand
|
|
400
|
+
*/
|
|
401
|
+
export declare const de_AcceptAccountLinkInvitationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AcceptAccountLinkInvitationCommandOutput>;
|
|
368
402
|
/**
|
|
369
403
|
* deserializeAws_json1_1AssociateConnectionAliasCommand
|
|
370
404
|
*/
|
|
@@ -385,6 +419,10 @@ export declare const de_AuthorizeIpRulesCommand: (output: __HttpResponse, contex
|
|
|
385
419
|
* deserializeAws_json1_1CopyWorkspaceImageCommand
|
|
386
420
|
*/
|
|
387
421
|
export declare const de_CopyWorkspaceImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CopyWorkspaceImageCommandOutput>;
|
|
422
|
+
/**
|
|
423
|
+
* deserializeAws_json1_1CreateAccountLinkInvitationCommand
|
|
424
|
+
*/
|
|
425
|
+
export declare const de_CreateAccountLinkInvitationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAccountLinkInvitationCommandOutput>;
|
|
388
426
|
/**
|
|
389
427
|
* deserializeAws_json1_1CreateConnectClientAddInCommand
|
|
390
428
|
*/
|
|
@@ -421,6 +459,10 @@ export declare const de_CreateWorkspaceImageCommand: (output: __HttpResponse, co
|
|
|
421
459
|
* deserializeAws_json1_1CreateWorkspacesCommand
|
|
422
460
|
*/
|
|
423
461
|
export declare const de_CreateWorkspacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspacesCommandOutput>;
|
|
462
|
+
/**
|
|
463
|
+
* deserializeAws_json1_1DeleteAccountLinkInvitationCommand
|
|
464
|
+
*/
|
|
465
|
+
export declare const de_DeleteAccountLinkInvitationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAccountLinkInvitationCommandOutput>;
|
|
424
466
|
/**
|
|
425
467
|
* deserializeAws_json1_1DeleteClientBrandingCommand
|
|
426
468
|
*/
|
|
@@ -553,6 +595,10 @@ export declare const de_DisassociateIpGroupsCommand: (output: __HttpResponse, co
|
|
|
553
595
|
* deserializeAws_json1_1DisassociateWorkspaceApplicationCommand
|
|
554
596
|
*/
|
|
555
597
|
export declare const de_DisassociateWorkspaceApplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateWorkspaceApplicationCommandOutput>;
|
|
598
|
+
/**
|
|
599
|
+
* deserializeAws_json1_1GetAccountLinkCommand
|
|
600
|
+
*/
|
|
601
|
+
export declare const de_GetAccountLinkCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccountLinkCommandOutput>;
|
|
556
602
|
/**
|
|
557
603
|
* deserializeAws_json1_1ImportClientBrandingCommand
|
|
558
604
|
*/
|
|
@@ -561,6 +607,10 @@ export declare const de_ImportClientBrandingCommand: (output: __HttpResponse, co
|
|
|
561
607
|
* deserializeAws_json1_1ImportWorkspaceImageCommand
|
|
562
608
|
*/
|
|
563
609
|
export declare const de_ImportWorkspaceImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportWorkspaceImageCommandOutput>;
|
|
610
|
+
/**
|
|
611
|
+
* deserializeAws_json1_1ListAccountLinksCommand
|
|
612
|
+
*/
|
|
613
|
+
export declare const de_ListAccountLinksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAccountLinksCommandOutput>;
|
|
564
614
|
/**
|
|
565
615
|
* deserializeAws_json1_1ListAvailableManagementCidrRangesCommand
|
|
566
616
|
*/
|
|
@@ -617,6 +667,10 @@ export declare const de_RebuildWorkspacesCommand: (output: __HttpResponse, conte
|
|
|
617
667
|
* deserializeAws_json1_1RegisterWorkspaceDirectoryCommand
|
|
618
668
|
*/
|
|
619
669
|
export declare const de_RegisterWorkspaceDirectoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterWorkspaceDirectoryCommandOutput>;
|
|
670
|
+
/**
|
|
671
|
+
* deserializeAws_json1_1RejectAccountLinkInvitationCommand
|
|
672
|
+
*/
|
|
673
|
+
export declare const de_RejectAccountLinkInvitationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RejectAccountLinkInvitationCommandOutput>;
|
|
620
674
|
/**
|
|
621
675
|
* deserializeAws_json1_1RestoreWorkspaceCommand
|
|
622
676
|
*/
|