@aws-sdk/client-emr-containers 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/CancelJobRunCommand.js +18 -41
- package/dist-cjs/commands/CreateJobTemplateCommand.js +18 -41
- package/dist-cjs/commands/CreateManagedEndpointCommand.js +18 -41
- package/dist-cjs/commands/CreateVirtualClusterCommand.js +18 -41
- package/dist-cjs/commands/DeleteJobTemplateCommand.js +18 -41
- package/dist-cjs/commands/DeleteManagedEndpointCommand.js +18 -41
- package/dist-cjs/commands/DeleteVirtualClusterCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobRunCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobTemplateCommand.js +18 -41
- package/dist-cjs/commands/DescribeManagedEndpointCommand.js +18 -41
- package/dist-cjs/commands/DescribeVirtualClusterCommand.js +18 -41
- package/dist-cjs/commands/GetManagedEndpointSessionCredentialsCommand.js +18 -41
- package/dist-cjs/commands/ListJobRunsCommand.js +18 -41
- package/dist-cjs/commands/ListJobTemplatesCommand.js +18 -41
- package/dist-cjs/commands/ListManagedEndpointsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListVirtualClustersCommand.js +18 -41
- package/dist-cjs/commands/StartJobRunCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListJobRunsPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListManagedEndpointsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualClustersPaginator.js +2 -24
- package/dist-es/commands/CancelJobRunCommand.js +18 -41
- package/dist-es/commands/CreateJobTemplateCommand.js +18 -41
- package/dist-es/commands/CreateManagedEndpointCommand.js +18 -41
- package/dist-es/commands/CreateVirtualClusterCommand.js +18 -41
- package/dist-es/commands/DeleteJobTemplateCommand.js +18 -41
- package/dist-es/commands/DeleteManagedEndpointCommand.js +18 -41
- package/dist-es/commands/DeleteVirtualClusterCommand.js +18 -41
- package/dist-es/commands/DescribeJobRunCommand.js +18 -41
- package/dist-es/commands/DescribeJobTemplateCommand.js +18 -41
- package/dist-es/commands/DescribeManagedEndpointCommand.js +18 -41
- package/dist-es/commands/DescribeVirtualClusterCommand.js +18 -41
- package/dist-es/commands/GetManagedEndpointSessionCredentialsCommand.js +18 -41
- package/dist-es/commands/ListJobRunsCommand.js +18 -41
- package/dist-es/commands/ListJobTemplatesCommand.js +18 -41
- package/dist-es/commands/ListManagedEndpointsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListVirtualClustersCommand.js +18 -41
- package/dist-es/commands/StartJobRunCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListJobRunsPaginator.js +2 -23
- package/dist-es/pagination/ListJobTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListManagedEndpointsPaginator.js +2 -23
- package/dist-es/pagination/ListVirtualClustersPaginator.js +2 -23
- package/dist-types/commands/CancelJobRunCommand.d.ts +6 -21
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +6 -21
- package/dist-types/commands/CreateManagedEndpointCommand.d.ts +6 -21
- package/dist-types/commands/CreateVirtualClusterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteJobTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteManagedEndpointCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVirtualClusterCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobRunCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DescribeManagedEndpointCommand.d.ts +6 -21
- package/dist-types/commands/DescribeVirtualClusterCommand.d.ts +6 -21
- package/dist-types/commands/GetManagedEndpointSessionCredentialsCommand.d.ts +6 -21
- package/dist-types/commands/ListJobRunsCommand.d.ts +6 -21
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/ListManagedEndpointsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListVirtualClustersCommand.d.ts +6 -21
- package/dist-types/commands/StartJobRunCommand.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/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListJobRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListManagedEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualClustersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CancelJobRunCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateJobTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateManagedEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateVirtualClusterCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteJobTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteManagedEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteVirtualClusterCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeJobRunCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeJobTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeManagedEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeVirtualClusterCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetManagedEndpointSessionCredentialsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListJobTemplatesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListManagedEndpointsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListVirtualClustersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartJobRunCommand.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/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListJobRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListManagedEndpointsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualClustersPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -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 { ListManagedEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_ListManagedEndpointsCommand, se_ListManagedEndpointsCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ListManagedEndpointsCommand 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 = "EMRContainersClient";
|
|
27
|
-
const commandName = "ListManagedEndpointsCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: ListManagedEndpointsResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AwsChicagoWebService",
|
|
36
|
-
operation: "ListManagedEndpoints",
|
|
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_ListManagedEndpointsCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListManagedEndpointsCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class ListManagedEndpointsCommand 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("AwsChicagoWebService", "ListManagedEndpoints", {})
|
|
20
|
+
.n("EMRContainersClient", "ListManagedEndpointsCommand")
|
|
21
|
+
.f(void 0, ListManagedEndpointsResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_ListManagedEndpointsCommand)
|
|
23
|
+
.de(de_ListManagedEndpointsCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListTagsForResourceCommand 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 = "EMRContainersClient";
|
|
26
|
-
const commandName = "ListTagsForResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AwsChicagoWebService",
|
|
35
|
-
operation: "ListTagsForResource",
|
|
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_ListTagsForResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListTagsForResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListTagsForResourceCommand 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("AwsChicagoWebService", "ListTagsForResource", {})
|
|
19
|
+
.n("EMRContainersClient", "ListTagsForResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListTagsForResourceCommand)
|
|
22
|
+
.de(de_ListTagsForResourceCommand)
|
|
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_ListVirtualClustersCommand, se_ListVirtualClustersCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListVirtualClustersCommand 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 = "EMRContainersClient";
|
|
26
|
-
const commandName = "ListVirtualClustersCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AwsChicagoWebService",
|
|
35
|
-
operation: "ListVirtualClusters",
|
|
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_ListVirtualClustersCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListVirtualClustersCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListVirtualClustersCommand 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("AwsChicagoWebService", "ListVirtualClusters", {})
|
|
19
|
+
.n("EMRContainersClient", "ListVirtualClustersCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListVirtualClustersCommand)
|
|
22
|
+
.de(de_ListVirtualClustersCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -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 { StartJobRunRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_StartJobRunCommand, se_StartJobRunCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class StartJobRunCommand 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 = "EMRContainersClient";
|
|
27
|
-
const commandName = "StartJobRunCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: StartJobRunRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AwsChicagoWebService",
|
|
36
|
-
operation: "StartJobRun",
|
|
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_StartJobRunCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_StartJobRunCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class StartJobRunCommand 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("AwsChicagoWebService", "StartJobRun", {})
|
|
20
|
+
.n("EMRContainersClient", "StartJobRunCommand")
|
|
21
|
+
.f(StartJobRunRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_StartJobRunCommand)
|
|
23
|
+
.de(de_StartJobRunCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -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 = "EMRContainersClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AwsChicagoWebService",
|
|
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("AwsChicagoWebService", "TagResource", {})
|
|
19
|
+
.n("EMRContainersClient", "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 = "EMRContainersClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AwsChicagoWebService",
|
|
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("AwsChicagoWebService", "UntagResource", {})
|
|
19
|
+
.n("EMRContainersClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "emr-containers",
|
|
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 { ListJobRunsCommand } from "../commands/ListJobRunsCommand";
|
|
2
3
|
import { EMRContainersClient } from "../EMRContainersClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListJobRunsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListJobRuns(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 EMRContainersClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EMRContainers | EMRContainersClient");
|
|
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 paginateListJobRuns = createPaginator(EMRContainersClient, ListJobRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListJobTemplatesCommand, } from "../commands/ListJobTemplatesCommand";
|
|
2
3
|
import { EMRContainersClient } from "../EMRContainersClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListJobTemplatesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListJobTemplates(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 EMRContainersClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EMRContainers | EMRContainersClient");
|
|
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 paginateListJobTemplates = createPaginator(EMRContainersClient, ListJobTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListManagedEndpointsCommand, } from "../commands/ListManagedEndpointsCommand";
|
|
2
3
|
import { EMRContainersClient } from "../EMRContainersClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListManagedEndpointsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListManagedEndpoints(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 EMRContainersClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EMRContainers | EMRContainersClient");
|
|
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 paginateListManagedEndpoints = createPaginator(EMRContainersClient, ListManagedEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListVirtualClustersCommand, } from "../commands/ListVirtualClustersCommand";
|
|
2
3
|
import { EMRContainersClient } from "../EMRContainersClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVirtualClustersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVirtualClusters(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 EMRContainersClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EMRContainers | EMRContainersClient");
|
|
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 paginateListVirtualClusters = createPaginator(EMRContainersClient, ListVirtualClustersCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -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 { EMRContainersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRContainersClient";
|
|
5
4
|
import { CancelJobRunRequest, CancelJobRunResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CancelJobRunCommandInput extends CancelJobRunRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CancelJobRunCommand_base: {
|
|
24
|
+
new (input: CancelJobRunCommandInput): import("@smithy/smithy-client").CommandImpl<CancelJobRunCommandInput, CancelJobRunCommandOutput, EMRContainersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or
|
|
@@ -60,23 +63,5 @@ export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __Metad
|
|
|
60
63
|
* <p>Base exception class for all service exceptions from EMRContainers service.</p>
|
|
61
64
|
*
|
|
62
65
|
*/
|
|
63
|
-
export declare class CancelJobRunCommand extends
|
|
64
|
-
readonly input: CancelJobRunCommandInput;
|
|
65
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
-
/**
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
constructor(input: CancelJobRunCommandInput);
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelJobRunCommandInput, CancelJobRunCommandOutput>;
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
private serialize;
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
private deserialize;
|
|
66
|
+
export declare class CancelJobRunCommand extends CancelJobRunCommand_base {
|
|
82
67
|
}
|
|
@@ -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 { EMRContainersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRContainersClient";
|
|
5
4
|
import { CreateJobTemplateRequest, CreateJobTemplateResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateJobTemplateCommandInput extends CreateJobTemplateRequest
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateJobTemplateCommandOutput extends CreateJobTemplateResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateJobTemplateCommand_base: {
|
|
24
|
+
new (input: CreateJobTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<CreateJobTemplateCommandInput, CreateJobTemplateCommandOutput, EMRContainersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a job template. Job template stores values of StartJobRun API request in a
|
|
@@ -126,23 +129,5 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
|
|
|
126
129
|
* <p>Base exception class for all service exceptions from EMRContainers service.</p>
|
|
127
130
|
*
|
|
128
131
|
*/
|
|
129
|
-
export declare class CreateJobTemplateCommand extends
|
|
130
|
-
readonly input: CreateJobTemplateCommandInput;
|
|
131
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
132
|
-
/**
|
|
133
|
-
* @public
|
|
134
|
-
*/
|
|
135
|
-
constructor(input: CreateJobTemplateCommandInput);
|
|
136
|
-
/**
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
139
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateJobTemplateCommandInput, CreateJobTemplateCommandOutput>;
|
|
140
|
-
/**
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
private serialize;
|
|
144
|
-
/**
|
|
145
|
-
* @internal
|
|
146
|
-
*/
|
|
147
|
-
private deserialize;
|
|
132
|
+
export declare class CreateJobTemplateCommand extends CreateJobTemplateCommand_base {
|
|
148
133
|
}
|