@aws-sdk/client-workspaces 3.51.0 → 3.54.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/WorkSpacesServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +189 -4
- package/dist-cjs/protocols/Aws_json1_1.js +534 -1901
- package/dist-es/index.js +1 -0
- package/dist-es/models/WorkSpacesServiceException.js +12 -0
- package/dist-es/models/models_0.js +172 -1
- package/dist-es/protocols/Aws_json1_1.js +1183 -2071
- package/dist-types/WorkSpacesClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/WorkSpacesServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +96 -65
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/WorkSpacesServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +70 -59
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput } from "./commands/AssociateConnectionAliasCommand";
|
|
10
10
|
import { AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput } from "./commands/AssociateIpGroupsCommand";
|
|
11
11
|
import { AuthorizeIpRulesCommandInput, AuthorizeIpRulesCommandOutput } from "./commands/AuthorizeIpRulesCommand";
|
|
@@ -86,7 +86,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
86
86
|
* A function that can calculate the length of a request body.
|
|
87
87
|
* @internal
|
|
88
88
|
*/
|
|
89
|
-
bodyLengthChecker?:
|
|
89
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
90
90
|
/**
|
|
91
91
|
* A function that converts a stream into an array of bytes.
|
|
92
92
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from WorkSpaces service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class WorkSpacesServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>The user is not authorized to access a resource.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
13
|
}
|
|
10
14
|
export declare enum AccessPropertyValue {
|
|
11
15
|
ALLOW = "ALLOW",
|
|
@@ -94,52 +98,61 @@ export declare namespace AssociateConnectionAliasResult {
|
|
|
94
98
|
/**
|
|
95
99
|
* <p>One or more parameter values are not valid.</p>
|
|
96
100
|
*/
|
|
97
|
-
export
|
|
98
|
-
name: "InvalidParameterValuesException";
|
|
99
|
-
$fault: "client";
|
|
101
|
+
export declare class InvalidParameterValuesException extends __BaseException {
|
|
102
|
+
readonly name: "InvalidParameterValuesException";
|
|
103
|
+
readonly $fault: "client";
|
|
100
104
|
/**
|
|
101
|
-
*
|
|
105
|
+
* @internal
|
|
102
106
|
*/
|
|
103
|
-
|
|
107
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterValuesException, __BaseException>);
|
|
104
108
|
}
|
|
105
109
|
/**
|
|
106
110
|
* <p>The state of the resource is not valid for this operation.</p>
|
|
107
111
|
*/
|
|
108
|
-
export
|
|
109
|
-
name: "InvalidResourceStateException";
|
|
110
|
-
$fault: "client";
|
|
111
|
-
|
|
112
|
+
export declare class InvalidResourceStateException extends __BaseException {
|
|
113
|
+
readonly name: "InvalidResourceStateException";
|
|
114
|
+
readonly $fault: "client";
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
|
|
112
119
|
}
|
|
113
120
|
/**
|
|
114
121
|
* <p>This operation is not supported.</p>
|
|
115
122
|
*/
|
|
116
|
-
export
|
|
117
|
-
name: "OperationNotSupportedException";
|
|
118
|
-
$fault: "client";
|
|
119
|
-
|
|
123
|
+
export declare class OperationNotSupportedException extends __BaseException {
|
|
124
|
+
readonly name: "OperationNotSupportedException";
|
|
125
|
+
readonly $fault: "client";
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
constructor(opts: __ExceptionOptionType<OperationNotSupportedException, __BaseException>);
|
|
120
130
|
}
|
|
121
131
|
/**
|
|
122
132
|
* <p>The resource is associated with a directory.</p>
|
|
123
133
|
*/
|
|
124
|
-
export
|
|
125
|
-
name: "ResourceAssociatedException";
|
|
126
|
-
$fault: "client";
|
|
127
|
-
|
|
134
|
+
export declare class ResourceAssociatedException extends __BaseException {
|
|
135
|
+
readonly name: "ResourceAssociatedException";
|
|
136
|
+
readonly $fault: "client";
|
|
137
|
+
/**
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
constructor(opts: __ExceptionOptionType<ResourceAssociatedException, __BaseException>);
|
|
128
141
|
}
|
|
129
142
|
/**
|
|
130
143
|
* <p>The resource could not be found.</p>
|
|
131
144
|
*/
|
|
132
|
-
export
|
|
133
|
-
name: "ResourceNotFoundException";
|
|
134
|
-
$fault: "client";
|
|
135
|
-
/**
|
|
136
|
-
* <p>The resource could not be found.</p>
|
|
137
|
-
*/
|
|
138
|
-
message?: string;
|
|
145
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
146
|
+
readonly name: "ResourceNotFoundException";
|
|
147
|
+
readonly $fault: "client";
|
|
139
148
|
/**
|
|
140
149
|
* <p>The ID of the resource that could not be found.</p>
|
|
141
150
|
*/
|
|
142
151
|
ResourceId?: string;
|
|
152
|
+
/**
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
143
156
|
}
|
|
144
157
|
export interface AssociateIpGroupsRequest {
|
|
145
158
|
/**
|
|
@@ -168,13 +181,13 @@ export declare namespace AssociateIpGroupsResult {
|
|
|
168
181
|
/**
|
|
169
182
|
* <p>Your resource limits have been exceeded.</p>
|
|
170
183
|
*/
|
|
171
|
-
export
|
|
172
|
-
name: "ResourceLimitExceededException";
|
|
173
|
-
$fault: "client";
|
|
184
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
185
|
+
readonly name: "ResourceLimitExceededException";
|
|
186
|
+
readonly $fault: "client";
|
|
174
187
|
/**
|
|
175
|
-
*
|
|
188
|
+
* @internal
|
|
176
189
|
*/
|
|
177
|
-
|
|
190
|
+
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
178
191
|
}
|
|
179
192
|
export declare enum AssociationStatus {
|
|
180
193
|
ASSOCIATED_WITH_OWNER_ACCOUNT = "ASSOCIATED_WITH_OWNER_ACCOUNT",
|
|
@@ -557,25 +570,28 @@ export declare namespace CopyWorkspaceImageResult {
|
|
|
557
570
|
/**
|
|
558
571
|
* <p>The specified resource already exists.</p>
|
|
559
572
|
*/
|
|
560
|
-
export
|
|
561
|
-
name: "ResourceAlreadyExistsException";
|
|
562
|
-
$fault: "client";
|
|
563
|
-
|
|
573
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
574
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
575
|
+
readonly $fault: "client";
|
|
576
|
+
/**
|
|
577
|
+
* @internal
|
|
578
|
+
*/
|
|
579
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
564
580
|
}
|
|
565
581
|
/**
|
|
566
582
|
* <p>The specified resource is not available.</p>
|
|
567
583
|
*/
|
|
568
|
-
export
|
|
569
|
-
name: "ResourceUnavailableException";
|
|
570
|
-
$fault: "client";
|
|
571
|
-
/**
|
|
572
|
-
* <p>The exception error message.</p>
|
|
573
|
-
*/
|
|
574
|
-
message?: string;
|
|
584
|
+
export declare class ResourceUnavailableException extends __BaseException {
|
|
585
|
+
readonly name: "ResourceUnavailableException";
|
|
586
|
+
readonly $fault: "client";
|
|
575
587
|
/**
|
|
576
588
|
* <p>The identifier of the resource that is not available.</p>
|
|
577
589
|
*/
|
|
578
590
|
ResourceId?: string;
|
|
591
|
+
/**
|
|
592
|
+
* @internal
|
|
593
|
+
*/
|
|
594
|
+
constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
|
|
579
595
|
}
|
|
580
596
|
export interface CreateConnectClientAddInRequest {
|
|
581
597
|
/**
|
|
@@ -612,10 +628,13 @@ export declare namespace CreateConnectClientAddInResult {
|
|
|
612
628
|
/**
|
|
613
629
|
* <p>The resource could not be created.</p>
|
|
614
630
|
*/
|
|
615
|
-
export
|
|
616
|
-
name: "ResourceCreationFailedException";
|
|
617
|
-
$fault: "client";
|
|
618
|
-
|
|
631
|
+
export declare class ResourceCreationFailedException extends __BaseException {
|
|
632
|
+
readonly name: "ResourceCreationFailedException";
|
|
633
|
+
readonly $fault: "client";
|
|
634
|
+
/**
|
|
635
|
+
* @internal
|
|
636
|
+
*/
|
|
637
|
+
constructor(opts: __ExceptionOptionType<ResourceCreationFailedException, __BaseException>);
|
|
619
638
|
}
|
|
620
639
|
export interface CreateConnectionAliasRequest {
|
|
621
640
|
/**
|
|
@@ -2412,10 +2431,13 @@ export declare namespace MigrateWorkspaceResult {
|
|
|
2412
2431
|
/**
|
|
2413
2432
|
* <p>The properties of this WorkSpace are currently being modified. Try again in a moment.</p>
|
|
2414
2433
|
*/
|
|
2415
|
-
export
|
|
2416
|
-
name: "OperationInProgressException";
|
|
2417
|
-
$fault: "client";
|
|
2418
|
-
|
|
2434
|
+
export declare class OperationInProgressException extends __BaseException {
|
|
2435
|
+
readonly name: "OperationInProgressException";
|
|
2436
|
+
readonly $fault: "client";
|
|
2437
|
+
/**
|
|
2438
|
+
* @internal
|
|
2439
|
+
*/
|
|
2440
|
+
constructor(opts: __ExceptionOptionType<OperationInProgressException, __BaseException>);
|
|
2419
2441
|
}
|
|
2420
2442
|
export interface ModifyAccountRequest {
|
|
2421
2443
|
/**
|
|
@@ -2639,10 +2661,13 @@ export declare namespace ModifyWorkspacePropertiesResult {
|
|
|
2639
2661
|
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/required-service-components.html">Required
|
|
2640
2662
|
* Configuration and Service Components for WorkSpaces </a>.</p>
|
|
2641
2663
|
*/
|
|
2642
|
-
export
|
|
2643
|
-
name: "UnsupportedWorkspaceConfigurationException";
|
|
2644
|
-
$fault: "client";
|
|
2645
|
-
|
|
2664
|
+
export declare class UnsupportedWorkspaceConfigurationException extends __BaseException {
|
|
2665
|
+
readonly name: "UnsupportedWorkspaceConfigurationException";
|
|
2666
|
+
readonly $fault: "client";
|
|
2667
|
+
/**
|
|
2668
|
+
* @internal
|
|
2669
|
+
*/
|
|
2670
|
+
constructor(opts: __ExceptionOptionType<UnsupportedWorkspaceConfigurationException, __BaseException>);
|
|
2646
2671
|
}
|
|
2647
2672
|
export declare enum TargetWorkspaceState {
|
|
2648
2673
|
ADMIN_MAINTENANCE = "ADMIN_MAINTENANCE",
|
|
@@ -2808,19 +2833,25 @@ export declare namespace RegisterWorkspaceDirectoryResult {
|
|
|
2808
2833
|
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces-vpc.html">
|
|
2809
2834
|
* Configure a VPC for Amazon WorkSpaces</a>.</p>
|
|
2810
2835
|
*/
|
|
2811
|
-
export
|
|
2812
|
-
name: "UnsupportedNetworkConfigurationException";
|
|
2813
|
-
$fault: "client";
|
|
2814
|
-
|
|
2836
|
+
export declare class UnsupportedNetworkConfigurationException extends __BaseException {
|
|
2837
|
+
readonly name: "UnsupportedNetworkConfigurationException";
|
|
2838
|
+
readonly $fault: "client";
|
|
2839
|
+
/**
|
|
2840
|
+
* @internal
|
|
2841
|
+
*/
|
|
2842
|
+
constructor(opts: __ExceptionOptionType<UnsupportedNetworkConfigurationException, __BaseException>);
|
|
2815
2843
|
}
|
|
2816
2844
|
/**
|
|
2817
2845
|
* <p>The workspaces_DefaultRole role could not be found. If this is the first time you are registering a directory, you
|
|
2818
2846
|
* will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role">Creating the workspaces_DefaultRole Role</a>.</p>
|
|
2819
2847
|
*/
|
|
2820
|
-
export
|
|
2821
|
-
name: "WorkspacesDefaultRoleNotFoundException";
|
|
2822
|
-
$fault: "client";
|
|
2823
|
-
|
|
2848
|
+
export declare class WorkspacesDefaultRoleNotFoundException extends __BaseException {
|
|
2849
|
+
readonly name: "WorkspacesDefaultRoleNotFoundException";
|
|
2850
|
+
readonly $fault: "client";
|
|
2851
|
+
/**
|
|
2852
|
+
* @internal
|
|
2853
|
+
*/
|
|
2854
|
+
constructor(opts: __ExceptionOptionType<WorkspacesDefaultRoleNotFoundException, __BaseException>);
|
|
2824
2855
|
}
|
|
2825
2856
|
export interface RestoreWorkspaceRequest {
|
|
2826
2857
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput } from "./commands/AssociateConnectionAliasCommand";
|
|
10
10
|
import { AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput } from "./commands/AssociateIpGroupsCommand";
|
|
11
11
|
import { AuthorizeIpRulesCommandInput, AuthorizeIpRulesCommandOutput } from "./commands/AuthorizeIpRulesCommand";
|
|
@@ -74,7 +74,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
74
74
|
|
|
75
75
|
urlParser?: __UrlParser;
|
|
76
76
|
|
|
77
|
-
bodyLengthChecker?:
|
|
77
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
78
78
|
|
|
79
79
|
streamCollector?: __StreamCollector;
|
|
80
80
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class WorkSpacesServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
9
|
}
|
|
8
10
|
export declare enum AccessPropertyValue {
|
|
9
11
|
ALLOW = "ALLOW",
|
|
@@ -60,38 +62,41 @@ export declare namespace AssociateConnectionAliasResult {
|
|
|
60
62
|
const filterSensitiveLog: (obj: AssociateConnectionAliasResult) => any;
|
|
61
63
|
}
|
|
62
64
|
|
|
63
|
-
export
|
|
64
|
-
name: "InvalidParameterValuesException";
|
|
65
|
-
$fault: "client";
|
|
65
|
+
export declare class InvalidParameterValuesException extends __BaseException {
|
|
66
|
+
readonly name: "InvalidParameterValuesException";
|
|
67
|
+
readonly $fault: "client";
|
|
66
68
|
|
|
67
|
-
|
|
69
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterValuesException, __BaseException>);
|
|
68
70
|
}
|
|
69
71
|
|
|
70
|
-
export
|
|
71
|
-
name: "InvalidResourceStateException";
|
|
72
|
-
$fault: "client";
|
|
73
|
-
|
|
72
|
+
export declare class InvalidResourceStateException extends __BaseException {
|
|
73
|
+
readonly name: "InvalidResourceStateException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
|
|
76
|
+
constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
|
|
74
77
|
}
|
|
75
78
|
|
|
76
|
-
export
|
|
77
|
-
name: "OperationNotSupportedException";
|
|
78
|
-
$fault: "client";
|
|
79
|
-
|
|
79
|
+
export declare class OperationNotSupportedException extends __BaseException {
|
|
80
|
+
readonly name: "OperationNotSupportedException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
|
|
83
|
+
constructor(opts: __ExceptionOptionType<OperationNotSupportedException, __BaseException>);
|
|
80
84
|
}
|
|
81
85
|
|
|
82
|
-
export
|
|
83
|
-
name: "ResourceAssociatedException";
|
|
84
|
-
$fault: "client";
|
|
85
|
-
|
|
86
|
+
export declare class ResourceAssociatedException extends __BaseException {
|
|
87
|
+
readonly name: "ResourceAssociatedException";
|
|
88
|
+
readonly $fault: "client";
|
|
89
|
+
|
|
90
|
+
constructor(opts: __ExceptionOptionType<ResourceAssociatedException, __BaseException>);
|
|
86
91
|
}
|
|
87
92
|
|
|
88
|
-
export
|
|
89
|
-
name: "ResourceNotFoundException";
|
|
90
|
-
$fault: "client";
|
|
91
|
-
|
|
92
|
-
message?: string;
|
|
93
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
94
|
+
readonly name: "ResourceNotFoundException";
|
|
95
|
+
readonly $fault: "client";
|
|
93
96
|
|
|
94
97
|
ResourceId?: string;
|
|
98
|
+
|
|
99
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
95
100
|
}
|
|
96
101
|
export interface AssociateIpGroupsRequest {
|
|
97
102
|
|
|
@@ -110,11 +115,11 @@ export declare namespace AssociateIpGroupsResult {
|
|
|
110
115
|
const filterSensitiveLog: (obj: AssociateIpGroupsResult) => any;
|
|
111
116
|
}
|
|
112
117
|
|
|
113
|
-
export
|
|
114
|
-
name: "ResourceLimitExceededException";
|
|
115
|
-
$fault: "client";
|
|
118
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
119
|
+
readonly name: "ResourceLimitExceededException";
|
|
120
|
+
readonly $fault: "client";
|
|
116
121
|
|
|
117
|
-
|
|
122
|
+
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
118
123
|
}
|
|
119
124
|
export declare enum AssociationStatus {
|
|
120
125
|
ASSOCIATED_WITH_OWNER_ACCOUNT = "ASSOCIATED_WITH_OWNER_ACCOUNT",
|
|
@@ -341,19 +346,20 @@ export declare namespace CopyWorkspaceImageResult {
|
|
|
341
346
|
const filterSensitiveLog: (obj: CopyWorkspaceImageResult) => any;
|
|
342
347
|
}
|
|
343
348
|
|
|
344
|
-
export
|
|
345
|
-
name: "ResourceAlreadyExistsException";
|
|
346
|
-
$fault: "client";
|
|
347
|
-
|
|
349
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
350
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
351
|
+
readonly $fault: "client";
|
|
352
|
+
|
|
353
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
348
354
|
}
|
|
349
355
|
|
|
350
|
-
export
|
|
351
|
-
name: "ResourceUnavailableException";
|
|
352
|
-
$fault: "client";
|
|
353
|
-
|
|
354
|
-
message?: string;
|
|
356
|
+
export declare class ResourceUnavailableException extends __BaseException {
|
|
357
|
+
readonly name: "ResourceUnavailableException";
|
|
358
|
+
readonly $fault: "client";
|
|
355
359
|
|
|
356
360
|
ResourceId?: string;
|
|
361
|
+
|
|
362
|
+
constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
|
|
357
363
|
}
|
|
358
364
|
export interface CreateConnectClientAddInRequest {
|
|
359
365
|
|
|
@@ -376,10 +382,11 @@ export declare namespace CreateConnectClientAddInResult {
|
|
|
376
382
|
const filterSensitiveLog: (obj: CreateConnectClientAddInResult) => any;
|
|
377
383
|
}
|
|
378
384
|
|
|
379
|
-
export
|
|
380
|
-
name: "ResourceCreationFailedException";
|
|
381
|
-
$fault: "client";
|
|
382
|
-
|
|
385
|
+
export declare class ResourceCreationFailedException extends __BaseException {
|
|
386
|
+
readonly name: "ResourceCreationFailedException";
|
|
387
|
+
readonly $fault: "client";
|
|
388
|
+
|
|
389
|
+
constructor(opts: __ExceptionOptionType<ResourceCreationFailedException, __BaseException>);
|
|
383
390
|
}
|
|
384
391
|
export interface CreateConnectionAliasRequest {
|
|
385
392
|
|
|
@@ -1404,10 +1411,11 @@ export declare namespace MigrateWorkspaceResult {
|
|
|
1404
1411
|
const filterSensitiveLog: (obj: MigrateWorkspaceResult) => any;
|
|
1405
1412
|
}
|
|
1406
1413
|
|
|
1407
|
-
export
|
|
1408
|
-
name: "OperationInProgressException";
|
|
1409
|
-
$fault: "client";
|
|
1410
|
-
|
|
1414
|
+
export declare class OperationInProgressException extends __BaseException {
|
|
1415
|
+
readonly name: "OperationInProgressException";
|
|
1416
|
+
readonly $fault: "client";
|
|
1417
|
+
|
|
1418
|
+
constructor(opts: __ExceptionOptionType<OperationInProgressException, __BaseException>);
|
|
1411
1419
|
}
|
|
1412
1420
|
export interface ModifyAccountRequest {
|
|
1413
1421
|
|
|
@@ -1525,10 +1533,11 @@ export declare namespace ModifyWorkspacePropertiesResult {
|
|
|
1525
1533
|
const filterSensitiveLog: (obj: ModifyWorkspacePropertiesResult) => any;
|
|
1526
1534
|
}
|
|
1527
1535
|
|
|
1528
|
-
export
|
|
1529
|
-
name: "UnsupportedWorkspaceConfigurationException";
|
|
1530
|
-
$fault: "client";
|
|
1531
|
-
|
|
1536
|
+
export declare class UnsupportedWorkspaceConfigurationException extends __BaseException {
|
|
1537
|
+
readonly name: "UnsupportedWorkspaceConfigurationException";
|
|
1538
|
+
readonly $fault: "client";
|
|
1539
|
+
|
|
1540
|
+
constructor(opts: __ExceptionOptionType<UnsupportedWorkspaceConfigurationException, __BaseException>);
|
|
1532
1541
|
}
|
|
1533
1542
|
export declare enum TargetWorkspaceState {
|
|
1534
1543
|
ADMIN_MAINTENANCE = "ADMIN_MAINTENANCE",
|
|
@@ -1625,16 +1634,18 @@ export declare namespace RegisterWorkspaceDirectoryResult {
|
|
|
1625
1634
|
const filterSensitiveLog: (obj: RegisterWorkspaceDirectoryResult) => any;
|
|
1626
1635
|
}
|
|
1627
1636
|
|
|
1628
|
-
export
|
|
1629
|
-
name: "UnsupportedNetworkConfigurationException";
|
|
1630
|
-
$fault: "client";
|
|
1631
|
-
|
|
1637
|
+
export declare class UnsupportedNetworkConfigurationException extends __BaseException {
|
|
1638
|
+
readonly name: "UnsupportedNetworkConfigurationException";
|
|
1639
|
+
readonly $fault: "client";
|
|
1640
|
+
|
|
1641
|
+
constructor(opts: __ExceptionOptionType<UnsupportedNetworkConfigurationException, __BaseException>);
|
|
1632
1642
|
}
|
|
1633
1643
|
|
|
1634
|
-
export
|
|
1635
|
-
name: "WorkspacesDefaultRoleNotFoundException";
|
|
1636
|
-
$fault: "client";
|
|
1637
|
-
|
|
1644
|
+
export declare class WorkspacesDefaultRoleNotFoundException extends __BaseException {
|
|
1645
|
+
readonly name: "WorkspacesDefaultRoleNotFoundException";
|
|
1646
|
+
readonly $fault: "client";
|
|
1647
|
+
|
|
1648
|
+
constructor(opts: __ExceptionOptionType<WorkspacesDefaultRoleNotFoundException, __BaseException>);
|
|
1638
1649
|
}
|
|
1639
1650
|
export interface RestoreWorkspaceRequest {
|
|
1640
1651
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|