@aws-sdk/client-cloudcontrol 3.478.0 → 3.481.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 +18 -41
- package/dist-cjs/commands/CreateResourceCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourceCommand.js +18 -41
- package/dist-cjs/commands/GetResourceCommand.js +18 -41
- package/dist-cjs/commands/GetResourceRequestStatusCommand.js +18 -41
- package/dist-cjs/commands/ListResourceRequestsCommand.js +18 -41
- package/dist-cjs/commands/ListResourcesCommand.js +18 -41
- package/dist-cjs/commands/UpdateResourceCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/CancelResourceRequestCommand.js +18 -41
- package/dist-es/commands/CreateResourceCommand.js +18 -41
- package/dist-es/commands/DeleteResourceCommand.js +18 -41
- package/dist-es/commands/GetResourceCommand.js +18 -41
- package/dist-es/commands/GetResourceRequestStatusCommand.js +18 -41
- package/dist-es/commands/ListResourceRequestsCommand.js +18 -41
- package/dist-es/commands/ListResourcesCommand.js +18 -41
- package/dist-es/commands/UpdateResourceCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/CancelResourceRequestCommand.d.ts +6 -21
- package/dist-types/commands/CreateResourceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourceCommand.d.ts +6 -21
- package/dist-types/commands/GetResourceCommand.d.ts +6 -21
- package/dist-types/commands/GetResourceRequestStatusCommand.d.ts +6 -21
- package/dist-types/commands/ListResourceRequestsCommand.d.ts +6 -21
- package/dist-types/commands/ListResourcesCommand.d.ts +6 -21
- package/dist-types/commands/UpdateResourceCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/CancelResourceRequestCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourceRequestStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListResourceRequestsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateResourceInputFilterSensitiveLog, CreateResourceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateResourceCommand, se_CreateResourceCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateResourceCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "CloudControlClient";
|
|
27
|
-
const commandName = "CreateResourceCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateResourceInputFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: CreateResourceOutputFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "CloudApiService",
|
|
36
|
-
operation: "CreateResource",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateResourceCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateResourceCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateResourceCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("CloudApiService", "CreateResource", {})
|
|
20
|
+
.n("CloudControlClient", "CreateResourceCommand")
|
|
21
|
+
.f(CreateResourceInputFilterSensitiveLog, CreateResourceOutputFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateResourceCommand)
|
|
23
|
+
.de(de_CreateResourceCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { DeleteResourceOutputFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_DeleteResourceCommand, se_DeleteResourceCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class DeleteResourceCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "CloudControlClient";
|
|
27
|
-
const commandName = "DeleteResourceCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: DeleteResourceOutputFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "CloudApiService",
|
|
36
|
-
operation: "DeleteResource",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_DeleteResourceCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_DeleteResourceCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class DeleteResourceCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("CloudApiService", "DeleteResource", {})
|
|
20
|
+
.n("CloudControlClient", "DeleteResourceCommand")
|
|
21
|
+
.f(void 0, DeleteResourceOutputFilterSensitiveLog)
|
|
22
|
+
.ser(se_DeleteResourceCommand)
|
|
23
|
+
.de(de_DeleteResourceCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetResourceOutputFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_GetResourceCommand, se_GetResourceCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GetResourceCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "CloudControlClient";
|
|
27
|
-
const commandName = "GetResourceCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: GetResourceOutputFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "CloudApiService",
|
|
36
|
-
operation: "GetResource",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GetResourceCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GetResourceCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GetResourceCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("CloudApiService", "GetResource", {})
|
|
20
|
+
.n("CloudControlClient", "GetResourceCommand")
|
|
21
|
+
.f(void 0, GetResourceOutputFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetResourceCommand)
|
|
23
|
+
.de(de_GetResourceCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetResourceRequestStatusOutputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GetResourceRequestStatusCommand, se_GetResourceRequestStatusCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GetResourceRequestStatusCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "CloudControlClient";
|
|
27
|
-
const commandName = "GetResourceRequestStatusCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: GetResourceRequestStatusOutputFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "CloudApiService",
|
|
36
|
-
operation: "GetResourceRequestStatus",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GetResourceRequestStatusCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GetResourceRequestStatusCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GetResourceRequestStatusCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("CloudApiService", "GetResourceRequestStatus", {})
|
|
20
|
+
.n("CloudControlClient", "GetResourceRequestStatusCommand")
|
|
21
|
+
.f(void 0, GetResourceRequestStatusOutputFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetResourceRequestStatusCommand)
|
|
23
|
+
.de(de_GetResourceRequestStatusCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { ListResourceRequestsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_ListResourceRequestsCommand, se_ListResourceRequestsCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ListResourceRequestsCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "CloudControlClient";
|
|
27
|
-
const commandName = "ListResourceRequestsCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: ListResourceRequestsOutputFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "CloudApiService",
|
|
36
|
-
operation: "ListResourceRequests",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_ListResourceRequestsCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListResourceRequestsCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class ListResourceRequestsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("CloudApiService", "ListResourceRequests", {})
|
|
20
|
+
.n("CloudControlClient", "ListResourceRequestsCommand")
|
|
21
|
+
.f(void 0, ListResourceRequestsOutputFilterSensitiveLog)
|
|
22
|
+
.ser(se_ListResourceRequestsCommand)
|
|
23
|
+
.de(de_ListResourceRequestsCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { ListResourcesInputFilterSensitiveLog, ListResourcesOutputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_ListResourcesCommand, se_ListResourcesCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ListResourcesCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "CloudControlClient";
|
|
27
|
-
const commandName = "ListResourcesCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: ListResourcesInputFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: ListResourcesOutputFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "CloudApiService",
|
|
36
|
-
operation: "ListResources",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_ListResourcesCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListResourcesCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class ListResourcesCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("CloudApiService", "ListResources", {})
|
|
20
|
+
.n("CloudControlClient", "ListResourcesCommand")
|
|
21
|
+
.f(ListResourcesInputFilterSensitiveLog, ListResourcesOutputFilterSensitiveLog)
|
|
22
|
+
.ser(se_ListResourcesCommand)
|
|
23
|
+
.de(de_ListResourcesCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { UpdateResourceInputFilterSensitiveLog, UpdateResourceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateResourceCommand, se_UpdateResourceCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateResourceCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "CloudControlClient";
|
|
27
|
-
const commandName = "UpdateResourceCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateResourceInputFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: UpdateResourceOutputFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "CloudApiService",
|
|
36
|
-
operation: "UpdateResource",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateResourceCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateResourceCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateResourceCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("CloudApiService", "UpdateResource", {})
|
|
20
|
+
.n("CloudControlClient", "UpdateResourceCommand")
|
|
21
|
+
.f(UpdateResourceInputFilterSensitiveLog, UpdateResourceOutputFilterSensitiveLog)
|
|
22
|
+
.ser(se_UpdateResourceCommand)
|
|
23
|
+
.de(de_UpdateResourceCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "cloudcontrolapi",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
5
4
|
import { CancelResourceRequestInput, CancelResourceRequestOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CancelResourceRequestCommandInput extends CancelResourceRequest
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CancelResourceRequestCommandOutput extends CancelResourceRequestOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CancelResourceRequestCommand_base: {
|
|
24
|
+
new (input: CancelResourceRequestCommandInput): import("@smithy/smithy-client").CommandImpl<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <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
|
|
@@ -71,23 +74,5 @@ export interface CancelResourceRequestCommandOutput extends CancelResourceReques
|
|
|
71
74
|
* <p>Base exception class for all service exceptions from CloudControl service.</p>
|
|
72
75
|
*
|
|
73
76
|
*/
|
|
74
|
-
export declare class CancelResourceRequestCommand extends
|
|
75
|
-
readonly input: CancelResourceRequestCommandInput;
|
|
76
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
-
/**
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
80
|
-
constructor(input: CancelResourceRequestCommandInput);
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput>;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
private serialize;
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
private deserialize;
|
|
77
|
+
export declare class CancelResourceRequestCommand extends CancelResourceRequestCommand_base {
|
|
93
78
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
5
4
|
import { CreateResourceInput, CreateResourceOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateResourceCommandInput extends CreateResourceInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateResourceCommandOutput extends CreateResourceOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateResourceCommand_base: {
|
|
24
|
+
new (input: CreateResourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResourceCommandInput, CreateResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
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
|
|
@@ -143,23 +146,5 @@ export interface CreateResourceCommandOutput extends CreateResourceOutput, __Met
|
|
|
143
146
|
* <p>Base exception class for all service exceptions from CloudControl service.</p>
|
|
144
147
|
*
|
|
145
148
|
*/
|
|
146
|
-
export declare class CreateResourceCommand extends
|
|
147
|
-
readonly input: CreateResourceCommandInput;
|
|
148
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
149
|
-
/**
|
|
150
|
-
* @public
|
|
151
|
-
*/
|
|
152
|
-
constructor(input: CreateResourceCommandInput);
|
|
153
|
-
/**
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
156
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateResourceCommandInput, CreateResourceCommandOutput>;
|
|
157
|
-
/**
|
|
158
|
-
* @internal
|
|
159
|
-
*/
|
|
160
|
-
private serialize;
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
private deserialize;
|
|
149
|
+
export declare class CreateResourceCommand extends CreateResourceCommand_base {
|
|
165
150
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
5
4
|
import { DeleteResourceInput, DeleteResourceOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteResourceCommandInput extends DeleteResourceInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteResourceCommandOutput extends DeleteResourceOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteResourceCommand_base: {
|
|
24
|
+
new (input: DeleteResourceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceCommandInput, DeleteResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes the specified resource. For details, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-delete.html">Deleting a
|
|
@@ -143,23 +146,5 @@ export interface DeleteResourceCommandOutput extends DeleteResourceOutput, __Met
|
|
|
143
146
|
* <p>Base exception class for all service exceptions from CloudControl service.</p>
|
|
144
147
|
*
|
|
145
148
|
*/
|
|
146
|
-
export declare class DeleteResourceCommand extends
|
|
147
|
-
readonly input: DeleteResourceCommandInput;
|
|
148
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
149
|
-
/**
|
|
150
|
-
* @public
|
|
151
|
-
*/
|
|
152
|
-
constructor(input: DeleteResourceCommandInput);
|
|
153
|
-
/**
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
156
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourceCommandInput, DeleteResourceCommandOutput>;
|
|
157
|
-
/**
|
|
158
|
-
* @internal
|
|
159
|
-
*/
|
|
160
|
-
private serialize;
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
private deserialize;
|
|
149
|
+
export declare class DeleteResourceCommand extends DeleteResourceCommand_base {
|
|
165
150
|
}
|