@aws-sdk/client-pcs 3.641.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 (171) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +366 -0
  3. package/dist-cjs/PCS.js +47 -0
  4. package/dist-cjs/PCSClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateClusterCommand.js +28 -0
  8. package/dist-cjs/commands/CreateComputeNodeGroupCommand.js +28 -0
  9. package/dist-cjs/commands/CreateQueueCommand.js +28 -0
  10. package/dist-cjs/commands/DeleteClusterCommand.js +28 -0
  11. package/dist-cjs/commands/DeleteComputeNodeGroupCommand.js +28 -0
  12. package/dist-cjs/commands/DeleteQueueCommand.js +28 -0
  13. package/dist-cjs/commands/GetClusterCommand.js +28 -0
  14. package/dist-cjs/commands/GetComputeNodeGroupCommand.js +28 -0
  15. package/dist-cjs/commands/GetQueueCommand.js +28 -0
  16. package/dist-cjs/commands/ListClustersCommand.js +28 -0
  17. package/dist-cjs/commands/ListComputeNodeGroupsCommand.js +28 -0
  18. package/dist-cjs/commands/ListQueuesCommand.js +28 -0
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  20. package/dist-cjs/commands/RegisterComputeNodeGroupInstanceCommand.js +29 -0
  21. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  22. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  23. package/dist-cjs/commands/UpdateComputeNodeGroupCommand.js +28 -0
  24. package/dist-cjs/commands/UpdateQueueCommand.js +28 -0
  25. package/dist-cjs/commands/index.js +21 -0
  26. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  27. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  28. package/dist-cjs/endpoint/ruleset.js +7 -0
  29. package/dist-cjs/extensionConfiguration.js +2 -0
  30. package/dist-cjs/index.js +11 -0
  31. package/dist-cjs/models/PCSServiceException.js +12 -0
  32. package/dist-cjs/models/index.js +4 -0
  33. package/dist-cjs/models/models_0.js +169 -0
  34. package/dist-cjs/pagination/Interfaces.js +2 -0
  35. package/dist-cjs/pagination/ListClustersPaginator.js +7 -0
  36. package/dist-cjs/pagination/ListComputeNodeGroupsPaginator.js +7 -0
  37. package/dist-cjs/pagination/ListQueuesPaginator.js +7 -0
  38. package/dist-cjs/pagination/index.js +7 -0
  39. package/dist-cjs/protocols/Aws_json1_0.js +757 -0
  40. package/dist-cjs/runtimeConfig.browser.js +39 -0
  41. package/dist-cjs/runtimeConfig.js +49 -0
  42. package/dist-cjs/runtimeConfig.native.js +15 -0
  43. package/dist-cjs/runtimeConfig.shared.js +34 -0
  44. package/dist-cjs/runtimeExtensions.js +25 -0
  45. package/dist-es/PCS.js +43 -0
  46. package/dist-es/PCSClient.js +46 -0
  47. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  48. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  49. package/dist-es/commands/CreateClusterCommand.js +24 -0
  50. package/dist-es/commands/CreateComputeNodeGroupCommand.js +24 -0
  51. package/dist-es/commands/CreateQueueCommand.js +24 -0
  52. package/dist-es/commands/DeleteClusterCommand.js +24 -0
  53. package/dist-es/commands/DeleteComputeNodeGroupCommand.js +24 -0
  54. package/dist-es/commands/DeleteQueueCommand.js +24 -0
  55. package/dist-es/commands/GetClusterCommand.js +24 -0
  56. package/dist-es/commands/GetComputeNodeGroupCommand.js +24 -0
  57. package/dist-es/commands/GetQueueCommand.js +24 -0
  58. package/dist-es/commands/ListClustersCommand.js +24 -0
  59. package/dist-es/commands/ListComputeNodeGroupsCommand.js +24 -0
  60. package/dist-es/commands/ListQueuesCommand.js +24 -0
  61. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  62. package/dist-es/commands/RegisterComputeNodeGroupInstanceCommand.js +25 -0
  63. package/dist-es/commands/TagResourceCommand.js +24 -0
  64. package/dist-es/commands/UntagResourceCommand.js +24 -0
  65. package/dist-es/commands/UpdateComputeNodeGroupCommand.js +24 -0
  66. package/dist-es/commands/UpdateQueueCommand.js +24 -0
  67. package/dist-es/commands/index.js +18 -0
  68. package/dist-es/endpoint/EndpointParameters.js +14 -0
  69. package/dist-es/endpoint/endpointResolver.js +10 -0
  70. package/dist-es/endpoint/ruleset.js +4 -0
  71. package/dist-es/extensionConfiguration.js +1 -0
  72. package/dist-es/index.js +6 -0
  73. package/dist-es/models/PCSServiceException.js +8 -0
  74. package/dist-es/models/index.js +1 -0
  75. package/dist-es/models/models_0.js +158 -0
  76. package/dist-es/pagination/Interfaces.js +1 -0
  77. package/dist-es/pagination/ListClustersPaginator.js +4 -0
  78. package/dist-es/pagination/ListComputeNodeGroupsPaginator.js +4 -0
  79. package/dist-es/pagination/ListQueuesPaginator.js +4 -0
  80. package/dist-es/pagination/index.js +4 -0
  81. package/dist-es/protocols/Aws_json1_0.js +718 -0
  82. package/dist-es/runtimeConfig.browser.js +34 -0
  83. package/dist-es/runtimeConfig.js +44 -0
  84. package/dist-es/runtimeConfig.native.js +11 -0
  85. package/dist-es/runtimeConfig.shared.js +30 -0
  86. package/dist-es/runtimeExtensions.js +21 -0
  87. package/dist-types/PCS.d.ts +154 -0
  88. package/dist-types/PCSClient.d.ts +204 -0
  89. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  90. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  91. package/dist-types/commands/CreateClusterCommand.d.ts +237 -0
  92. package/dist-types/commands/CreateComputeNodeGroupCommand.d.ts +247 -0
  93. package/dist-types/commands/CreateQueueCommand.d.ts +190 -0
  94. package/dist-types/commands/DeleteClusterCommand.d.ts +137 -0
  95. package/dist-types/commands/DeleteComputeNodeGroupCommand.d.ts +138 -0
  96. package/dist-types/commands/DeleteQueueCommand.d.ts +139 -0
  97. package/dist-types/commands/GetClusterCommand.d.ts +186 -0
  98. package/dist-types/commands/GetComputeNodeGroupCommand.d.ts +184 -0
  99. package/dist-types/commands/GetQueueCommand.d.ts +158 -0
  100. package/dist-types/commands/ListClustersCommand.d.ts +148 -0
  101. package/dist-types/commands/ListComputeNodeGroupsCommand.d.ts +150 -0
  102. package/dist-types/commands/ListQueuesCommand.d.ts +150 -0
  103. package/dist-types/commands/ListTagsForResourceCommand.d.ts +69 -0
  104. package/dist-types/commands/RegisterComputeNodeGroupInstanceCommand.d.ts +97 -0
  105. package/dist-types/commands/TagResourceCommand.d.ts +71 -0
  106. package/dist-types/commands/UntagResourceCommand.d.ts +69 -0
  107. package/dist-types/commands/UpdateComputeNodeGroupCommand.d.ts +233 -0
  108. package/dist-types/commands/UpdateQueueCommand.d.ts +187 -0
  109. package/dist-types/commands/index.d.ts +18 -0
  110. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  111. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  112. package/dist-types/endpoint/ruleset.d.ts +2 -0
  113. package/dist-types/extensionConfiguration.d.ts +9 -0
  114. package/dist-types/index.d.ts +31 -0
  115. package/dist-types/models/PCSServiceException.d.ts +14 -0
  116. package/dist-types/models/index.d.ts +1 -0
  117. package/dist-types/models/models_0.d.ts +1871 -0
  118. package/dist-types/pagination/Interfaces.d.ts +8 -0
  119. package/dist-types/pagination/ListClustersPaginator.d.ts +7 -0
  120. package/dist-types/pagination/ListComputeNodeGroupsPaginator.d.ts +7 -0
  121. package/dist-types/pagination/ListQueuesPaginator.d.ts +7 -0
  122. package/dist-types/pagination/index.d.ts +4 -0
  123. package/dist-types/protocols/Aws_json1_0.d.ts +164 -0
  124. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  125. package/dist-types/runtimeConfig.d.ts +45 -0
  126. package/dist-types/runtimeConfig.native.d.ts +44 -0
  127. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  128. package/dist-types/runtimeExtensions.d.ts +17 -0
  129. package/dist-types/ts3.4/PCS.d.ts +312 -0
  130. package/dist-types/ts3.4/PCSClient.d.ts +223 -0
  131. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  132. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  133. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +39 -0
  134. package/dist-types/ts3.4/commands/CreateComputeNodeGroupCommand.d.ts +40 -0
  135. package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +36 -0
  136. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +39 -0
  137. package/dist-types/ts3.4/commands/DeleteComputeNodeGroupCommand.d.ts +40 -0
  138. package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +36 -0
  139. package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +36 -0
  140. package/dist-types/ts3.4/commands/GetComputeNodeGroupCommand.d.ts +40 -0
  141. package/dist-types/ts3.4/commands/GetQueueCommand.d.ts +36 -0
  142. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +36 -0
  143. package/dist-types/ts3.4/commands/ListComputeNodeGroupsCommand.d.ts +40 -0
  144. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +36 -0
  145. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
  146. package/dist-types/ts3.4/commands/RegisterComputeNodeGroupInstanceCommand.d.ts +40 -0
  147. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  148. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  149. package/dist-types/ts3.4/commands/UpdateComputeNodeGroupCommand.d.ts +40 -0
  150. package/dist-types/ts3.4/commands/UpdateQueueCommand.d.ts +36 -0
  151. package/dist-types/ts3.4/commands/index.d.ts +18 -0
  152. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  153. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  154. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  155. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  156. package/dist-types/ts3.4/index.d.ts +9 -0
  157. package/dist-types/ts3.4/models/PCSServiceException.d.ts +9 -0
  158. package/dist-types/ts3.4/models/index.d.ts +1 -0
  159. package/dist-types/ts3.4/models/models_0.d.ts +431 -0
  160. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  161. package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +11 -0
  162. package/dist-types/ts3.4/pagination/ListComputeNodeGroupsPaginator.d.ts +11 -0
  163. package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +11 -0
  164. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  165. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +221 -0
  166. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
  167. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  168. package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
  169. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  170. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  171. package/package.json +103 -0
