@aws-sdk/client-workspaces-instances 3.835.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +309 -0
  3. package/dist-cjs/WorkspacesInstances.js +37 -0
  4. package/dist-cjs/WorkspacesInstancesClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AssociateVolumeCommand.js +26 -0
  8. package/dist-cjs/commands/CreateVolumeCommand.js +27 -0
  9. package/dist-cjs/commands/CreateWorkspaceInstanceCommand.js +27 -0
  10. package/dist-cjs/commands/DeleteVolumeCommand.js +26 -0
  11. package/dist-cjs/commands/DeleteWorkspaceInstanceCommand.js +26 -0
  12. package/dist-cjs/commands/DisassociateVolumeCommand.js +26 -0
  13. package/dist-cjs/commands/GetWorkspaceInstanceCommand.js +26 -0
  14. package/dist-cjs/commands/ListInstanceTypesCommand.js +27 -0
  15. package/dist-cjs/commands/ListRegionsCommand.js +27 -0
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  17. package/dist-cjs/commands/ListWorkspaceInstancesCommand.js +27 -0
  18. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  19. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  20. package/dist-cjs/commands/index.js +16 -0
  21. package/dist-cjs/endpoint/EndpointParameters.js +15 -0
  22. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  23. package/dist-cjs/endpoint/ruleset.js +7 -0
  24. package/dist-cjs/extensionConfiguration.js +2 -0
  25. package/dist-cjs/index.js +11 -0
  26. package/dist-cjs/models/WorkspacesInstancesServiceException.js +12 -0
  27. package/dist-cjs/models/index.js +4 -0
  28. package/dist-cjs/models/models_0.js +329 -0
  29. package/dist-cjs/pagination/Interfaces.js +2 -0
  30. package/dist-cjs/pagination/ListInstanceTypesPaginator.js +7 -0
  31. package/dist-cjs/pagination/ListRegionsPaginator.js +7 -0
  32. package/dist-cjs/pagination/ListWorkspaceInstancesPaginator.js +7 -0
  33. package/dist-cjs/pagination/index.js +7 -0
  34. package/dist-cjs/protocols/Aws_json1_0.js +486 -0
  35. package/dist-cjs/runtimeConfig.browser.js +39 -0
  36. package/dist-cjs/runtimeConfig.js +56 -0
  37. package/dist-cjs/runtimeConfig.native.js +15 -0
  38. package/dist-cjs/runtimeConfig.shared.js +34 -0
  39. package/dist-cjs/runtimeExtensions.js +13 -0
  40. package/dist-es/WorkspacesInstances.js +33 -0
  41. package/dist-es/WorkspacesInstancesClient.js +48 -0
  42. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  43. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  44. package/dist-es/commands/AssociateVolumeCommand.js +22 -0
  45. package/dist-es/commands/CreateVolumeCommand.js +23 -0
  46. package/dist-es/commands/CreateWorkspaceInstanceCommand.js +23 -0
  47. package/dist-es/commands/DeleteVolumeCommand.js +22 -0
  48. package/dist-es/commands/DeleteWorkspaceInstanceCommand.js +22 -0
  49. package/dist-es/commands/DisassociateVolumeCommand.js +22 -0
  50. package/dist-es/commands/GetWorkspaceInstanceCommand.js +22 -0
  51. package/dist-es/commands/ListInstanceTypesCommand.js +23 -0
  52. package/dist-es/commands/ListRegionsCommand.js +23 -0
  53. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  54. package/dist-es/commands/ListWorkspaceInstancesCommand.js +23 -0
  55. package/dist-es/commands/TagResourceCommand.js +22 -0
  56. package/dist-es/commands/UntagResourceCommand.js +22 -0
  57. package/dist-es/commands/index.js +13 -0
  58. package/dist-es/endpoint/EndpointParameters.js +11 -0
  59. package/dist-es/endpoint/endpointResolver.js +14 -0
  60. package/dist-es/endpoint/ruleset.js +4 -0
  61. package/dist-es/extensionConfiguration.js +1 -0
  62. package/dist-es/index.js +6 -0
  63. package/dist-es/models/WorkspacesInstancesServiceException.js +8 -0
  64. package/dist-es/models/index.js +1 -0
  65. package/dist-es/models/models_0.js +305 -0
  66. package/dist-es/pagination/Interfaces.js +1 -0
  67. package/dist-es/pagination/ListInstanceTypesPaginator.js +4 -0
  68. package/dist-es/pagination/ListRegionsPaginator.js +4 -0
  69. package/dist-es/pagination/ListWorkspaceInstancesPaginator.js +4 -0
  70. package/dist-es/pagination/index.js +4 -0
  71. package/dist-es/protocols/Aws_json1_0.js +457 -0
  72. package/dist-es/runtimeConfig.browser.js +34 -0
  73. package/dist-es/runtimeConfig.js +51 -0
  74. package/dist-es/runtimeConfig.native.js +11 -0
  75. package/dist-es/runtimeConfig.shared.js +30 -0
  76. package/dist-es/runtimeExtensions.js +9 -0
  77. package/dist-types/WorkspacesInstances.d.ts +104 -0
  78. package/dist-types/WorkspacesInstancesClient.d.ts +200 -0
  79. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  80. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  81. package/dist-types/commands/AssociateVolumeCommand.d.ts +90 -0
  82. package/dist-types/commands/CreateVolumeCommand.d.ts +109 -0
  83. package/dist-types/commands/CreateWorkspaceInstanceCommand.d.ts +273 -0
  84. package/dist-types/commands/DeleteVolumeCommand.d.ts +88 -0
  85. package/dist-types/commands/DeleteWorkspaceInstanceCommand.d.ts +88 -0
  86. package/dist-types/commands/DisassociateVolumeCommand.d.ts +91 -0
  87. package/dist-types/commands/GetWorkspaceInstanceCommand.d.ts +104 -0
  88. package/dist-types/commands/ListInstanceTypesCommand.d.ts +90 -0
  89. package/dist-types/commands/ListRegionsCommand.d.ts +90 -0
  90. package/dist-types/commands/ListTagsForResourceCommand.d.ts +92 -0
  91. package/dist-types/commands/ListWorkspaceInstancesCommand.d.ts +97 -0
  92. package/dist-types/commands/TagResourceCommand.d.ts +91 -0
  93. package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
  94. package/dist-types/commands/index.d.ts +13 -0
  95. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  96. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  97. package/dist-types/endpoint/ruleset.d.ts +2 -0
  98. package/dist-types/extensionConfiguration.d.ts +9 -0
  99. package/dist-types/index.d.ts +14 -0
  100. package/dist-types/models/WorkspacesInstancesServiceException.d.ts +14 -0
  101. package/dist-types/models/index.d.ts +1 -0
  102. package/dist-types/models/models_0.d.ts +1787 -0
  103. package/dist-types/pagination/Interfaces.d.ts +8 -0
  104. package/dist-types/pagination/ListInstanceTypesPaginator.d.ts +7 -0
  105. package/dist-types/pagination/ListRegionsPaginator.d.ts +7 -0
  106. package/dist-types/pagination/ListWorkspaceInstancesPaginator.d.ts +7 -0
  107. package/dist-types/pagination/index.d.ts +4 -0
  108. package/dist-types/protocols/Aws_json1_0.d.ts +119 -0
  109. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  110. package/dist-types/runtimeConfig.d.ts +50 -0
  111. package/dist-types/runtimeConfig.native.d.ts +49 -0
  112. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  113. package/dist-types/runtimeExtensions.d.ts +17 -0
  114. package/dist-types/ts3.4/WorkspacesInstances.d.ts +231 -0
  115. package/dist-types/ts3.4/WorkspacesInstancesClient.d.ts +200 -0
  116. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  117. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  118. package/dist-types/ts3.4/commands/AssociateVolumeCommand.d.ts +50 -0
  119. package/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +47 -0
  120. package/dist-types/ts3.4/commands/CreateWorkspaceInstanceCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/DeleteVolumeCommand.d.ts +47 -0
  122. package/dist-types/ts3.4/commands/DeleteWorkspaceInstanceCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/DisassociateVolumeCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/GetWorkspaceInstanceCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/ListInstanceTypesCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/ListRegionsCommand.d.ts +47 -0
  127. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/ListWorkspaceInstancesCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  130. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  131. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  132. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  133. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  134. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  135. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  136. package/dist-types/ts3.4/index.d.ts +9 -0
  137. package/dist-types/ts3.4/models/WorkspacesInstancesServiceException.d.ts +9 -0
  138. package/dist-types/ts3.4/models/index.d.ts +1 -0
  139. package/dist-types/ts3.4/models/models_0.d.ts +558 -0
  140. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  141. package/dist-types/ts3.4/pagination/ListInstanceTypesPaginator.d.ts +11 -0
  142. package/dist-types/ts3.4/pagination/ListRegionsPaginator.d.ts +11 -0
  143. package/dist-types/ts3.4/pagination/ListWorkspaceInstancesPaginator.d.ts +11 -0
  144. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  145. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +161 -0
  146. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  147. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  148. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  149. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  150. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  151. package/package.json +101 -0
