@aws-sdk/client-emr-containers 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/EMRContainers.js +1 -26
- package/dist-cjs/EMRContainersClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CancelJobRunCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateManagedEndpointCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateVirtualClusterCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteManagedEndpointCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteVirtualClusterCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeJobRunCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeManagedEndpointCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeVirtualClusterCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListJobRunsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListManagedEndpointsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListVirtualClustersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartJobRunCommand.js +2 -27
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -139
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListJobRunsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListManagedEndpointsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListVirtualClustersPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +3 -9
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/EMRContainers.js +1 -2
- package/{dist/es → dist-es}/EMRContainersClient.js +1 -2
- package/{dist/es → dist-es}/commands/CancelJobRunCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateManagedEndpointCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateVirtualClusterCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteManagedEndpointCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteVirtualClusterCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeJobRunCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeManagedEndpointCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeVirtualClusterCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListJobRunsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListManagedEndpointsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListVirtualClustersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartJobRunCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListJobRunsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListManagedEndpointsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListVirtualClustersPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/EMRContainers.d.ts +2 -2
- package/{dist/types → dist-types}/EMRContainersClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CancelJobRunCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateManagedEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateVirtualClusterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteManagedEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteVirtualClusterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeJobRunCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeManagedEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeVirtualClusterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListJobRunsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListManagedEndpointsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListVirtualClustersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartJobRunCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListJobRunsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListManagedEndpointsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListVirtualClustersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/EMRContainers.d.ts +18 -71
- package/{dist/types → dist-types}/ts3.4/EMRContainersClient.d.ts +32 -118
- package/dist-types/ts3.4/commands/CancelJobRunCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateManagedEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateVirtualClusterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteManagedEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteVirtualClusterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeJobRunCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeManagedEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeVirtualClusterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListManagedEndpointsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListVirtualClustersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +655 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListJobRunsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListManagedEndpointsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListVirtualClustersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/EMRContainers.ts +0 -550
- package/EMRContainersClient.ts +0 -328
- package/commands/CancelJobRunCommand.ts +0 -94
- package/commands/CreateManagedEndpointCommand.ts +0 -94
- package/commands/CreateVirtualClusterCommand.ts +0 -94
- package/commands/DeleteManagedEndpointCommand.ts +0 -94
- package/commands/DeleteVirtualClusterCommand.ts +0 -94
- package/commands/DescribeJobRunCommand.ts +0 -94
- package/commands/DescribeManagedEndpointCommand.ts +0 -94
- package/commands/DescribeVirtualClusterCommand.ts +0 -94
- package/commands/ListJobRunsCommand.ts +0 -94
- package/commands/ListManagedEndpointsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ListVirtualClustersCommand.ts +0 -94
- package/commands/StartJobRunCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/dist/cjs/EMRContainers.js.map +0 -1
- package/dist/cjs/EMRContainersClient.js +0 -65
- package/dist/cjs/EMRContainersClient.js.map +0 -1
- package/dist/cjs/commands/CancelJobRunCommand.js.map +0 -1
- package/dist/cjs/commands/CreateManagedEndpointCommand.js.map +0 -1
- package/dist/cjs/commands/CreateVirtualClusterCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteManagedEndpointCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteVirtualClusterCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeJobRunCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeManagedEndpointCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeVirtualClusterCommand.js.map +0 -1
- package/dist/cjs/commands/ListJobRunsCommand.js.map +0 -1
- package/dist/cjs/commands/ListManagedEndpointsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListVirtualClustersCommand.js.map +0 -1
- package/dist/cjs/commands/StartJobRunCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -61
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListJobRunsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListManagedEndpointsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListVirtualClustersPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/EMRContainers.js.map +0 -1
- package/dist/es/EMRContainersClient.js.map +0 -1
- package/dist/es/commands/CancelJobRunCommand.js.map +0 -1
- package/dist/es/commands/CreateManagedEndpointCommand.js.map +0 -1
- package/dist/es/commands/CreateVirtualClusterCommand.js.map +0 -1
- package/dist/es/commands/DeleteManagedEndpointCommand.js.map +0 -1
- package/dist/es/commands/DeleteVirtualClusterCommand.js.map +0 -1
- package/dist/es/commands/DescribeJobRunCommand.js.map +0 -1
- package/dist/es/commands/DescribeManagedEndpointCommand.js.map +0 -1
- package/dist/es/commands/DescribeVirtualClusterCommand.js.map +0 -1
- package/dist/es/commands/ListJobRunsCommand.js.map +0 -1
- package/dist/es/commands/ListManagedEndpointsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListVirtualClustersCommand.js.map +0 -1
- package/dist/es/commands/StartJobRunCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -23
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListJobRunsPaginator.js.map +0 -1
- package/dist/es/pagination/ListManagedEndpointsPaginator.js.map +0 -1
- package/dist/es/pagination/ListVirtualClustersPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CancelJobRunCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateManagedEndpointCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateVirtualClusterCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteManagedEndpointCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteVirtualClusterCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeJobRunCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeManagedEndpointCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeVirtualClusterCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListJobRunsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListManagedEndpointsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListVirtualClustersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StartJobRunCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1073
- package/endpoints.ts +0 -83
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1388
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListJobRunsPaginator.ts +0 -54
- package/pagination/ListManagedEndpointsPaginator.ts +0 -58
- package/pagination/ListVirtualClustersPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -2264
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/EMRContainersClient.ts
DELETED
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
import { CancelJobRunCommandInput, CancelJobRunCommandOutput } from "./commands/CancelJobRunCommand";
|
|
2
|
-
import {
|
|
3
|
-
CreateManagedEndpointCommandInput,
|
|
4
|
-
CreateManagedEndpointCommandOutput,
|
|
5
|
-
} from "./commands/CreateManagedEndpointCommand";
|
|
6
|
-
import {
|
|
7
|
-
CreateVirtualClusterCommandInput,
|
|
8
|
-
CreateVirtualClusterCommandOutput,
|
|
9
|
-
} from "./commands/CreateVirtualClusterCommand";
|
|
10
|
-
import {
|
|
11
|
-
DeleteManagedEndpointCommandInput,
|
|
12
|
-
DeleteManagedEndpointCommandOutput,
|
|
13
|
-
} from "./commands/DeleteManagedEndpointCommand";
|
|
14
|
-
import {
|
|
15
|
-
DeleteVirtualClusterCommandInput,
|
|
16
|
-
DeleteVirtualClusterCommandOutput,
|
|
17
|
-
} from "./commands/DeleteVirtualClusterCommand";
|
|
18
|
-
import { DescribeJobRunCommandInput, DescribeJobRunCommandOutput } from "./commands/DescribeJobRunCommand";
|
|
19
|
-
import {
|
|
20
|
-
DescribeManagedEndpointCommandInput,
|
|
21
|
-
DescribeManagedEndpointCommandOutput,
|
|
22
|
-
} from "./commands/DescribeManagedEndpointCommand";
|
|
23
|
-
import {
|
|
24
|
-
DescribeVirtualClusterCommandInput,
|
|
25
|
-
DescribeVirtualClusterCommandOutput,
|
|
26
|
-
} from "./commands/DescribeVirtualClusterCommand";
|
|
27
|
-
import { ListJobRunsCommandInput, ListJobRunsCommandOutput } from "./commands/ListJobRunsCommand";
|
|
28
|
-
import {
|
|
29
|
-
ListManagedEndpointsCommandInput,
|
|
30
|
-
ListManagedEndpointsCommandOutput,
|
|
31
|
-
} from "./commands/ListManagedEndpointsCommand";
|
|
32
|
-
import {
|
|
33
|
-
ListTagsForResourceCommandInput,
|
|
34
|
-
ListTagsForResourceCommandOutput,
|
|
35
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
36
|
-
import {
|
|
37
|
-
ListVirtualClustersCommandInput,
|
|
38
|
-
ListVirtualClustersCommandOutput,
|
|
39
|
-
} from "./commands/ListVirtualClustersCommand";
|
|
40
|
-
import { StartJobRunCommandInput, StartJobRunCommandOutput } from "./commands/StartJobRunCommand";
|
|
41
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
42
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
43
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
44
|
-
import {
|
|
45
|
-
EndpointsInputConfig,
|
|
46
|
-
EndpointsResolvedConfig,
|
|
47
|
-
RegionInputConfig,
|
|
48
|
-
RegionResolvedConfig,
|
|
49
|
-
resolveEndpointsConfig,
|
|
50
|
-
resolveRegionConfig,
|
|
51
|
-
} from "@aws-sdk/config-resolver";
|
|
52
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
53
|
-
import {
|
|
54
|
-
HostHeaderInputConfig,
|
|
55
|
-
HostHeaderResolvedConfig,
|
|
56
|
-
getHostHeaderPlugin,
|
|
57
|
-
resolveHostHeaderConfig,
|
|
58
|
-
} from "@aws-sdk/middleware-host-header";
|
|
59
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
60
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
61
|
-
import {
|
|
62
|
-
AwsAuthInputConfig,
|
|
63
|
-
AwsAuthResolvedConfig,
|
|
64
|
-
getAwsAuthPlugin,
|
|
65
|
-
resolveAwsAuthConfig,
|
|
66
|
-
} from "@aws-sdk/middleware-signing";
|
|
67
|
-
import {
|
|
68
|
-
UserAgentInputConfig,
|
|
69
|
-
UserAgentResolvedConfig,
|
|
70
|
-
getUserAgentPlugin,
|
|
71
|
-
resolveUserAgentConfig,
|
|
72
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
73
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
74
|
-
import {
|
|
75
|
-
Client as __Client,
|
|
76
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
77
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
78
|
-
} from "@aws-sdk/smithy-client";
|
|
79
|
-
import {
|
|
80
|
-
Provider,
|
|
81
|
-
RegionInfoProvider,
|
|
82
|
-
Credentials as __Credentials,
|
|
83
|
-
Decoder as __Decoder,
|
|
84
|
-
Encoder as __Encoder,
|
|
85
|
-
Hash as __Hash,
|
|
86
|
-
HashConstructor as __HashConstructor,
|
|
87
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
88
|
-
Logger as __Logger,
|
|
89
|
-
Provider as __Provider,
|
|
90
|
-
StreamCollector as __StreamCollector,
|
|
91
|
-
UrlParser as __UrlParser,
|
|
92
|
-
UserAgent as __UserAgent,
|
|
93
|
-
} from "@aws-sdk/types";
|
|
94
|
-
|
|
95
|
-
export type ServiceInputTypes =
|
|
96
|
-
| CancelJobRunCommandInput
|
|
97
|
-
| CreateManagedEndpointCommandInput
|
|
98
|
-
| CreateVirtualClusterCommandInput
|
|
99
|
-
| DeleteManagedEndpointCommandInput
|
|
100
|
-
| DeleteVirtualClusterCommandInput
|
|
101
|
-
| DescribeJobRunCommandInput
|
|
102
|
-
| DescribeManagedEndpointCommandInput
|
|
103
|
-
| DescribeVirtualClusterCommandInput
|
|
104
|
-
| ListJobRunsCommandInput
|
|
105
|
-
| ListManagedEndpointsCommandInput
|
|
106
|
-
| ListTagsForResourceCommandInput
|
|
107
|
-
| ListVirtualClustersCommandInput
|
|
108
|
-
| StartJobRunCommandInput
|
|
109
|
-
| TagResourceCommandInput
|
|
110
|
-
| UntagResourceCommandInput;
|
|
111
|
-
|
|
112
|
-
export type ServiceOutputTypes =
|
|
113
|
-
| CancelJobRunCommandOutput
|
|
114
|
-
| CreateManagedEndpointCommandOutput
|
|
115
|
-
| CreateVirtualClusterCommandOutput
|
|
116
|
-
| DeleteManagedEndpointCommandOutput
|
|
117
|
-
| DeleteVirtualClusterCommandOutput
|
|
118
|
-
| DescribeJobRunCommandOutput
|
|
119
|
-
| DescribeManagedEndpointCommandOutput
|
|
120
|
-
| DescribeVirtualClusterCommandOutput
|
|
121
|
-
| ListJobRunsCommandOutput
|
|
122
|
-
| ListManagedEndpointsCommandOutput
|
|
123
|
-
| ListTagsForResourceCommandOutput
|
|
124
|
-
| ListVirtualClustersCommandOutput
|
|
125
|
-
| StartJobRunCommandOutput
|
|
126
|
-
| TagResourceCommandOutput
|
|
127
|
-
| UntagResourceCommandOutput;
|
|
128
|
-
|
|
129
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
130
|
-
/**
|
|
131
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
132
|
-
*/
|
|
133
|
-
requestHandler?: __HttpHandler;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
137
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
138
|
-
* @internal
|
|
139
|
-
*/
|
|
140
|
-
sha256?: __HashConstructor;
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
146
|
-
urlParser?: __UrlParser;
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* A function that can calculate the length of a request body.
|
|
150
|
-
* @internal
|
|
151
|
-
*/
|
|
152
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* A function that converts a stream into an array of bytes.
|
|
156
|
-
* @internal
|
|
157
|
-
*/
|
|
158
|
-
streamCollector?: __StreamCollector;
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
base64Decoder?: __Decoder;
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
|
-
base64Encoder?: __Encoder;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
174
|
-
* @internal
|
|
175
|
-
*/
|
|
176
|
-
utf8Decoder?: __Decoder;
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
180
|
-
* @internal
|
|
181
|
-
*/
|
|
182
|
-
utf8Encoder?: __Encoder;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* The runtime environment.
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
|
-
runtime?: string;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
192
|
-
* trait of an operation.
|
|
193
|
-
*/
|
|
194
|
-
disableHostPrefix?: boolean;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
198
|
-
*/
|
|
199
|
-
maxAttempts?: number | __Provider<number>;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Specifies which retry algorithm to use.
|
|
203
|
-
*/
|
|
204
|
-
retryMode?: string | __Provider<string>;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Optional logger for logging debug/info/warn/error.
|
|
208
|
-
*/
|
|
209
|
-
logger?: __Logger;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Unique service identifier.
|
|
213
|
-
* @internal
|
|
214
|
-
*/
|
|
215
|
-
serviceId?: string;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* The AWS region to which this client will send requests
|
|
219
|
-
*/
|
|
220
|
-
region?: string | __Provider<string>;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Default credentials provider; Not available in browser runtime.
|
|
224
|
-
* @internal
|
|
225
|
-
*/
|
|
226
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
230
|
-
* @internal
|
|
231
|
-
*/
|
|
232
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
236
|
-
* @internal
|
|
237
|
-
*/
|
|
238
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
type EMRContainersClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
242
|
-
ClientDefaults &
|
|
243
|
-
RegionInputConfig &
|
|
244
|
-
EndpointsInputConfig &
|
|
245
|
-
RetryInputConfig &
|
|
246
|
-
HostHeaderInputConfig &
|
|
247
|
-
AwsAuthInputConfig &
|
|
248
|
-
UserAgentInputConfig;
|
|
249
|
-
/**
|
|
250
|
-
* The configuration interface of EMRContainersClient class constructor that set the region, credentials and other options.
|
|
251
|
-
*/
|
|
252
|
-
export interface EMRContainersClientConfig extends EMRContainersClientConfigType {}
|
|
253
|
-
|
|
254
|
-
type EMRContainersClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
255
|
-
Required<ClientDefaults> &
|
|
256
|
-
RegionResolvedConfig &
|
|
257
|
-
EndpointsResolvedConfig &
|
|
258
|
-
RetryResolvedConfig &
|
|
259
|
-
HostHeaderResolvedConfig &
|
|
260
|
-
AwsAuthResolvedConfig &
|
|
261
|
-
UserAgentResolvedConfig;
|
|
262
|
-
/**
|
|
263
|
-
* The resolved configuration interface of EMRContainersClient class. This is resolved and normalized from the {@link EMRContainersClientConfig | constructor configuration interface}.
|
|
264
|
-
*/
|
|
265
|
-
export interface EMRContainersClientResolvedConfig extends EMRContainersClientResolvedConfigType {}
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run
|
|
269
|
-
* open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With
|
|
270
|
-
* this deployment option, you can focus on running analytics workloads while Amazon EMR on
|
|
271
|
-
* EKS builds, configures, and manages containers for open-source applications. For more
|
|
272
|
-
* information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is Amazon EMR on EKS</a>.</p>
|
|
273
|
-
* <p>
|
|
274
|
-
* <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The
|
|
275
|
-
* <code>emr-containers</code> prefix is used in the following scenarios: </p>
|
|
276
|
-
* <ul>
|
|
277
|
-
* <li>
|
|
278
|
-
* <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example, <code>aws
|
|
279
|
-
* emr-containers start-job-run</code>.</p>
|
|
280
|
-
* </li>
|
|
281
|
-
* <li>
|
|
282
|
-
* <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For example, <code>"Action": [
|
|
283
|
-
* "emr-containers:StartJobRun"]</code>. For more information, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions">Policy actions for Amazon EMR on EKS</a>.</p>
|
|
284
|
-
* </li>
|
|
285
|
-
* <li>
|
|
286
|
-
* <p>It is the prefix used in Amazon EMR on EKS service endpoints. For example, <code>emr-containers.us-east-2.amazonaws.com</code>. For more
|
|
287
|
-
* information, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints">Amazon EMR on EKS Service Endpoints</a>.</p>
|
|
288
|
-
* </li>
|
|
289
|
-
* </ul>
|
|
290
|
-
*/
|
|
291
|
-
export class EMRContainersClient extends __Client<
|
|
292
|
-
__HttpHandlerOptions,
|
|
293
|
-
ServiceInputTypes,
|
|
294
|
-
ServiceOutputTypes,
|
|
295
|
-
EMRContainersClientResolvedConfig
|
|
296
|
-
> {
|
|
297
|
-
/**
|
|
298
|
-
* The resolved configuration of EMRContainersClient class. This is resolved and normalized from the {@link EMRContainersClientConfig | constructor configuration interface}.
|
|
299
|
-
*/
|
|
300
|
-
readonly config: EMRContainersClientResolvedConfig;
|
|
301
|
-
|
|
302
|
-
constructor(configuration: EMRContainersClientConfig) {
|
|
303
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
304
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
305
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
306
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
307
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
308
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
309
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
310
|
-
super(_config_6);
|
|
311
|
-
this.config = _config_6;
|
|
312
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
313
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
314
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
315
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
316
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
317
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
322
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
323
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
324
|
-
*/
|
|
325
|
-
destroy(): void {
|
|
326
|
-
super.destroy();
|
|
327
|
-
}
|
|
328
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { EMRContainersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRContainersClient";
|
|
2
|
-
import { CancelJobRunRequest, CancelJobRunResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CancelJobRunCommand,
|
|
5
|
-
serializeAws_restJson1CancelJobRunCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CancelJobRunCommandInput extends CancelJobRunRequest {}
|
|
21
|
-
export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { EMRContainersClient, CancelJobRunCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
|
|
29
|
-
* // const { EMRContainersClient, CancelJobRunCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
|
|
30
|
-
* const client = new EMRContainersClient(config);
|
|
31
|
-
* const command = new CancelJobRunCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CancelJobRunCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CancelJobRunCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link EMRContainersClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CancelJobRunCommand extends $Command<
|
|
41
|
-
CancelJobRunCommandInput,
|
|
42
|
-
CancelJobRunCommandOutput,
|
|
43
|
-
EMRContainersClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CancelJobRunCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: EMRContainersClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CancelJobRunCommandInput, CancelJobRunCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "EMRContainersClient";
|
|
68
|
-
const commandName = "CancelJobRunCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CancelJobRunRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CancelJobRunResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CancelJobRunCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CancelJobRunCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelJobRunCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CancelJobRunCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { EMRContainersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRContainersClient";
|
|
2
|
-
import { CreateManagedEndpointRequest, CreateManagedEndpointResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateManagedEndpointCommand,
|
|
5
|
-
serializeAws_restJson1CreateManagedEndpointCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateManagedEndpointCommandInput extends CreateManagedEndpointRequest {}
|
|
21
|
-
export interface CreateManagedEndpointCommandOutput extends CreateManagedEndpointResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { EMRContainersClient, CreateManagedEndpointCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
|
|
29
|
-
* // const { EMRContainersClient, CreateManagedEndpointCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
|
|
30
|
-
* const client = new EMRContainersClient(config);
|
|
31
|
-
* const command = new CreateManagedEndpointCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateManagedEndpointCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateManagedEndpointCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link EMRContainersClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateManagedEndpointCommand extends $Command<
|
|
41
|
-
CreateManagedEndpointCommandInput,
|
|
42
|
-
CreateManagedEndpointCommandOutput,
|
|
43
|
-
EMRContainersClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateManagedEndpointCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: EMRContainersClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateManagedEndpointCommandInput, CreateManagedEndpointCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "EMRContainersClient";
|
|
68
|
-
const commandName = "CreateManagedEndpointCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateManagedEndpointRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateManagedEndpointResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateManagedEndpointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CreateManagedEndpointCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateManagedEndpointCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CreateManagedEndpointCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { EMRContainersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRContainersClient";
|
|
2
|
-
import { CreateVirtualClusterRequest, CreateVirtualClusterResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateVirtualClusterCommand,
|
|
5
|
-
serializeAws_restJson1CreateVirtualClusterCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateVirtualClusterCommandInput extends CreateVirtualClusterRequest {}
|
|
21
|
-
export interface CreateVirtualClusterCommandOutput extends CreateVirtualClusterResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { EMRContainersClient, CreateVirtualClusterCommand } from "@aws-sdk/client-emr-containers"; // ES Modules import
|
|
29
|
-
* // const { EMRContainersClient, CreateVirtualClusterCommand } = require("@aws-sdk/client-emr-containers"); // CommonJS import
|
|
30
|
-
* const client = new EMRContainersClient(config);
|
|
31
|
-
* const command = new CreateVirtualClusterCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateVirtualClusterCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateVirtualClusterCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link EMRContainersClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateVirtualClusterCommand extends $Command<
|
|
41
|
-
CreateVirtualClusterCommandInput,
|
|
42
|
-
CreateVirtualClusterCommandOutput,
|
|
43
|
-
EMRContainersClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateVirtualClusterCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: EMRContainersClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateVirtualClusterCommandInput, CreateVirtualClusterCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "EMRContainersClient";
|
|
68
|
-
const commandName = "CreateVirtualClusterCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateVirtualClusterRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateVirtualClusterResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateVirtualClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CreateVirtualClusterCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateVirtualClusterCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CreateVirtualClusterCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|