@aws-sdk/client-cloudcontrol 3.296.0 → 3.298.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/dist-cjs/commands/CancelResourceRequestCommand.js +1 -1
- package/dist-cjs/commands/DeleteResourceCommand.js +1 -1
- package/dist-cjs/commands/GetResourceCommand.js +1 -1
- package/dist-cjs/commands/GetResourceRequestStatusCommand.js +1 -1
- package/dist-cjs/commands/ListResourceRequestsCommand.js +1 -1
- package/dist-cjs/models/models_0.js +1 -25
- package/dist-es/commands/CancelResourceRequestCommand.js +2 -2
- package/dist-es/commands/DeleteResourceCommand.js +2 -2
- package/dist-es/commands/GetResourceCommand.js +2 -2
- package/dist-es/commands/GetResourceRequestStatusCommand.js +2 -2
- package/dist-es/commands/ListResourceRequestsCommand.js +2 -2
- package/dist-es/models/models_0.js +0 -18
- package/dist-types/CloudControl.d.ts +9 -0
- package/dist-types/CloudControlClient.d.ts +24 -4
- package/dist-types/commands/CancelResourceRequestCommand.d.ts +16 -0
- package/dist-types/commands/CreateResourceCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourceCommand.d.ts +16 -0
- package/dist-types/commands/GetResourceCommand.d.ts +16 -0
- package/dist-types/commands/GetResourceRequestStatusCommand.d.ts +16 -0
- package/dist-types/commands/ListResourceRequestsCommand.d.ts +16 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +16 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +16 -0
- package/dist-types/models/CloudControlServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +81 -24
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListResourceRequestsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListResourcesPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -18
- package/package.json +4 -3
|
@@ -30,7 +30,7 @@ class CancelResourceRequestCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
34
|
outputFilterSensitiveLog: models_0_1.CancelResourceRequestOutputFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -30,7 +30,7 @@ class DeleteResourceCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
34
|
outputFilterSensitiveLog: models_0_1.DeleteResourceOutputFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -30,7 +30,7 @@ class GetResourceCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
34
|
outputFilterSensitiveLog: models_0_1.GetResourceOutputFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -30,7 +30,7 @@ class GetResourceRequestStatusCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
34
|
outputFilterSensitiveLog: models_0_1.GetResourceRequestStatusOutputFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -30,7 +30,7 @@ class ListResourceRequestsCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
34
|
outputFilterSensitiveLog: models_0_1.ListResourceRequestsOutputFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateResourceOutputFilterSensitiveLog = exports.UpdateResourceInputFilterSensitiveLog = exports.ListResourcesOutputFilterSensitiveLog = exports.ListResourcesInputFilterSensitiveLog = exports.ListResourceRequestsOutputFilterSensitiveLog = exports.
|
|
3
|
+
exports.UpdateResourceOutputFilterSensitiveLog = exports.UpdateResourceInputFilterSensitiveLog = exports.ListResourcesOutputFilterSensitiveLog = exports.ListResourcesInputFilterSensitiveLog = exports.ListResourceRequestsOutputFilterSensitiveLog = exports.GetResourceRequestStatusOutputFilterSensitiveLog = exports.GetResourceOutputFilterSensitiveLog = exports.ResourceDescriptionFilterSensitiveLog = exports.DeleteResourceOutputFilterSensitiveLog = exports.CreateResourceOutputFilterSensitiveLog = exports.CreateResourceInputFilterSensitiveLog = exports.CancelResourceRequestOutputFilterSensitiveLog = exports.ProgressEventFilterSensitiveLog = exports.UnsupportedActionException = exports.TypeNotFoundException = exports.ThrottlingException = exports.ServiceLimitExceededException = exports.ServiceInternalErrorException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PrivateTypeException = exports.NotUpdatableException = exports.NotStabilizedException = exports.NetworkFailureException = exports.InvalidRequestException = exports.InvalidCredentialsException = exports.HandlerInternalFailureException = exports.HandlerFailureException = exports.GeneralServiceException = exports.ConcurrentOperationException = exports.ClientTokenConflictException = exports.RequestTokenNotFoundException = exports.ConcurrentModificationException = exports.OperationStatus = exports.Operation = exports.HandlerErrorCode = exports.AlreadyExistsException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const CloudControlServiceException_1 = require("./CloudControlServiceException");
|
|
6
6
|
class AlreadyExistsException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
@@ -330,10 +330,6 @@ class UnsupportedActionException extends CloudControlServiceException_1.CloudCon
|
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
exports.UnsupportedActionException = UnsupportedActionException;
|
|
333
|
-
const CancelResourceRequestInputFilterSensitiveLog = (obj) => ({
|
|
334
|
-
...obj,
|
|
335
|
-
});
|
|
336
|
-
exports.CancelResourceRequestInputFilterSensitiveLog = CancelResourceRequestInputFilterSensitiveLog;
|
|
337
333
|
const ProgressEventFilterSensitiveLog = (obj) => ({
|
|
338
334
|
...obj,
|
|
339
335
|
...(obj.ResourceModel && { ResourceModel: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -354,19 +350,11 @@ const CreateResourceOutputFilterSensitiveLog = (obj) => ({
|
|
|
354
350
|
...(obj.ProgressEvent && { ProgressEvent: (0, exports.ProgressEventFilterSensitiveLog)(obj.ProgressEvent) }),
|
|
355
351
|
});
|
|
356
352
|
exports.CreateResourceOutputFilterSensitiveLog = CreateResourceOutputFilterSensitiveLog;
|
|
357
|
-
const DeleteResourceInputFilterSensitiveLog = (obj) => ({
|
|
358
|
-
...obj,
|
|
359
|
-
});
|
|
360
|
-
exports.DeleteResourceInputFilterSensitiveLog = DeleteResourceInputFilterSensitiveLog;
|
|
361
353
|
const DeleteResourceOutputFilterSensitiveLog = (obj) => ({
|
|
362
354
|
...obj,
|
|
363
355
|
...(obj.ProgressEvent && { ProgressEvent: (0, exports.ProgressEventFilterSensitiveLog)(obj.ProgressEvent) }),
|
|
364
356
|
});
|
|
365
357
|
exports.DeleteResourceOutputFilterSensitiveLog = DeleteResourceOutputFilterSensitiveLog;
|
|
366
|
-
const GetResourceInputFilterSensitiveLog = (obj) => ({
|
|
367
|
-
...obj,
|
|
368
|
-
});
|
|
369
|
-
exports.GetResourceInputFilterSensitiveLog = GetResourceInputFilterSensitiveLog;
|
|
370
358
|
const ResourceDescriptionFilterSensitiveLog = (obj) => ({
|
|
371
359
|
...obj,
|
|
372
360
|
...(obj.Properties && { Properties: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -379,23 +367,11 @@ const GetResourceOutputFilterSensitiveLog = (obj) => ({
|
|
|
379
367
|
}),
|
|
380
368
|
});
|
|
381
369
|
exports.GetResourceOutputFilterSensitiveLog = GetResourceOutputFilterSensitiveLog;
|
|
382
|
-
const GetResourceRequestStatusInputFilterSensitiveLog = (obj) => ({
|
|
383
|
-
...obj,
|
|
384
|
-
});
|
|
385
|
-
exports.GetResourceRequestStatusInputFilterSensitiveLog = GetResourceRequestStatusInputFilterSensitiveLog;
|
|
386
370
|
const GetResourceRequestStatusOutputFilterSensitiveLog = (obj) => ({
|
|
387
371
|
...obj,
|
|
388
372
|
...(obj.ProgressEvent && { ProgressEvent: (0, exports.ProgressEventFilterSensitiveLog)(obj.ProgressEvent) }),
|
|
389
373
|
});
|
|
390
374
|
exports.GetResourceRequestStatusOutputFilterSensitiveLog = GetResourceRequestStatusOutputFilterSensitiveLog;
|
|
391
|
-
const ResourceRequestStatusFilterFilterSensitiveLog = (obj) => ({
|
|
392
|
-
...obj,
|
|
393
|
-
});
|
|
394
|
-
exports.ResourceRequestStatusFilterFilterSensitiveLog = ResourceRequestStatusFilterFilterSensitiveLog;
|
|
395
|
-
const ListResourceRequestsInputFilterSensitiveLog = (obj) => ({
|
|
396
|
-
...obj,
|
|
397
|
-
});
|
|
398
|
-
exports.ListResourceRequestsInputFilterSensitiveLog = ListResourceRequestsInputFilterSensitiveLog;
|
|
399
375
|
const ListResourceRequestsOutputFilterSensitiveLog = (obj) => ({
|
|
400
376
|
...obj,
|
|
401
377
|
...(obj.ResourceRequestStatusSummaries && {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CancelResourceRequestOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0CancelResourceRequestCommand, serializeAws_json1_0CancelResourceRequestCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class CancelResourceRequestCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class CancelResourceRequestCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: CancelResourceRequestOutputFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteResourceOutputFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0DeleteResourceCommand, serializeAws_json1_0DeleteResourceCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class DeleteResourceCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class DeleteResourceCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: DeleteResourceOutputFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetResourceOutputFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0GetResourceCommand, serializeAws_json1_0GetResourceCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class GetResourceCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class GetResourceCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: GetResourceOutputFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetResourceRequestStatusOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0GetResourceRequestStatusCommand, serializeAws_json1_0GetResourceRequestStatusCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class GetResourceRequestStatusCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class GetResourceRequestStatusCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: GetResourceRequestStatusOutputFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListResourceRequestsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0ListResourceRequestsCommand, serializeAws_json1_0ListResourceRequestsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class ListResourceRequestsCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class ListResourceRequestsCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: ListResourceRequestsOutputFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -306,9 +306,6 @@ export class UnsupportedActionException extends __BaseException {
|
|
|
306
306
|
this.Message = opts.Message;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
export const CancelResourceRequestInputFilterSensitiveLog = (obj) => ({
|
|
310
|
-
...obj,
|
|
311
|
-
});
|
|
312
309
|
export const ProgressEventFilterSensitiveLog = (obj) => ({
|
|
313
310
|
...obj,
|
|
314
311
|
...(obj.ResourceModel && { ResourceModel: SENSITIVE_STRING }),
|
|
@@ -325,16 +322,10 @@ export const CreateResourceOutputFilterSensitiveLog = (obj) => ({
|
|
|
325
322
|
...obj,
|
|
326
323
|
...(obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }),
|
|
327
324
|
});
|
|
328
|
-
export const DeleteResourceInputFilterSensitiveLog = (obj) => ({
|
|
329
|
-
...obj,
|
|
330
|
-
});
|
|
331
325
|
export const DeleteResourceOutputFilterSensitiveLog = (obj) => ({
|
|
332
326
|
...obj,
|
|
333
327
|
...(obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }),
|
|
334
328
|
});
|
|
335
|
-
export const GetResourceInputFilterSensitiveLog = (obj) => ({
|
|
336
|
-
...obj,
|
|
337
|
-
});
|
|
338
329
|
export const ResourceDescriptionFilterSensitiveLog = (obj) => ({
|
|
339
330
|
...obj,
|
|
340
331
|
...(obj.Properties && { Properties: SENSITIVE_STRING }),
|
|
@@ -345,19 +336,10 @@ export const GetResourceOutputFilterSensitiveLog = (obj) => ({
|
|
|
345
336
|
ResourceDescription: ResourceDescriptionFilterSensitiveLog(obj.ResourceDescription),
|
|
346
337
|
}),
|
|
347
338
|
});
|
|
348
|
-
export const GetResourceRequestStatusInputFilterSensitiveLog = (obj) => ({
|
|
349
|
-
...obj,
|
|
350
|
-
});
|
|
351
339
|
export const GetResourceRequestStatusOutputFilterSensitiveLog = (obj) => ({
|
|
352
340
|
...obj,
|
|
353
341
|
...(obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }),
|
|
354
342
|
});
|
|
355
|
-
export const ResourceRequestStatusFilterFilterSensitiveLog = (obj) => ({
|
|
356
|
-
...obj,
|
|
357
|
-
});
|
|
358
|
-
export const ListResourceRequestsInputFilterSensitiveLog = (obj) => ({
|
|
359
|
-
...obj,
|
|
360
|
-
});
|
|
361
343
|
export const ListResourceRequestsOutputFilterSensitiveLog = (obj) => ({
|
|
362
344
|
...obj,
|
|
363
345
|
...(obj.ResourceRequestStatusSummaries && {
|
|
@@ -9,11 +9,13 @@ import { ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput } f
|
|
|
9
9
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
10
10
|
import { UpdateResourceCommandInput, UpdateResourceCommandOutput } from "./commands/UpdateResourceCommand";
|
|
11
11
|
/**
|
|
12
|
+
* @public
|
|
12
13
|
* <p>For more information about Amazon Web Services Cloud Control API, see the <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/what-is-cloudcontrolapi.html">Amazon Web Services Cloud Control API User
|
|
13
14
|
* Guide</a>.</p>
|
|
14
15
|
*/
|
|
15
16
|
export declare class CloudControl extends CloudControlClient {
|
|
16
17
|
/**
|
|
18
|
+
* @public
|
|
17
19
|
* <p>Cancels the specified resource operation request. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-cancel">Canceling resource operation requests</a> in the
|
|
18
20
|
* <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
19
21
|
* <p>Only resource operations requests with a status of <code>PENDING</code> or
|
|
@@ -23,6 +25,7 @@ export declare class CloudControl extends CloudControlClient {
|
|
|
23
25
|
cancelResourceRequest(args: CancelResourceRequestCommandInput, cb: (err: any, data?: CancelResourceRequestCommandOutput) => void): void;
|
|
24
26
|
cancelResourceRequest(args: CancelResourceRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelResourceRequestCommandOutput) => void): void;
|
|
25
27
|
/**
|
|
28
|
+
* @public
|
|
26
29
|
* <p>Creates the specified resource. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html">Creating a
|
|
27
30
|
* resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
28
31
|
* <p>After you have initiated a resource creation request, you can monitor the progress of your
|
|
@@ -33,6 +36,7 @@ export declare class CloudControl extends CloudControlClient {
|
|
|
33
36
|
createResource(args: CreateResourceCommandInput, cb: (err: any, data?: CreateResourceCommandOutput) => void): void;
|
|
34
37
|
createResource(args: CreateResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceCommandOutput) => void): void;
|
|
35
38
|
/**
|
|
39
|
+
* @public
|
|
36
40
|
* <p>Deletes the specified resource. For details, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-delete.html">Deleting a
|
|
37
41
|
* resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
38
42
|
* <p>After you have initiated a resource deletion request, you can monitor the progress of your
|
|
@@ -43,6 +47,7 @@ export declare class CloudControl extends CloudControlClient {
|
|
|
43
47
|
deleteResource(args: DeleteResourceCommandInput, cb: (err: any, data?: DeleteResourceCommandOutput) => void): void;
|
|
44
48
|
deleteResource(args: DeleteResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceCommandOutput) => void): void;
|
|
45
49
|
/**
|
|
50
|
+
* @public
|
|
46
51
|
* <p>Returns information about the current state of the specified resource. For details, see
|
|
47
52
|
* <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-read.html">Reading a resource's current state</a>.</p>
|
|
48
53
|
* <p>You can use this action to return information about an existing resource in your account
|
|
@@ -52,6 +57,7 @@ export declare class CloudControl extends CloudControlClient {
|
|
|
52
57
|
getResource(args: GetResourceCommandInput, cb: (err: any, data?: GetResourceCommandOutput) => void): void;
|
|
53
58
|
getResource(args: GetResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceCommandOutput) => void): void;
|
|
54
59
|
/**
|
|
60
|
+
* @public
|
|
55
61
|
* <p>Returns the current status of a resource operation request. For more information, see
|
|
56
62
|
* <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-track">Tracking the progress of resource operation requests</a> in the
|
|
57
63
|
* <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
@@ -60,6 +66,7 @@ export declare class CloudControl extends CloudControlClient {
|
|
|
60
66
|
getResourceRequestStatus(args: GetResourceRequestStatusCommandInput, cb: (err: any, data?: GetResourceRequestStatusCommandOutput) => void): void;
|
|
61
67
|
getResourceRequestStatus(args: GetResourceRequestStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceRequestStatusCommandOutput) => void): void;
|
|
62
68
|
/**
|
|
69
|
+
* @public
|
|
63
70
|
* <p>Returns existing resource operation requests. This includes requests of all status types.
|
|
64
71
|
* For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-list">Listing active resource operation requests</a> in the
|
|
65
72
|
* <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
@@ -71,6 +78,7 @@ export declare class CloudControl extends CloudControlClient {
|
|
|
71
78
|
listResourceRequests(args: ListResourceRequestsCommandInput, cb: (err: any, data?: ListResourceRequestsCommandOutput) => void): void;
|
|
72
79
|
listResourceRequests(args: ListResourceRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceRequestsCommandOutput) => void): void;
|
|
73
80
|
/**
|
|
81
|
+
* @public
|
|
74
82
|
* <p>Returns information about the specified resources. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-list.html">Discovering resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
75
83
|
* <p>You can use this action to return information about existing resources in your account and
|
|
76
84
|
* Amazon Web Services Region, whether those resources were provisioned using Cloud Control API.</p>
|
|
@@ -79,6 +87,7 @@ export declare class CloudControl extends CloudControlClient {
|
|
|
79
87
|
listResources(args: ListResourcesCommandInput, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
80
88
|
listResources(args: ListResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
81
89
|
/**
|
|
90
|
+
* @public
|
|
82
91
|
* <p>Updates the specified property values in the resource.</p>
|
|
83
92
|
* <p>You specify your resource property updates as a list of patch operations contained in a
|
|
84
93
|
* JSON patch document that adheres to the <a href="https://datatracker.ietf.org/doc/html/rfc6902">
|
|
@@ -16,15 +16,24 @@ import { ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput } f
|
|
|
16
16
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
17
17
|
import { UpdateResourceCommandInput, UpdateResourceCommandOutput } from "./commands/UpdateResourceCommand";
|
|
18
18
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
19
22
|
export type ServiceInputTypes = CancelResourceRequestCommandInput | CreateResourceCommandInput | DeleteResourceCommandInput | GetResourceCommandInput | GetResourceRequestStatusCommandInput | ListResourceRequestsCommandInput | ListResourcesCommandInput | UpdateResourceCommandInput;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
20
26
|
export type ServiceOutputTypes = CancelResourceRequestCommandOutput | CreateResourceCommandOutput | DeleteResourceCommandOutput | GetResourceCommandOutput | GetResourceRequestStatusCommandOutput | ListResourceRequestsCommandOutput | ListResourcesCommandOutput | UpdateResourceCommandOutput;
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
21
30
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
22
31
|
/**
|
|
23
32
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
24
33
|
*/
|
|
25
34
|
requestHandler?: __HttpHandler;
|
|
26
35
|
/**
|
|
27
|
-
* A constructor for a class implementing the {@link
|
|
36
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
28
37
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
29
38
|
* @internal
|
|
30
39
|
*/
|
|
@@ -114,23 +123,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
114
123
|
*/
|
|
115
124
|
logger?: __Logger;
|
|
116
125
|
/**
|
|
117
|
-
* The {@link
|
|
126
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
118
127
|
*/
|
|
119
128
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
120
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
121
133
|
type CloudControlClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
122
134
|
/**
|
|
123
|
-
*
|
|
135
|
+
* @public
|
|
136
|
+
*
|
|
137
|
+
* The configuration interface of CloudControlClient class constructor that set the region, credentials and other options.
|
|
124
138
|
*/
|
|
125
139
|
export interface CloudControlClientConfig extends CloudControlClientConfigType {
|
|
126
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
127
144
|
type CloudControlClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
128
145
|
/**
|
|
129
|
-
*
|
|
146
|
+
* @public
|
|
147
|
+
*
|
|
148
|
+
* The resolved configuration interface of CloudControlClient class. This is resolved and normalized from the {@link CloudControlClientConfig | constructor configuration interface}.
|
|
130
149
|
*/
|
|
131
150
|
export interface CloudControlClientResolvedConfig extends CloudControlClientResolvedConfigType {
|
|
132
151
|
}
|
|
133
152
|
/**
|
|
153
|
+
* @public
|
|
134
154
|
* <p>For more information about Amazon Web Services Cloud Control API, see the <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/what-is-cloudcontrolapi.html">Amazon Web Services Cloud Control API User
|
|
135
155
|
* Guide</a>.</p>
|
|
136
156
|
*/
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
5
5
|
import { CancelResourceRequestInput, CancelResourceRequestOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CancelResourceRequestCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CancelResourceRequestCommandInput extends CancelResourceRequestInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CancelResourceRequestCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CancelResourceRequestCommandOutput extends CancelResourceRequestOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Cancels the specified resource operation request. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-cancel">Canceling resource operation requests</a> in the
|
|
18
23
|
* <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
19
24
|
* <p>Only resource operations requests with a status of <code>PENDING</code> or
|
|
@@ -28,6 +33,8 @@ export interface CancelResourceRequestCommandOutput extends CancelResourceReques
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param CancelResourceRequestCommandInput - {@link CancelResourceRequestCommandInput}
|
|
37
|
+
* @returns {@link CancelResourceRequestCommandOutput}
|
|
31
38
|
* @see {@link CancelResourceRequestCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link CancelResourceRequestCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link CloudControlClientResolvedConfig | config} for CloudControlClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface CancelResourceRequestCommandOutput extends CancelResourceReques
|
|
|
43
50
|
export declare class CancelResourceRequestCommand extends $Command<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput, CloudControlClientResolvedConfig> {
|
|
44
51
|
readonly input: CancelResourceRequestCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: CancelResourceRequestCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
5
5
|
import { CreateResourceInput, CreateResourceOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateResourceCommandInput extends CreateResourceInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateResourceCommandOutput extends CreateResourceOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates the specified resource. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html">Creating a
|
|
18
23
|
* resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
19
24
|
* <p>After you have initiated a resource creation request, you can monitor the progress of your
|
|
@@ -29,6 +34,8 @@ export interface CreateResourceCommandOutput extends CreateResourceOutput, __Met
|
|
|
29
34
|
* const response = await client.send(command);
|
|
30
35
|
* ```
|
|
31
36
|
*
|
|
37
|
+
* @param CreateResourceCommandInput - {@link CreateResourceCommandInput}
|
|
38
|
+
* @returns {@link CreateResourceCommandOutput}
|
|
32
39
|
* @see {@link CreateResourceCommandInput} for command's `input` shape.
|
|
33
40
|
* @see {@link CreateResourceCommandOutput} for command's `response` shape.
|
|
34
41
|
* @see {@link CloudControlClientResolvedConfig | config} for CloudControlClient's `config` shape.
|
|
@@ -111,11 +118,20 @@ export interface CreateResourceCommandOutput extends CreateResourceOutput, __Met
|
|
|
111
118
|
export declare class CreateResourceCommand extends $Command<CreateResourceCommandInput, CreateResourceCommandOutput, CloudControlClientResolvedConfig> {
|
|
112
119
|
readonly input: CreateResourceCommandInput;
|
|
113
120
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
114
124
|
constructor(input: CreateResourceCommandInput);
|
|
115
125
|
/**
|
|
116
126
|
* @internal
|
|
117
127
|
*/
|
|
118
128
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateResourceCommandInput, CreateResourceCommandOutput>;
|
|
129
|
+
/**
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
119
132
|
private serialize;
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
120
136
|
private deserialize;
|
|
121
137
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
5
5
|
import { DeleteResourceInput, DeleteResourceOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteResourceCommandInput extends DeleteResourceInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteResourceCommandOutput extends DeleteResourceOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes the specified resource. For details, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-delete.html">Deleting a
|
|
18
23
|
* resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|
|
19
24
|
* <p>After you have initiated a resource deletion request, you can monitor the progress of your
|
|
@@ -29,6 +34,8 @@ export interface DeleteResourceCommandOutput extends DeleteResourceOutput, __Met
|
|
|
29
34
|
* const response = await client.send(command);
|
|
30
35
|
* ```
|
|
31
36
|
*
|
|
37
|
+
* @param DeleteResourceCommandInput - {@link DeleteResourceCommandInput}
|
|
38
|
+
* @returns {@link DeleteResourceCommandOutput}
|
|
32
39
|
* @see {@link DeleteResourceCommandInput} for command's `input` shape.
|
|
33
40
|
* @see {@link DeleteResourceCommandOutput} for command's `response` shape.
|
|
34
41
|
* @see {@link CloudControlClientResolvedConfig | config} for CloudControlClient's `config` shape.
|
|
@@ -111,11 +118,20 @@ export interface DeleteResourceCommandOutput extends DeleteResourceOutput, __Met
|
|
|
111
118
|
export declare class DeleteResourceCommand extends $Command<DeleteResourceCommandInput, DeleteResourceCommandOutput, CloudControlClientResolvedConfig> {
|
|
112
119
|
readonly input: DeleteResourceCommandInput;
|
|
113
120
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
114
124
|
constructor(input: DeleteResourceCommandInput);
|
|
115
125
|
/**
|
|
116
126
|
* @internal
|
|
117
127
|
*/
|
|
118
128
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourceCommandInput, DeleteResourceCommandOutput>;
|
|
129
|
+
/**
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
119
132
|
private serialize;
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
120
136
|
private deserialize;
|
|
121
137
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
5
5
|
import { GetResourceInput, GetResourceOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetResourceCommandInput extends GetResourceInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetResourceCommandOutput extends GetResourceOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns information about the current state of the specified resource. For details, see
|
|
18
23
|
* <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-read.html">Reading a resource's current state</a>.</p>
|
|
19
24
|
* <p>You can use this action to return information about an existing resource in your account
|
|
@@ -28,6 +33,8 @@ export interface GetResourceCommandOutput extends GetResourceOutput, __MetadataB
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param GetResourceCommandInput - {@link GetResourceCommandInput}
|
|
37
|
+
* @returns {@link GetResourceCommandOutput}
|
|
31
38
|
* @see {@link GetResourceCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link GetResourceCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link CloudControlClientResolvedConfig | config} for CloudControlClient's `config` shape.
|
|
@@ -102,11 +109,20 @@ export interface GetResourceCommandOutput extends GetResourceOutput, __MetadataB
|
|
|
102
109
|
export declare class GetResourceCommand extends $Command<GetResourceCommandInput, GetResourceCommandOutput, CloudControlClientResolvedConfig> {
|
|
103
110
|
readonly input: GetResourceCommandInput;
|
|
104
111
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
105
115
|
constructor(input: GetResourceCommandInput);
|
|
106
116
|
/**
|
|
107
117
|
* @internal
|
|
108
118
|
*/
|
|
109
119
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourceCommandInput, GetResourceCommandOutput>;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
110
123
|
private serialize;
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
111
127
|
private deserialize;
|
|
112
128
|
}
|