@aws-sdk/client-cloudcontrol 3.50.0 → 3.53.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/CloudControlServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +296 -1
- package/dist-cjs/protocols/Aws_json1_0.js +195 -751
- package/dist-es/index.js +1 -0
- package/dist-es/models/CloudControlServiceException.js +12 -0
- package/dist-es/models/models_0.js +275 -1
- package/dist-es/protocols/Aws_json1_0.js +350 -735
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CloudControlServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +149 -64
- package/dist-types/ts3.4/CloudControl.d.ts +45 -0
- package/dist-types/ts3.4/CloudControlClient.d.ts +81 -0
- package/dist-types/ts3.4/commands/CancelResourceRequestCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourceRequestStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResourceRequestsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +7 -0
- package/dist-types/ts3.4/models/CloudControlServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +431 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListResourceRequestsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +26 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForResourceRequestSuccess.d.ts +7 -0
- package/package.json +34 -34
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 CloudControl service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class CloudControlServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { CloudControlServiceException as __BaseException } from "./CloudControlServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>The resource with the name requested already exists.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AlreadyExistsException";
|
|
7
|
-
$fault: "client";
|
|
6
|
+
export declare class AlreadyExistsException extends __BaseException {
|
|
7
|
+
readonly name: "AlreadyExistsException";
|
|
8
|
+
readonly $fault: "client";
|
|
8
9
|
Message?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
|
|
9
14
|
}
|
|
10
15
|
export interface CancelResourceRequestInput {
|
|
11
16
|
/**
|
|
@@ -157,36 +162,52 @@ export declare namespace CancelResourceRequestOutput {
|
|
|
157
162
|
/**
|
|
158
163
|
* <p>The resource is currently being modified by another operation.</p>
|
|
159
164
|
*/
|
|
160
|
-
export
|
|
161
|
-
name: "ConcurrentModificationException";
|
|
162
|
-
$fault: "server";
|
|
165
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
166
|
+
readonly name: "ConcurrentModificationException";
|
|
167
|
+
readonly $fault: "server";
|
|
163
168
|
Message?: string;
|
|
169
|
+
/**
|
|
170
|
+
* @internal
|
|
171
|
+
*/
|
|
172
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
164
173
|
}
|
|
165
174
|
/**
|
|
166
175
|
* <p>A resource operation with the specified request token cannot be found.</p>
|
|
167
176
|
*/
|
|
168
|
-
export
|
|
169
|
-
name: "RequestTokenNotFoundException";
|
|
170
|
-
$fault: "client";
|
|
177
|
+
export declare class RequestTokenNotFoundException extends __BaseException {
|
|
178
|
+
readonly name: "RequestTokenNotFoundException";
|
|
179
|
+
readonly $fault: "client";
|
|
171
180
|
Message?: string;
|
|
181
|
+
/**
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
constructor(opts: __ExceptionOptionType<RequestTokenNotFoundException, __BaseException>);
|
|
172
185
|
}
|
|
173
186
|
/**
|
|
174
187
|
* <p>The specified client token has already been used in another resource request.</p>
|
|
175
188
|
* <p>It is best practice for client tokens to be unique for each resource operation request.
|
|
176
189
|
* However, client token expire after 36 hours.</p>
|
|
177
190
|
*/
|
|
178
|
-
export
|
|
179
|
-
name: "ClientTokenConflictException";
|
|
180
|
-
$fault: "client";
|
|
191
|
+
export declare class ClientTokenConflictException extends __BaseException {
|
|
192
|
+
readonly name: "ClientTokenConflictException";
|
|
193
|
+
readonly $fault: "client";
|
|
181
194
|
Message?: string;
|
|
195
|
+
/**
|
|
196
|
+
* @internal
|
|
197
|
+
*/
|
|
198
|
+
constructor(opts: __ExceptionOptionType<ClientTokenConflictException, __BaseException>);
|
|
182
199
|
}
|
|
183
200
|
/**
|
|
184
201
|
* <p>Another resource operation is currently being performed on this resource.</p>
|
|
185
202
|
*/
|
|
186
|
-
export
|
|
187
|
-
name: "ConcurrentOperationException";
|
|
188
|
-
$fault: "client";
|
|
203
|
+
export declare class ConcurrentOperationException extends __BaseException {
|
|
204
|
+
readonly name: "ConcurrentOperationException";
|
|
205
|
+
readonly $fault: "client";
|
|
189
206
|
Message?: string;
|
|
207
|
+
/**
|
|
208
|
+
* @internal
|
|
209
|
+
*/
|
|
210
|
+
constructor(opts: __ExceptionOptionType<ConcurrentOperationException, __BaseException>);
|
|
190
211
|
}
|
|
191
212
|
export interface CreateResourceInput {
|
|
192
213
|
/**
|
|
@@ -261,143 +282,207 @@ export declare namespace CreateResourceOutput {
|
|
|
261
282
|
* <p>The resource handler has returned that the downstream service generated an error that does
|
|
262
283
|
* not map to any other handler error code.</p>
|
|
263
284
|
*/
|
|
264
|
-
export
|
|
265
|
-
name: "GeneralServiceException";
|
|
266
|
-
$fault: "client";
|
|
285
|
+
export declare class GeneralServiceException extends __BaseException {
|
|
286
|
+
readonly name: "GeneralServiceException";
|
|
287
|
+
readonly $fault: "client";
|
|
267
288
|
Message?: string;
|
|
289
|
+
/**
|
|
290
|
+
* @internal
|
|
291
|
+
*/
|
|
292
|
+
constructor(opts: __ExceptionOptionType<GeneralServiceException, __BaseException>);
|
|
268
293
|
}
|
|
269
294
|
/**
|
|
270
295
|
* <p>The resource handler has failed without a returning a more specific error code. This can
|
|
271
296
|
* include timeouts.</p>
|
|
272
297
|
*/
|
|
273
|
-
export
|
|
274
|
-
name: "HandlerFailureException";
|
|
275
|
-
$fault: "server";
|
|
298
|
+
export declare class HandlerFailureException extends __BaseException {
|
|
299
|
+
readonly name: "HandlerFailureException";
|
|
300
|
+
readonly $fault: "server";
|
|
276
301
|
Message?: string;
|
|
302
|
+
/**
|
|
303
|
+
* @internal
|
|
304
|
+
*/
|
|
305
|
+
constructor(opts: __ExceptionOptionType<HandlerFailureException, __BaseException>);
|
|
277
306
|
}
|
|
278
307
|
/**
|
|
279
308
|
* <p>The resource handler has returned that an unexpected error occurred within the resource
|
|
280
309
|
* handler.</p>
|
|
281
310
|
*/
|
|
282
|
-
export
|
|
283
|
-
name: "HandlerInternalFailureException";
|
|
284
|
-
$fault: "server";
|
|
311
|
+
export declare class HandlerInternalFailureException extends __BaseException {
|
|
312
|
+
readonly name: "HandlerInternalFailureException";
|
|
313
|
+
readonly $fault: "server";
|
|
285
314
|
Message?: string;
|
|
315
|
+
/**
|
|
316
|
+
* @internal
|
|
317
|
+
*/
|
|
318
|
+
constructor(opts: __ExceptionOptionType<HandlerInternalFailureException, __BaseException>);
|
|
286
319
|
}
|
|
287
320
|
/**
|
|
288
321
|
* <p>The resource handler has returned that the credentials provided by the user are
|
|
289
322
|
* invalid.</p>
|
|
290
323
|
*/
|
|
291
|
-
export
|
|
292
|
-
name: "InvalidCredentialsException";
|
|
293
|
-
$fault: "client";
|
|
324
|
+
export declare class InvalidCredentialsException extends __BaseException {
|
|
325
|
+
readonly name: "InvalidCredentialsException";
|
|
326
|
+
readonly $fault: "client";
|
|
294
327
|
Message?: string;
|
|
328
|
+
/**
|
|
329
|
+
* @internal
|
|
330
|
+
*/
|
|
331
|
+
constructor(opts: __ExceptionOptionType<InvalidCredentialsException, __BaseException>);
|
|
295
332
|
}
|
|
296
333
|
/**
|
|
297
334
|
* <p>The resource handler has returned that invalid input from the user has generated a generic
|
|
298
335
|
* exception.</p>
|
|
299
336
|
*/
|
|
300
|
-
export
|
|
301
|
-
name: "InvalidRequestException";
|
|
302
|
-
$fault: "client";
|
|
337
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
338
|
+
readonly name: "InvalidRequestException";
|
|
339
|
+
readonly $fault: "client";
|
|
303
340
|
Message?: string;
|
|
341
|
+
/**
|
|
342
|
+
* @internal
|
|
343
|
+
*/
|
|
344
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
304
345
|
}
|
|
305
346
|
/**
|
|
306
347
|
* <p>The resource handler has returned that the request could not be completed due to
|
|
307
348
|
* networking issues, such as a failure to receive a response from the server.</p>
|
|
308
349
|
*/
|
|
309
|
-
export
|
|
310
|
-
name: "NetworkFailureException";
|
|
311
|
-
$fault: "server";
|
|
350
|
+
export declare class NetworkFailureException extends __BaseException {
|
|
351
|
+
readonly name: "NetworkFailureException";
|
|
352
|
+
readonly $fault: "server";
|
|
312
353
|
Message?: string;
|
|
354
|
+
/**
|
|
355
|
+
* @internal
|
|
356
|
+
*/
|
|
357
|
+
constructor(opts: __ExceptionOptionType<NetworkFailureException, __BaseException>);
|
|
313
358
|
}
|
|
314
359
|
/**
|
|
315
360
|
* <p>The resource handler has returned that the downstream resource failed to complete all of
|
|
316
361
|
* its ready-state checks.</p>
|
|
317
362
|
*/
|
|
318
|
-
export
|
|
319
|
-
name: "NotStabilizedException";
|
|
320
|
-
$fault: "client";
|
|
363
|
+
export declare class NotStabilizedException extends __BaseException {
|
|
364
|
+
readonly name: "NotStabilizedException";
|
|
365
|
+
readonly $fault: "client";
|
|
321
366
|
Message?: string;
|
|
367
|
+
/**
|
|
368
|
+
* @internal
|
|
369
|
+
*/
|
|
370
|
+
constructor(opts: __ExceptionOptionType<NotStabilizedException, __BaseException>);
|
|
322
371
|
}
|
|
323
372
|
/**
|
|
324
373
|
* <p>One or more properties included in this resource operation are defined as create-only, and
|
|
325
374
|
* therefore cannot be updated.</p>
|
|
326
375
|
*/
|
|
327
|
-
export
|
|
328
|
-
name: "NotUpdatableException";
|
|
329
|
-
$fault: "client";
|
|
376
|
+
export declare class NotUpdatableException extends __BaseException {
|
|
377
|
+
readonly name: "NotUpdatableException";
|
|
378
|
+
readonly $fault: "client";
|
|
330
379
|
Message?: string;
|
|
380
|
+
/**
|
|
381
|
+
* @internal
|
|
382
|
+
*/
|
|
383
|
+
constructor(opts: __ExceptionOptionType<NotUpdatableException, __BaseException>);
|
|
331
384
|
}
|
|
332
385
|
/**
|
|
333
386
|
* <p>Cloud Control API has not received a valid response from the resource handler, due to a
|
|
334
387
|
* configuration error. This includes issues such as the resource handler returning an invalid
|
|
335
388
|
* response, or timing out.</p>
|
|
336
389
|
*/
|
|
337
|
-
export
|
|
338
|
-
name: "PrivateTypeException";
|
|
339
|
-
$fault: "client";
|
|
390
|
+
export declare class PrivateTypeException extends __BaseException {
|
|
391
|
+
readonly name: "PrivateTypeException";
|
|
392
|
+
readonly $fault: "client";
|
|
340
393
|
Message?: string;
|
|
394
|
+
/**
|
|
395
|
+
* @internal
|
|
396
|
+
*/
|
|
397
|
+
constructor(opts: __ExceptionOptionType<PrivateTypeException, __BaseException>);
|
|
341
398
|
}
|
|
342
399
|
/**
|
|
343
400
|
* <p>The resource is temporarily unavailable to be acted upon. For example, if the resource is
|
|
344
401
|
* currently undergoing an operation and cannot be acted upon until that operation is
|
|
345
402
|
* finished.</p>
|
|
346
403
|
*/
|
|
347
|
-
export
|
|
348
|
-
name: "ResourceConflictException";
|
|
349
|
-
$fault: "client";
|
|
404
|
+
export declare class ResourceConflictException extends __BaseException {
|
|
405
|
+
readonly name: "ResourceConflictException";
|
|
406
|
+
readonly $fault: "client";
|
|
350
407
|
Message?: string;
|
|
408
|
+
/**
|
|
409
|
+
* @internal
|
|
410
|
+
*/
|
|
411
|
+
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
351
412
|
}
|
|
352
413
|
/**
|
|
353
414
|
* <p>A resource with the specified identifier cannot be found.</p>
|
|
354
415
|
*/
|
|
355
|
-
export
|
|
356
|
-
name: "ResourceNotFoundException";
|
|
357
|
-
$fault: "client";
|
|
416
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
417
|
+
readonly name: "ResourceNotFoundException";
|
|
418
|
+
readonly $fault: "client";
|
|
358
419
|
Message?: string;
|
|
420
|
+
/**
|
|
421
|
+
* @internal
|
|
422
|
+
*/
|
|
423
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
359
424
|
}
|
|
360
425
|
/**
|
|
361
426
|
* <p>The resource handler has returned that the downstream service returned an internal error,
|
|
362
427
|
* typically with a <code>5XX HTTP</code> status code.</p>
|
|
363
428
|
*/
|
|
364
|
-
export
|
|
365
|
-
name: "ServiceInternalErrorException";
|
|
366
|
-
$fault: "server";
|
|
429
|
+
export declare class ServiceInternalErrorException extends __BaseException {
|
|
430
|
+
readonly name: "ServiceInternalErrorException";
|
|
431
|
+
readonly $fault: "server";
|
|
367
432
|
Message?: string;
|
|
433
|
+
/**
|
|
434
|
+
* @internal
|
|
435
|
+
*/
|
|
436
|
+
constructor(opts: __ExceptionOptionType<ServiceInternalErrorException, __BaseException>);
|
|
368
437
|
}
|
|
369
438
|
/**
|
|
370
439
|
* <p>The resource handler has returned that a non-transient resource limit was reached on the
|
|
371
440
|
* service side.</p>
|
|
372
441
|
*/
|
|
373
|
-
export
|
|
374
|
-
name: "ServiceLimitExceededException";
|
|
375
|
-
$fault: "client";
|
|
442
|
+
export declare class ServiceLimitExceededException extends __BaseException {
|
|
443
|
+
readonly name: "ServiceLimitExceededException";
|
|
444
|
+
readonly $fault: "client";
|
|
376
445
|
Message?: string;
|
|
446
|
+
/**
|
|
447
|
+
* @internal
|
|
448
|
+
*/
|
|
449
|
+
constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
|
|
377
450
|
}
|
|
378
451
|
/**
|
|
379
452
|
* <p>The request was denied due to request throttling.</p>
|
|
380
453
|
*/
|
|
381
|
-
export
|
|
382
|
-
name: "ThrottlingException";
|
|
383
|
-
$fault: "client";
|
|
454
|
+
export declare class ThrottlingException extends __BaseException {
|
|
455
|
+
readonly name: "ThrottlingException";
|
|
456
|
+
readonly $fault: "client";
|
|
384
457
|
Message?: string;
|
|
458
|
+
/**
|
|
459
|
+
* @internal
|
|
460
|
+
*/
|
|
461
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
385
462
|
}
|
|
386
463
|
/**
|
|
387
464
|
* <p>The specified extension does not exist in the CloudFormation registry.</p>
|
|
388
465
|
*/
|
|
389
|
-
export
|
|
390
|
-
name: "TypeNotFoundException";
|
|
391
|
-
$fault: "client";
|
|
466
|
+
export declare class TypeNotFoundException extends __BaseException {
|
|
467
|
+
readonly name: "TypeNotFoundException";
|
|
468
|
+
readonly $fault: "client";
|
|
392
469
|
Message?: string;
|
|
470
|
+
/**
|
|
471
|
+
* @internal
|
|
472
|
+
*/
|
|
473
|
+
constructor(opts: __ExceptionOptionType<TypeNotFoundException, __BaseException>);
|
|
393
474
|
}
|
|
394
475
|
/**
|
|
395
476
|
* <p>The specified resource does not support this resource operation.</p>
|
|
396
477
|
*/
|
|
397
|
-
export
|
|
398
|
-
name: "UnsupportedActionException";
|
|
399
|
-
$fault: "client";
|
|
478
|
+
export declare class UnsupportedActionException extends __BaseException {
|
|
479
|
+
readonly name: "UnsupportedActionException";
|
|
480
|
+
readonly $fault: "client";
|
|
400
481
|
Message?: string;
|
|
482
|
+
/**
|
|
483
|
+
* @internal
|
|
484
|
+
*/
|
|
485
|
+
constructor(opts: __ExceptionOptionType<UnsupportedActionException, __BaseException>);
|
|
401
486
|
}
|
|
402
487
|
export interface DeleteResourceInput {
|
|
403
488
|
/**
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CloudControlClient } from "./CloudControlClient";
|
|
3
|
+
import { CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput } from "./commands/CancelResourceRequestCommand";
|
|
4
|
+
import { CreateResourceCommandInput, CreateResourceCommandOutput } from "./commands/CreateResourceCommand";
|
|
5
|
+
import { DeleteResourceCommandInput, DeleteResourceCommandOutput } from "./commands/DeleteResourceCommand";
|
|
6
|
+
import { GetResourceCommandInput, GetResourceCommandOutput } from "./commands/GetResourceCommand";
|
|
7
|
+
import { GetResourceRequestStatusCommandInput, GetResourceRequestStatusCommandOutput } from "./commands/GetResourceRequestStatusCommand";
|
|
8
|
+
import { ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput } from "./commands/ListResourceRequestsCommand";
|
|
9
|
+
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
10
|
+
import { UpdateResourceCommandInput, UpdateResourceCommandOutput } from "./commands/UpdateResourceCommand";
|
|
11
|
+
|
|
12
|
+
export declare class CloudControl extends CloudControlClient {
|
|
13
|
+
|
|
14
|
+
cancelResourceRequest(args: CancelResourceRequestCommandInput, options?: __HttpHandlerOptions): Promise<CancelResourceRequestCommandOutput>;
|
|
15
|
+
cancelResourceRequest(args: CancelResourceRequestCommandInput, cb: (err: any, data?: CancelResourceRequestCommandOutput) => void): void;
|
|
16
|
+
cancelResourceRequest(args: CancelResourceRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelResourceRequestCommandOutput) => void): void;
|
|
17
|
+
|
|
18
|
+
createResource(args: CreateResourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateResourceCommandOutput>;
|
|
19
|
+
createResource(args: CreateResourceCommandInput, cb: (err: any, data?: CreateResourceCommandOutput) => void): void;
|
|
20
|
+
createResource(args: CreateResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceCommandOutput) => void): void;
|
|
21
|
+
|
|
22
|
+
deleteResource(args: DeleteResourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourceCommandOutput>;
|
|
23
|
+
deleteResource(args: DeleteResourceCommandInput, cb: (err: any, data?: DeleteResourceCommandOutput) => void): void;
|
|
24
|
+
deleteResource(args: DeleteResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceCommandOutput) => void): void;
|
|
25
|
+
|
|
26
|
+
getResource(args: GetResourceCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceCommandOutput>;
|
|
27
|
+
getResource(args: GetResourceCommandInput, cb: (err: any, data?: GetResourceCommandOutput) => void): void;
|
|
28
|
+
getResource(args: GetResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceCommandOutput) => void): void;
|
|
29
|
+
|
|
30
|
+
getResourceRequestStatus(args: GetResourceRequestStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceRequestStatusCommandOutput>;
|
|
31
|
+
getResourceRequestStatus(args: GetResourceRequestStatusCommandInput, cb: (err: any, data?: GetResourceRequestStatusCommandOutput) => void): void;
|
|
32
|
+
getResourceRequestStatus(args: GetResourceRequestStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceRequestStatusCommandOutput) => void): void;
|
|
33
|
+
|
|
34
|
+
listResourceRequests(args: ListResourceRequestsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceRequestsCommandOutput>;
|
|
35
|
+
listResourceRequests(args: ListResourceRequestsCommandInput, cb: (err: any, data?: ListResourceRequestsCommandOutput) => void): void;
|
|
36
|
+
listResourceRequests(args: ListResourceRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceRequestsCommandOutput) => void): void;
|
|
37
|
+
|
|
38
|
+
listResources(args: ListResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesCommandOutput>;
|
|
39
|
+
listResources(args: ListResourcesCommandInput, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
40
|
+
listResources(args: ListResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
41
|
+
|
|
42
|
+
updateResource(args: UpdateResourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResourceCommandOutput>;
|
|
43
|
+
updateResource(args: UpdateResourceCommandInput, cb: (err: any, data?: UpdateResourceCommandOutput) => void): void;
|
|
44
|
+
updateResource(args: UpdateResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResourceCommandOutput) => void): void;
|
|
45
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
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";
|
|
9
|
+
import { CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput } from "./commands/CancelResourceRequestCommand";
|
|
10
|
+
import { CreateResourceCommandInput, CreateResourceCommandOutput } from "./commands/CreateResourceCommand";
|
|
11
|
+
import { DeleteResourceCommandInput, DeleteResourceCommandOutput } from "./commands/DeleteResourceCommand";
|
|
12
|
+
import { GetResourceCommandInput, GetResourceCommandOutput } from "./commands/GetResourceCommand";
|
|
13
|
+
import { GetResourceRequestStatusCommandInput, GetResourceRequestStatusCommandOutput } from "./commands/GetResourceRequestStatusCommand";
|
|
14
|
+
import { ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput } from "./commands/ListResourceRequestsCommand";
|
|
15
|
+
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
16
|
+
import { UpdateResourceCommandInput, UpdateResourceCommandOutput } from "./commands/UpdateResourceCommand";
|
|
17
|
+
export declare type ServiceInputTypes = CancelResourceRequestCommandInput | CreateResourceCommandInput | DeleteResourceCommandInput | GetResourceCommandInput | GetResourceRequestStatusCommandInput | ListResourceRequestsCommandInput | ListResourcesCommandInput | UpdateResourceCommandInput;
|
|
18
|
+
export declare type ServiceOutputTypes = CancelResourceRequestCommandOutput | CreateResourceCommandOutput | DeleteResourceCommandOutput | GetResourceCommandOutput | GetResourceRequestStatusCommandOutput | ListResourceRequestsCommandOutput | ListResourcesCommandOutput | UpdateResourceCommandOutput;
|
|
19
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
20
|
+
|
|
21
|
+
requestHandler?: __HttpHandler;
|
|
22
|
+
|
|
23
|
+
sha256?: __HashConstructor;
|
|
24
|
+
|
|
25
|
+
urlParser?: __UrlParser;
|
|
26
|
+
|
|
27
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
28
|
+
|
|
29
|
+
streamCollector?: __StreamCollector;
|
|
30
|
+
|
|
31
|
+
base64Decoder?: __Decoder;
|
|
32
|
+
|
|
33
|
+
base64Encoder?: __Encoder;
|
|
34
|
+
|
|
35
|
+
utf8Decoder?: __Decoder;
|
|
36
|
+
|
|
37
|
+
utf8Encoder?: __Encoder;
|
|
38
|
+
|
|
39
|
+
runtime?: string;
|
|
40
|
+
|
|
41
|
+
disableHostPrefix?: boolean;
|
|
42
|
+
|
|
43
|
+
maxAttempts?: number | __Provider<number>;
|
|
44
|
+
|
|
45
|
+
retryMode?: string | __Provider<string>;
|
|
46
|
+
|
|
47
|
+
logger?: __Logger;
|
|
48
|
+
|
|
49
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
50
|
+
|
|
51
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
52
|
+
|
|
53
|
+
serviceId?: string;
|
|
54
|
+
|
|
55
|
+
region?: string | __Provider<string>;
|
|
56
|
+
|
|
57
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
58
|
+
|
|
59
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
60
|
+
|
|
61
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
62
|
+
|
|
63
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
64
|
+
}
|
|
65
|
+
declare type CloudControlClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
66
|
+
|
|
67
|
+
export interface CloudControlClientConfig extends CloudControlClientConfigType {
|
|
68
|
+
}
|
|
69
|
+
declare type CloudControlClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
70
|
+
|
|
71
|
+
export interface CloudControlClientResolvedConfig extends CloudControlClientResolvedConfigType {
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export declare class CloudControlClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudControlClientResolvedConfig> {
|
|
75
|
+
|
|
76
|
+
readonly config: CloudControlClientResolvedConfig;
|
|
77
|
+
constructor(configuration: CloudControlClientConfig);
|
|
78
|
+
|
|
79
|
+
destroy(): void;
|
|
80
|
+
}
|
|
81
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
|
+
import { CancelResourceRequestInput, CancelResourceRequestOutput } from "../models/models_0";
|
|
5
|
+
export interface CancelResourceRequestCommandInput extends CancelResourceRequestInput {
|
|
6
|
+
}
|
|
7
|
+
export interface CancelResourceRequestCommandOutput extends CancelResourceRequestOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CancelResourceRequestCommand extends $Command<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput, CloudControlClientResolvedConfig> {
|
|
11
|
+
readonly input: CancelResourceRequestCommandInput;
|
|
12
|
+
constructor(input: CancelResourceRequestCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
|
+
import { CreateResourceInput, CreateResourceOutput } from "../models/models_0";
|
|
5
|
+
export interface CreateResourceCommandInput extends CreateResourceInput {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateResourceCommandOutput extends CreateResourceOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateResourceCommand extends $Command<CreateResourceCommandInput, CreateResourceCommandOutput, CloudControlClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateResourceCommandInput;
|
|
12
|
+
constructor(input: CreateResourceCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateResourceCommandInput, CreateResourceCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
|
+
import { DeleteResourceInput, DeleteResourceOutput } from "../models/models_0";
|
|
5
|
+
export interface DeleteResourceCommandInput extends DeleteResourceInput {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteResourceCommandOutput extends DeleteResourceOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteResourceCommand extends $Command<DeleteResourceCommandInput, DeleteResourceCommandOutput, CloudControlClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteResourceCommandInput;
|
|
12
|
+
constructor(input: DeleteResourceCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourceCommandInput, DeleteResourceCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
|
+
import { GetResourceInput, GetResourceOutput } from "../models/models_0";
|
|
5
|
+
export interface GetResourceCommandInput extends GetResourceInput {
|
|
6
|
+
}
|
|
7
|
+
export interface GetResourceCommandOutput extends GetResourceOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetResourceCommand extends $Command<GetResourceCommandInput, GetResourceCommandOutput, CloudControlClientResolvedConfig> {
|
|
11
|
+
readonly input: GetResourceCommandInput;
|
|
12
|
+
constructor(input: GetResourceCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourceCommandInput, GetResourceCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
|
+
import { GetResourceRequestStatusInput, GetResourceRequestStatusOutput } from "../models/models_0";
|
|
5
|
+
export interface GetResourceRequestStatusCommandInput extends GetResourceRequestStatusInput {
|
|
6
|
+
}
|
|
7
|
+
export interface GetResourceRequestStatusCommandOutput extends GetResourceRequestStatusOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetResourceRequestStatusCommand extends $Command<GetResourceRequestStatusCommandInput, GetResourceRequestStatusCommandOutput, CloudControlClientResolvedConfig> {
|
|
11
|
+
readonly input: GetResourceRequestStatusCommandInput;
|
|
12
|
+
constructor(input: GetResourceRequestStatusCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourceRequestStatusCommandInput, GetResourceRequestStatusCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
|
+
import { ListResourceRequestsInput, ListResourceRequestsOutput } from "../models/models_0";
|
|
5
|
+
export interface ListResourceRequestsCommandInput extends ListResourceRequestsInput {
|
|
6
|
+
}
|
|
7
|
+
export interface ListResourceRequestsCommandOutput extends ListResourceRequestsOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListResourceRequestsCommand extends $Command<ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput, CloudControlClientResolvedConfig> {
|
|
11
|
+
readonly input: ListResourceRequestsCommandInput;
|
|
12
|
+
constructor(input: ListResourceRequestsCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
|
+
import { ListResourcesInput, ListResourcesOutput } from "../models/models_0";
|
|
5
|
+
export interface ListResourcesCommandInput extends ListResourcesInput {
|
|
6
|
+
}
|
|
7
|
+
export interface ListResourcesCommandOutput extends ListResourcesOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListResourcesCommand extends $Command<ListResourcesCommandInput, ListResourcesCommandOutput, CloudControlClientResolvedConfig> {
|
|
11
|
+
readonly input: ListResourcesCommandInput;
|
|
12
|
+
constructor(input: ListResourcesCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListResourcesCommandInput, ListResourcesCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
|
+
import { UpdateResourceInput, UpdateResourceOutput } from "../models/models_0";
|
|
5
|
+
export interface UpdateResourceCommandInput extends UpdateResourceInput {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateResourceCommandOutput extends UpdateResourceOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class UpdateResourceCommand extends $Command<UpdateResourceCommandInput, UpdateResourceCommandOutput, CloudControlClientResolvedConfig> {
|
|
11
|
+
readonly input: UpdateResourceCommandInput;
|
|
12
|
+
constructor(input: UpdateResourceCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateResourceCommandInput, UpdateResourceCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./CancelResourceRequestCommand";
|
|
2
|
+
export * from "./CreateResourceCommand";
|
|
3
|
+
export * from "./DeleteResourceCommand";
|
|
4
|
+
export * from "./GetResourceCommand";
|
|
5
|
+
export * from "./GetResourceRequestStatusCommand";
|
|
6
|
+
export * from "./ListResourceRequestsCommand";
|
|
7
|
+
export * from "./ListResourcesCommand";
|
|
8
|
+
export * from "./UpdateResourceCommand";
|