@@ -0,0 +1,221 @@
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
+ CreateClusterCommandInput,
8
+ CreateClusterCommandOutput,
9
+ } from "../commands/CreateClusterCommand";
10
+ import {
11
+ CreateComputeNodeGroupCommandInput,
12
+ CreateComputeNodeGroupCommandOutput,
13
+ } from "../commands/CreateComputeNodeGroupCommand";
14
+ import {
15
+ CreateQueueCommandInput,
16
+ CreateQueueCommandOutput,
17
+ } from "../commands/CreateQueueCommand";
18
+ import {
19
+ DeleteClusterCommandInput,
20
+ DeleteClusterCommandOutput,
21
+ } from "../commands/DeleteClusterCommand";
22
+ import {
23
+ DeleteComputeNodeGroupCommandInput,
24
+ DeleteComputeNodeGroupCommandOutput,
25
+ } from "../commands/DeleteComputeNodeGroupCommand";
26
+ import {
27
+ DeleteQueueCommandInput,
28
+ DeleteQueueCommandOutput,
29
+ } from "../commands/DeleteQueueCommand";
30
+ import {
31
+ GetClusterCommandInput,
32
+ GetClusterCommandOutput,
33
+ } from "../commands/GetClusterCommand";
34
+ import {
35
+ GetComputeNodeGroupCommandInput,
36
+ GetComputeNodeGroupCommandOutput,
37
+ } from "../commands/GetComputeNodeGroupCommand";
38
+ import {
39
+ GetQueueCommandInput,
40
+ GetQueueCommandOutput,
41
+ } from "../commands/GetQueueCommand";
42
+ import {
43
+ ListClustersCommandInput,
44
+ ListClustersCommandOutput,
45
+ } from "../commands/ListClustersCommand";
46
+ import {
47
+ ListComputeNodeGroupsCommandInput,
48
+ ListComputeNodeGroupsCommandOutput,
49
+ } from "../commands/ListComputeNodeGroupsCommand";
50
+ import {
51
+ ListQueuesCommandInput,
52
+ ListQueuesCommandOutput,
53
+ } from "../commands/ListQueuesCommand";
54
+ import {
55
+ ListTagsForResourceCommandInput,
56
+ ListTagsForResourceCommandOutput,
57
+ } from "../commands/ListTagsForResourceCommand";
58
+ import {
59
+ RegisterComputeNodeGroupInstanceCommandInput,
60
+ RegisterComputeNodeGroupInstanceCommandOutput,
61
+ } from "../commands/RegisterComputeNodeGroupInstanceCommand";
62
+ import {
63
+ TagResourceCommandInput,
64
+ TagResourceCommandOutput,
65
+ } from "../commands/TagResourceCommand";
66
+ import {
67
+ UntagResourceCommandInput,
68
+ UntagResourceCommandOutput,
69
+ } from "../commands/UntagResourceCommand";
70
+ import {
71
+ UpdateComputeNodeGroupCommandInput,
72
+ UpdateComputeNodeGroupCommandOutput,
73
+ } from "../commands/UpdateComputeNodeGroupCommand";
74
+ import {
75
+ UpdateQueueCommandInput,
76
+ UpdateQueueCommandOutput,
77
+ } from "../commands/UpdateQueueCommand";
78
+ export declare const se_CreateClusterCommand: (
79
+ input: CreateClusterCommandInput,
80
+ context: __SerdeContext
81
+ ) => Promise<__HttpRequest>;
82
+ export declare const se_CreateComputeNodeGroupCommand: (
83
+ input: CreateComputeNodeGroupCommandInput,
84
+ context: __SerdeContext
85
+ ) => Promise<__HttpRequest>;
86
+ export declare const se_CreateQueueCommand: (
87
+ input: CreateQueueCommandInput,
88
+ context: __SerdeContext
89
+ ) => Promise<__HttpRequest>;
90
+ export declare const se_DeleteClusterCommand: (
91
+ input: DeleteClusterCommandInput,
92
+ context: __SerdeContext
93
+ ) => Promise<__HttpRequest>;
94
+ export declare const se_DeleteComputeNodeGroupCommand: (
95
+ input: DeleteComputeNodeGroupCommandInput,
96
+ context: __SerdeContext
97
+ ) => Promise<__HttpRequest>;
98
+ export declare const se_DeleteQueueCommand: (
99
+ input: DeleteQueueCommandInput,
100
+ context: __SerdeContext
101
+ ) => Promise<__HttpRequest>;
102
+ export declare const se_GetClusterCommand: (
103
+ input: GetClusterCommandInput,
104
+ context: __SerdeContext
105
+ ) => Promise<__HttpRequest>;
106
+ export declare const se_GetComputeNodeGroupCommand: (
107
+ input: GetComputeNodeGroupCommandInput,
108
+ context: __SerdeContext
109
+ ) => Promise<__HttpRequest>;
110
+ export declare const se_GetQueueCommand: (
111
+ input: GetQueueCommandInput,
112
+ context: __SerdeContext
113
+ ) => Promise<__HttpRequest>;
114
+ export declare const se_ListClustersCommand: (
115
+ input: ListClustersCommandInput,
116
+ context: __SerdeContext
117
+ ) => Promise<__HttpRequest>;
118
+ export declare const se_ListComputeNodeGroupsCommand: (
119
+ input: ListComputeNodeGroupsCommandInput,
120
+ context: __SerdeContext
121
+ ) => Promise<__HttpRequest>;
122
+ export declare const se_ListQueuesCommand: (
123
+ input: ListQueuesCommandInput,
124
+ context: __SerdeContext
125
+ ) => Promise<__HttpRequest>;
126
+ export declare const se_ListTagsForResourceCommand: (
127
+ input: ListTagsForResourceCommandInput,
128
+ context: __SerdeContext
129
+ ) => Promise<__HttpRequest>;
130
+ export declare const se_RegisterComputeNodeGroupInstanceCommand: (
131
+ input: RegisterComputeNodeGroupInstanceCommandInput,
132
+ context: __SerdeContext
133
+ ) => Promise<__HttpRequest>;
134
+ export declare const se_TagResourceCommand: (
135
+ input: TagResourceCommandInput,
136
+ context: __SerdeContext
137
+ ) => Promise<__HttpRequest>;
138
+ export declare const se_UntagResourceCommand: (
139
+ input: UntagResourceCommandInput,
140
+ context: __SerdeContext
141
+ ) => Promise<__HttpRequest>;
142
+ export declare const se_UpdateComputeNodeGroupCommand: (
143
+ input: UpdateComputeNodeGroupCommandInput,
144
+ context: __SerdeContext
145
+ ) => Promise<__HttpRequest>;
146
+ export declare const se_UpdateQueueCommand: (
147
+ input: UpdateQueueCommandInput,
148
+ context: __SerdeContext
149
+ ) => Promise<__HttpRequest>;
150
+ export declare const de_CreateClusterCommand: (
151
+ output: __HttpResponse,
152
+ context: __SerdeContext
153
+ ) => Promise<CreateClusterCommandOutput>;
154
+ export declare const de_CreateComputeNodeGroupCommand: (
155
+ output: __HttpResponse,
156
+ context: __SerdeContext
157
+ ) => Promise<CreateComputeNodeGroupCommandOutput>;
158
+ export declare const de_CreateQueueCommand: (
159
+ output: __HttpResponse,
160
+ context: __SerdeContext
161
+ ) => Promise<CreateQueueCommandOutput>;
162
+ export declare const de_DeleteClusterCommand: (
163
+ output: __HttpResponse,
164
+ context: __SerdeContext
165
+ ) => Promise<DeleteClusterCommandOutput>;
166
+ export declare const de_DeleteComputeNodeGroupCommand: (
167
+ output: __HttpResponse,
168
+ context: __SerdeContext
169
+ ) => Promise<DeleteComputeNodeGroupCommandOutput>;
170
+ export declare const de_DeleteQueueCommand: (
171
+ output: __HttpResponse,
172
+ context: __SerdeContext
173
+ ) => Promise<DeleteQueueCommandOutput>;
174
+ export declare const de_GetClusterCommand: (
175
+ output: __HttpResponse,
176
+ context: __SerdeContext
177
+ ) => Promise<GetClusterCommandOutput>;
178
+ export declare const de_GetComputeNodeGroupCommand: (
179
+ output: __HttpResponse,
180
+ context: __SerdeContext
181
+ ) => Promise<GetComputeNodeGroupCommandOutput>;
182
+ export declare const de_GetQueueCommand: (
183
+ output: __HttpResponse,
184
+ context: __SerdeContext
185
+ ) => Promise<GetQueueCommandOutput>;
186
+ export declare const de_ListClustersCommand: (
187
+ output: __HttpResponse,
188
+ context: __SerdeContext
189
+ ) => Promise<ListClustersCommandOutput>;
190
+ export declare const de_ListComputeNodeGroupsCommand: (
191
+ output: __HttpResponse,
192
+ context: __SerdeContext
193
+ ) => Promise<ListComputeNodeGroupsCommandOutput>;
194
+ export declare const de_ListQueuesCommand: (
195
+ output: __HttpResponse,
196
+ context: __SerdeContext
197
+ ) => Promise<ListQueuesCommandOutput>;
198
+ export declare const de_ListTagsForResourceCommand: (
199
+ output: __HttpResponse,
200
+ context: __SerdeContext
201
+ ) => Promise<ListTagsForResourceCommandOutput>;
202
+ export declare const de_RegisterComputeNodeGroupInstanceCommand: (
203
+ output: __HttpResponse,
204
+ context: __SerdeContext
205
+ ) => Promise<RegisterComputeNodeGroupInstanceCommandOutput>;
206
+ export declare const de_TagResourceCommand: (
207
+ output: __HttpResponse,
208
+ context: __SerdeContext
209
+ ) => Promise<TagResourceCommandOutput>;
210
+ export declare const de_UntagResourceCommand: (
211
+ output: __HttpResponse,
212
+ context: __SerdeContext
213
+ ) => Promise<UntagResourceCommandOutput>;
214
+ export declare const de_UpdateComputeNodeGroupCommand: (
215
+ output: __HttpResponse,
216
+ context: __SerdeContext
217
+ ) => Promise<UpdateComputeNodeGroupCommandOutput>;
218
+ export declare const de_UpdateQueueCommand: (
219
+ output: __HttpResponse,
220
+ context: __SerdeContext
221
+ ) => Promise<UpdateQueueCommandOutput>;
@@ -0,0 +1,85 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { PCSClientConfig } from "./PCSClient";
3
+ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
+ >;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<any>;
17
+ requestHandler:
18
+ | import("@smithy/protocol-http").HttpHandler<any>
19
+ | RequestHandler;
20
+ retryMode: string | import("@smithy/types").Provider<string>;
21
+ sha256: import("@smithy/types").HashConstructor;
22
+ streamCollector: import("@smithy/types").StreamCollector;
23
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
+ apiVersion: string;
26
+ urlParser: import("@smithy/types").UrlParser;
27
+ base64Decoder: import("@smithy/types").Decoder;
28
+ base64Encoder: (_input: string | Uint8Array) => string;
29
+ utf8Decoder: import("@smithy/types").Decoder;
30
+ utf8Encoder: (input: string | Uint8Array) => string;
31
+ disableHostPrefix: boolean;
32
+ serviceId: string;
33
+ logger: import("@smithy/types").Logger;
34
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
35
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
36
+ retryStrategy?:
37
+ | import("@smithy/types").RetryStrategy
38
+ | import("@smithy/types").RetryStrategyV2
39
+ | undefined;
40
+ endpoint?:
41
+ | ((
42
+ | string
43
+ | import("@smithy/types").Endpoint
44
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
45
+ | import("@smithy/types").EndpointV2
46
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
47
+ ) &
48
+ (
49
+ | string
50
+ | import("@smithy/types").Provider<string>
51
+ | import("@smithy/types").Endpoint
52
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
53
+ | import("@smithy/types").EndpointV2
54
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ ))
56
+ | undefined;
57
+ endpointProvider: (
58
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
59
+ context?: {
60
+ logger?: import("@smithy/types").Logger | undefined;
61
+ }
62
+ ) => import("@smithy/types").EndpointV2;
63
+ tls?: boolean | undefined;
64
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
65
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PCSHttpAuthSchemeProvider;
66
+ credentials?:
67
+ | import("@smithy/types").AwsCredentialIdentity
68
+ | import("@smithy/types").AwsCredentialIdentityProvider
69
+ | undefined;
70
+ signer?:
71
+ | import("@smithy/types").RequestSigner
72
+ | ((
73
+ authScheme?: import("@smithy/types").AuthScheme | undefined
74
+ ) => Promise<import("@smithy/types").RequestSigner>)
75
+ | undefined;
76
+ signingEscapePath?: boolean | undefined;
77
+ systemClockOffset?: number | undefined;
78
+ signingRegion?: string | undefined;
79
+ signerConstructor?:
80
+ | (new (
81
+ options: import("@smithy/signature-v4").SignatureV4Init &
82
+ import("@smithy/signature-v4").SignatureV4CryptoInit
83
+ ) => import("@smithy/types").RequestSigner)
84
+ | undefined;
85
+ };
@@ -0,0 +1,89 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { PCSClientConfig } from "./PCSClient";
3
+ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ init?:
11
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
+ | undefined
13
+ ) => import("@smithy/types").MemoizedProvider<
14
+ import("@smithy/types").AwsCredentialIdentity
15
+ >;
16
+ defaultUserAgentProvider: import("@smithy/types").Provider<
17
+ import("@smithy/types").UserAgent
18
+ >;
19
+ maxAttempts: number | import("@smithy/types").Provider<number>;
20
+ region: string | import("@smithy/types").Provider<string>;
21
+ requestHandler:
22
+ | RequestHandler
23
+ | import("@smithy/protocol-http").HttpHandler<any>;
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
+ apiVersion: string;
30
+ urlParser: import("@smithy/types").UrlParser;
31
+ base64Decoder: import("@smithy/types").Decoder;
32
+ base64Encoder: (_input: string | Uint8Array) => string;
33
+ utf8Decoder: import("@smithy/types").Decoder;
34
+ utf8Encoder: (input: string | Uint8Array) => string;
35
+ disableHostPrefix: boolean;
36
+ serviceId: string;
37
+ logger: import("@smithy/types").Logger;
38
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
39
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
40
+ retryStrategy?:
41
+ | import("@smithy/types").RetryStrategy
42
+ | import("@smithy/types").RetryStrategyV2
43
+ | undefined;
44
+ endpoint?:
45
+ | ((
46
+ | string
47
+ | import("@smithy/types").Endpoint
48
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
49
+ | import("@smithy/types").EndpointV2
50
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
51
+ ) &
52
+ (
53
+ | string
54
+ | import("@smithy/types").Provider<string>
55
+ | import("@smithy/types").Endpoint
56
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
57
+ | import("@smithy/types").EndpointV2
58
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
59
+ ))
60
+ | undefined;
61
+ endpointProvider: (
62
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
63
+ context?: {
64
+ logger?: import("@smithy/types").Logger | undefined;
65
+ }
66
+ ) => import("@smithy/types").EndpointV2;
67
+ tls?: boolean | undefined;
68
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
69
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PCSHttpAuthSchemeProvider;
70
+ credentials?:
71
+ | import("@smithy/types").AwsCredentialIdentity
72
+ | import("@smithy/types").AwsCredentialIdentityProvider
73
+ | undefined;
74
+ signer?:
75
+ | import("@smithy/types").RequestSigner
76
+ | ((
77
+ authScheme?: import("@smithy/types").AuthScheme | undefined
78
+ ) => Promise<import("@smithy/types").RequestSigner>)
79
+ | undefined;
80
+ signingEscapePath?: boolean | undefined;
81
+ systemClockOffset?: number | undefined;
82
+ signingRegion?: string | undefined;
83
+ signerConstructor?:
84
+ | (new (
85
+ options: import("@smithy/signature-v4").SignatureV4Init &
86
+ import("@smithy/signature-v4").SignatureV4CryptoInit
87
+ ) => import("@smithy/types").RequestSigner)
88
+ | undefined;
89
+ };
@@ -0,0 +1,79 @@
1
+ import { PCSClientConfig } from "./PCSClient";
2
+ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
3
+ runtime: string;
4
+ sha256: import("@smithy/types").HashConstructor;
5
+ requestHandler:
6
+ | import("@smithy/types").NodeHttpHandlerOptions
7
+ | import("@smithy/types").FetchHttpHandlerOptions
8
+ | Record<string, unknown>
9
+ | import("@smithy/protocol-http").HttpHandler<any>
10
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
+ apiVersion: string;
12
+ urlParser: import("@smithy/types").UrlParser;
13
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
+ streamCollector: import("@smithy/types").StreamCollector;
15
+ base64Decoder: import("@smithy/types").Decoder;
16
+ base64Encoder: (_input: string | Uint8Array) => string;
17
+ utf8Decoder: import("@smithy/types").Decoder;
18
+ utf8Encoder: (input: string | Uint8Array) => string;
19
+ disableHostPrefix: boolean;
20
+ serviceId: string;
21
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ region: string | import("@smithy/types").Provider<any>;
24
+ defaultUserAgentProvider: import("@smithy/types").Provider<
25
+ import("@smithy/types").UserAgent
26
+ >;
27
+ credentialDefaultProvider: (
28
+ input: any
29
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
30
+ maxAttempts: number | import("@smithy/types").Provider<number>;
31
+ retryMode: string | import("@smithy/types").Provider<string>;
32
+ logger: import("@smithy/types").Logger;
33
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ defaultsMode:
35
+ | import("@smithy/smithy-client").DefaultsMode
36
+ | import("@smithy/types").Provider<
37
+ import("@smithy/smithy-client").DefaultsMode
38
+ >;
39
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
40
+ retryStrategy?:
41
+ | import("@smithy/types").RetryStrategy
42
+ | import("@smithy/types").RetryStrategyV2
43
+ | undefined;
44
+ endpoint?:
45
+ | string
46
+ | import("@smithy/types").Endpoint
47
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
48
+ | import("@smithy/types").EndpointV2
49
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
50
+ | undefined;
51
+ endpointProvider: (
52
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
53
+ context?: {
54
+ logger?: import("@smithy/types").Logger | undefined;
55
+ }
56
+ ) => import("@smithy/types").EndpointV2;
57
+ tls?: boolean | undefined;
58
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
59
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PCSHttpAuthSchemeProvider;
60
+ credentials?:
61
+ | import("@smithy/types").AwsCredentialIdentity
62
+ | import("@smithy/types").AwsCredentialIdentityProvider
63
+ | undefined;
64
+ signer?:
65
+ | import("@smithy/types").RequestSigner
66
+ | ((
67
+ authScheme?: import("@smithy/types").AuthScheme | undefined
68
+ ) => Promise<import("@smithy/types").RequestSigner>)
69
+ | undefined;
70
+ signingEscapePath?: boolean | undefined;
71
+ systemClockOffset?: number | undefined;
72
+ signingRegion?: string | undefined;
73
+ signerConstructor?:
74
+ | (new (
75
+ options: import("@smithy/signature-v4").SignatureV4Init &
76
+ import("@smithy/signature-v4").SignatureV4CryptoInit
77
+ ) => import("@smithy/types").RequestSigner)
78
+ | undefined;
79
+ };
@@ -0,0 +1,21 @@
1
+ import { PCSClientConfig } from "./PCSClient";
2
+ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
3
+ apiVersion: string;
4
+ base64Decoder: import("@smithy/types").Decoder;
5
+ base64Encoder: (_input: string | Uint8Array) => string;
6
+ disableHostPrefix: boolean;
7
+ endpointProvider: (
8
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
+ context?: {
10
+ logger?: import("@smithy/types").Logger | undefined;
11
+ }
12
+ ) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PCSHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
+ };
@@ -0,0 +1,11 @@
1
+ import { PCSExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: PCSExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[]
11
+ ) => any;
package/package.json ADDED
@@ -0,0 +1,103 @@
1
+ {
2
+ "name": "@aws-sdk/client-pcs",
3
+ "description": "AWS SDK for JavaScript Pcs Client for Node.js, Browser and React Native",
4
+ "version": "3.641.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 pcs"
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/client-sso-oidc": "3.637.0",
24
+ "@aws-sdk/client-sts": "3.637.0",
25
+ "@aws-sdk/core": "3.635.0",
26
+ "@aws-sdk/credential-provider-node": "3.637.0",
27
+ "@aws-sdk/middleware-host-header": "3.620.0",
28
+ "@aws-sdk/middleware-logger": "3.609.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
+ "@aws-sdk/middleware-user-agent": "3.637.0",
31
+ "@aws-sdk/region-config-resolver": "3.614.0",
32
+ "@aws-sdk/types": "3.609.0",
33
+ "@aws-sdk/util-endpoints": "3.637.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.609.0",
35
+ "@aws-sdk/util-user-agent-node": "3.614.0",
36
+ "@smithy/config-resolver": "^3.0.5",
37
+ "@smithy/core": "^2.4.0",
38
+ "@smithy/fetch-http-handler": "^3.2.4",
39
+ "@smithy/hash-node": "^3.0.3",
40
+ "@smithy/invalid-dependency": "^3.0.3",
41
+ "@smithy/middleware-content-length": "^3.0.5",
42
+ "@smithy/middleware-endpoint": "^3.1.0",
43
+ "@smithy/middleware-retry": "^3.0.15",
44
+ "@smithy/middleware-serde": "^3.0.3",
45
+ "@smithy/middleware-stack": "^3.0.3",
46
+ "@smithy/node-config-provider": "^3.1.4",
47
+ "@smithy/node-http-handler": "^3.1.4",
48
+ "@smithy/protocol-http": "^4.1.0",
49
+ "@smithy/smithy-client": "^3.2.0",
50
+ "@smithy/types": "^3.3.0",
51
+ "@smithy/url-parser": "^3.0.3",
52
+ "@smithy/util-base64": "^3.0.0",
53
+ "@smithy/util-body-length-browser": "^3.0.0",
54
+ "@smithy/util-body-length-node": "^3.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.15",
56
+ "@smithy/util-defaults-mode-node": "^3.0.15",
57
+ "@smithy/util-endpoints": "^2.0.5",
58
+ "@smithy/util-middleware": "^3.0.3",
59
+ "@smithy/util-retry": "^3.0.3",
60
+ "@smithy/util-utf8": "^3.0.0",
61
+ "tslib": "^2.6.2",
62
+ "uuid": "^9.0.1"
63
+ },
64
+ "devDependencies": {
65
+ "@tsconfig/node16": "16.1.3",
66
+ "@types/node": "^16.18.96",
67
+ "@types/uuid": "^9.0.4",
68
+ "concurrently": "7.0.0",
69
+ "downlevel-dts": "0.10.1",
70
+ "rimraf": "3.0.2",
71
+ "typescript": "~4.9.5"
72
+ },
73
+ "engines": {
74
+ "node": ">=16.0.0"
75
+ },
76
+ "typesVersions": {
77
+ "<4.0": {
78
+ "dist-types/*": [
79
+ "dist-types/ts3.4/*"
80
+ ]
81
+ }
82
+ },
83
+ "files": [
84
+ "dist-*/**"
85
+ ],
86
+ "author": {
87
+ "name": "AWS SDK for JavaScript Team",
88
+ "url": "https://aws.amazon.com/javascript/"
89
+ },
90
+ "license": "Apache-2.0",
91
+ "browser": {
92
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
93
+ },
94
+ "react-native": {
95
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
96
+ },
97
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pcs",
98
+ "repository": {
99
+ "type": "git",
100
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
101
+ "directory": "clients/client-pcs"
102
+ }
103
+ }