@aws-sdk/client-m2 3.477.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/CancelBatchJobExecutionCommand.js +18 -41
- package/dist-cjs/commands/CreateApplicationCommand.js +18 -41
- package/dist-cjs/commands/CreateDataSetImportTaskCommand.js +18 -41
- package/dist-cjs/commands/CreateDeploymentCommand.js +18 -41
- package/dist-cjs/commands/CreateEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/DeleteApplicationCommand.js +18 -41
- package/dist-cjs/commands/DeleteApplicationFromEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/GetApplicationCommand.js +18 -41
- package/dist-cjs/commands/GetApplicationVersionCommand.js +18 -41
- package/dist-cjs/commands/GetBatchJobExecutionCommand.js +18 -41
- package/dist-cjs/commands/GetDataSetDetailsCommand.js +18 -41
- package/dist-cjs/commands/GetDataSetImportTaskCommand.js +18 -41
- package/dist-cjs/commands/GetDeploymentCommand.js +18 -41
- package/dist-cjs/commands/GetEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/GetSignedBluinsightsUrlCommand.js +18 -41
- package/dist-cjs/commands/ListApplicationVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListApplicationsCommand.js +18 -41
- package/dist-cjs/commands/ListBatchJobDefinitionsCommand.js +18 -41
- package/dist-cjs/commands/ListBatchJobExecutionsCommand.js +18 -41
- package/dist-cjs/commands/ListDataSetImportHistoryCommand.js +18 -41
- package/dist-cjs/commands/ListDataSetsCommand.js +18 -41
- package/dist-cjs/commands/ListDeploymentsCommand.js +18 -41
- package/dist-cjs/commands/ListEngineVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListEnvironmentsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/StartApplicationCommand.js +18 -41
- package/dist-cjs/commands/StartBatchJobCommand.js +18 -41
- package/dist-cjs/commands/StopApplicationCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateApplicationCommand.js +18 -41
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListApplicationVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListApplicationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListBatchJobDefinitionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListBatchJobExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataSetImportHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDeploymentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEngineVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +2 -24
- package/dist-es/commands/CancelBatchJobExecutionCommand.js +18 -41
- package/dist-es/commands/CreateApplicationCommand.js +18 -41
- package/dist-es/commands/CreateDataSetImportTaskCommand.js +18 -41
- package/dist-es/commands/CreateDeploymentCommand.js +18 -41
- package/dist-es/commands/CreateEnvironmentCommand.js +18 -41
- package/dist-es/commands/DeleteApplicationCommand.js +18 -41
- package/dist-es/commands/DeleteApplicationFromEnvironmentCommand.js +18 -41
- package/dist-es/commands/DeleteEnvironmentCommand.js +18 -41
- package/dist-es/commands/GetApplicationCommand.js +18 -41
- package/dist-es/commands/GetApplicationVersionCommand.js +18 -41
- package/dist-es/commands/GetBatchJobExecutionCommand.js +18 -41
- package/dist-es/commands/GetDataSetDetailsCommand.js +18 -41
- package/dist-es/commands/GetDataSetImportTaskCommand.js +18 -41
- package/dist-es/commands/GetDeploymentCommand.js +18 -41
- package/dist-es/commands/GetEnvironmentCommand.js +18 -41
- package/dist-es/commands/GetSignedBluinsightsUrlCommand.js +18 -41
- package/dist-es/commands/ListApplicationVersionsCommand.js +18 -41
- package/dist-es/commands/ListApplicationsCommand.js +18 -41
- package/dist-es/commands/ListBatchJobDefinitionsCommand.js +18 -41
- package/dist-es/commands/ListBatchJobExecutionsCommand.js +18 -41
- package/dist-es/commands/ListDataSetImportHistoryCommand.js +18 -41
- package/dist-es/commands/ListDataSetsCommand.js +18 -41
- package/dist-es/commands/ListDeploymentsCommand.js +18 -41
- package/dist-es/commands/ListEngineVersionsCommand.js +18 -41
- package/dist-es/commands/ListEnvironmentsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/StartApplicationCommand.js +18 -41
- package/dist-es/commands/StartBatchJobCommand.js +18 -41
- package/dist-es/commands/StopApplicationCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateApplicationCommand.js +18 -41
- package/dist-es/commands/UpdateEnvironmentCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListApplicationVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListApplicationsPaginator.js +2 -23
- package/dist-es/pagination/ListBatchJobDefinitionsPaginator.js +2 -23
- package/dist-es/pagination/ListBatchJobExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListDataSetImportHistoryPaginator.js +2 -23
- package/dist-es/pagination/ListDataSetsPaginator.js +2 -23
- package/dist-es/pagination/ListDeploymentsPaginator.js +2 -23
- package/dist-es/pagination/ListEngineVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListEnvironmentsPaginator.js +2 -23
- package/dist-types/commands/CancelBatchJobExecutionCommand.d.ts +6 -21
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -21
- package/dist-types/commands/CreateDataSetImportTaskCommand.d.ts +6 -21
- package/dist-types/commands/CreateDeploymentCommand.d.ts +6 -21
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteApplicationFromEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/GetApplicationCommand.d.ts +6 -21
- package/dist-types/commands/GetApplicationVersionCommand.d.ts +6 -21
- package/dist-types/commands/GetBatchJobExecutionCommand.d.ts +6 -21
- package/dist-types/commands/GetDataSetDetailsCommand.d.ts +6 -21
- package/dist-types/commands/GetDataSetImportTaskCommand.d.ts +6 -21
- package/dist-types/commands/GetDeploymentCommand.d.ts +6 -21
- package/dist-types/commands/GetEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/GetSignedBluinsightsUrlCommand.d.ts +6 -21
- package/dist-types/commands/ListApplicationVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListApplicationsCommand.d.ts +6 -21
- package/dist-types/commands/ListBatchJobDefinitionsCommand.d.ts +6 -21
- package/dist-types/commands/ListBatchJobExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListDataSetImportHistoryCommand.d.ts +6 -21
- package/dist-types/commands/ListDataSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListDeploymentsCommand.d.ts +6 -21
- package/dist-types/commands/ListEngineVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/StartApplicationCommand.d.ts +6 -21
- package/dist-types/commands/StartBatchJobCommand.d.ts +6 -21
- package/dist-types/commands/StopApplicationCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListApplicationVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBatchJobDefinitionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBatchJobExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSetImportHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDeploymentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEngineVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CancelBatchJobExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDataSetImportTaskCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteApplicationFromEnvironmentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetApplicationVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetBatchJobExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDataSetDetailsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDataSetImportTaskCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSignedBluinsightsUrlCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBatchJobDefinitionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListBatchJobExecutionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDataSetImportHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDataSetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartBatchJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListApplicationVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBatchJobDefinitionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBatchJobExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataSetImportHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEngineVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
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 { de_StartApplicationCommand, se_StartApplicationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartApplicationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "M2Client";
|
|
26
|
-
const commandName = "StartApplicationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AwsSupernovaControlPlaneService",
|
|
35
|
-
operation: "StartApplication",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartApplicationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartApplicationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AwsSupernovaControlPlaneService", "StartApplication", {})
|
|
19
|
+
.n("M2Client", "StartApplicationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartApplicationCommand)
|
|
22
|
+
.de(de_StartApplicationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
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 { de_StartBatchJobCommand, se_StartBatchJobCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartBatchJobCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "M2Client";
|
|
26
|
-
const commandName = "StartBatchJobCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AwsSupernovaControlPlaneService",
|
|
35
|
-
operation: "StartBatchJob",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartBatchJobCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartBatchJobCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartBatchJobCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AwsSupernovaControlPlaneService", "StartBatchJob", {})
|
|
19
|
+
.n("M2Client", "StartBatchJobCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartBatchJobCommand)
|
|
22
|
+
.de(de_StartBatchJobCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
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 { de_StopApplicationCommand, se_StopApplicationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StopApplicationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "M2Client";
|
|
26
|
-
const commandName = "StopApplicationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AwsSupernovaControlPlaneService",
|
|
35
|
-
operation: "StopApplication",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StopApplicationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StopApplicationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StopApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AwsSupernovaControlPlaneService", "StopApplication", {})
|
|
19
|
+
.n("M2Client", "StopApplicationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StopApplicationCommand)
|
|
22
|
+
.de(de_StopApplicationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
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 { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "M2Client";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AwsSupernovaControlPlaneService",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AwsSupernovaControlPlaneService", "TagResource", {})
|
|
19
|
+
.n("M2Client", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
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 { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "M2Client";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AwsSupernovaControlPlaneService",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AwsSupernovaControlPlaneService", "UntagResource", {})
|
|
19
|
+
.n("M2Client", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
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 { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateApplicationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "M2Client";
|
|
26
|
-
const commandName = "UpdateApplicationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AwsSupernovaControlPlaneService",
|
|
35
|
-
operation: "UpdateApplication",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateApplicationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateApplicationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AwsSupernovaControlPlaneService", "UpdateApplication", {})
|
|
19
|
+
.n("M2Client", "UpdateApplicationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateApplicationCommand)
|
|
22
|
+
.de(de_UpdateApplicationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
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 { de_UpdateEnvironmentCommand, se_UpdateEnvironmentCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateEnvironmentCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "M2Client";
|
|
26
|
-
const commandName = "UpdateEnvironmentCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AwsSupernovaControlPlaneService",
|
|
35
|
-
operation: "UpdateEnvironment",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateEnvironmentCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateEnvironmentCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateEnvironmentCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AwsSupernovaControlPlaneService", "UpdateEnvironment", {})
|
|
19
|
+
.n("M2Client", "UpdateEnvironmentCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateEnvironmentCommand)
|
|
22
|
+
.de(de_UpdateEnvironmentCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "m2",
|
|
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,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListApplicationVersionsCommand, } from "../commands/ListApplicationVersionsCommand";
|
|
2
3
|
import { M2Client } from "../M2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListApplicationVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListApplicationVersions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof M2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected M2 | M2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListApplicationVersions = createPaginator(M2Client, ListApplicationVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
2
3
|
import { M2Client } from "../M2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListApplicationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListApplications(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof M2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected M2 | M2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListApplications = createPaginator(M2Client, ListApplicationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListBatchJobDefinitionsCommand, } from "../commands/ListBatchJobDefinitionsCommand";
|
|
2
3
|
import { M2Client } from "../M2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBatchJobDefinitionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBatchJobDefinitions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof M2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected M2 | M2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListBatchJobDefinitions = createPaginator(M2Client, ListBatchJobDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListBatchJobExecutionsCommand, } from "../commands/ListBatchJobExecutionsCommand";
|
|
2
3
|
import { M2Client } from "../M2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBatchJobExecutionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBatchJobExecutions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof M2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected M2 | M2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListBatchJobExecutions = createPaginator(M2Client, ListBatchJobExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataSetImportHistoryCommand, } from "../commands/ListDataSetImportHistoryCommand";
|
|
2
3
|
import { M2Client } from "../M2Client";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataSetImportHistoryCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataSetImportHistory(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof M2Client) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected M2 | M2Client");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDataSetImportHistory = createPaginator(M2Client, ListDataSetImportHistoryCommand, "nextToken", "nextToken", "maxResults");
|