@@ -0,0 +1,161 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ AssociateVolumeCommandInput,
8
+ AssociateVolumeCommandOutput,
9
+ } from "../commands/AssociateVolumeCommand";
10
+ import {
11
+ CreateVolumeCommandInput,
12
+ CreateVolumeCommandOutput,
13
+ } from "../commands/CreateVolumeCommand";
14
+ import {
15
+ CreateWorkspaceInstanceCommandInput,
16
+ CreateWorkspaceInstanceCommandOutput,
17
+ } from "../commands/CreateWorkspaceInstanceCommand";
18
+ import {
19
+ DeleteVolumeCommandInput,
20
+ DeleteVolumeCommandOutput,
21
+ } from "../commands/DeleteVolumeCommand";
22
+ import {
23
+ DeleteWorkspaceInstanceCommandInput,
24
+ DeleteWorkspaceInstanceCommandOutput,
25
+ } from "../commands/DeleteWorkspaceInstanceCommand";
26
+ import {
27
+ DisassociateVolumeCommandInput,
28
+ DisassociateVolumeCommandOutput,
29
+ } from "../commands/DisassociateVolumeCommand";
30
+ import {
31
+ GetWorkspaceInstanceCommandInput,
32
+ GetWorkspaceInstanceCommandOutput,
33
+ } from "../commands/GetWorkspaceInstanceCommand";
34
+ import {
35
+ ListInstanceTypesCommandInput,
36
+ ListInstanceTypesCommandOutput,
37
+ } from "../commands/ListInstanceTypesCommand";
38
+ import {
39
+ ListRegionsCommandInput,
40
+ ListRegionsCommandOutput,
41
+ } from "../commands/ListRegionsCommand";
42
+ import {
43
+ ListTagsForResourceCommandInput,
44
+ ListTagsForResourceCommandOutput,
45
+ } from "../commands/ListTagsForResourceCommand";
46
+ import {
47
+ ListWorkspaceInstancesCommandInput,
48
+ ListWorkspaceInstancesCommandOutput,
49
+ } from "../commands/ListWorkspaceInstancesCommand";
50
+ import {
51
+ TagResourceCommandInput,
52
+ TagResourceCommandOutput,
53
+ } from "../commands/TagResourceCommand";
54
+ import {
55
+ UntagResourceCommandInput,
56
+ UntagResourceCommandOutput,
57
+ } from "../commands/UntagResourceCommand";
58
+ export declare const se_AssociateVolumeCommand: (
59
+ input: AssociateVolumeCommandInput,
60
+ context: __SerdeContext
61
+ ) => Promise<__HttpRequest>;
62
+ export declare const se_CreateVolumeCommand: (
63
+ input: CreateVolumeCommandInput,
64
+ context: __SerdeContext
65
+ ) => Promise<__HttpRequest>;
66
+ export declare const se_CreateWorkspaceInstanceCommand: (
67
+ input: CreateWorkspaceInstanceCommandInput,
68
+ context: __SerdeContext
69
+ ) => Promise<__HttpRequest>;
70
+ export declare const se_DeleteVolumeCommand: (
71
+ input: DeleteVolumeCommandInput,
72
+ context: __SerdeContext
73
+ ) => Promise<__HttpRequest>;
74
+ export declare const se_DeleteWorkspaceInstanceCommand: (
75
+ input: DeleteWorkspaceInstanceCommandInput,
76
+ context: __SerdeContext
77
+ ) => Promise<__HttpRequest>;
78
+ export declare const se_DisassociateVolumeCommand: (
79
+ input: DisassociateVolumeCommandInput,
80
+ context: __SerdeContext
81
+ ) => Promise<__HttpRequest>;
82
+ export declare const se_GetWorkspaceInstanceCommand: (
83
+ input: GetWorkspaceInstanceCommandInput,
84
+ context: __SerdeContext
85
+ ) => Promise<__HttpRequest>;
86
+ export declare const se_ListInstanceTypesCommand: (
87
+ input: ListInstanceTypesCommandInput,
88
+ context: __SerdeContext
89
+ ) => Promise<__HttpRequest>;
90
+ export declare const se_ListRegionsCommand: (
91
+ input: ListRegionsCommandInput,
92
+ context: __SerdeContext
93
+ ) => Promise<__HttpRequest>;
94
+ export declare const se_ListTagsForResourceCommand: (
95
+ input: ListTagsForResourceCommandInput,
96
+ context: __SerdeContext
97
+ ) => Promise<__HttpRequest>;
98
+ export declare const se_ListWorkspaceInstancesCommand: (
99
+ input: ListWorkspaceInstancesCommandInput,
100
+ context: __SerdeContext
101
+ ) => Promise<__HttpRequest>;
102
+ export declare const se_TagResourceCommand: (
103
+ input: TagResourceCommandInput,
104
+ context: __SerdeContext
105
+ ) => Promise<__HttpRequest>;
106
+ export declare const se_UntagResourceCommand: (
107
+ input: UntagResourceCommandInput,
108
+ context: __SerdeContext
109
+ ) => Promise<__HttpRequest>;
110
+ export declare const de_AssociateVolumeCommand: (
111
+ output: __HttpResponse,
112
+ context: __SerdeContext
113
+ ) => Promise<AssociateVolumeCommandOutput>;
114
+ export declare const de_CreateVolumeCommand: (
115
+ output: __HttpResponse,
116
+ context: __SerdeContext
117
+ ) => Promise<CreateVolumeCommandOutput>;
118
+ export declare const de_CreateWorkspaceInstanceCommand: (
119
+ output: __HttpResponse,
120
+ context: __SerdeContext
121
+ ) => Promise<CreateWorkspaceInstanceCommandOutput>;
122
+ export declare const de_DeleteVolumeCommand: (
123
+ output: __HttpResponse,
124
+ context: __SerdeContext
125
+ ) => Promise<DeleteVolumeCommandOutput>;
126
+ export declare const de_DeleteWorkspaceInstanceCommand: (
127
+ output: __HttpResponse,
128
+ context: __SerdeContext
129
+ ) => Promise<DeleteWorkspaceInstanceCommandOutput>;
130
+ export declare const de_DisassociateVolumeCommand: (
131
+ output: __HttpResponse,
132
+ context: __SerdeContext
133
+ ) => Promise<DisassociateVolumeCommandOutput>;
134
+ export declare const de_GetWorkspaceInstanceCommand: (
135
+ output: __HttpResponse,
136
+ context: __SerdeContext
137
+ ) => Promise<GetWorkspaceInstanceCommandOutput>;
138
+ export declare const de_ListInstanceTypesCommand: (
139
+ output: __HttpResponse,
140
+ context: __SerdeContext
141
+ ) => Promise<ListInstanceTypesCommandOutput>;
142
+ export declare const de_ListRegionsCommand: (
143
+ output: __HttpResponse,
144
+ context: __SerdeContext
145
+ ) => Promise<ListRegionsCommandOutput>;
146
+ export declare const de_ListTagsForResourceCommand: (
147
+ output: __HttpResponse,
148
+ context: __SerdeContext
149
+ ) => Promise<ListTagsForResourceCommandOutput>;
150
+ export declare const de_ListWorkspaceInstancesCommand: (
151
+ output: __HttpResponse,
152
+ context: __SerdeContext
153
+ ) => Promise<ListWorkspaceInstancesCommandOutput>;
154
+ export declare const de_TagResourceCommand: (
155
+ output: __HttpResponse,
156
+ context: __SerdeContext
157
+ ) => Promise<TagResourceCommandOutput>;
158
+ export declare const de_UntagResourceCommand: (
159
+ output: __HttpResponse,
160
+ context: __SerdeContext
161
+ ) => Promise<UntagResourceCommandOutput>;
@@ -0,0 +1,93 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { WorkspacesInstancesClientConfig } from "./WorkspacesInstancesClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: WorkspacesInstancesClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
+ defaultUserAgentProvider: (
17
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
18
+ ) => Promise<import("@smithy/types").UserAgent>;
19
+ maxAttempts: number | import("@smithy/types").Provider<number>;
20
+ region: string | import("@smithy/types").Provider<any>;
21
+ requestHandler:
22
+ | import("@smithy/protocol-http").HttpHandler<any>
23
+ | RequestHandler;
24
+ retryMode: string | import("@smithy/types").Provider<string>;
25
+ sha256: import("@smithy/types").HashConstructor;
26
+ streamCollector: import("@smithy/types").StreamCollector;
27
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
29
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
30
+ apiVersion: string;
31
+ cacheMiddleware?: boolean | undefined;
32
+ urlParser: import("@smithy/types").UrlParser;
33
+ base64Decoder: import("@smithy/types").Decoder;
34
+ base64Encoder: (_input: Uint8Array | string) => string;
35
+ utf8Decoder: import("@smithy/types").Decoder;
36
+ utf8Encoder: (input: Uint8Array | string) => string;
37
+ disableHostPrefix: boolean;
38
+ serviceId: string;
39
+ profile?: string;
40
+ logger: import("@smithy/types").Logger;
41
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
42
+ customUserAgent?: string | import("@smithy/types").UserAgent;
43
+ userAgentAppId?:
44
+ | string
45
+ | undefined
46
+ | import("@smithy/types").Provider<string | undefined>;
47
+ retryStrategy?:
48
+ | import("@smithy/types").RetryStrategy
49
+ | import("@smithy/types").RetryStrategyV2;
50
+ endpoint?:
51
+ | ((
52
+ | string
53
+ | import("@smithy/types").Endpoint
54
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
55
+ | import("@smithy/types").EndpointV2
56
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ ) &
58
+ (
59
+ | string
60
+ | import("@smithy/types").Provider<string>
61
+ | import("@smithy/types").Endpoint
62
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
63
+ | import("@smithy/types").EndpointV2
64
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
65
+ ))
66
+ | undefined;
67
+ endpointProvider: (
68
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
69
+ context?: {
70
+ logger?: import("@smithy/types").Logger;
71
+ }
72
+ ) => import("@smithy/types").EndpointV2;
73
+ tls?: boolean;
74
+ serviceConfiguredEndpoint?: never;
75
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
76
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
77
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WorkspacesInstancesHttpAuthSchemeProvider;
78
+ credentials?:
79
+ | import("@smithy/types").AwsCredentialIdentity
80
+ | import("@smithy/types").AwsCredentialIdentityProvider;
81
+ signer?:
82
+ | import("@smithy/types").RequestSigner
83
+ | ((
84
+ authScheme?: import("@smithy/types").AuthScheme
85
+ ) => Promise<import("@smithy/types").RequestSigner>);
86
+ signingEscapePath?: boolean;
87
+ systemClockOffset?: number;
88
+ signingRegion?: string;
89
+ signerConstructor?: new (
90
+ options: import("@smithy/signature-v4").SignatureV4Init &
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit
92
+ ) => import("@smithy/types").RequestSigner;
93
+ };
@@ -0,0 +1,91 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { WorkspacesInstancesClientConfig } from "./WorkspacesInstancesClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: WorkspacesInstancesClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
11
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
+ credentialDefaultProvider:
13
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
+ | ((
15
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ ) => import("@smithy/types").MemoizedProvider<
17
+ import("@smithy/types").AwsCredentialIdentity
18
+ >);
19
+ defaultUserAgentProvider: (
20
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
21
+ ) => Promise<import("@smithy/types").UserAgent>;
22
+ maxAttempts: number | import("@smithy/types").Provider<number>;
23
+ region: string | import("@smithy/types").Provider<string>;
24
+ requestHandler:
25
+ | RequestHandler
26
+ | import("@smithy/protocol-http").HttpHandler<any>;
27
+ retryMode: string | import("@smithy/types").Provider<string>;
28
+ sha256: import("@smithy/types").HashConstructor;
29
+ streamCollector: import("@smithy/types").StreamCollector;
30
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
33
+ apiVersion: string;
34
+ cacheMiddleware?: boolean | undefined;
35
+ urlParser: import("@smithy/types").UrlParser;
36
+ base64Decoder: import("@smithy/types").Decoder;
37
+ base64Encoder: (_input: Uint8Array | string) => string;
38
+ utf8Decoder: import("@smithy/types").Decoder;
39
+ utf8Encoder: (input: Uint8Array | string) => string;
40
+ disableHostPrefix: boolean;
41
+ serviceId: string;
42
+ profile?: string;
43
+ logger: import("@smithy/types").Logger;
44
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
45
+ customUserAgent?: string | import("@smithy/types").UserAgent;
46
+ retryStrategy?:
47
+ | import("@smithy/types").RetryStrategy
48
+ | import("@smithy/types").RetryStrategyV2;
49
+ endpoint?:
50
+ | ((
51
+ | string
52
+ | import("@smithy/types").Endpoint
53
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
54
+ | import("@smithy/types").EndpointV2
55
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
56
+ ) &
57
+ (
58
+ | string
59
+ | import("@smithy/types").Provider<string>
60
+ | import("@smithy/types").Endpoint
61
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
62
+ | import("@smithy/types").EndpointV2
63
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
64
+ ))
65
+ | undefined;
66
+ endpointProvider: (
67
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
68
+ context?: {
69
+ logger?: import("@smithy/types").Logger;
70
+ }
71
+ ) => import("@smithy/types").EndpointV2;
72
+ tls?: boolean;
73
+ serviceConfiguredEndpoint?: never;
74
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
75
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WorkspacesInstancesHttpAuthSchemeProvider;
76
+ credentials?:
77
+ | import("@smithy/types").AwsCredentialIdentity
78
+ | import("@smithy/types").AwsCredentialIdentityProvider;
79
+ signer?:
80
+ | import("@smithy/types").RequestSigner
81
+ | ((
82
+ authScheme?: import("@smithy/types").AuthScheme
83
+ ) => Promise<import("@smithy/types").RequestSigner>);
84
+ signingEscapePath?: boolean;
85
+ systemClockOffset?: number;
86
+ signingRegion?: string;
87
+ signerConstructor?: new (
88
+ options: import("@smithy/signature-v4").SignatureV4Init &
89
+ import("@smithy/signature-v4").SignatureV4CryptoInit
90
+ ) => import("@smithy/types").RequestSigner;
91
+ };
@@ -0,0 +1,97 @@
1
+ import { WorkspacesInstancesClientConfig } from "./WorkspacesInstancesClient";
2
+ export declare const getRuntimeConfig: (
3
+ config: WorkspacesInstancesClientConfig
4
+ ) => {
5
+ runtime: string;
6
+ sha256: import("@smithy/types").HashConstructor;
7
+ requestHandler:
8
+ | import("@smithy/types").NodeHttpHandlerOptions
9
+ | import("@smithy/types").FetchHttpHandlerOptions
10
+ | Record<string, unknown>
11
+ | import("@smithy/protocol-http").HttpHandler<any>
12
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
+ apiVersion: string;
14
+ cacheMiddleware?: boolean;
15
+ urlParser: import("@smithy/types").UrlParser;
16
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ base64Decoder: import("@smithy/types").Decoder;
19
+ base64Encoder: (_input: Uint8Array | string) => string;
20
+ utf8Decoder: import("@smithy/types").Decoder;
21
+ utf8Encoder: (input: Uint8Array | string) => string;
22
+ disableHostPrefix: boolean;
23
+ serviceId: string;
24
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ region: string | import("@smithy/types").Provider<any>;
28
+ profile?: string;
29
+ defaultUserAgentProvider: (
30
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
+ ) => Promise<import("@smithy/types").UserAgent>;
32
+ credentialDefaultProvider:
33
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
34
+ | ((
35
+ _: unknown
36
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
37
+ maxAttempts: number | import("@smithy/types").Provider<number>;
38
+ retryMode: string | import("@smithy/types").Provider<string>;
39
+ logger: import("@smithy/types").Logger;
40
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ defaultsMode:
42
+ | import("@smithy/smithy-client").DefaultsMode
43
+ | import("@smithy/types").Provider<
44
+ import("@smithy/smithy-client").DefaultsMode
45
+ >;
46
+ customUserAgent?: string | import("@smithy/types").UserAgent;
47
+ userAgentAppId?:
48
+ | string
49
+ | undefined
50
+ | import("@smithy/types").Provider<string | undefined>;
51
+ retryStrategy?:
52
+ | import("@smithy/types").RetryStrategy
53
+ | import("@smithy/types").RetryStrategyV2;
54
+ endpoint?:
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
70
+ | undefined;
71
+ endpointProvider: (
72
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
73
+ context?: {
74
+ logger?: import("@smithy/types").Logger;
75
+ }
76
+ ) => import("@smithy/types").EndpointV2;
77
+ tls?: boolean;
78
+ serviceConfiguredEndpoint?: never;
79
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
80
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
81
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WorkspacesInstancesHttpAuthSchemeProvider;
82
+ credentials?:
83
+ | import("@smithy/types").AwsCredentialIdentity
84
+ | import("@smithy/types").AwsCredentialIdentityProvider;
85
+ signer?:
86
+ | import("@smithy/types").RequestSigner
87
+ | ((
88
+ authScheme?: import("@smithy/types").AuthScheme
89
+ ) => Promise<import("@smithy/types").RequestSigner>);
90
+ signingEscapePath?: boolean;
91
+ systemClockOffset?: number;
92
+ signingRegion?: string;
93
+ signerConstructor?: new (
94
+ options: import("@smithy/signature-v4").SignatureV4Init &
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit
96
+ ) => import("@smithy/types").RequestSigner;
97
+ };
@@ -0,0 +1,23 @@
1
+ import { WorkspacesInstancesClientConfig } from "./WorkspacesInstancesClient";
2
+ export declare const getRuntimeConfig: (
3
+ config: WorkspacesInstancesClientConfig
4
+ ) => {
5
+ apiVersion: string;
6
+ base64Decoder: import("@smithy/types").Decoder;
7
+ base64Encoder: (_input: Uint8Array | string) => string;
8
+ disableHostPrefix: boolean;
9
+ endpointProvider: (
10
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
11
+ context?: {
12
+ logger?: import("@smithy/types").Logger;
13
+ }
14
+ ) => import("@smithy/types").EndpointV2;
15
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
16
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WorkspacesInstancesHttpAuthSchemeProvider;
17
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
+ logger: import("@smithy/types").Logger;
19
+ serviceId: string;
20
+ urlParser: import("@smithy/types").UrlParser;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: (input: Uint8Array | string) => string;
23
+ };
@@ -0,0 +1,13 @@
1
+ import { WorkspacesInstancesExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(
4
+ extensionConfiguration: WorkspacesInstancesExtensionConfiguration
5
+ ): void;
6
+ }
7
+ export interface RuntimeExtensionsConfig {
8
+ extensions: RuntimeExtension[];
9
+ }
10
+ export declare const resolveRuntimeExtensions: (
11
+ runtimeConfig: any,
12
+ extensions: RuntimeExtension[]
13
+ ) => any;
package/package.json ADDED
@@ -0,0 +1,101 @@
1
+ {
2
+ "name": "@aws-sdk/client-workspaces-instances",
3
+ "description": "AWS SDK for JavaScript Workspaces Instances Client for Node.js, Browser and React Native",
4
+ "version": "3.835.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:es": "tsc -p tsconfig.es.json",
9
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
+ "extract:docs": "api-extractor run --local",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo workspaces-instances"
15
+ },
16
+ "main": "./dist-cjs/index.js",
17
+ "types": "./dist-types/index.d.ts",
18
+ "module": "./dist-es/index.js",
19
+ "sideEffects": false,
20
+ "dependencies": {
21
+ "@aws-crypto/sha256-browser": "5.2.0",
22
+ "@aws-crypto/sha256-js": "5.2.0",
23
+ "@aws-sdk/core": "3.835.0",
24
+ "@aws-sdk/credential-provider-node": "3.835.0",
25
+ "@aws-sdk/middleware-host-header": "3.821.0",
26
+ "@aws-sdk/middleware-logger": "3.821.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
+ "@aws-sdk/middleware-user-agent": "3.835.0",
29
+ "@aws-sdk/region-config-resolver": "3.821.0",
30
+ "@aws-sdk/types": "3.821.0",
31
+ "@aws-sdk/util-endpoints": "3.828.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.821.0",
33
+ "@aws-sdk/util-user-agent-node": "3.835.0",
34
+ "@smithy/config-resolver": "^4.1.4",
35
+ "@smithy/core": "^3.5.3",
36
+ "@smithy/fetch-http-handler": "^5.0.4",
37
+ "@smithy/hash-node": "^4.0.4",
38
+ "@smithy/invalid-dependency": "^4.0.4",
39
+ "@smithy/middleware-content-length": "^4.0.4",
40
+ "@smithy/middleware-endpoint": "^4.1.12",
41
+ "@smithy/middleware-retry": "^4.1.13",
42
+ "@smithy/middleware-serde": "^4.0.8",
43
+ "@smithy/middleware-stack": "^4.0.4",
44
+ "@smithy/node-config-provider": "^4.1.3",
45
+ "@smithy/node-http-handler": "^4.0.6",
46
+ "@smithy/protocol-http": "^5.1.2",
47
+ "@smithy/smithy-client": "^4.4.4",
48
+ "@smithy/types": "^4.3.1",
49
+ "@smithy/url-parser": "^4.0.4",
50
+ "@smithy/util-base64": "^4.0.0",
51
+ "@smithy/util-body-length-browser": "^4.0.0",
52
+ "@smithy/util-body-length-node": "^4.0.0",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.20",
54
+ "@smithy/util-defaults-mode-node": "^4.0.20",
55
+ "@smithy/util-endpoints": "^3.0.6",
56
+ "@smithy/util-middleware": "^4.0.4",
57
+ "@smithy/util-retry": "^4.0.6",
58
+ "@smithy/util-utf8": "^4.0.0",
59
+ "@types/uuid": "^9.0.1",
60
+ "tslib": "^2.6.2",
61
+ "uuid": "^9.0.1"
62
+ },
63
+ "devDependencies": {
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
+ "concurrently": "7.0.0",
67
+ "downlevel-dts": "0.10.1",
68
+ "rimraf": "3.0.2",
69
+ "typescript": "~5.8.3"
70
+ },
71
+ "engines": {
72
+ "node": ">=18.0.0"
73
+ },
74
+ "typesVersions": {
75
+ "<4.0": {
76
+ "dist-types/*": [
77
+ "dist-types/ts3.4/*"
78
+ ]
79
+ }
80
+ },
81
+ "files": [
82
+ "dist-*/**"
83
+ ],
84
+ "author": {
85
+ "name": "AWS SDK for JavaScript Team",
86
+ "url": "https://aws.amazon.com/javascript/"
87
+ },
88
+ "license": "Apache-2.0",
89
+ "browser": {
90
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
91
+ },
92
+ "react-native": {
93
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
94
+ },
95
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-workspaces-instances",
96
+ "repository": {
97
+ "type": "git",
98
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
99
+ "directory": "clients/client-workspaces-instances"
100
+ }
101
+ }