@aws-sdk/client-emr-containers 3.899.0 → 3.906.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/index.js +1776 -1915
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -1,1955 +1,1816 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
CreateManagedEndpointCommand: () => CreateManagedEndpointCommand,
|
|
34
|
-
CreateManagedEndpointRequestFilterSensitiveLog: () => CreateManagedEndpointRequestFilterSensitiveLog,
|
|
35
|
-
CreateSecurityConfigurationCommand: () => CreateSecurityConfigurationCommand,
|
|
36
|
-
CreateVirtualClusterCommand: () => CreateVirtualClusterCommand,
|
|
37
|
-
Credentials: () => Credentials,
|
|
38
|
-
CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,
|
|
39
|
-
DeleteJobTemplateCommand: () => DeleteJobTemplateCommand,
|
|
40
|
-
DeleteManagedEndpointCommand: () => DeleteManagedEndpointCommand,
|
|
41
|
-
DeleteVirtualClusterCommand: () => DeleteVirtualClusterCommand,
|
|
42
|
-
DescribeJobRunCommand: () => DescribeJobRunCommand,
|
|
43
|
-
DescribeJobRunResponseFilterSensitiveLog: () => DescribeJobRunResponseFilterSensitiveLog,
|
|
44
|
-
DescribeJobTemplateCommand: () => DescribeJobTemplateCommand,
|
|
45
|
-
DescribeJobTemplateResponseFilterSensitiveLog: () => DescribeJobTemplateResponseFilterSensitiveLog,
|
|
46
|
-
DescribeManagedEndpointCommand: () => DescribeManagedEndpointCommand,
|
|
47
|
-
DescribeManagedEndpointResponseFilterSensitiveLog: () => DescribeManagedEndpointResponseFilterSensitiveLog,
|
|
48
|
-
DescribeSecurityConfigurationCommand: () => DescribeSecurityConfigurationCommand,
|
|
49
|
-
DescribeVirtualClusterCommand: () => DescribeVirtualClusterCommand,
|
|
50
|
-
EKSRequestThrottledException: () => EKSRequestThrottledException,
|
|
51
|
-
EMRContainers: () => EMRContainers,
|
|
52
|
-
EMRContainersClient: () => EMRContainersClient,
|
|
53
|
-
EMRContainersServiceException: () => EMRContainersServiceException,
|
|
54
|
-
EndpointFilterSensitiveLog: () => EndpointFilterSensitiveLog,
|
|
55
|
-
EndpointState: () => EndpointState,
|
|
56
|
-
FailureReason: () => FailureReason,
|
|
57
|
-
GetManagedEndpointSessionCredentialsCommand: () => GetManagedEndpointSessionCredentialsCommand,
|
|
58
|
-
GetManagedEndpointSessionCredentialsResponseFilterSensitiveLog: () => GetManagedEndpointSessionCredentialsResponseFilterSensitiveLog,
|
|
59
|
-
InternalServerException: () => InternalServerException,
|
|
60
|
-
JobDriverFilterSensitiveLog: () => JobDriverFilterSensitiveLog,
|
|
61
|
-
JobRunFilterSensitiveLog: () => JobRunFilterSensitiveLog,
|
|
62
|
-
JobRunState: () => JobRunState,
|
|
63
|
-
JobTemplateDataFilterSensitiveLog: () => JobTemplateDataFilterSensitiveLog,
|
|
64
|
-
JobTemplateFilterSensitiveLog: () => JobTemplateFilterSensitiveLog,
|
|
65
|
-
ListJobRunsCommand: () => ListJobRunsCommand,
|
|
66
|
-
ListJobRunsResponseFilterSensitiveLog: () => ListJobRunsResponseFilterSensitiveLog,
|
|
67
|
-
ListJobTemplatesCommand: () => ListJobTemplatesCommand,
|
|
68
|
-
ListJobTemplatesResponseFilterSensitiveLog: () => ListJobTemplatesResponseFilterSensitiveLog,
|
|
69
|
-
ListManagedEndpointsCommand: () => ListManagedEndpointsCommand,
|
|
70
|
-
ListManagedEndpointsResponseFilterSensitiveLog: () => ListManagedEndpointsResponseFilterSensitiveLog,
|
|
71
|
-
ListSecurityConfigurationsCommand: () => ListSecurityConfigurationsCommand,
|
|
72
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
73
|
-
ListVirtualClustersCommand: () => ListVirtualClustersCommand,
|
|
74
|
-
ParametricConfigurationOverridesFilterSensitiveLog: () => ParametricConfigurationOverridesFilterSensitiveLog,
|
|
75
|
-
PersistentAppUI: () => PersistentAppUI,
|
|
76
|
-
RequestThrottledException: () => RequestThrottledException,
|
|
77
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
78
|
-
SparkSqlJobDriverFilterSensitiveLog: () => SparkSqlJobDriverFilterSensitiveLog,
|
|
79
|
-
SparkSubmitJobDriverFilterSensitiveLog: () => SparkSubmitJobDriverFilterSensitiveLog,
|
|
80
|
-
StartJobRunCommand: () => StartJobRunCommand,
|
|
81
|
-
StartJobRunRequestFilterSensitiveLog: () => StartJobRunRequestFilterSensitiveLog,
|
|
82
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
83
|
-
TemplateParameterDataType: () => TemplateParameterDataType,
|
|
84
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
85
|
-
ValidationException: () => ValidationException,
|
|
86
|
-
VirtualClusterState: () => VirtualClusterState,
|
|
87
|
-
__Client: () => import_smithy_client.Client,
|
|
88
|
-
paginateListJobRuns: () => paginateListJobRuns,
|
|
89
|
-
paginateListJobTemplates: () => paginateListJobTemplates,
|
|
90
|
-
paginateListManagedEndpoints: () => paginateListManagedEndpoints,
|
|
91
|
-
paginateListSecurityConfigurations: () => paginateListSecurityConfigurations,
|
|
92
|
-
paginateListVirtualClusters: () => paginateListVirtualClusters
|
|
93
|
-
});
|
|
94
|
-
module.exports = __toCommonJS(index_exports);
|
|
95
|
-
|
|
96
|
-
// src/EMRContainersClient.ts
|
|
97
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
98
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
99
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
100
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
101
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
102
|
-
var import_core = require("@smithy/core");
|
|
103
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
104
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
105
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
106
|
-
|
|
107
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
108
|
-
|
|
109
|
-
// src/endpoint/EndpointParameters.ts
|
|
110
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
111
|
-
return Object.assign(options, {
|
|
112
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
113
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
114
|
-
defaultSigningName: "emr-containers"
|
|
115
|
-
});
|
|
116
|
-
}, "resolveClientEndpointParameters");
|
|
117
|
-
var commonParams = {
|
|
118
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
119
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
120
|
-
Region: { type: "builtInParams", name: "region" },
|
|
121
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
var uuid = require('@smithy/uuid');
|
|
20
|
+
|
|
21
|
+
const resolveClientEndpointParameters = (options) => {
|
|
22
|
+
return Object.assign(options, {
|
|
23
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
24
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
25
|
+
defaultSigningName: "emr-containers",
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
const commonParams = {
|
|
29
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
30
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
31
|
+
Region: { type: "builtInParams", name: "region" },
|
|
32
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
122
33
|
};
|
|
123
34
|
|
|
124
|
-
|
|
125
|
-
|
|
35
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
36
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
37
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
38
|
+
let _credentials = runtimeConfig.credentials;
|
|
39
|
+
return {
|
|
40
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
41
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
42
|
+
if (index === -1) {
|
|
43
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
httpAuthSchemes() {
|
|
50
|
+
return _httpAuthSchemes;
|
|
51
|
+
},
|
|
52
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
53
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
54
|
+
},
|
|
55
|
+
httpAuthSchemeProvider() {
|
|
56
|
+
return _httpAuthSchemeProvider;
|
|
57
|
+
},
|
|
58
|
+
setCredentials(credentials) {
|
|
59
|
+
_credentials = credentials;
|
|
60
|
+
},
|
|
61
|
+
credentials() {
|
|
62
|
+
return _credentials;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
67
|
+
return {
|
|
68
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
69
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
70
|
+
credentials: config.credentials(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
126
73
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
74
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
|
+
};
|
|
131
79
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
80
|
+
class EMRContainersClient extends smithyClient.Client {
|
|
81
|
+
config;
|
|
82
|
+
constructor(...[configuration]) {
|
|
83
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
84
|
+
super(_config_0);
|
|
85
|
+
this.initConfig = _config_0;
|
|
86
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
88
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
90
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
91
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
|
+
this.config = _config_8;
|
|
95
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultEMRContainersHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
104
|
+
"aws.auth#sigv4": config.credentials,
|
|
105
|
+
}),
|
|
106
|
+
}));
|
|
107
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
160
108
|
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
166
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
167
|
-
credentials: config.credentials()
|
|
168
|
-
};
|
|
169
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
109
|
+
destroy() {
|
|
110
|
+
super.destroy();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
170
113
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
178
|
-
);
|
|
179
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
180
|
-
return Object.assign(
|
|
181
|
-
runtimeConfig,
|
|
182
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
183
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
184
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
185
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
186
|
-
);
|
|
187
|
-
}, "resolveRuntimeExtensions");
|
|
114
|
+
class EMRContainersServiceException extends smithyClient.ServiceException {
|
|
115
|
+
constructor(options) {
|
|
116
|
+
super(options);
|
|
117
|
+
Object.setPrototypeOf(this, EMRContainersServiceException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
188
120
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
__name(this, "EMRContainersClient");
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* The resolved configuration of EMRContainersClient class. This is resolved and normalized from the {@link EMRContainersClientConfig | constructor configuration interface}.
|
|
196
|
-
*/
|
|
197
|
-
config;
|
|
198
|
-
constructor(...[configuration]) {
|
|
199
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
200
|
-
super(_config_0);
|
|
201
|
-
this.initConfig = _config_0;
|
|
202
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
203
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
204
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
205
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
206
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
207
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
208
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
209
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
210
|
-
this.config = _config_8;
|
|
211
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
212
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
213
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
214
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
215
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
216
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
217
|
-
this.middlewareStack.use(
|
|
218
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
219
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultEMRContainersHttpAuthSchemeParametersProvider,
|
|
220
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
221
|
-
"aws.auth#sigv4": config.credentials
|
|
222
|
-
}), "identityProviderConfigProvider")
|
|
223
|
-
})
|
|
224
|
-
);
|
|
225
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
229
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
230
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
231
|
-
*/
|
|
232
|
-
destroy() {
|
|
233
|
-
super.destroy();
|
|
234
|
-
}
|
|
121
|
+
const AllowAWSToRetainLogs = {
|
|
122
|
+
DISABLED: "DISABLED",
|
|
123
|
+
ENABLED: "ENABLED",
|
|
235
124
|
};
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
// src/commands/CancelJobRunCommand.ts
|
|
241
|
-
|
|
242
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
// src/protocols/Aws_restJson1.ts
|
|
246
|
-
var import_core2 = require("@aws-sdk/core");
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
var import_uuid = require("@smithy/uuid");
|
|
250
|
-
|
|
251
|
-
// src/models/EMRContainersServiceException.ts
|
|
252
|
-
|
|
253
|
-
var EMRContainersServiceException = class _EMRContainersServiceException extends import_smithy_client.ServiceException {
|
|
254
|
-
static {
|
|
255
|
-
__name(this, "EMRContainersServiceException");
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
* @internal
|
|
259
|
-
*/
|
|
260
|
-
constructor(options) {
|
|
261
|
-
super(options);
|
|
262
|
-
Object.setPrototypeOf(this, _EMRContainersServiceException.prototype);
|
|
263
|
-
}
|
|
125
|
+
const CertificateProviderType = {
|
|
126
|
+
PEM: "PEM",
|
|
264
127
|
};
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
};
|
|
293
|
-
var ValidationException = class _ValidationException extends EMRContainersServiceException {
|
|
294
|
-
static {
|
|
295
|
-
__name(this, "ValidationException");
|
|
296
|
-
}
|
|
297
|
-
name = "ValidationException";
|
|
298
|
-
$fault = "client";
|
|
299
|
-
/**
|
|
300
|
-
* @internal
|
|
301
|
-
*/
|
|
302
|
-
constructor(opts) {
|
|
303
|
-
super({
|
|
304
|
-
name: "ValidationException",
|
|
305
|
-
$fault: "client",
|
|
306
|
-
...opts
|
|
307
|
-
});
|
|
308
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
309
|
-
}
|
|
310
|
-
};
|
|
311
|
-
var TemplateParameterDataType = {
|
|
312
|
-
NUMBER: "NUMBER",
|
|
313
|
-
STRING: "STRING"
|
|
314
|
-
};
|
|
315
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends EMRContainersServiceException {
|
|
316
|
-
static {
|
|
317
|
-
__name(this, "ResourceNotFoundException");
|
|
318
|
-
}
|
|
319
|
-
name = "ResourceNotFoundException";
|
|
320
|
-
$fault = "client";
|
|
321
|
-
/**
|
|
322
|
-
* @internal
|
|
323
|
-
*/
|
|
324
|
-
constructor(opts) {
|
|
325
|
-
super({
|
|
326
|
-
name: "ResourceNotFoundException",
|
|
327
|
-
$fault: "client",
|
|
328
|
-
...opts
|
|
329
|
-
});
|
|
330
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
331
|
-
}
|
|
332
|
-
};
|
|
333
|
-
var PersistentAppUI = {
|
|
334
|
-
DISABLED: "DISABLED",
|
|
335
|
-
ENABLED: "ENABLED"
|
|
336
|
-
};
|
|
337
|
-
var ContainerInfo;
|
|
338
|
-
((ContainerInfo3) => {
|
|
339
|
-
ContainerInfo3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
340
|
-
if (value.eksInfo !== void 0) return visitor.eksInfo(value.eksInfo);
|
|
341
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
342
|
-
}, "visit");
|
|
343
|
-
})(ContainerInfo || (ContainerInfo = {}));
|
|
344
|
-
var ContainerProviderType = {
|
|
345
|
-
EKS: "EKS"
|
|
346
|
-
};
|
|
347
|
-
var EKSRequestThrottledException = class _EKSRequestThrottledException extends EMRContainersServiceException {
|
|
348
|
-
static {
|
|
349
|
-
__name(this, "EKSRequestThrottledException");
|
|
350
|
-
}
|
|
351
|
-
name = "EKSRequestThrottledException";
|
|
352
|
-
$fault = "client";
|
|
353
|
-
/**
|
|
354
|
-
* @internal
|
|
355
|
-
*/
|
|
356
|
-
constructor(opts) {
|
|
357
|
-
super({
|
|
358
|
-
name: "EKSRequestThrottledException",
|
|
359
|
-
$fault: "client",
|
|
360
|
-
...opts
|
|
361
|
-
});
|
|
362
|
-
Object.setPrototypeOf(this, _EKSRequestThrottledException.prototype);
|
|
363
|
-
}
|
|
364
|
-
};
|
|
365
|
-
var FailureReason = {
|
|
366
|
-
CLUSTER_UNAVAILABLE: "CLUSTER_UNAVAILABLE",
|
|
367
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
368
|
-
USER_ERROR: "USER_ERROR",
|
|
369
|
-
VALIDATION_ERROR: "VALIDATION_ERROR"
|
|
370
|
-
};
|
|
371
|
-
var JobRunState = {
|
|
372
|
-
CANCELLED: "CANCELLED",
|
|
373
|
-
CANCEL_PENDING: "CANCEL_PENDING",
|
|
374
|
-
COMPLETED: "COMPLETED",
|
|
375
|
-
FAILED: "FAILED",
|
|
376
|
-
PENDING: "PENDING",
|
|
377
|
-
RUNNING: "RUNNING",
|
|
378
|
-
SUBMITTED: "SUBMITTED"
|
|
379
|
-
};
|
|
380
|
-
var EndpointState = {
|
|
381
|
-
ACTIVE: "ACTIVE",
|
|
382
|
-
CREATING: "CREATING",
|
|
383
|
-
TERMINATED: "TERMINATED",
|
|
384
|
-
TERMINATED_WITH_ERRORS: "TERMINATED_WITH_ERRORS",
|
|
385
|
-
TERMINATING: "TERMINATING"
|
|
386
|
-
};
|
|
387
|
-
var VirtualClusterState = {
|
|
388
|
-
ARRESTED: "ARRESTED",
|
|
389
|
-
RUNNING: "RUNNING",
|
|
390
|
-
TERMINATED: "TERMINATED",
|
|
391
|
-
TERMINATING: "TERMINATING"
|
|
392
|
-
};
|
|
393
|
-
var Credentials;
|
|
394
|
-
((Credentials2) => {
|
|
395
|
-
Credentials2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
396
|
-
if (value.token !== void 0) return visitor.token(value.token);
|
|
397
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
398
|
-
}, "visit");
|
|
399
|
-
})(Credentials || (Credentials = {}));
|
|
400
|
-
var RequestThrottledException = class _RequestThrottledException extends EMRContainersServiceException {
|
|
401
|
-
static {
|
|
402
|
-
__name(this, "RequestThrottledException");
|
|
403
|
-
}
|
|
404
|
-
name = "RequestThrottledException";
|
|
405
|
-
$fault = "client";
|
|
406
|
-
/**
|
|
407
|
-
* @internal
|
|
408
|
-
*/
|
|
409
|
-
constructor(opts) {
|
|
410
|
-
super({
|
|
411
|
-
name: "RequestThrottledException",
|
|
412
|
-
$fault: "client",
|
|
413
|
-
...opts
|
|
414
|
-
});
|
|
415
|
-
Object.setPrototypeOf(this, _RequestThrottledException.prototype);
|
|
416
|
-
}
|
|
417
|
-
};
|
|
418
|
-
var SparkSqlJobDriverFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
419
|
-
...obj,
|
|
420
|
-
...obj.entryPoint && { entryPoint: import_smithy_client.SENSITIVE_STRING },
|
|
421
|
-
...obj.sparkSqlParameters && { sparkSqlParameters: import_smithy_client.SENSITIVE_STRING }
|
|
422
|
-
}), "SparkSqlJobDriverFilterSensitiveLog");
|
|
423
|
-
var SparkSubmitJobDriverFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
424
|
-
...obj,
|
|
425
|
-
...obj.entryPoint && { entryPoint: import_smithy_client.SENSITIVE_STRING },
|
|
426
|
-
...obj.entryPointArguments && { entryPointArguments: import_smithy_client.SENSITIVE_STRING },
|
|
427
|
-
...obj.sparkSubmitParameters && { sparkSubmitParameters: import_smithy_client.SENSITIVE_STRING }
|
|
428
|
-
}), "SparkSubmitJobDriverFilterSensitiveLog");
|
|
429
|
-
var JobDriverFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
430
|
-
...obj,
|
|
431
|
-
...obj.sparkSubmitJobDriver && {
|
|
432
|
-
sparkSubmitJobDriver: SparkSubmitJobDriverFilterSensitiveLog(obj.sparkSubmitJobDriver)
|
|
433
|
-
},
|
|
434
|
-
...obj.sparkSqlJobDriver && { sparkSqlJobDriver: SparkSqlJobDriverFilterSensitiveLog(obj.sparkSqlJobDriver) }
|
|
435
|
-
}), "JobDriverFilterSensitiveLog");
|
|
436
|
-
var CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
437
|
-
if (obj.token !== void 0) return { token: import_smithy_client.SENSITIVE_STRING };
|
|
438
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
439
|
-
}, "CredentialsFilterSensitiveLog");
|
|
440
|
-
var GetManagedEndpointSessionCredentialsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
441
|
-
...obj,
|
|
442
|
-
...obj.credentials && { credentials: CredentialsFilterSensitiveLog(obj.credentials) }
|
|
443
|
-
}), "GetManagedEndpointSessionCredentialsResponseFilterSensitiveLog");
|
|
444
|
-
var ConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
445
|
-
...obj,
|
|
446
|
-
...obj.properties && { properties: import_smithy_client.SENSITIVE_STRING },
|
|
447
|
-
...obj.configurations && {
|
|
448
|
-
configurations: obj.configurations.map((item) => ConfigurationFilterSensitiveLog(item))
|
|
449
|
-
}
|
|
450
|
-
}), "ConfigurationFilterSensitiveLog");
|
|
451
|
-
var ConfigurationOverridesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
452
|
-
...obj,
|
|
453
|
-
...obj.applicationConfiguration && {
|
|
454
|
-
applicationConfiguration: obj.applicationConfiguration.map((item) => ConfigurationFilterSensitiveLog(item))
|
|
455
|
-
}
|
|
456
|
-
}), "ConfigurationOverridesFilterSensitiveLog");
|
|
457
|
-
var ParametricConfigurationOverridesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
458
|
-
...obj,
|
|
459
|
-
...obj.applicationConfiguration && {
|
|
460
|
-
applicationConfiguration: obj.applicationConfiguration.map((item) => ConfigurationFilterSensitiveLog(item))
|
|
461
|
-
}
|
|
462
|
-
}), "ParametricConfigurationOverridesFilterSensitiveLog");
|
|
463
|
-
var CreateManagedEndpointRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
464
|
-
...obj,
|
|
465
|
-
...obj.configurationOverrides && {
|
|
466
|
-
configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides)
|
|
467
|
-
}
|
|
468
|
-
}), "CreateManagedEndpointRequestFilterSensitiveLog");
|
|
469
|
-
var EndpointFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
470
|
-
...obj,
|
|
471
|
-
...obj.configurationOverrides && {
|
|
472
|
-
configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides)
|
|
473
|
-
}
|
|
474
|
-
}), "EndpointFilterSensitiveLog");
|
|
475
|
-
var JobRunFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
476
|
-
...obj,
|
|
477
|
-
...obj.configurationOverrides && {
|
|
478
|
-
configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides)
|
|
479
|
-
},
|
|
480
|
-
...obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }
|
|
481
|
-
}), "JobRunFilterSensitiveLog");
|
|
482
|
-
var JobTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
483
|
-
...obj,
|
|
484
|
-
...obj.configurationOverrides && {
|
|
485
|
-
configurationOverrides: ParametricConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides)
|
|
486
|
-
},
|
|
487
|
-
...obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }
|
|
488
|
-
}), "JobTemplateDataFilterSensitiveLog");
|
|
489
|
-
var StartJobRunRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
490
|
-
...obj,
|
|
491
|
-
...obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) },
|
|
492
|
-
...obj.configurationOverrides && {
|
|
493
|
-
configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides)
|
|
494
|
-
}
|
|
495
|
-
}), "StartJobRunRequestFilterSensitiveLog");
|
|
496
|
-
var CreateJobTemplateRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
497
|
-
...obj,
|
|
498
|
-
...obj.jobTemplateData && { jobTemplateData: JobTemplateDataFilterSensitiveLog(obj.jobTemplateData) }
|
|
499
|
-
}), "CreateJobTemplateRequestFilterSensitiveLog");
|
|
500
|
-
var DescribeJobRunResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
501
|
-
...obj,
|
|
502
|
-
...obj.jobRun && { jobRun: JobRunFilterSensitiveLog(obj.jobRun) }
|
|
503
|
-
}), "DescribeJobRunResponseFilterSensitiveLog");
|
|
504
|
-
var DescribeManagedEndpointResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
505
|
-
...obj,
|
|
506
|
-
...obj.endpoint && { endpoint: EndpointFilterSensitiveLog(obj.endpoint) }
|
|
507
|
-
}), "DescribeManagedEndpointResponseFilterSensitiveLog");
|
|
508
|
-
var JobTemplateFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
509
|
-
...obj,
|
|
510
|
-
...obj.jobTemplateData && { jobTemplateData: JobTemplateDataFilterSensitiveLog(obj.jobTemplateData) }
|
|
511
|
-
}), "JobTemplateFilterSensitiveLog");
|
|
512
|
-
var DescribeJobTemplateResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
513
|
-
...obj,
|
|
514
|
-
...obj.jobTemplate && { jobTemplate: JobTemplateFilterSensitiveLog(obj.jobTemplate) }
|
|
515
|
-
}), "DescribeJobTemplateResponseFilterSensitiveLog");
|
|
516
|
-
var ListJobRunsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
517
|
-
...obj,
|
|
518
|
-
...obj.jobRuns && { jobRuns: obj.jobRuns.map((item) => JobRunFilterSensitiveLog(item)) }
|
|
519
|
-
}), "ListJobRunsResponseFilterSensitiveLog");
|
|
520
|
-
var ListManagedEndpointsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
521
|
-
...obj
|
|
522
|
-
}), "ListManagedEndpointsResponseFilterSensitiveLog");
|
|
523
|
-
var ListJobTemplatesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
524
|
-
...obj,
|
|
525
|
-
...obj.templates && { templates: obj.templates.map((item) => JobTemplateFilterSensitiveLog(item)) }
|
|
526
|
-
}), "ListJobTemplatesResponseFilterSensitiveLog");
|
|
527
|
-
|
|
528
|
-
// src/protocols/Aws_restJson1.ts
|
|
529
|
-
var se_CancelJobRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
530
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
531
|
-
const headers = {};
|
|
532
|
-
b.bp("/virtualclusters/{virtualClusterId}/jobruns/{id}");
|
|
533
|
-
b.p("id", () => input.id, "{id}", false);
|
|
534
|
-
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
535
|
-
let body;
|
|
536
|
-
b.m("DELETE").h(headers).b(body);
|
|
537
|
-
return b.build();
|
|
538
|
-
}, "se_CancelJobRunCommand");
|
|
539
|
-
var se_CreateJobTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
540
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
541
|
-
const headers = {
|
|
542
|
-
"content-type": "application/json"
|
|
543
|
-
};
|
|
544
|
-
b.bp("/jobtemplates");
|
|
545
|
-
let body;
|
|
546
|
-
body = JSON.stringify(
|
|
547
|
-
(0, import_smithy_client.take)(input, {
|
|
548
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
549
|
-
jobTemplateData: /* @__PURE__ */ __name((_) => se_JobTemplateData(_, context), "jobTemplateData"),
|
|
550
|
-
kmsKeyArn: [],
|
|
551
|
-
name: [],
|
|
552
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
553
|
-
})
|
|
554
|
-
);
|
|
555
|
-
b.m("POST").h(headers).b(body);
|
|
556
|
-
return b.build();
|
|
557
|
-
}, "se_CreateJobTemplateCommand");
|
|
558
|
-
var se_CreateManagedEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
559
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
560
|
-
const headers = {
|
|
561
|
-
"content-type": "application/json"
|
|
562
|
-
};
|
|
563
|
-
b.bp("/virtualclusters/{virtualClusterId}/endpoints");
|
|
564
|
-
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
565
|
-
let body;
|
|
566
|
-
body = JSON.stringify(
|
|
567
|
-
(0, import_smithy_client.take)(input, {
|
|
568
|
-
certificateArn: [],
|
|
569
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
570
|
-
configurationOverrides: /* @__PURE__ */ __name((_) => se_ConfigurationOverrides(_, context), "configurationOverrides"),
|
|
571
|
-
executionRoleArn: [],
|
|
572
|
-
name: [],
|
|
573
|
-
releaseLabel: [],
|
|
574
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
575
|
-
type: []
|
|
576
|
-
})
|
|
577
|
-
);
|
|
578
|
-
b.m("POST").h(headers).b(body);
|
|
579
|
-
return b.build();
|
|
580
|
-
}, "se_CreateManagedEndpointCommand");
|
|
581
|
-
var se_CreateSecurityConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
582
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
583
|
-
const headers = {
|
|
584
|
-
"content-type": "application/json"
|
|
585
|
-
};
|
|
586
|
-
b.bp("/securityconfigurations");
|
|
587
|
-
let body;
|
|
588
|
-
body = JSON.stringify(
|
|
589
|
-
(0, import_smithy_client.take)(input, {
|
|
590
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
591
|
-
containerProvider: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "containerProvider"),
|
|
592
|
-
name: [],
|
|
593
|
-
securityConfigurationData: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "securityConfigurationData"),
|
|
594
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
595
|
-
})
|
|
596
|
-
);
|
|
597
|
-
b.m("POST").h(headers).b(body);
|
|
598
|
-
return b.build();
|
|
599
|
-
}, "se_CreateSecurityConfigurationCommand");
|
|
600
|
-
var se_CreateVirtualClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
601
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
602
|
-
const headers = {
|
|
603
|
-
"content-type": "application/json"
|
|
604
|
-
};
|
|
605
|
-
b.bp("/virtualclusters");
|
|
606
|
-
let body;
|
|
607
|
-
body = JSON.stringify(
|
|
608
|
-
(0, import_smithy_client.take)(input, {
|
|
609
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
610
|
-
containerProvider: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "containerProvider"),
|
|
611
|
-
name: [],
|
|
612
|
-
securityConfigurationId: [],
|
|
613
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
614
|
-
})
|
|
615
|
-
);
|
|
616
|
-
b.m("POST").h(headers).b(body);
|
|
617
|
-
return b.build();
|
|
618
|
-
}, "se_CreateVirtualClusterCommand");
|
|
619
|
-
var se_DeleteJobTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
620
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
621
|
-
const headers = {};
|
|
622
|
-
b.bp("/jobtemplates/{id}");
|
|
623
|
-
b.p("id", () => input.id, "{id}", false);
|
|
624
|
-
let body;
|
|
625
|
-
b.m("DELETE").h(headers).b(body);
|
|
626
|
-
return b.build();
|
|
627
|
-
}, "se_DeleteJobTemplateCommand");
|
|
628
|
-
var se_DeleteManagedEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
629
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
630
|
-
const headers = {};
|
|
631
|
-
b.bp("/virtualclusters/{virtualClusterId}/endpoints/{id}");
|
|
632
|
-
b.p("id", () => input.id, "{id}", false);
|
|
633
|
-
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
634
|
-
let body;
|
|
635
|
-
b.m("DELETE").h(headers).b(body);
|
|
636
|
-
return b.build();
|
|
637
|
-
}, "se_DeleteManagedEndpointCommand");
|
|
638
|
-
var se_DeleteVirtualClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
639
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
640
|
-
const headers = {};
|
|
641
|
-
b.bp("/virtualclusters/{id}");
|
|
642
|
-
b.p("id", () => input.id, "{id}", false);
|
|
643
|
-
let body;
|
|
644
|
-
b.m("DELETE").h(headers).b(body);
|
|
645
|
-
return b.build();
|
|
646
|
-
}, "se_DeleteVirtualClusterCommand");
|
|
647
|
-
var se_DescribeJobRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
648
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
649
|
-
const headers = {};
|
|
650
|
-
b.bp("/virtualclusters/{virtualClusterId}/jobruns/{id}");
|
|
651
|
-
b.p("id", () => input.id, "{id}", false);
|
|
652
|
-
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
653
|
-
let body;
|
|
654
|
-
b.m("GET").h(headers).b(body);
|
|
655
|
-
return b.build();
|
|
656
|
-
}, "se_DescribeJobRunCommand");
|
|
657
|
-
var se_DescribeJobTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
658
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
659
|
-
const headers = {};
|
|
660
|
-
b.bp("/jobtemplates/{id}");
|
|
661
|
-
b.p("id", () => input.id, "{id}", false);
|
|
662
|
-
let body;
|
|
663
|
-
b.m("GET").h(headers).b(body);
|
|
664
|
-
return b.build();
|
|
665
|
-
}, "se_DescribeJobTemplateCommand");
|
|
666
|
-
var se_DescribeManagedEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
667
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
668
|
-
const headers = {};
|
|
669
|
-
b.bp("/virtualclusters/{virtualClusterId}/endpoints/{id}");
|
|
670
|
-
b.p("id", () => input.id, "{id}", false);
|
|
671
|
-
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
672
|
-
let body;
|
|
673
|
-
b.m("GET").h(headers).b(body);
|
|
674
|
-
return b.build();
|
|
675
|
-
}, "se_DescribeManagedEndpointCommand");
|
|
676
|
-
var se_DescribeSecurityConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
677
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
678
|
-
const headers = {};
|
|
679
|
-
b.bp("/securityconfigurations/{id}");
|
|
680
|
-
b.p("id", () => input.id, "{id}", false);
|
|
681
|
-
let body;
|
|
682
|
-
b.m("GET").h(headers).b(body);
|
|
683
|
-
return b.build();
|
|
684
|
-
}, "se_DescribeSecurityConfigurationCommand");
|
|
685
|
-
var se_DescribeVirtualClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
686
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
687
|
-
const headers = {};
|
|
688
|
-
b.bp("/virtualclusters/{id}");
|
|
689
|
-
b.p("id", () => input.id, "{id}", false);
|
|
690
|
-
let body;
|
|
691
|
-
b.m("GET").h(headers).b(body);
|
|
692
|
-
return b.build();
|
|
693
|
-
}, "se_DescribeVirtualClusterCommand");
|
|
694
|
-
var se_GetManagedEndpointSessionCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
695
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
696
|
-
const headers = {
|
|
697
|
-
"content-type": "application/json"
|
|
698
|
-
};
|
|
699
|
-
b.bp("/virtualclusters/{virtualClusterIdentifier}/endpoints/{endpointIdentifier}/credentials");
|
|
700
|
-
b.p("endpointIdentifier", () => input.endpointIdentifier, "{endpointIdentifier}", false);
|
|
701
|
-
b.p("virtualClusterIdentifier", () => input.virtualClusterIdentifier, "{virtualClusterIdentifier}", false);
|
|
702
|
-
let body;
|
|
703
|
-
body = JSON.stringify(
|
|
704
|
-
(0, import_smithy_client.take)(input, {
|
|
705
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
706
|
-
credentialType: [],
|
|
707
|
-
durationInSeconds: [],
|
|
708
|
-
executionRoleArn: [],
|
|
709
|
-
logContext: []
|
|
710
|
-
})
|
|
711
|
-
);
|
|
712
|
-
b.m("POST").h(headers).b(body);
|
|
713
|
-
return b.build();
|
|
714
|
-
}, "se_GetManagedEndpointSessionCredentialsCommand");
|
|
715
|
-
var se_ListJobRunsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
716
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
717
|
-
const headers = {};
|
|
718
|
-
b.bp("/virtualclusters/{virtualClusterId}/jobruns");
|
|
719
|
-
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
720
|
-
const query = (0, import_smithy_client.map)({
|
|
721
|
-
[_cB]: [() => input.createdBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cB]).toString()],
|
|
722
|
-
[_cA]: [() => input.createdAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cA]).toString()],
|
|
723
|
-
[_n]: [, input[_n]],
|
|
724
|
-
[_s]: [() => input.states !== void 0, () => input[_s] || []],
|
|
725
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
726
|
-
[_nT]: [, input[_nT]]
|
|
727
|
-
});
|
|
728
|
-
let body;
|
|
729
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
730
|
-
return b.build();
|
|
731
|
-
}, "se_ListJobRunsCommand");
|
|
732
|
-
var se_ListJobTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
733
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
734
|
-
const headers = {};
|
|
735
|
-
b.bp("/jobtemplates");
|
|
736
|
-
const query = (0, import_smithy_client.map)({
|
|
737
|
-
[_cA]: [() => input.createdAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cA]).toString()],
|
|
738
|
-
[_cB]: [() => input.createdBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cB]).toString()],
|
|
739
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
740
|
-
[_nT]: [, input[_nT]]
|
|
741
|
-
});
|
|
742
|
-
let body;
|
|
743
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
744
|
-
return b.build();
|
|
745
|
-
}, "se_ListJobTemplatesCommand");
|
|
746
|
-
var se_ListManagedEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
747
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
748
|
-
const headers = {};
|
|
749
|
-
b.bp("/virtualclusters/{virtualClusterId}/endpoints");
|
|
750
|
-
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
751
|
-
const query = (0, import_smithy_client.map)({
|
|
752
|
-
[_cB]: [() => input.createdBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cB]).toString()],
|
|
753
|
-
[_cA]: [() => input.createdAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cA]).toString()],
|
|
754
|
-
[_t]: [() => input.types !== void 0, () => input[_t] || []],
|
|
755
|
-
[_s]: [() => input.states !== void 0, () => input[_s] || []],
|
|
756
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
757
|
-
[_nT]: [, input[_nT]]
|
|
758
|
-
});
|
|
759
|
-
let body;
|
|
760
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
761
|
-
return b.build();
|
|
762
|
-
}, "se_ListManagedEndpointsCommand");
|
|
763
|
-
var se_ListSecurityConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
764
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
765
|
-
const headers = {};
|
|
766
|
-
b.bp("/securityconfigurations");
|
|
767
|
-
const query = (0, import_smithy_client.map)({
|
|
768
|
-
[_cA]: [() => input.createdAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cA]).toString()],
|
|
769
|
-
[_cB]: [() => input.createdBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cB]).toString()],
|
|
770
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
771
|
-
[_nT]: [, input[_nT]]
|
|
772
|
-
});
|
|
773
|
-
let body;
|
|
774
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
775
|
-
return b.build();
|
|
776
|
-
}, "se_ListSecurityConfigurationsCommand");
|
|
777
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
778
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
779
|
-
const headers = {};
|
|
780
|
-
b.bp("/tags/{resourceArn}");
|
|
781
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
782
|
-
let body;
|
|
783
|
-
b.m("GET").h(headers).b(body);
|
|
784
|
-
return b.build();
|
|
785
|
-
}, "se_ListTagsForResourceCommand");
|
|
786
|
-
var se_ListVirtualClustersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
787
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
788
|
-
const headers = {};
|
|
789
|
-
b.bp("/virtualclusters");
|
|
790
|
-
const query = (0, import_smithy_client.map)({
|
|
791
|
-
[_cPI]: [, input[_cPI]],
|
|
792
|
-
[_cPT]: [, input[_cPT]],
|
|
793
|
-
[_cA]: [() => input.createdAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cA]).toString()],
|
|
794
|
-
[_cB]: [() => input.createdBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cB]).toString()],
|
|
795
|
-
[_s]: [() => input.states !== void 0, () => input[_s] || []],
|
|
796
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
797
|
-
[_nT]: [, input[_nT]],
|
|
798
|
-
[_eAEI]: [() => input.eksAccessEntryIntegrated !== void 0, () => input[_eAEI].toString()]
|
|
799
|
-
});
|
|
800
|
-
let body;
|
|
801
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
802
|
-
return b.build();
|
|
803
|
-
}, "se_ListVirtualClustersCommand");
|
|
804
|
-
var se_StartJobRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
805
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
806
|
-
const headers = {
|
|
807
|
-
"content-type": "application/json"
|
|
808
|
-
};
|
|
809
|
-
b.bp("/virtualclusters/{virtualClusterId}/jobruns");
|
|
810
|
-
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
811
|
-
let body;
|
|
812
|
-
body = JSON.stringify(
|
|
813
|
-
(0, import_smithy_client.take)(input, {
|
|
814
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
815
|
-
configurationOverrides: /* @__PURE__ */ __name((_) => se_ConfigurationOverrides(_, context), "configurationOverrides"),
|
|
816
|
-
executionRoleArn: [],
|
|
817
|
-
jobDriver: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "jobDriver"),
|
|
818
|
-
jobTemplateId: [],
|
|
819
|
-
jobTemplateParameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "jobTemplateParameters"),
|
|
820
|
-
name: [],
|
|
821
|
-
releaseLabel: [],
|
|
822
|
-
retryPolicyConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "retryPolicyConfiguration"),
|
|
823
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
824
|
-
})
|
|
825
|
-
);
|
|
826
|
-
b.m("POST").h(headers).b(body);
|
|
827
|
-
return b.build();
|
|
828
|
-
}, "se_StartJobRunCommand");
|
|
829
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
830
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
831
|
-
const headers = {
|
|
832
|
-
"content-type": "application/json"
|
|
833
|
-
};
|
|
834
|
-
b.bp("/tags/{resourceArn}");
|
|
835
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
836
|
-
let body;
|
|
837
|
-
body = JSON.stringify(
|
|
838
|
-
(0, import_smithy_client.take)(input, {
|
|
839
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
840
|
-
})
|
|
841
|
-
);
|
|
842
|
-
b.m("POST").h(headers).b(body);
|
|
843
|
-
return b.build();
|
|
844
|
-
}, "se_TagResourceCommand");
|
|
845
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
846
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
847
|
-
const headers = {};
|
|
848
|
-
b.bp("/tags/{resourceArn}");
|
|
849
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
850
|
-
const query = (0, import_smithy_client.map)({
|
|
851
|
-
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
852
|
-
});
|
|
853
|
-
let body;
|
|
854
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
855
|
-
return b.build();
|
|
856
|
-
}, "se_UntagResourceCommand");
|
|
857
|
-
var de_CancelJobRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
858
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
859
|
-
return de_CommandError(output, context);
|
|
860
|
-
}
|
|
861
|
-
const contents = (0, import_smithy_client.map)({
|
|
862
|
-
$metadata: deserializeMetadata(output)
|
|
863
|
-
});
|
|
864
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
865
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
866
|
-
id: import_smithy_client.expectString,
|
|
867
|
-
virtualClusterId: import_smithy_client.expectString
|
|
868
|
-
});
|
|
869
|
-
Object.assign(contents, doc);
|
|
870
|
-
return contents;
|
|
871
|
-
}, "de_CancelJobRunCommand");
|
|
872
|
-
var de_CreateJobTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
873
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
874
|
-
return de_CommandError(output, context);
|
|
875
|
-
}
|
|
876
|
-
const contents = (0, import_smithy_client.map)({
|
|
877
|
-
$metadata: deserializeMetadata(output)
|
|
878
|
-
});
|
|
879
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
880
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
881
|
-
arn: import_smithy_client.expectString,
|
|
882
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
883
|
-
id: import_smithy_client.expectString,
|
|
884
|
-
name: import_smithy_client.expectString
|
|
885
|
-
});
|
|
886
|
-
Object.assign(contents, doc);
|
|
887
|
-
return contents;
|
|
888
|
-
}, "de_CreateJobTemplateCommand");
|
|
889
|
-
var de_CreateManagedEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
890
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
891
|
-
return de_CommandError(output, context);
|
|
892
|
-
}
|
|
893
|
-
const contents = (0, import_smithy_client.map)({
|
|
894
|
-
$metadata: deserializeMetadata(output)
|
|
895
|
-
});
|
|
896
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
897
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
898
|
-
arn: import_smithy_client.expectString,
|
|
899
|
-
id: import_smithy_client.expectString,
|
|
900
|
-
name: import_smithy_client.expectString,
|
|
901
|
-
virtualClusterId: import_smithy_client.expectString
|
|
902
|
-
});
|
|
903
|
-
Object.assign(contents, doc);
|
|
904
|
-
return contents;
|
|
905
|
-
}, "de_CreateManagedEndpointCommand");
|
|
906
|
-
var de_CreateSecurityConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
907
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
908
|
-
return de_CommandError(output, context);
|
|
909
|
-
}
|
|
910
|
-
const contents = (0, import_smithy_client.map)({
|
|
911
|
-
$metadata: deserializeMetadata(output)
|
|
912
|
-
});
|
|
913
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
914
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
915
|
-
arn: import_smithy_client.expectString,
|
|
916
|
-
id: import_smithy_client.expectString,
|
|
917
|
-
name: import_smithy_client.expectString
|
|
918
|
-
});
|
|
919
|
-
Object.assign(contents, doc);
|
|
920
|
-
return contents;
|
|
921
|
-
}, "de_CreateSecurityConfigurationCommand");
|
|
922
|
-
var de_CreateVirtualClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
923
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
924
|
-
return de_CommandError(output, context);
|
|
925
|
-
}
|
|
926
|
-
const contents = (0, import_smithy_client.map)({
|
|
927
|
-
$metadata: deserializeMetadata(output)
|
|
928
|
-
});
|
|
929
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
930
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
931
|
-
arn: import_smithy_client.expectString,
|
|
932
|
-
id: import_smithy_client.expectString,
|
|
933
|
-
name: import_smithy_client.expectString
|
|
934
|
-
});
|
|
935
|
-
Object.assign(contents, doc);
|
|
936
|
-
return contents;
|
|
937
|
-
}, "de_CreateVirtualClusterCommand");
|
|
938
|
-
var de_DeleteJobTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
939
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
940
|
-
return de_CommandError(output, context);
|
|
941
|
-
}
|
|
942
|
-
const contents = (0, import_smithy_client.map)({
|
|
943
|
-
$metadata: deserializeMetadata(output)
|
|
944
|
-
});
|
|
945
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
946
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
947
|
-
id: import_smithy_client.expectString
|
|
948
|
-
});
|
|
949
|
-
Object.assign(contents, doc);
|
|
950
|
-
return contents;
|
|
951
|
-
}, "de_DeleteJobTemplateCommand");
|
|
952
|
-
var de_DeleteManagedEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
953
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
954
|
-
return de_CommandError(output, context);
|
|
955
|
-
}
|
|
956
|
-
const contents = (0, import_smithy_client.map)({
|
|
957
|
-
$metadata: deserializeMetadata(output)
|
|
958
|
-
});
|
|
959
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
960
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
961
|
-
id: import_smithy_client.expectString,
|
|
962
|
-
virtualClusterId: import_smithy_client.expectString
|
|
963
|
-
});
|
|
964
|
-
Object.assign(contents, doc);
|
|
965
|
-
return contents;
|
|
966
|
-
}, "de_DeleteManagedEndpointCommand");
|
|
967
|
-
var de_DeleteVirtualClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
968
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
969
|
-
return de_CommandError(output, context);
|
|
970
|
-
}
|
|
971
|
-
const contents = (0, import_smithy_client.map)({
|
|
972
|
-
$metadata: deserializeMetadata(output)
|
|
973
|
-
});
|
|
974
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
975
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
976
|
-
id: import_smithy_client.expectString
|
|
977
|
-
});
|
|
978
|
-
Object.assign(contents, doc);
|
|
979
|
-
return contents;
|
|
980
|
-
}, "de_DeleteVirtualClusterCommand");
|
|
981
|
-
var de_DescribeJobRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
982
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
983
|
-
return de_CommandError(output, context);
|
|
984
|
-
}
|
|
985
|
-
const contents = (0, import_smithy_client.map)({
|
|
986
|
-
$metadata: deserializeMetadata(output)
|
|
987
|
-
});
|
|
988
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
989
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
990
|
-
jobRun: /* @__PURE__ */ __name((_) => de_JobRun(_, context), "jobRun")
|
|
991
|
-
});
|
|
992
|
-
Object.assign(contents, doc);
|
|
993
|
-
return contents;
|
|
994
|
-
}, "de_DescribeJobRunCommand");
|
|
995
|
-
var de_DescribeJobTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
996
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
997
|
-
return de_CommandError(output, context);
|
|
998
|
-
}
|
|
999
|
-
const contents = (0, import_smithy_client.map)({
|
|
1000
|
-
$metadata: deserializeMetadata(output)
|
|
1001
|
-
});
|
|
1002
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1003
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1004
|
-
jobTemplate: /* @__PURE__ */ __name((_) => de_JobTemplate(_, context), "jobTemplate")
|
|
1005
|
-
});
|
|
1006
|
-
Object.assign(contents, doc);
|
|
1007
|
-
return contents;
|
|
1008
|
-
}, "de_DescribeJobTemplateCommand");
|
|
1009
|
-
var de_DescribeManagedEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1010
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1011
|
-
return de_CommandError(output, context);
|
|
1012
|
-
}
|
|
1013
|
-
const contents = (0, import_smithy_client.map)({
|
|
1014
|
-
$metadata: deserializeMetadata(output)
|
|
1015
|
-
});
|
|
1016
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1017
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1018
|
-
endpoint: /* @__PURE__ */ __name((_) => de_Endpoint(_, context), "endpoint")
|
|
1019
|
-
});
|
|
1020
|
-
Object.assign(contents, doc);
|
|
1021
|
-
return contents;
|
|
1022
|
-
}, "de_DescribeManagedEndpointCommand");
|
|
1023
|
-
var de_DescribeSecurityConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1024
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1025
|
-
return de_CommandError(output, context);
|
|
1026
|
-
}
|
|
1027
|
-
const contents = (0, import_smithy_client.map)({
|
|
1028
|
-
$metadata: deserializeMetadata(output)
|
|
1029
|
-
});
|
|
1030
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1031
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1032
|
-
securityConfiguration: /* @__PURE__ */ __name((_) => de_SecurityConfiguration(_, context), "securityConfiguration")
|
|
1033
|
-
});
|
|
1034
|
-
Object.assign(contents, doc);
|
|
1035
|
-
return contents;
|
|
1036
|
-
}, "de_DescribeSecurityConfigurationCommand");
|
|
1037
|
-
var de_DescribeVirtualClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1038
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1039
|
-
return de_CommandError(output, context);
|
|
1040
|
-
}
|
|
1041
|
-
const contents = (0, import_smithy_client.map)({
|
|
1042
|
-
$metadata: deserializeMetadata(output)
|
|
1043
|
-
});
|
|
1044
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1045
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1046
|
-
virtualCluster: /* @__PURE__ */ __name((_) => de_VirtualCluster(_, context), "virtualCluster")
|
|
1047
|
-
});
|
|
1048
|
-
Object.assign(contents, doc);
|
|
1049
|
-
return contents;
|
|
1050
|
-
}, "de_DescribeVirtualClusterCommand");
|
|
1051
|
-
var de_GetManagedEndpointSessionCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1052
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1053
|
-
return de_CommandError(output, context);
|
|
1054
|
-
}
|
|
1055
|
-
const contents = (0, import_smithy_client.map)({
|
|
1056
|
-
$metadata: deserializeMetadata(output)
|
|
1057
|
-
});
|
|
1058
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1059
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1060
|
-
credentials: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "credentials"),
|
|
1061
|
-
expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "expiresAt"),
|
|
1062
|
-
id: import_smithy_client.expectString
|
|
1063
|
-
});
|
|
1064
|
-
Object.assign(contents, doc);
|
|
1065
|
-
return contents;
|
|
1066
|
-
}, "de_GetManagedEndpointSessionCredentialsCommand");
|
|
1067
|
-
var de_ListJobRunsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1068
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1069
|
-
return de_CommandError(output, context);
|
|
1070
|
-
}
|
|
1071
|
-
const contents = (0, import_smithy_client.map)({
|
|
1072
|
-
$metadata: deserializeMetadata(output)
|
|
1073
|
-
});
|
|
1074
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1075
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1076
|
-
jobRuns: /* @__PURE__ */ __name((_) => de_JobRuns(_, context), "jobRuns"),
|
|
1077
|
-
nextToken: import_smithy_client.expectString
|
|
1078
|
-
});
|
|
1079
|
-
Object.assign(contents, doc);
|
|
1080
|
-
return contents;
|
|
1081
|
-
}, "de_ListJobRunsCommand");
|
|
1082
|
-
var de_ListJobTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1083
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1084
|
-
return de_CommandError(output, context);
|
|
1085
|
-
}
|
|
1086
|
-
const contents = (0, import_smithy_client.map)({
|
|
1087
|
-
$metadata: deserializeMetadata(output)
|
|
1088
|
-
});
|
|
1089
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1090
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1091
|
-
nextToken: import_smithy_client.expectString,
|
|
1092
|
-
templates: /* @__PURE__ */ __name((_) => de_JobTemplates(_, context), "templates")
|
|
1093
|
-
});
|
|
1094
|
-
Object.assign(contents, doc);
|
|
1095
|
-
return contents;
|
|
1096
|
-
}, "de_ListJobTemplatesCommand");
|
|
1097
|
-
var de_ListManagedEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1098
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1099
|
-
return de_CommandError(output, context);
|
|
1100
|
-
}
|
|
1101
|
-
const contents = (0, import_smithy_client.map)({
|
|
1102
|
-
$metadata: deserializeMetadata(output)
|
|
1103
|
-
});
|
|
1104
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1105
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1106
|
-
endpoints: /* @__PURE__ */ __name((_) => de_Endpoints(_, context), "endpoints"),
|
|
1107
|
-
nextToken: import_smithy_client.expectString
|
|
1108
|
-
});
|
|
1109
|
-
Object.assign(contents, doc);
|
|
1110
|
-
return contents;
|
|
1111
|
-
}, "de_ListManagedEndpointsCommand");
|
|
1112
|
-
var de_ListSecurityConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1113
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1114
|
-
return de_CommandError(output, context);
|
|
1115
|
-
}
|
|
1116
|
-
const contents = (0, import_smithy_client.map)({
|
|
1117
|
-
$metadata: deserializeMetadata(output)
|
|
1118
|
-
});
|
|
1119
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1120
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1121
|
-
nextToken: import_smithy_client.expectString,
|
|
1122
|
-
securityConfigurations: /* @__PURE__ */ __name((_) => de_SecurityConfigurations(_, context), "securityConfigurations")
|
|
1123
|
-
});
|
|
1124
|
-
Object.assign(contents, doc);
|
|
1125
|
-
return contents;
|
|
1126
|
-
}, "de_ListSecurityConfigurationsCommand");
|
|
1127
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1128
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1129
|
-
return de_CommandError(output, context);
|
|
1130
|
-
}
|
|
1131
|
-
const contents = (0, import_smithy_client.map)({
|
|
1132
|
-
$metadata: deserializeMetadata(output)
|
|
1133
|
-
});
|
|
1134
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1135
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1136
|
-
tags: import_smithy_client._json
|
|
1137
|
-
});
|
|
1138
|
-
Object.assign(contents, doc);
|
|
1139
|
-
return contents;
|
|
1140
|
-
}, "de_ListTagsForResourceCommand");
|
|
1141
|
-
var de_ListVirtualClustersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1142
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1143
|
-
return de_CommandError(output, context);
|
|
1144
|
-
}
|
|
1145
|
-
const contents = (0, import_smithy_client.map)({
|
|
1146
|
-
$metadata: deserializeMetadata(output)
|
|
1147
|
-
});
|
|
1148
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1149
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1150
|
-
nextToken: import_smithy_client.expectString,
|
|
1151
|
-
virtualClusters: /* @__PURE__ */ __name((_) => de_VirtualClusters(_, context), "virtualClusters")
|
|
1152
|
-
});
|
|
1153
|
-
Object.assign(contents, doc);
|
|
1154
|
-
return contents;
|
|
1155
|
-
}, "de_ListVirtualClustersCommand");
|
|
1156
|
-
var de_StartJobRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1157
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1158
|
-
return de_CommandError(output, context);
|
|
1159
|
-
}
|
|
1160
|
-
const contents = (0, import_smithy_client.map)({
|
|
1161
|
-
$metadata: deserializeMetadata(output)
|
|
1162
|
-
});
|
|
1163
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1164
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1165
|
-
arn: import_smithy_client.expectString,
|
|
1166
|
-
id: import_smithy_client.expectString,
|
|
1167
|
-
name: import_smithy_client.expectString,
|
|
1168
|
-
virtualClusterId: import_smithy_client.expectString
|
|
1169
|
-
});
|
|
1170
|
-
Object.assign(contents, doc);
|
|
1171
|
-
return contents;
|
|
1172
|
-
}, "de_StartJobRunCommand");
|
|
1173
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1174
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1175
|
-
return de_CommandError(output, context);
|
|
1176
|
-
}
|
|
1177
|
-
const contents = (0, import_smithy_client.map)({
|
|
1178
|
-
$metadata: deserializeMetadata(output)
|
|
1179
|
-
});
|
|
1180
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1181
|
-
return contents;
|
|
1182
|
-
}, "de_TagResourceCommand");
|
|
1183
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1184
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1185
|
-
return de_CommandError(output, context);
|
|
1186
|
-
}
|
|
1187
|
-
const contents = (0, import_smithy_client.map)({
|
|
1188
|
-
$metadata: deserializeMetadata(output)
|
|
1189
|
-
});
|
|
1190
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1191
|
-
return contents;
|
|
1192
|
-
}, "de_UntagResourceCommand");
|
|
1193
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1194
|
-
const parsedOutput = {
|
|
1195
|
-
...output,
|
|
1196
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1197
|
-
};
|
|
1198
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1199
|
-
switch (errorCode) {
|
|
1200
|
-
case "InternalServerException":
|
|
1201
|
-
case "com.amazonaws.emrcontainers#InternalServerException":
|
|
1202
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1203
|
-
case "ValidationException":
|
|
1204
|
-
case "com.amazonaws.emrcontainers#ValidationException":
|
|
1205
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1206
|
-
case "ResourceNotFoundException":
|
|
1207
|
-
case "com.amazonaws.emrcontainers#ResourceNotFoundException":
|
|
1208
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1209
|
-
case "EKSRequestThrottledException":
|
|
1210
|
-
case "com.amazonaws.emrcontainers#EKSRequestThrottledException":
|
|
1211
|
-
throw await de_EKSRequestThrottledExceptionRes(parsedOutput, context);
|
|
1212
|
-
case "RequestThrottledException":
|
|
1213
|
-
case "com.amazonaws.emrcontainers#RequestThrottledException":
|
|
1214
|
-
throw await de_RequestThrottledExceptionRes(parsedOutput, context);
|
|
1215
|
-
default:
|
|
1216
|
-
const parsedBody = parsedOutput.body;
|
|
1217
|
-
return throwDefaultError({
|
|
1218
|
-
output,
|
|
1219
|
-
parsedBody,
|
|
1220
|
-
errorCode
|
|
1221
|
-
});
|
|
1222
|
-
}
|
|
1223
|
-
}, "de_CommandError");
|
|
1224
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(EMRContainersServiceException);
|
|
1225
|
-
var de_EKSRequestThrottledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1226
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1227
|
-
const data = parsedOutput.body;
|
|
1228
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1229
|
-
message: import_smithy_client.expectString
|
|
1230
|
-
});
|
|
1231
|
-
Object.assign(contents, doc);
|
|
1232
|
-
const exception = new EKSRequestThrottledException({
|
|
1233
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1234
|
-
...contents
|
|
1235
|
-
});
|
|
1236
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1237
|
-
}, "de_EKSRequestThrottledExceptionRes");
|
|
1238
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1239
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1240
|
-
const data = parsedOutput.body;
|
|
1241
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1242
|
-
message: import_smithy_client.expectString
|
|
1243
|
-
});
|
|
1244
|
-
Object.assign(contents, doc);
|
|
1245
|
-
const exception = new InternalServerException({
|
|
1246
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1247
|
-
...contents
|
|
1248
|
-
});
|
|
1249
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1250
|
-
}, "de_InternalServerExceptionRes");
|
|
1251
|
-
var de_RequestThrottledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1252
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1253
|
-
const data = parsedOutput.body;
|
|
1254
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1255
|
-
message: import_smithy_client.expectString
|
|
1256
|
-
});
|
|
1257
|
-
Object.assign(contents, doc);
|
|
1258
|
-
const exception = new RequestThrottledException({
|
|
1259
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1260
|
-
...contents
|
|
1261
|
-
});
|
|
1262
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1263
|
-
}, "de_RequestThrottledExceptionRes");
|
|
1264
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1265
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1266
|
-
const data = parsedOutput.body;
|
|
1267
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1268
|
-
message: import_smithy_client.expectString
|
|
1269
|
-
});
|
|
1270
|
-
Object.assign(contents, doc);
|
|
1271
|
-
const exception = new ResourceNotFoundException({
|
|
1272
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1273
|
-
...contents
|
|
1274
|
-
});
|
|
1275
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1276
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1277
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1278
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1279
|
-
const data = parsedOutput.body;
|
|
1280
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1281
|
-
message: import_smithy_client.expectString
|
|
1282
|
-
});
|
|
1283
|
-
Object.assign(contents, doc);
|
|
1284
|
-
const exception = new ValidationException({
|
|
1285
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1286
|
-
...contents
|
|
1287
|
-
});
|
|
1288
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1289
|
-
}, "de_ValidationExceptionRes");
|
|
1290
|
-
var se_Configuration = /* @__PURE__ */ __name((input, context) => {
|
|
1291
|
-
return (0, import_smithy_client.take)(input, {
|
|
1292
|
-
classification: [],
|
|
1293
|
-
configurations: /* @__PURE__ */ __name((_) => se_ConfigurationList(_, context), "configurations"),
|
|
1294
|
-
properties: import_smithy_client._json
|
|
1295
|
-
});
|
|
1296
|
-
}, "se_Configuration");
|
|
1297
|
-
var se_ConfigurationList = /* @__PURE__ */ __name((input, context) => {
|
|
1298
|
-
return input.filter((e) => e != null).map((entry) => {
|
|
1299
|
-
return se_Configuration(entry, context);
|
|
1300
|
-
});
|
|
1301
|
-
}, "se_ConfigurationList");
|
|
1302
|
-
var se_ConfigurationOverrides = /* @__PURE__ */ __name((input, context) => {
|
|
1303
|
-
return (0, import_smithy_client.take)(input, {
|
|
1304
|
-
applicationConfiguration: /* @__PURE__ */ __name((_) => se_ConfigurationList(_, context), "applicationConfiguration"),
|
|
1305
|
-
monitoringConfiguration: import_smithy_client._json
|
|
1306
|
-
});
|
|
1307
|
-
}, "se_ConfigurationOverrides");
|
|
1308
|
-
var se_JobTemplateData = /* @__PURE__ */ __name((input, context) => {
|
|
1309
|
-
return (0, import_smithy_client.take)(input, {
|
|
1310
|
-
configurationOverrides: /* @__PURE__ */ __name((_) => se_ParametricConfigurationOverrides(_, context), "configurationOverrides"),
|
|
1311
|
-
executionRoleArn: [],
|
|
1312
|
-
jobDriver: import_smithy_client._json,
|
|
1313
|
-
jobTags: import_smithy_client._json,
|
|
1314
|
-
parameterConfiguration: import_smithy_client._json,
|
|
1315
|
-
releaseLabel: []
|
|
1316
|
-
});
|
|
1317
|
-
}, "se_JobTemplateData");
|
|
1318
|
-
var se_ParametricConfigurationOverrides = /* @__PURE__ */ __name((input, context) => {
|
|
1319
|
-
return (0, import_smithy_client.take)(input, {
|
|
1320
|
-
applicationConfiguration: /* @__PURE__ */ __name((_) => se_ConfigurationList(_, context), "applicationConfiguration"),
|
|
1321
|
-
monitoringConfiguration: import_smithy_client._json
|
|
1322
|
-
});
|
|
1323
|
-
}, "se_ParametricConfigurationOverrides");
|
|
1324
|
-
var de_Configuration = /* @__PURE__ */ __name((output, context) => {
|
|
1325
|
-
return (0, import_smithy_client.take)(output, {
|
|
1326
|
-
classification: import_smithy_client.expectString,
|
|
1327
|
-
configurations: /* @__PURE__ */ __name((_) => de_ConfigurationList(_, context), "configurations"),
|
|
1328
|
-
properties: import_smithy_client._json
|
|
1329
|
-
});
|
|
1330
|
-
}, "de_Configuration");
|
|
1331
|
-
var de_ConfigurationList = /* @__PURE__ */ __name((output, context) => {
|
|
1332
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1333
|
-
return de_Configuration(entry, context);
|
|
1334
|
-
});
|
|
1335
|
-
return retVal;
|
|
1336
|
-
}, "de_ConfigurationList");
|
|
1337
|
-
var de_ConfigurationOverrides = /* @__PURE__ */ __name((output, context) => {
|
|
1338
|
-
return (0, import_smithy_client.take)(output, {
|
|
1339
|
-
applicationConfiguration: /* @__PURE__ */ __name((_) => de_ConfigurationList(_, context), "applicationConfiguration"),
|
|
1340
|
-
monitoringConfiguration: import_smithy_client._json
|
|
1341
|
-
});
|
|
1342
|
-
}, "de_ConfigurationOverrides");
|
|
1343
|
-
var de_Endpoint = /* @__PURE__ */ __name((output, context) => {
|
|
1344
|
-
return (0, import_smithy_client.take)(output, {
|
|
1345
|
-
arn: import_smithy_client.expectString,
|
|
1346
|
-
certificateArn: import_smithy_client.expectString,
|
|
1347
|
-
certificateAuthority: import_smithy_client._json,
|
|
1348
|
-
configurationOverrides: /* @__PURE__ */ __name((_) => de_ConfigurationOverrides(_, context), "configurationOverrides"),
|
|
1349
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1350
|
-
executionRoleArn: import_smithy_client.expectString,
|
|
1351
|
-
failureReason: import_smithy_client.expectString,
|
|
1352
|
-
id: import_smithy_client.expectString,
|
|
1353
|
-
name: import_smithy_client.expectString,
|
|
1354
|
-
releaseLabel: import_smithy_client.expectString,
|
|
1355
|
-
securityGroup: import_smithy_client.expectString,
|
|
1356
|
-
serverUrl: import_smithy_client.expectString,
|
|
1357
|
-
state: import_smithy_client.expectString,
|
|
1358
|
-
stateDetails: import_smithy_client.expectString,
|
|
1359
|
-
subnetIds: import_smithy_client._json,
|
|
1360
|
-
tags: import_smithy_client._json,
|
|
1361
|
-
type: import_smithy_client.expectString,
|
|
1362
|
-
virtualClusterId: import_smithy_client.expectString
|
|
1363
|
-
});
|
|
1364
|
-
}, "de_Endpoint");
|
|
1365
|
-
var de_Endpoints = /* @__PURE__ */ __name((output, context) => {
|
|
1366
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1367
|
-
return de_Endpoint(entry, context);
|
|
1368
|
-
});
|
|
1369
|
-
return retVal;
|
|
1370
|
-
}, "de_Endpoints");
|
|
1371
|
-
var de_JobRun = /* @__PURE__ */ __name((output, context) => {
|
|
1372
|
-
return (0, import_smithy_client.take)(output, {
|
|
1373
|
-
arn: import_smithy_client.expectString,
|
|
1374
|
-
clientToken: import_smithy_client.expectString,
|
|
1375
|
-
configurationOverrides: /* @__PURE__ */ __name((_) => de_ConfigurationOverrides(_, context), "configurationOverrides"),
|
|
1376
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1377
|
-
createdBy: import_smithy_client.expectString,
|
|
1378
|
-
executionRoleArn: import_smithy_client.expectString,
|
|
1379
|
-
failureReason: import_smithy_client.expectString,
|
|
1380
|
-
finishedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "finishedAt"),
|
|
1381
|
-
id: import_smithy_client.expectString,
|
|
1382
|
-
jobDriver: import_smithy_client._json,
|
|
1383
|
-
name: import_smithy_client.expectString,
|
|
1384
|
-
releaseLabel: import_smithy_client.expectString,
|
|
1385
|
-
retryPolicyConfiguration: import_smithy_client._json,
|
|
1386
|
-
retryPolicyExecution: import_smithy_client._json,
|
|
1387
|
-
state: import_smithy_client.expectString,
|
|
1388
|
-
stateDetails: import_smithy_client.expectString,
|
|
1389
|
-
tags: import_smithy_client._json,
|
|
1390
|
-
virtualClusterId: import_smithy_client.expectString
|
|
1391
|
-
});
|
|
1392
|
-
}, "de_JobRun");
|
|
1393
|
-
var de_JobRuns = /* @__PURE__ */ __name((output, context) => {
|
|
1394
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1395
|
-
return de_JobRun(entry, context);
|
|
1396
|
-
});
|
|
1397
|
-
return retVal;
|
|
1398
|
-
}, "de_JobRuns");
|
|
1399
|
-
var de_JobTemplate = /* @__PURE__ */ __name((output, context) => {
|
|
1400
|
-
return (0, import_smithy_client.take)(output, {
|
|
1401
|
-
arn: import_smithy_client.expectString,
|
|
1402
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1403
|
-
createdBy: import_smithy_client.expectString,
|
|
1404
|
-
decryptionError: import_smithy_client.expectString,
|
|
1405
|
-
id: import_smithy_client.expectString,
|
|
1406
|
-
jobTemplateData: /* @__PURE__ */ __name((_) => de_JobTemplateData(_, context), "jobTemplateData"),
|
|
1407
|
-
kmsKeyArn: import_smithy_client.expectString,
|
|
1408
|
-
name: import_smithy_client.expectString,
|
|
1409
|
-
tags: import_smithy_client._json
|
|
1410
|
-
});
|
|
1411
|
-
}, "de_JobTemplate");
|
|
1412
|
-
var de_JobTemplateData = /* @__PURE__ */ __name((output, context) => {
|
|
1413
|
-
return (0, import_smithy_client.take)(output, {
|
|
1414
|
-
configurationOverrides: /* @__PURE__ */ __name((_) => de_ParametricConfigurationOverrides(_, context), "configurationOverrides"),
|
|
1415
|
-
executionRoleArn: import_smithy_client.expectString,
|
|
1416
|
-
jobDriver: import_smithy_client._json,
|
|
1417
|
-
jobTags: import_smithy_client._json,
|
|
1418
|
-
parameterConfiguration: import_smithy_client._json,
|
|
1419
|
-
releaseLabel: import_smithy_client.expectString
|
|
1420
|
-
});
|
|
1421
|
-
}, "de_JobTemplateData");
|
|
1422
|
-
var de_JobTemplates = /* @__PURE__ */ __name((output, context) => {
|
|
1423
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1424
|
-
return de_JobTemplate(entry, context);
|
|
1425
|
-
});
|
|
1426
|
-
return retVal;
|
|
1427
|
-
}, "de_JobTemplates");
|
|
1428
|
-
var de_ParametricConfigurationOverrides = /* @__PURE__ */ __name((output, context) => {
|
|
1429
|
-
return (0, import_smithy_client.take)(output, {
|
|
1430
|
-
applicationConfiguration: /* @__PURE__ */ __name((_) => de_ConfigurationList(_, context), "applicationConfiguration"),
|
|
1431
|
-
monitoringConfiguration: import_smithy_client._json
|
|
1432
|
-
});
|
|
1433
|
-
}, "de_ParametricConfigurationOverrides");
|
|
1434
|
-
var de_SecurityConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
1435
|
-
return (0, import_smithy_client.take)(output, {
|
|
1436
|
-
arn: import_smithy_client.expectString,
|
|
1437
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1438
|
-
createdBy: import_smithy_client.expectString,
|
|
1439
|
-
id: import_smithy_client.expectString,
|
|
1440
|
-
name: import_smithy_client.expectString,
|
|
1441
|
-
securityConfigurationData: import_smithy_client._json,
|
|
1442
|
-
tags: import_smithy_client._json
|
|
1443
|
-
});
|
|
1444
|
-
}, "de_SecurityConfiguration");
|
|
1445
|
-
var de_SecurityConfigurations = /* @__PURE__ */ __name((output, context) => {
|
|
1446
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1447
|
-
return de_SecurityConfiguration(entry, context);
|
|
1448
|
-
});
|
|
1449
|
-
return retVal;
|
|
1450
|
-
}, "de_SecurityConfigurations");
|
|
1451
|
-
var de_VirtualCluster = /* @__PURE__ */ __name((output, context) => {
|
|
1452
|
-
return (0, import_smithy_client.take)(output, {
|
|
1453
|
-
arn: import_smithy_client.expectString,
|
|
1454
|
-
containerProvider: import_smithy_client._json,
|
|
1455
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1456
|
-
id: import_smithy_client.expectString,
|
|
1457
|
-
name: import_smithy_client.expectString,
|
|
1458
|
-
securityConfigurationId: import_smithy_client.expectString,
|
|
1459
|
-
state: import_smithy_client.expectString,
|
|
1460
|
-
tags: import_smithy_client._json
|
|
1461
|
-
});
|
|
1462
|
-
}, "de_VirtualCluster");
|
|
1463
|
-
var de_VirtualClusters = /* @__PURE__ */ __name((output, context) => {
|
|
1464
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1465
|
-
return de_VirtualCluster(entry, context);
|
|
1466
|
-
});
|
|
1467
|
-
return retVal;
|
|
1468
|
-
}, "de_VirtualClusters");
|
|
1469
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1470
|
-
httpStatusCode: output.statusCode,
|
|
1471
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1472
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1473
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1474
|
-
}), "deserializeMetadata");
|
|
1475
|
-
var _cA = "createdAfter";
|
|
1476
|
-
var _cB = "createdBefore";
|
|
1477
|
-
var _cPI = "containerProviderId";
|
|
1478
|
-
var _cPT = "containerProviderType";
|
|
1479
|
-
var _eAEI = "eksAccessEntryIntegrated";
|
|
1480
|
-
var _mR = "maxResults";
|
|
1481
|
-
var _n = "name";
|
|
1482
|
-
var _nT = "nextToken";
|
|
1483
|
-
var _s = "states";
|
|
1484
|
-
var _t = "types";
|
|
1485
|
-
var _tK = "tagKeys";
|
|
1486
|
-
|
|
1487
|
-
// src/commands/CancelJobRunCommand.ts
|
|
1488
|
-
var CancelJobRunCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1489
|
-
return [
|
|
1490
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1491
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1492
|
-
];
|
|
1493
|
-
}).s("AwsChicagoWebService", "CancelJobRun", {}).n("EMRContainersClient", "CancelJobRunCommand").f(void 0, void 0).ser(se_CancelJobRunCommand).de(de_CancelJobRunCommand).build() {
|
|
1494
|
-
static {
|
|
1495
|
-
__name(this, "CancelJobRunCommand");
|
|
1496
|
-
}
|
|
128
|
+
class InternalServerException extends EMRContainersServiceException {
|
|
129
|
+
name = "InternalServerException";
|
|
130
|
+
$fault = "server";
|
|
131
|
+
constructor(opts) {
|
|
132
|
+
super({
|
|
133
|
+
name: "InternalServerException",
|
|
134
|
+
$fault: "server",
|
|
135
|
+
...opts,
|
|
136
|
+
});
|
|
137
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
class ValidationException extends EMRContainersServiceException {
|
|
141
|
+
name = "ValidationException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "ValidationException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
const TemplateParameterDataType = {
|
|
153
|
+
NUMBER: "NUMBER",
|
|
154
|
+
STRING: "STRING",
|
|
1497
155
|
};
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
156
|
+
class ResourceNotFoundException extends EMRContainersServiceException {
|
|
157
|
+
name = "ResourceNotFoundException";
|
|
158
|
+
$fault = "client";
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "ResourceNotFoundException",
|
|
162
|
+
$fault: "client",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
const PersistentAppUI = {
|
|
169
|
+
DISABLED: "DISABLED",
|
|
170
|
+
ENABLED: "ENABLED",
|
|
1512
171
|
};
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
}).s("AwsChicagoWebService", "CreateManagedEndpoint", {}).n("EMRContainersClient", "CreateManagedEndpointCommand").f(CreateManagedEndpointRequestFilterSensitiveLog, void 0).ser(se_CreateManagedEndpointCommand).de(de_CreateManagedEndpointCommand).build() {
|
|
1524
|
-
static {
|
|
1525
|
-
__name(this, "CreateManagedEndpointCommand");
|
|
1526
|
-
}
|
|
172
|
+
exports.ContainerInfo = void 0;
|
|
173
|
+
(function (ContainerInfo) {
|
|
174
|
+
ContainerInfo.visit = (value, visitor) => {
|
|
175
|
+
if (value.eksInfo !== undefined)
|
|
176
|
+
return visitor.eksInfo(value.eksInfo);
|
|
177
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
178
|
+
};
|
|
179
|
+
})(exports.ContainerInfo || (exports.ContainerInfo = {}));
|
|
180
|
+
const ContainerProviderType = {
|
|
181
|
+
EKS: "EKS",
|
|
1527
182
|
};
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
183
|
+
class EKSRequestThrottledException extends EMRContainersServiceException {
|
|
184
|
+
name = "EKSRequestThrottledException";
|
|
185
|
+
$fault = "client";
|
|
186
|
+
constructor(opts) {
|
|
187
|
+
super({
|
|
188
|
+
name: "EKSRequestThrottledException",
|
|
189
|
+
$fault: "client",
|
|
190
|
+
...opts,
|
|
191
|
+
});
|
|
192
|
+
Object.setPrototypeOf(this, EKSRequestThrottledException.prototype);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
const FailureReason = {
|
|
196
|
+
CLUSTER_UNAVAILABLE: "CLUSTER_UNAVAILABLE",
|
|
197
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
198
|
+
USER_ERROR: "USER_ERROR",
|
|
199
|
+
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
1542
200
|
};
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1552
|
-
];
|
|
1553
|
-
}).s("AwsChicagoWebService", "CreateVirtualCluster", {}).n("EMRContainersClient", "CreateVirtualClusterCommand").f(void 0, void 0).ser(se_CreateVirtualClusterCommand).de(de_CreateVirtualClusterCommand).build() {
|
|
1554
|
-
static {
|
|
1555
|
-
__name(this, "CreateVirtualClusterCommand");
|
|
1556
|
-
}
|
|
201
|
+
const JobRunState = {
|
|
202
|
+
CANCELLED: "CANCELLED",
|
|
203
|
+
CANCEL_PENDING: "CANCEL_PENDING",
|
|
204
|
+
COMPLETED: "COMPLETED",
|
|
205
|
+
FAILED: "FAILED",
|
|
206
|
+
PENDING: "PENDING",
|
|
207
|
+
RUNNING: "RUNNING",
|
|
208
|
+
SUBMITTED: "SUBMITTED",
|
|
1557
209
|
};
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
return [
|
|
1565
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1566
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1567
|
-
];
|
|
1568
|
-
}).s("AwsChicagoWebService", "DeleteJobTemplate", {}).n("EMRContainersClient", "DeleteJobTemplateCommand").f(void 0, void 0).ser(se_DeleteJobTemplateCommand).de(de_DeleteJobTemplateCommand).build() {
|
|
1569
|
-
static {
|
|
1570
|
-
__name(this, "DeleteJobTemplateCommand");
|
|
1571
|
-
}
|
|
210
|
+
const EndpointState = {
|
|
211
|
+
ACTIVE: "ACTIVE",
|
|
212
|
+
CREATING: "CREATING",
|
|
213
|
+
TERMINATED: "TERMINATED",
|
|
214
|
+
TERMINATED_WITH_ERRORS: "TERMINATED_WITH_ERRORS",
|
|
215
|
+
TERMINATING: "TERMINATING",
|
|
1572
216
|
};
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
var DeleteManagedEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1579
|
-
return [
|
|
1580
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1581
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1582
|
-
];
|
|
1583
|
-
}).s("AwsChicagoWebService", "DeleteManagedEndpoint", {}).n("EMRContainersClient", "DeleteManagedEndpointCommand").f(void 0, void 0).ser(se_DeleteManagedEndpointCommand).de(de_DeleteManagedEndpointCommand).build() {
|
|
1584
|
-
static {
|
|
1585
|
-
__name(this, "DeleteManagedEndpointCommand");
|
|
1586
|
-
}
|
|
217
|
+
const VirtualClusterState = {
|
|
218
|
+
ARRESTED: "ARRESTED",
|
|
219
|
+
RUNNING: "RUNNING",
|
|
220
|
+
TERMINATED: "TERMINATED",
|
|
221
|
+
TERMINATING: "TERMINATING",
|
|
1587
222
|
};
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
223
|
+
exports.Credentials = void 0;
|
|
224
|
+
(function (Credentials) {
|
|
225
|
+
Credentials.visit = (value, visitor) => {
|
|
226
|
+
if (value.token !== undefined)
|
|
227
|
+
return visitor.token(value.token);
|
|
228
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
229
|
+
};
|
|
230
|
+
})(exports.Credentials || (exports.Credentials = {}));
|
|
231
|
+
class RequestThrottledException extends EMRContainersServiceException {
|
|
232
|
+
name = "RequestThrottledException";
|
|
233
|
+
$fault = "client";
|
|
234
|
+
constructor(opts) {
|
|
235
|
+
super({
|
|
236
|
+
name: "RequestThrottledException",
|
|
237
|
+
$fault: "client",
|
|
238
|
+
...opts,
|
|
239
|
+
});
|
|
240
|
+
Object.setPrototypeOf(this, RequestThrottledException.prototype);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
const SparkSqlJobDriverFilterSensitiveLog = (obj) => ({
|
|
244
|
+
...obj,
|
|
245
|
+
...(obj.entryPoint && { entryPoint: smithyClient.SENSITIVE_STRING }),
|
|
246
|
+
...(obj.sparkSqlParameters && { sparkSqlParameters: smithyClient.SENSITIVE_STRING }),
|
|
247
|
+
});
|
|
248
|
+
const SparkSubmitJobDriverFilterSensitiveLog = (obj) => ({
|
|
249
|
+
...obj,
|
|
250
|
+
...(obj.entryPoint && { entryPoint: smithyClient.SENSITIVE_STRING }),
|
|
251
|
+
...(obj.entryPointArguments && { entryPointArguments: smithyClient.SENSITIVE_STRING }),
|
|
252
|
+
...(obj.sparkSubmitParameters && { sparkSubmitParameters: smithyClient.SENSITIVE_STRING }),
|
|
253
|
+
});
|
|
254
|
+
const JobDriverFilterSensitiveLog = (obj) => ({
|
|
255
|
+
...obj,
|
|
256
|
+
...(obj.sparkSubmitJobDriver && {
|
|
257
|
+
sparkSubmitJobDriver: SparkSubmitJobDriverFilterSensitiveLog(obj.sparkSubmitJobDriver),
|
|
258
|
+
}),
|
|
259
|
+
...(obj.sparkSqlJobDriver && { sparkSqlJobDriver: SparkSqlJobDriverFilterSensitiveLog(obj.sparkSqlJobDriver) }),
|
|
260
|
+
});
|
|
261
|
+
const CredentialsFilterSensitiveLog = (obj) => {
|
|
262
|
+
if (obj.token !== undefined)
|
|
263
|
+
return { token: smithyClient.SENSITIVE_STRING };
|
|
264
|
+
if (obj.$unknown !== undefined)
|
|
265
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1602
266
|
};
|
|
267
|
+
const GetManagedEndpointSessionCredentialsResponseFilterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
...(obj.credentials && { credentials: CredentialsFilterSensitiveLog(obj.credentials) }),
|
|
270
|
+
});
|
|
271
|
+
const ConfigurationFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
...(obj.properties && { properties: smithyClient.SENSITIVE_STRING }),
|
|
274
|
+
...(obj.configurations && {
|
|
275
|
+
configurations: obj.configurations.map((item) => ConfigurationFilterSensitiveLog(item)),
|
|
276
|
+
}),
|
|
277
|
+
});
|
|
278
|
+
const ConfigurationOverridesFilterSensitiveLog = (obj) => ({
|
|
279
|
+
...obj,
|
|
280
|
+
...(obj.applicationConfiguration && {
|
|
281
|
+
applicationConfiguration: obj.applicationConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
|
|
282
|
+
}),
|
|
283
|
+
});
|
|
284
|
+
const ParametricConfigurationOverridesFilterSensitiveLog = (obj) => ({
|
|
285
|
+
...obj,
|
|
286
|
+
...(obj.applicationConfiguration && {
|
|
287
|
+
applicationConfiguration: obj.applicationConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
|
|
288
|
+
}),
|
|
289
|
+
});
|
|
290
|
+
const CreateManagedEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
291
|
+
...obj,
|
|
292
|
+
...(obj.configurationOverrides && {
|
|
293
|
+
configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
|
|
294
|
+
}),
|
|
295
|
+
});
|
|
296
|
+
const EndpointFilterSensitiveLog = (obj) => ({
|
|
297
|
+
...obj,
|
|
298
|
+
...(obj.configurationOverrides && {
|
|
299
|
+
configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
|
|
300
|
+
}),
|
|
301
|
+
});
|
|
302
|
+
const JobRunFilterSensitiveLog = (obj) => ({
|
|
303
|
+
...obj,
|
|
304
|
+
...(obj.configurationOverrides && {
|
|
305
|
+
configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
|
|
306
|
+
}),
|
|
307
|
+
...(obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }),
|
|
308
|
+
});
|
|
309
|
+
const JobTemplateDataFilterSensitiveLog = (obj) => ({
|
|
310
|
+
...obj,
|
|
311
|
+
...(obj.configurationOverrides && {
|
|
312
|
+
configurationOverrides: ParametricConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
|
|
313
|
+
}),
|
|
314
|
+
...(obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }),
|
|
315
|
+
});
|
|
316
|
+
const StartJobRunRequestFilterSensitiveLog = (obj) => ({
|
|
317
|
+
...obj,
|
|
318
|
+
...(obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }),
|
|
319
|
+
...(obj.configurationOverrides && {
|
|
320
|
+
configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
|
|
321
|
+
}),
|
|
322
|
+
});
|
|
323
|
+
const CreateJobTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
324
|
+
...obj,
|
|
325
|
+
...(obj.jobTemplateData && { jobTemplateData: JobTemplateDataFilterSensitiveLog(obj.jobTemplateData) }),
|
|
326
|
+
});
|
|
327
|
+
const DescribeJobRunResponseFilterSensitiveLog = (obj) => ({
|
|
328
|
+
...obj,
|
|
329
|
+
...(obj.jobRun && { jobRun: JobRunFilterSensitiveLog(obj.jobRun) }),
|
|
330
|
+
});
|
|
331
|
+
const DescribeManagedEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
332
|
+
...obj,
|
|
333
|
+
...(obj.endpoint && { endpoint: EndpointFilterSensitiveLog(obj.endpoint) }),
|
|
334
|
+
});
|
|
335
|
+
const JobTemplateFilterSensitiveLog = (obj) => ({
|
|
336
|
+
...obj,
|
|
337
|
+
...(obj.jobTemplateData && { jobTemplateData: JobTemplateDataFilterSensitiveLog(obj.jobTemplateData) }),
|
|
338
|
+
});
|
|
339
|
+
const DescribeJobTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
340
|
+
...obj,
|
|
341
|
+
...(obj.jobTemplate && { jobTemplate: JobTemplateFilterSensitiveLog(obj.jobTemplate) }),
|
|
342
|
+
});
|
|
343
|
+
const ListJobRunsResponseFilterSensitiveLog = (obj) => ({
|
|
344
|
+
...obj,
|
|
345
|
+
...(obj.jobRuns && { jobRuns: obj.jobRuns.map((item) => JobRunFilterSensitiveLog(item)) }),
|
|
346
|
+
});
|
|
347
|
+
const ListManagedEndpointsResponseFilterSensitiveLog = (obj) => ({
|
|
348
|
+
...obj,
|
|
349
|
+
});
|
|
350
|
+
const ListJobTemplatesResponseFilterSensitiveLog = (obj) => ({
|
|
351
|
+
...obj,
|
|
352
|
+
...(obj.templates && { templates: obj.templates.map((item) => JobTemplateFilterSensitiveLog(item)) }),
|
|
353
|
+
});
|
|
1603
354
|
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
(
|
|
1612
|
-
|
|
1613
|
-
}).s("AwsChicagoWebService", "DescribeJobRun", {}).n("EMRContainersClient", "DescribeJobRunCommand").f(void 0, DescribeJobRunResponseFilterSensitiveLog).ser(se_DescribeJobRunCommand).de(de_DescribeJobRunCommand).build() {
|
|
1614
|
-
static {
|
|
1615
|
-
__name(this, "DescribeJobRunCommand");
|
|
1616
|
-
}
|
|
355
|
+
const se_CancelJobRunCommand = async (input, context) => {
|
|
356
|
+
const b = core.requestBuilder(input, context);
|
|
357
|
+
const headers = {};
|
|
358
|
+
b.bp("/virtualclusters/{virtualClusterId}/jobruns/{id}");
|
|
359
|
+
b.p("id", () => input.id, "{id}", false);
|
|
360
|
+
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
361
|
+
let body;
|
|
362
|
+
b.m("DELETE").h(headers).b(body);
|
|
363
|
+
return b.build();
|
|
1617
364
|
};
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
365
|
+
const se_CreateJobTemplateCommand = async (input, context) => {
|
|
366
|
+
const b = core.requestBuilder(input, context);
|
|
367
|
+
const headers = {
|
|
368
|
+
"content-type": "application/json",
|
|
369
|
+
};
|
|
370
|
+
b.bp("/jobtemplates");
|
|
371
|
+
let body;
|
|
372
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
373
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
374
|
+
jobTemplateData: (_) => se_JobTemplateData(_),
|
|
375
|
+
kmsKeyArn: [],
|
|
376
|
+
name: [],
|
|
377
|
+
tags: (_) => smithyClient._json(_),
|
|
378
|
+
}));
|
|
379
|
+
b.m("POST").h(headers).b(body);
|
|
380
|
+
return b.build();
|
|
1632
381
|
};
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
382
|
+
const se_CreateManagedEndpointCommand = async (input, context) => {
|
|
383
|
+
const b = core.requestBuilder(input, context);
|
|
384
|
+
const headers = {
|
|
385
|
+
"content-type": "application/json",
|
|
386
|
+
};
|
|
387
|
+
b.bp("/virtualclusters/{virtualClusterId}/endpoints");
|
|
388
|
+
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
389
|
+
let body;
|
|
390
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
391
|
+
certificateArn: [],
|
|
392
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
393
|
+
configurationOverrides: (_) => se_ConfigurationOverrides(_),
|
|
394
|
+
executionRoleArn: [],
|
|
395
|
+
name: [],
|
|
396
|
+
releaseLabel: [],
|
|
397
|
+
tags: (_) => smithyClient._json(_),
|
|
398
|
+
type: [],
|
|
399
|
+
}));
|
|
400
|
+
b.m("POST").h(headers).b(body);
|
|
401
|
+
return b.build();
|
|
1647
402
|
};
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
403
|
+
const se_CreateSecurityConfigurationCommand = async (input, context) => {
|
|
404
|
+
const b = core.requestBuilder(input, context);
|
|
405
|
+
const headers = {
|
|
406
|
+
"content-type": "application/json",
|
|
407
|
+
};
|
|
408
|
+
b.bp("/securityconfigurations");
|
|
409
|
+
let body;
|
|
410
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
411
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
412
|
+
containerProvider: (_) => smithyClient._json(_),
|
|
413
|
+
name: [],
|
|
414
|
+
securityConfigurationData: (_) => smithyClient._json(_),
|
|
415
|
+
tags: (_) => smithyClient._json(_),
|
|
416
|
+
}));
|
|
417
|
+
b.m("POST").h(headers).b(body);
|
|
418
|
+
return b.build();
|
|
1662
419
|
};
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
420
|
+
const se_CreateVirtualClusterCommand = async (input, context) => {
|
|
421
|
+
const b = core.requestBuilder(input, context);
|
|
422
|
+
const headers = {
|
|
423
|
+
"content-type": "application/json",
|
|
424
|
+
};
|
|
425
|
+
b.bp("/virtualclusters");
|
|
426
|
+
let body;
|
|
427
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
428
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
429
|
+
containerProvider: (_) => smithyClient._json(_),
|
|
430
|
+
name: [],
|
|
431
|
+
securityConfigurationId: [],
|
|
432
|
+
tags: (_) => smithyClient._json(_),
|
|
433
|
+
}));
|
|
434
|
+
b.m("POST").h(headers).b(body);
|
|
435
|
+
return b.build();
|
|
1677
436
|
};
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1687
|
-
];
|
|
1688
|
-
}).s("AwsChicagoWebService", "GetManagedEndpointSessionCredentials", {}).n("EMRContainersClient", "GetManagedEndpointSessionCredentialsCommand").f(void 0, GetManagedEndpointSessionCredentialsResponseFilterSensitiveLog).ser(se_GetManagedEndpointSessionCredentialsCommand).de(de_GetManagedEndpointSessionCredentialsCommand).build() {
|
|
1689
|
-
static {
|
|
1690
|
-
__name(this, "GetManagedEndpointSessionCredentialsCommand");
|
|
1691
|
-
}
|
|
437
|
+
const se_DeleteJobTemplateCommand = async (input, context) => {
|
|
438
|
+
const b = core.requestBuilder(input, context);
|
|
439
|
+
const headers = {};
|
|
440
|
+
b.bp("/jobtemplates/{id}");
|
|
441
|
+
b.p("id", () => input.id, "{id}", false);
|
|
442
|
+
let body;
|
|
443
|
+
b.m("DELETE").h(headers).b(body);
|
|
444
|
+
return b.build();
|
|
1692
445
|
};
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
(
|
|
1701
|
-
|
|
1702
|
-
];
|
|
1703
|
-
}).s("AwsChicagoWebService", "ListJobRuns", {}).n("EMRContainersClient", "ListJobRunsCommand").f(void 0, ListJobRunsResponseFilterSensitiveLog).ser(se_ListJobRunsCommand).de(de_ListJobRunsCommand).build() {
|
|
1704
|
-
static {
|
|
1705
|
-
__name(this, "ListJobRunsCommand");
|
|
1706
|
-
}
|
|
446
|
+
const se_DeleteManagedEndpointCommand = async (input, context) => {
|
|
447
|
+
const b = core.requestBuilder(input, context);
|
|
448
|
+
const headers = {};
|
|
449
|
+
b.bp("/virtualclusters/{virtualClusterId}/endpoints/{id}");
|
|
450
|
+
b.p("id", () => input.id, "{id}", false);
|
|
451
|
+
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
452
|
+
let body;
|
|
453
|
+
b.m("DELETE").h(headers).b(body);
|
|
454
|
+
return b.build();
|
|
1707
455
|
};
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1717
|
-
];
|
|
1718
|
-
}).s("AwsChicagoWebService", "ListJobTemplates", {}).n("EMRContainersClient", "ListJobTemplatesCommand").f(void 0, ListJobTemplatesResponseFilterSensitiveLog).ser(se_ListJobTemplatesCommand).de(de_ListJobTemplatesCommand).build() {
|
|
1719
|
-
static {
|
|
1720
|
-
__name(this, "ListJobTemplatesCommand");
|
|
1721
|
-
}
|
|
456
|
+
const se_DeleteVirtualClusterCommand = async (input, context) => {
|
|
457
|
+
const b = core.requestBuilder(input, context);
|
|
458
|
+
const headers = {};
|
|
459
|
+
b.bp("/virtualclusters/{id}");
|
|
460
|
+
b.p("id", () => input.id, "{id}", false);
|
|
461
|
+
let body;
|
|
462
|
+
b.m("DELETE").h(headers).b(body);
|
|
463
|
+
return b.build();
|
|
1722
464
|
};
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
(
|
|
1731
|
-
|
|
1732
|
-
];
|
|
1733
|
-
}).s("AwsChicagoWebService", "ListManagedEndpoints", {}).n("EMRContainersClient", "ListManagedEndpointsCommand").f(void 0, ListManagedEndpointsResponseFilterSensitiveLog).ser(se_ListManagedEndpointsCommand).de(de_ListManagedEndpointsCommand).build() {
|
|
1734
|
-
static {
|
|
1735
|
-
__name(this, "ListManagedEndpointsCommand");
|
|
1736
|
-
}
|
|
465
|
+
const se_DescribeJobRunCommand = async (input, context) => {
|
|
466
|
+
const b = core.requestBuilder(input, context);
|
|
467
|
+
const headers = {};
|
|
468
|
+
b.bp("/virtualclusters/{virtualClusterId}/jobruns/{id}");
|
|
469
|
+
b.p("id", () => input.id, "{id}", false);
|
|
470
|
+
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
471
|
+
let body;
|
|
472
|
+
b.m("GET").h(headers).b(body);
|
|
473
|
+
return b.build();
|
|
1737
474
|
};
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1747
|
-
];
|
|
1748
|
-
}).s("AwsChicagoWebService", "ListSecurityConfigurations", {}).n("EMRContainersClient", "ListSecurityConfigurationsCommand").f(void 0, void 0).ser(se_ListSecurityConfigurationsCommand).de(de_ListSecurityConfigurationsCommand).build() {
|
|
1749
|
-
static {
|
|
1750
|
-
__name(this, "ListSecurityConfigurationsCommand");
|
|
1751
|
-
}
|
|
475
|
+
const se_DescribeJobTemplateCommand = async (input, context) => {
|
|
476
|
+
const b = core.requestBuilder(input, context);
|
|
477
|
+
const headers = {};
|
|
478
|
+
b.bp("/jobtemplates/{id}");
|
|
479
|
+
b.p("id", () => input.id, "{id}", false);
|
|
480
|
+
let body;
|
|
481
|
+
b.m("GET").h(headers).b(body);
|
|
482
|
+
return b.build();
|
|
1752
483
|
};
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
(
|
|
1761
|
-
|
|
1762
|
-
];
|
|
1763
|
-
}).s("AwsChicagoWebService", "ListTagsForResource", {}).n("EMRContainersClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1764
|
-
static {
|
|
1765
|
-
__name(this, "ListTagsForResourceCommand");
|
|
1766
|
-
}
|
|
484
|
+
const se_DescribeManagedEndpointCommand = async (input, context) => {
|
|
485
|
+
const b = core.requestBuilder(input, context);
|
|
486
|
+
const headers = {};
|
|
487
|
+
b.bp("/virtualclusters/{virtualClusterId}/endpoints/{id}");
|
|
488
|
+
b.p("id", () => input.id, "{id}", false);
|
|
489
|
+
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
490
|
+
let body;
|
|
491
|
+
b.m("GET").h(headers).b(body);
|
|
492
|
+
return b.build();
|
|
1767
493
|
};
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1777
|
-
];
|
|
1778
|
-
}).s("AwsChicagoWebService", "ListVirtualClusters", {}).n("EMRContainersClient", "ListVirtualClustersCommand").f(void 0, void 0).ser(se_ListVirtualClustersCommand).de(de_ListVirtualClustersCommand).build() {
|
|
1779
|
-
static {
|
|
1780
|
-
__name(this, "ListVirtualClustersCommand");
|
|
1781
|
-
}
|
|
494
|
+
const se_DescribeSecurityConfigurationCommand = async (input, context) => {
|
|
495
|
+
const b = core.requestBuilder(input, context);
|
|
496
|
+
const headers = {};
|
|
497
|
+
b.bp("/securityconfigurations/{id}");
|
|
498
|
+
b.p("id", () => input.id, "{id}", false);
|
|
499
|
+
let body;
|
|
500
|
+
b.m("GET").h(headers).b(body);
|
|
501
|
+
return b.build();
|
|
1782
502
|
};
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1792
|
-
];
|
|
1793
|
-
}).s("AwsChicagoWebService", "StartJobRun", {}).n("EMRContainersClient", "StartJobRunCommand").f(StartJobRunRequestFilterSensitiveLog, void 0).ser(se_StartJobRunCommand).de(de_StartJobRunCommand).build() {
|
|
1794
|
-
static {
|
|
1795
|
-
__name(this, "StartJobRunCommand");
|
|
1796
|
-
}
|
|
503
|
+
const se_DescribeVirtualClusterCommand = async (input, context) => {
|
|
504
|
+
const b = core.requestBuilder(input, context);
|
|
505
|
+
const headers = {};
|
|
506
|
+
b.bp("/virtualclusters/{id}");
|
|
507
|
+
b.p("id", () => input.id, "{id}", false);
|
|
508
|
+
let body;
|
|
509
|
+
b.m("GET").h(headers).b(body);
|
|
510
|
+
return b.build();
|
|
1797
511
|
};
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
(
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
512
|
+
const se_GetManagedEndpointSessionCredentialsCommand = async (input, context) => {
|
|
513
|
+
const b = core.requestBuilder(input, context);
|
|
514
|
+
const headers = {
|
|
515
|
+
"content-type": "application/json",
|
|
516
|
+
};
|
|
517
|
+
b.bp("/virtualclusters/{virtualClusterIdentifier}/endpoints/{endpointIdentifier}/credentials");
|
|
518
|
+
b.p("endpointIdentifier", () => input.endpointIdentifier, "{endpointIdentifier}", false);
|
|
519
|
+
b.p("virtualClusterIdentifier", () => input.virtualClusterIdentifier, "{virtualClusterIdentifier}", false);
|
|
520
|
+
let body;
|
|
521
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
522
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
523
|
+
credentialType: [],
|
|
524
|
+
durationInSeconds: [],
|
|
525
|
+
executionRoleArn: [],
|
|
526
|
+
logContext: [],
|
|
527
|
+
}));
|
|
528
|
+
b.m("POST").h(headers).b(body);
|
|
529
|
+
return b.build();
|
|
1812
530
|
};
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
531
|
+
const se_ListJobRunsCommand = async (input, context) => {
|
|
532
|
+
const b = core.requestBuilder(input, context);
|
|
533
|
+
const headers = {};
|
|
534
|
+
b.bp("/virtualclusters/{virtualClusterId}/jobruns");
|
|
535
|
+
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
536
|
+
const query = smithyClient.map({
|
|
537
|
+
[_cB]: [() => input.createdBefore !== void 0, () => smithyClient.serializeDateTime(input[_cB]).toString()],
|
|
538
|
+
[_cA]: [() => input.createdAfter !== void 0, () => smithyClient.serializeDateTime(input[_cA]).toString()],
|
|
539
|
+
[_n]: [, input[_n]],
|
|
540
|
+
[_s]: [() => input.states !== void 0, () => input[_s] || []],
|
|
541
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
542
|
+
[_nT]: [, input[_nT]],
|
|
543
|
+
});
|
|
544
|
+
let body;
|
|
545
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
546
|
+
return b.build();
|
|
1827
547
|
};
|
|
548
|
+
const se_ListJobTemplatesCommand = async (input, context) => {
|
|
549
|
+
const b = core.requestBuilder(input, context);
|
|
550
|
+
const headers = {};
|
|
551
|
+
b.bp("/jobtemplates");
|
|
552
|
+
const query = smithyClient.map({
|
|
553
|
+
[_cA]: [() => input.createdAfter !== void 0, () => smithyClient.serializeDateTime(input[_cA]).toString()],
|
|
554
|
+
[_cB]: [() => input.createdBefore !== void 0, () => smithyClient.serializeDateTime(input[_cB]).toString()],
|
|
555
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
556
|
+
[_nT]: [, input[_nT]],
|
|
557
|
+
});
|
|
558
|
+
let body;
|
|
559
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
560
|
+
return b.build();
|
|
561
|
+
};
|
|
562
|
+
const se_ListManagedEndpointsCommand = async (input, context) => {
|
|
563
|
+
const b = core.requestBuilder(input, context);
|
|
564
|
+
const headers = {};
|
|
565
|
+
b.bp("/virtualclusters/{virtualClusterId}/endpoints");
|
|
566
|
+
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
567
|
+
const query = smithyClient.map({
|
|
568
|
+
[_cB]: [() => input.createdBefore !== void 0, () => smithyClient.serializeDateTime(input[_cB]).toString()],
|
|
569
|
+
[_cA]: [() => input.createdAfter !== void 0, () => smithyClient.serializeDateTime(input[_cA]).toString()],
|
|
570
|
+
[_t]: [() => input.types !== void 0, () => input[_t] || []],
|
|
571
|
+
[_s]: [() => input.states !== void 0, () => input[_s] || []],
|
|
572
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
573
|
+
[_nT]: [, input[_nT]],
|
|
574
|
+
});
|
|
575
|
+
let body;
|
|
576
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
577
|
+
return b.build();
|
|
578
|
+
};
|
|
579
|
+
const se_ListSecurityConfigurationsCommand = async (input, context) => {
|
|
580
|
+
const b = core.requestBuilder(input, context);
|
|
581
|
+
const headers = {};
|
|
582
|
+
b.bp("/securityconfigurations");
|
|
583
|
+
const query = smithyClient.map({
|
|
584
|
+
[_cA]: [() => input.createdAfter !== void 0, () => smithyClient.serializeDateTime(input[_cA]).toString()],
|
|
585
|
+
[_cB]: [() => input.createdBefore !== void 0, () => smithyClient.serializeDateTime(input[_cB]).toString()],
|
|
586
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
587
|
+
[_nT]: [, input[_nT]],
|
|
588
|
+
});
|
|
589
|
+
let body;
|
|
590
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
591
|
+
return b.build();
|
|
592
|
+
};
|
|
593
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
594
|
+
const b = core.requestBuilder(input, context);
|
|
595
|
+
const headers = {};
|
|
596
|
+
b.bp("/tags/{resourceArn}");
|
|
597
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
598
|
+
let body;
|
|
599
|
+
b.m("GET").h(headers).b(body);
|
|
600
|
+
return b.build();
|
|
601
|
+
};
|
|
602
|
+
const se_ListVirtualClustersCommand = async (input, context) => {
|
|
603
|
+
const b = core.requestBuilder(input, context);
|
|
604
|
+
const headers = {};
|
|
605
|
+
b.bp("/virtualclusters");
|
|
606
|
+
const query = smithyClient.map({
|
|
607
|
+
[_cPI]: [, input[_cPI]],
|
|
608
|
+
[_cPT]: [, input[_cPT]],
|
|
609
|
+
[_cA]: [() => input.createdAfter !== void 0, () => smithyClient.serializeDateTime(input[_cA]).toString()],
|
|
610
|
+
[_cB]: [() => input.createdBefore !== void 0, () => smithyClient.serializeDateTime(input[_cB]).toString()],
|
|
611
|
+
[_s]: [() => input.states !== void 0, () => input[_s] || []],
|
|
612
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
613
|
+
[_nT]: [, input[_nT]],
|
|
614
|
+
[_eAEI]: [() => input.eksAccessEntryIntegrated !== void 0, () => input[_eAEI].toString()],
|
|
615
|
+
});
|
|
616
|
+
let body;
|
|
617
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
618
|
+
return b.build();
|
|
619
|
+
};
|
|
620
|
+
const se_StartJobRunCommand = async (input, context) => {
|
|
621
|
+
const b = core.requestBuilder(input, context);
|
|
622
|
+
const headers = {
|
|
623
|
+
"content-type": "application/json",
|
|
624
|
+
};
|
|
625
|
+
b.bp("/virtualclusters/{virtualClusterId}/jobruns");
|
|
626
|
+
b.p("virtualClusterId", () => input.virtualClusterId, "{virtualClusterId}", false);
|
|
627
|
+
let body;
|
|
628
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
629
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
630
|
+
configurationOverrides: (_) => se_ConfigurationOverrides(_),
|
|
631
|
+
executionRoleArn: [],
|
|
632
|
+
jobDriver: (_) => smithyClient._json(_),
|
|
633
|
+
jobTemplateId: [],
|
|
634
|
+
jobTemplateParameters: (_) => smithyClient._json(_),
|
|
635
|
+
name: [],
|
|
636
|
+
releaseLabel: [],
|
|
637
|
+
retryPolicyConfiguration: (_) => smithyClient._json(_),
|
|
638
|
+
tags: (_) => smithyClient._json(_),
|
|
639
|
+
}));
|
|
640
|
+
b.m("POST").h(headers).b(body);
|
|
641
|
+
return b.build();
|
|
642
|
+
};
|
|
643
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
644
|
+
const b = core.requestBuilder(input, context);
|
|
645
|
+
const headers = {
|
|
646
|
+
"content-type": "application/json",
|
|
647
|
+
};
|
|
648
|
+
b.bp("/tags/{resourceArn}");
|
|
649
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
650
|
+
let body;
|
|
651
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
652
|
+
tags: (_) => smithyClient._json(_),
|
|
653
|
+
}));
|
|
654
|
+
b.m("POST").h(headers).b(body);
|
|
655
|
+
return b.build();
|
|
656
|
+
};
|
|
657
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
658
|
+
const b = core.requestBuilder(input, context);
|
|
659
|
+
const headers = {};
|
|
660
|
+
b.bp("/tags/{resourceArn}");
|
|
661
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
662
|
+
const query = smithyClient.map({
|
|
663
|
+
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
664
|
+
});
|
|
665
|
+
let body;
|
|
666
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
667
|
+
return b.build();
|
|
668
|
+
};
|
|
669
|
+
const de_CancelJobRunCommand = async (output, context) => {
|
|
670
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
671
|
+
return de_CommandError(output, context);
|
|
672
|
+
}
|
|
673
|
+
const contents = smithyClient.map({
|
|
674
|
+
$metadata: deserializeMetadata(output),
|
|
675
|
+
});
|
|
676
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
677
|
+
const doc = smithyClient.take(data, {
|
|
678
|
+
id: smithyClient.expectString,
|
|
679
|
+
virtualClusterId: smithyClient.expectString,
|
|
680
|
+
});
|
|
681
|
+
Object.assign(contents, doc);
|
|
682
|
+
return contents;
|
|
683
|
+
};
|
|
684
|
+
const de_CreateJobTemplateCommand = async (output, context) => {
|
|
685
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
686
|
+
return de_CommandError(output, context);
|
|
687
|
+
}
|
|
688
|
+
const contents = smithyClient.map({
|
|
689
|
+
$metadata: deserializeMetadata(output),
|
|
690
|
+
});
|
|
691
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
692
|
+
const doc = smithyClient.take(data, {
|
|
693
|
+
arn: smithyClient.expectString,
|
|
694
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
695
|
+
id: smithyClient.expectString,
|
|
696
|
+
name: smithyClient.expectString,
|
|
697
|
+
});
|
|
698
|
+
Object.assign(contents, doc);
|
|
699
|
+
return contents;
|
|
700
|
+
};
|
|
701
|
+
const de_CreateManagedEndpointCommand = async (output, context) => {
|
|
702
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
703
|
+
return de_CommandError(output, context);
|
|
704
|
+
}
|
|
705
|
+
const contents = smithyClient.map({
|
|
706
|
+
$metadata: deserializeMetadata(output),
|
|
707
|
+
});
|
|
708
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
709
|
+
const doc = smithyClient.take(data, {
|
|
710
|
+
arn: smithyClient.expectString,
|
|
711
|
+
id: smithyClient.expectString,
|
|
712
|
+
name: smithyClient.expectString,
|
|
713
|
+
virtualClusterId: smithyClient.expectString,
|
|
714
|
+
});
|
|
715
|
+
Object.assign(contents, doc);
|
|
716
|
+
return contents;
|
|
717
|
+
};
|
|
718
|
+
const de_CreateSecurityConfigurationCommand = async (output, context) => {
|
|
719
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
720
|
+
return de_CommandError(output, context);
|
|
721
|
+
}
|
|
722
|
+
const contents = smithyClient.map({
|
|
723
|
+
$metadata: deserializeMetadata(output),
|
|
724
|
+
});
|
|
725
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
726
|
+
const doc = smithyClient.take(data, {
|
|
727
|
+
arn: smithyClient.expectString,
|
|
728
|
+
id: smithyClient.expectString,
|
|
729
|
+
name: smithyClient.expectString,
|
|
730
|
+
});
|
|
731
|
+
Object.assign(contents, doc);
|
|
732
|
+
return contents;
|
|
733
|
+
};
|
|
734
|
+
const de_CreateVirtualClusterCommand = async (output, context) => {
|
|
735
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
736
|
+
return de_CommandError(output, context);
|
|
737
|
+
}
|
|
738
|
+
const contents = smithyClient.map({
|
|
739
|
+
$metadata: deserializeMetadata(output),
|
|
740
|
+
});
|
|
741
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
742
|
+
const doc = smithyClient.take(data, {
|
|
743
|
+
arn: smithyClient.expectString,
|
|
744
|
+
id: smithyClient.expectString,
|
|
745
|
+
name: smithyClient.expectString,
|
|
746
|
+
});
|
|
747
|
+
Object.assign(contents, doc);
|
|
748
|
+
return contents;
|
|
749
|
+
};
|
|
750
|
+
const de_DeleteJobTemplateCommand = async (output, context) => {
|
|
751
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
752
|
+
return de_CommandError(output, context);
|
|
753
|
+
}
|
|
754
|
+
const contents = smithyClient.map({
|
|
755
|
+
$metadata: deserializeMetadata(output),
|
|
756
|
+
});
|
|
757
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
758
|
+
const doc = smithyClient.take(data, {
|
|
759
|
+
id: smithyClient.expectString,
|
|
760
|
+
});
|
|
761
|
+
Object.assign(contents, doc);
|
|
762
|
+
return contents;
|
|
763
|
+
};
|
|
764
|
+
const de_DeleteManagedEndpointCommand = async (output, context) => {
|
|
765
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
766
|
+
return de_CommandError(output, context);
|
|
767
|
+
}
|
|
768
|
+
const contents = smithyClient.map({
|
|
769
|
+
$metadata: deserializeMetadata(output),
|
|
770
|
+
});
|
|
771
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
772
|
+
const doc = smithyClient.take(data, {
|
|
773
|
+
id: smithyClient.expectString,
|
|
774
|
+
virtualClusterId: smithyClient.expectString,
|
|
775
|
+
});
|
|
776
|
+
Object.assign(contents, doc);
|
|
777
|
+
return contents;
|
|
778
|
+
};
|
|
779
|
+
const de_DeleteVirtualClusterCommand = async (output, context) => {
|
|
780
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
781
|
+
return de_CommandError(output, context);
|
|
782
|
+
}
|
|
783
|
+
const contents = smithyClient.map({
|
|
784
|
+
$metadata: deserializeMetadata(output),
|
|
785
|
+
});
|
|
786
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
787
|
+
const doc = smithyClient.take(data, {
|
|
788
|
+
id: smithyClient.expectString,
|
|
789
|
+
});
|
|
790
|
+
Object.assign(contents, doc);
|
|
791
|
+
return contents;
|
|
792
|
+
};
|
|
793
|
+
const de_DescribeJobRunCommand = async (output, context) => {
|
|
794
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
795
|
+
return de_CommandError(output, context);
|
|
796
|
+
}
|
|
797
|
+
const contents = smithyClient.map({
|
|
798
|
+
$metadata: deserializeMetadata(output),
|
|
799
|
+
});
|
|
800
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
801
|
+
const doc = smithyClient.take(data, {
|
|
802
|
+
jobRun: (_) => de_JobRun(_),
|
|
803
|
+
});
|
|
804
|
+
Object.assign(contents, doc);
|
|
805
|
+
return contents;
|
|
806
|
+
};
|
|
807
|
+
const de_DescribeJobTemplateCommand = async (output, context) => {
|
|
808
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
809
|
+
return de_CommandError(output, context);
|
|
810
|
+
}
|
|
811
|
+
const contents = smithyClient.map({
|
|
812
|
+
$metadata: deserializeMetadata(output),
|
|
813
|
+
});
|
|
814
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
815
|
+
const doc = smithyClient.take(data, {
|
|
816
|
+
jobTemplate: (_) => de_JobTemplate(_),
|
|
817
|
+
});
|
|
818
|
+
Object.assign(contents, doc);
|
|
819
|
+
return contents;
|
|
820
|
+
};
|
|
821
|
+
const de_DescribeManagedEndpointCommand = async (output, context) => {
|
|
822
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
823
|
+
return de_CommandError(output, context);
|
|
824
|
+
}
|
|
825
|
+
const contents = smithyClient.map({
|
|
826
|
+
$metadata: deserializeMetadata(output),
|
|
827
|
+
});
|
|
828
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
829
|
+
const doc = smithyClient.take(data, {
|
|
830
|
+
endpoint: (_) => de_Endpoint(_),
|
|
831
|
+
});
|
|
832
|
+
Object.assign(contents, doc);
|
|
833
|
+
return contents;
|
|
834
|
+
};
|
|
835
|
+
const de_DescribeSecurityConfigurationCommand = async (output, context) => {
|
|
836
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
837
|
+
return de_CommandError(output, context);
|
|
838
|
+
}
|
|
839
|
+
const contents = smithyClient.map({
|
|
840
|
+
$metadata: deserializeMetadata(output),
|
|
841
|
+
});
|
|
842
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
843
|
+
const doc = smithyClient.take(data, {
|
|
844
|
+
securityConfiguration: (_) => de_SecurityConfiguration(_),
|
|
845
|
+
});
|
|
846
|
+
Object.assign(contents, doc);
|
|
847
|
+
return contents;
|
|
848
|
+
};
|
|
849
|
+
const de_DescribeVirtualClusterCommand = async (output, context) => {
|
|
850
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
851
|
+
return de_CommandError(output, context);
|
|
852
|
+
}
|
|
853
|
+
const contents = smithyClient.map({
|
|
854
|
+
$metadata: deserializeMetadata(output),
|
|
855
|
+
});
|
|
856
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
857
|
+
const doc = smithyClient.take(data, {
|
|
858
|
+
virtualCluster: (_) => de_VirtualCluster(_),
|
|
859
|
+
});
|
|
860
|
+
Object.assign(contents, doc);
|
|
861
|
+
return contents;
|
|
862
|
+
};
|
|
863
|
+
const de_GetManagedEndpointSessionCredentialsCommand = async (output, context) => {
|
|
864
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
865
|
+
return de_CommandError(output, context);
|
|
866
|
+
}
|
|
867
|
+
const contents = smithyClient.map({
|
|
868
|
+
$metadata: deserializeMetadata(output),
|
|
869
|
+
});
|
|
870
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
871
|
+
const doc = smithyClient.take(data, {
|
|
872
|
+
credentials: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
873
|
+
expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
874
|
+
id: smithyClient.expectString,
|
|
875
|
+
});
|
|
876
|
+
Object.assign(contents, doc);
|
|
877
|
+
return contents;
|
|
878
|
+
};
|
|
879
|
+
const de_ListJobRunsCommand = async (output, context) => {
|
|
880
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
881
|
+
return de_CommandError(output, context);
|
|
882
|
+
}
|
|
883
|
+
const contents = smithyClient.map({
|
|
884
|
+
$metadata: deserializeMetadata(output),
|
|
885
|
+
});
|
|
886
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
887
|
+
const doc = smithyClient.take(data, {
|
|
888
|
+
jobRuns: (_) => de_JobRuns(_),
|
|
889
|
+
nextToken: smithyClient.expectString,
|
|
890
|
+
});
|
|
891
|
+
Object.assign(contents, doc);
|
|
892
|
+
return contents;
|
|
893
|
+
};
|
|
894
|
+
const de_ListJobTemplatesCommand = async (output, context) => {
|
|
895
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
896
|
+
return de_CommandError(output, context);
|
|
897
|
+
}
|
|
898
|
+
const contents = smithyClient.map({
|
|
899
|
+
$metadata: deserializeMetadata(output),
|
|
900
|
+
});
|
|
901
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
902
|
+
const doc = smithyClient.take(data, {
|
|
903
|
+
nextToken: smithyClient.expectString,
|
|
904
|
+
templates: (_) => de_JobTemplates(_),
|
|
905
|
+
});
|
|
906
|
+
Object.assign(contents, doc);
|
|
907
|
+
return contents;
|
|
908
|
+
};
|
|
909
|
+
const de_ListManagedEndpointsCommand = async (output, context) => {
|
|
910
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
911
|
+
return de_CommandError(output, context);
|
|
912
|
+
}
|
|
913
|
+
const contents = smithyClient.map({
|
|
914
|
+
$metadata: deserializeMetadata(output),
|
|
915
|
+
});
|
|
916
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
917
|
+
const doc = smithyClient.take(data, {
|
|
918
|
+
endpoints: (_) => de_Endpoints(_),
|
|
919
|
+
nextToken: smithyClient.expectString,
|
|
920
|
+
});
|
|
921
|
+
Object.assign(contents, doc);
|
|
922
|
+
return contents;
|
|
923
|
+
};
|
|
924
|
+
const de_ListSecurityConfigurationsCommand = async (output, context) => {
|
|
925
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
926
|
+
return de_CommandError(output, context);
|
|
927
|
+
}
|
|
928
|
+
const contents = smithyClient.map({
|
|
929
|
+
$metadata: deserializeMetadata(output),
|
|
930
|
+
});
|
|
931
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
932
|
+
const doc = smithyClient.take(data, {
|
|
933
|
+
nextToken: smithyClient.expectString,
|
|
934
|
+
securityConfigurations: (_) => de_SecurityConfigurations(_),
|
|
935
|
+
});
|
|
936
|
+
Object.assign(contents, doc);
|
|
937
|
+
return contents;
|
|
938
|
+
};
|
|
939
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
940
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
941
|
+
return de_CommandError(output, context);
|
|
942
|
+
}
|
|
943
|
+
const contents = smithyClient.map({
|
|
944
|
+
$metadata: deserializeMetadata(output),
|
|
945
|
+
});
|
|
946
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
947
|
+
const doc = smithyClient.take(data, {
|
|
948
|
+
tags: smithyClient._json,
|
|
949
|
+
});
|
|
950
|
+
Object.assign(contents, doc);
|
|
951
|
+
return contents;
|
|
952
|
+
};
|
|
953
|
+
const de_ListVirtualClustersCommand = async (output, context) => {
|
|
954
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
955
|
+
return de_CommandError(output, context);
|
|
956
|
+
}
|
|
957
|
+
const contents = smithyClient.map({
|
|
958
|
+
$metadata: deserializeMetadata(output),
|
|
959
|
+
});
|
|
960
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
961
|
+
const doc = smithyClient.take(data, {
|
|
962
|
+
nextToken: smithyClient.expectString,
|
|
963
|
+
virtualClusters: (_) => de_VirtualClusters(_),
|
|
964
|
+
});
|
|
965
|
+
Object.assign(contents, doc);
|
|
966
|
+
return contents;
|
|
967
|
+
};
|
|
968
|
+
const de_StartJobRunCommand = async (output, context) => {
|
|
969
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
970
|
+
return de_CommandError(output, context);
|
|
971
|
+
}
|
|
972
|
+
const contents = smithyClient.map({
|
|
973
|
+
$metadata: deserializeMetadata(output),
|
|
974
|
+
});
|
|
975
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
976
|
+
const doc = smithyClient.take(data, {
|
|
977
|
+
arn: smithyClient.expectString,
|
|
978
|
+
id: smithyClient.expectString,
|
|
979
|
+
name: smithyClient.expectString,
|
|
980
|
+
virtualClusterId: smithyClient.expectString,
|
|
981
|
+
});
|
|
982
|
+
Object.assign(contents, doc);
|
|
983
|
+
return contents;
|
|
984
|
+
};
|
|
985
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
986
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
987
|
+
return de_CommandError(output, context);
|
|
988
|
+
}
|
|
989
|
+
const contents = smithyClient.map({
|
|
990
|
+
$metadata: deserializeMetadata(output),
|
|
991
|
+
});
|
|
992
|
+
await smithyClient.collectBody(output.body, context);
|
|
993
|
+
return contents;
|
|
994
|
+
};
|
|
995
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
996
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
997
|
+
return de_CommandError(output, context);
|
|
998
|
+
}
|
|
999
|
+
const contents = smithyClient.map({
|
|
1000
|
+
$metadata: deserializeMetadata(output),
|
|
1001
|
+
});
|
|
1002
|
+
await smithyClient.collectBody(output.body, context);
|
|
1003
|
+
return contents;
|
|
1004
|
+
};
|
|
1005
|
+
const de_CommandError = async (output, context) => {
|
|
1006
|
+
const parsedOutput = {
|
|
1007
|
+
...output,
|
|
1008
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1009
|
+
};
|
|
1010
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1011
|
+
switch (errorCode) {
|
|
1012
|
+
case "InternalServerException":
|
|
1013
|
+
case "com.amazonaws.emrcontainers#InternalServerException":
|
|
1014
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1015
|
+
case "ValidationException":
|
|
1016
|
+
case "com.amazonaws.emrcontainers#ValidationException":
|
|
1017
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1018
|
+
case "ResourceNotFoundException":
|
|
1019
|
+
case "com.amazonaws.emrcontainers#ResourceNotFoundException":
|
|
1020
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1021
|
+
case "EKSRequestThrottledException":
|
|
1022
|
+
case "com.amazonaws.emrcontainers#EKSRequestThrottledException":
|
|
1023
|
+
throw await de_EKSRequestThrottledExceptionRes(parsedOutput);
|
|
1024
|
+
case "RequestThrottledException":
|
|
1025
|
+
case "com.amazonaws.emrcontainers#RequestThrottledException":
|
|
1026
|
+
throw await de_RequestThrottledExceptionRes(parsedOutput);
|
|
1027
|
+
default:
|
|
1028
|
+
const parsedBody = parsedOutput.body;
|
|
1029
|
+
return throwDefaultError({
|
|
1030
|
+
output,
|
|
1031
|
+
parsedBody,
|
|
1032
|
+
errorCode,
|
|
1033
|
+
});
|
|
1034
|
+
}
|
|
1035
|
+
};
|
|
1036
|
+
const throwDefaultError = smithyClient.withBaseException(EMRContainersServiceException);
|
|
1037
|
+
const de_EKSRequestThrottledExceptionRes = async (parsedOutput, context) => {
|
|
1038
|
+
const contents = smithyClient.map({});
|
|
1039
|
+
const data = parsedOutput.body;
|
|
1040
|
+
const doc = smithyClient.take(data, {
|
|
1041
|
+
message: smithyClient.expectString,
|
|
1042
|
+
});
|
|
1043
|
+
Object.assign(contents, doc);
|
|
1044
|
+
const exception = new EKSRequestThrottledException({
|
|
1045
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1046
|
+
...contents,
|
|
1047
|
+
});
|
|
1048
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1049
|
+
};
|
|
1050
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1051
|
+
const contents = smithyClient.map({});
|
|
1052
|
+
const data = parsedOutput.body;
|
|
1053
|
+
const doc = smithyClient.take(data, {
|
|
1054
|
+
message: smithyClient.expectString,
|
|
1055
|
+
});
|
|
1056
|
+
Object.assign(contents, doc);
|
|
1057
|
+
const exception = new InternalServerException({
|
|
1058
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1059
|
+
...contents,
|
|
1060
|
+
});
|
|
1061
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1062
|
+
};
|
|
1063
|
+
const de_RequestThrottledExceptionRes = async (parsedOutput, context) => {
|
|
1064
|
+
const contents = smithyClient.map({});
|
|
1065
|
+
const data = parsedOutput.body;
|
|
1066
|
+
const doc = smithyClient.take(data, {
|
|
1067
|
+
message: smithyClient.expectString,
|
|
1068
|
+
});
|
|
1069
|
+
Object.assign(contents, doc);
|
|
1070
|
+
const exception = new RequestThrottledException({
|
|
1071
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1072
|
+
...contents,
|
|
1073
|
+
});
|
|
1074
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1075
|
+
};
|
|
1076
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1077
|
+
const contents = smithyClient.map({});
|
|
1078
|
+
const data = parsedOutput.body;
|
|
1079
|
+
const doc = smithyClient.take(data, {
|
|
1080
|
+
message: smithyClient.expectString,
|
|
1081
|
+
});
|
|
1082
|
+
Object.assign(contents, doc);
|
|
1083
|
+
const exception = new ResourceNotFoundException({
|
|
1084
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1085
|
+
...contents,
|
|
1086
|
+
});
|
|
1087
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1088
|
+
};
|
|
1089
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1090
|
+
const contents = smithyClient.map({});
|
|
1091
|
+
const data = parsedOutput.body;
|
|
1092
|
+
const doc = smithyClient.take(data, {
|
|
1093
|
+
message: smithyClient.expectString,
|
|
1094
|
+
});
|
|
1095
|
+
Object.assign(contents, doc);
|
|
1096
|
+
const exception = new ValidationException({
|
|
1097
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1098
|
+
...contents,
|
|
1099
|
+
});
|
|
1100
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1101
|
+
};
|
|
1102
|
+
const se_Configuration = (input, context) => {
|
|
1103
|
+
return smithyClient.take(input, {
|
|
1104
|
+
classification: [],
|
|
1105
|
+
configurations: (_) => se_ConfigurationList(_),
|
|
1106
|
+
properties: smithyClient._json,
|
|
1107
|
+
});
|
|
1108
|
+
};
|
|
1109
|
+
const se_ConfigurationList = (input, context) => {
|
|
1110
|
+
return input
|
|
1111
|
+
.filter((e) => e != null)
|
|
1112
|
+
.map((entry) => {
|
|
1113
|
+
return se_Configuration(entry);
|
|
1114
|
+
});
|
|
1115
|
+
};
|
|
1116
|
+
const se_ConfigurationOverrides = (input, context) => {
|
|
1117
|
+
return smithyClient.take(input, {
|
|
1118
|
+
applicationConfiguration: (_) => se_ConfigurationList(_),
|
|
1119
|
+
monitoringConfiguration: smithyClient._json,
|
|
1120
|
+
});
|
|
1121
|
+
};
|
|
1122
|
+
const se_JobTemplateData = (input, context) => {
|
|
1123
|
+
return smithyClient.take(input, {
|
|
1124
|
+
configurationOverrides: (_) => se_ParametricConfigurationOverrides(_),
|
|
1125
|
+
executionRoleArn: [],
|
|
1126
|
+
jobDriver: smithyClient._json,
|
|
1127
|
+
jobTags: smithyClient._json,
|
|
1128
|
+
parameterConfiguration: smithyClient._json,
|
|
1129
|
+
releaseLabel: [],
|
|
1130
|
+
});
|
|
1131
|
+
};
|
|
1132
|
+
const se_ParametricConfigurationOverrides = (input, context) => {
|
|
1133
|
+
return smithyClient.take(input, {
|
|
1134
|
+
applicationConfiguration: (_) => se_ConfigurationList(_),
|
|
1135
|
+
monitoringConfiguration: smithyClient._json,
|
|
1136
|
+
});
|
|
1137
|
+
};
|
|
1138
|
+
const de_Configuration = (output, context) => {
|
|
1139
|
+
return smithyClient.take(output, {
|
|
1140
|
+
classification: smithyClient.expectString,
|
|
1141
|
+
configurations: (_) => de_ConfigurationList(_),
|
|
1142
|
+
properties: smithyClient._json,
|
|
1143
|
+
});
|
|
1144
|
+
};
|
|
1145
|
+
const de_ConfigurationList = (output, context) => {
|
|
1146
|
+
const retVal = (output || [])
|
|
1147
|
+
.filter((e) => e != null)
|
|
1148
|
+
.map((entry) => {
|
|
1149
|
+
return de_Configuration(entry);
|
|
1150
|
+
});
|
|
1151
|
+
return retVal;
|
|
1152
|
+
};
|
|
1153
|
+
const de_ConfigurationOverrides = (output, context) => {
|
|
1154
|
+
return smithyClient.take(output, {
|
|
1155
|
+
applicationConfiguration: (_) => de_ConfigurationList(_),
|
|
1156
|
+
monitoringConfiguration: smithyClient._json,
|
|
1157
|
+
});
|
|
1158
|
+
};
|
|
1159
|
+
const de_Endpoint = (output, context) => {
|
|
1160
|
+
return smithyClient.take(output, {
|
|
1161
|
+
arn: smithyClient.expectString,
|
|
1162
|
+
certificateArn: smithyClient.expectString,
|
|
1163
|
+
certificateAuthority: smithyClient._json,
|
|
1164
|
+
configurationOverrides: (_) => de_ConfigurationOverrides(_),
|
|
1165
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1166
|
+
executionRoleArn: smithyClient.expectString,
|
|
1167
|
+
failureReason: smithyClient.expectString,
|
|
1168
|
+
id: smithyClient.expectString,
|
|
1169
|
+
name: smithyClient.expectString,
|
|
1170
|
+
releaseLabel: smithyClient.expectString,
|
|
1171
|
+
securityGroup: smithyClient.expectString,
|
|
1172
|
+
serverUrl: smithyClient.expectString,
|
|
1173
|
+
state: smithyClient.expectString,
|
|
1174
|
+
stateDetails: smithyClient.expectString,
|
|
1175
|
+
subnetIds: smithyClient._json,
|
|
1176
|
+
tags: smithyClient._json,
|
|
1177
|
+
type: smithyClient.expectString,
|
|
1178
|
+
virtualClusterId: smithyClient.expectString,
|
|
1179
|
+
});
|
|
1180
|
+
};
|
|
1181
|
+
const de_Endpoints = (output, context) => {
|
|
1182
|
+
const retVal = (output || [])
|
|
1183
|
+
.filter((e) => e != null)
|
|
1184
|
+
.map((entry) => {
|
|
1185
|
+
return de_Endpoint(entry);
|
|
1186
|
+
});
|
|
1187
|
+
return retVal;
|
|
1188
|
+
};
|
|
1189
|
+
const de_JobRun = (output, context) => {
|
|
1190
|
+
return smithyClient.take(output, {
|
|
1191
|
+
arn: smithyClient.expectString,
|
|
1192
|
+
clientToken: smithyClient.expectString,
|
|
1193
|
+
configurationOverrides: (_) => de_ConfigurationOverrides(_),
|
|
1194
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1195
|
+
createdBy: smithyClient.expectString,
|
|
1196
|
+
executionRoleArn: smithyClient.expectString,
|
|
1197
|
+
failureReason: smithyClient.expectString,
|
|
1198
|
+
finishedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1199
|
+
id: smithyClient.expectString,
|
|
1200
|
+
jobDriver: smithyClient._json,
|
|
1201
|
+
name: smithyClient.expectString,
|
|
1202
|
+
releaseLabel: smithyClient.expectString,
|
|
1203
|
+
retryPolicyConfiguration: smithyClient._json,
|
|
1204
|
+
retryPolicyExecution: smithyClient._json,
|
|
1205
|
+
state: smithyClient.expectString,
|
|
1206
|
+
stateDetails: smithyClient.expectString,
|
|
1207
|
+
tags: smithyClient._json,
|
|
1208
|
+
virtualClusterId: smithyClient.expectString,
|
|
1209
|
+
});
|
|
1210
|
+
};
|
|
1211
|
+
const de_JobRuns = (output, context) => {
|
|
1212
|
+
const retVal = (output || [])
|
|
1213
|
+
.filter((e) => e != null)
|
|
1214
|
+
.map((entry) => {
|
|
1215
|
+
return de_JobRun(entry);
|
|
1216
|
+
});
|
|
1217
|
+
return retVal;
|
|
1218
|
+
};
|
|
1219
|
+
const de_JobTemplate = (output, context) => {
|
|
1220
|
+
return smithyClient.take(output, {
|
|
1221
|
+
arn: smithyClient.expectString,
|
|
1222
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1223
|
+
createdBy: smithyClient.expectString,
|
|
1224
|
+
decryptionError: smithyClient.expectString,
|
|
1225
|
+
id: smithyClient.expectString,
|
|
1226
|
+
jobTemplateData: (_) => de_JobTemplateData(_),
|
|
1227
|
+
kmsKeyArn: smithyClient.expectString,
|
|
1228
|
+
name: smithyClient.expectString,
|
|
1229
|
+
tags: smithyClient._json,
|
|
1230
|
+
});
|
|
1231
|
+
};
|
|
1232
|
+
const de_JobTemplateData = (output, context) => {
|
|
1233
|
+
return smithyClient.take(output, {
|
|
1234
|
+
configurationOverrides: (_) => de_ParametricConfigurationOverrides(_),
|
|
1235
|
+
executionRoleArn: smithyClient.expectString,
|
|
1236
|
+
jobDriver: smithyClient._json,
|
|
1237
|
+
jobTags: smithyClient._json,
|
|
1238
|
+
parameterConfiguration: smithyClient._json,
|
|
1239
|
+
releaseLabel: smithyClient.expectString,
|
|
1240
|
+
});
|
|
1241
|
+
};
|
|
1242
|
+
const de_JobTemplates = (output, context) => {
|
|
1243
|
+
const retVal = (output || [])
|
|
1244
|
+
.filter((e) => e != null)
|
|
1245
|
+
.map((entry) => {
|
|
1246
|
+
return de_JobTemplate(entry);
|
|
1247
|
+
});
|
|
1248
|
+
return retVal;
|
|
1249
|
+
};
|
|
1250
|
+
const de_ParametricConfigurationOverrides = (output, context) => {
|
|
1251
|
+
return smithyClient.take(output, {
|
|
1252
|
+
applicationConfiguration: (_) => de_ConfigurationList(_),
|
|
1253
|
+
monitoringConfiguration: smithyClient._json,
|
|
1254
|
+
});
|
|
1255
|
+
};
|
|
1256
|
+
const de_SecurityConfiguration = (output, context) => {
|
|
1257
|
+
return smithyClient.take(output, {
|
|
1258
|
+
arn: smithyClient.expectString,
|
|
1259
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1260
|
+
createdBy: smithyClient.expectString,
|
|
1261
|
+
id: smithyClient.expectString,
|
|
1262
|
+
name: smithyClient.expectString,
|
|
1263
|
+
securityConfigurationData: smithyClient._json,
|
|
1264
|
+
tags: smithyClient._json,
|
|
1265
|
+
});
|
|
1266
|
+
};
|
|
1267
|
+
const de_SecurityConfigurations = (output, context) => {
|
|
1268
|
+
const retVal = (output || [])
|
|
1269
|
+
.filter((e) => e != null)
|
|
1270
|
+
.map((entry) => {
|
|
1271
|
+
return de_SecurityConfiguration(entry);
|
|
1272
|
+
});
|
|
1273
|
+
return retVal;
|
|
1274
|
+
};
|
|
1275
|
+
const de_VirtualCluster = (output, context) => {
|
|
1276
|
+
return smithyClient.take(output, {
|
|
1277
|
+
arn: smithyClient.expectString,
|
|
1278
|
+
containerProvider: smithyClient._json,
|
|
1279
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1280
|
+
id: smithyClient.expectString,
|
|
1281
|
+
name: smithyClient.expectString,
|
|
1282
|
+
securityConfigurationId: smithyClient.expectString,
|
|
1283
|
+
state: smithyClient.expectString,
|
|
1284
|
+
tags: smithyClient._json,
|
|
1285
|
+
});
|
|
1286
|
+
};
|
|
1287
|
+
const de_VirtualClusters = (output, context) => {
|
|
1288
|
+
const retVal = (output || [])
|
|
1289
|
+
.filter((e) => e != null)
|
|
1290
|
+
.map((entry) => {
|
|
1291
|
+
return de_VirtualCluster(entry);
|
|
1292
|
+
});
|
|
1293
|
+
return retVal;
|
|
1294
|
+
};
|
|
1295
|
+
const deserializeMetadata = (output) => ({
|
|
1296
|
+
httpStatusCode: output.statusCode,
|
|
1297
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1298
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1299
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1300
|
+
});
|
|
1301
|
+
const _cA = "createdAfter";
|
|
1302
|
+
const _cB = "createdBefore";
|
|
1303
|
+
const _cPI = "containerProviderId";
|
|
1304
|
+
const _cPT = "containerProviderType";
|
|
1305
|
+
const _eAEI = "eksAccessEntryIntegrated";
|
|
1306
|
+
const _mR = "maxResults";
|
|
1307
|
+
const _n = "name";
|
|
1308
|
+
const _nT = "nextToken";
|
|
1309
|
+
const _s = "states";
|
|
1310
|
+
const _t = "types";
|
|
1311
|
+
const _tK = "tagKeys";
|
|
1312
|
+
|
|
1313
|
+
class CancelJobRunCommand extends smithyClient.Command
|
|
1314
|
+
.classBuilder()
|
|
1315
|
+
.ep(commonParams)
|
|
1316
|
+
.m(function (Command, cs, config, o) {
|
|
1317
|
+
return [
|
|
1318
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1319
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1320
|
+
];
|
|
1321
|
+
})
|
|
1322
|
+
.s("AwsChicagoWebService", "CancelJobRun", {})
|
|
1323
|
+
.n("EMRContainersClient", "CancelJobRunCommand")
|
|
1324
|
+
.f(void 0, void 0)
|
|
1325
|
+
.ser(se_CancelJobRunCommand)
|
|
1326
|
+
.de(de_CancelJobRunCommand)
|
|
1327
|
+
.build() {
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
class CreateJobTemplateCommand extends smithyClient.Command
|
|
1331
|
+
.classBuilder()
|
|
1332
|
+
.ep(commonParams)
|
|
1333
|
+
.m(function (Command, cs, config, o) {
|
|
1334
|
+
return [
|
|
1335
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1336
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1337
|
+
];
|
|
1338
|
+
})
|
|
1339
|
+
.s("AwsChicagoWebService", "CreateJobTemplate", {})
|
|
1340
|
+
.n("EMRContainersClient", "CreateJobTemplateCommand")
|
|
1341
|
+
.f(CreateJobTemplateRequestFilterSensitiveLog, void 0)
|
|
1342
|
+
.ser(se_CreateJobTemplateCommand)
|
|
1343
|
+
.de(de_CreateJobTemplateCommand)
|
|
1344
|
+
.build() {
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
class CreateManagedEndpointCommand extends smithyClient.Command
|
|
1348
|
+
.classBuilder()
|
|
1349
|
+
.ep(commonParams)
|
|
1350
|
+
.m(function (Command, cs, config, o) {
|
|
1351
|
+
return [
|
|
1352
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1353
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1354
|
+
];
|
|
1355
|
+
})
|
|
1356
|
+
.s("AwsChicagoWebService", "CreateManagedEndpoint", {})
|
|
1357
|
+
.n("EMRContainersClient", "CreateManagedEndpointCommand")
|
|
1358
|
+
.f(CreateManagedEndpointRequestFilterSensitiveLog, void 0)
|
|
1359
|
+
.ser(se_CreateManagedEndpointCommand)
|
|
1360
|
+
.de(de_CreateManagedEndpointCommand)
|
|
1361
|
+
.build() {
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
class CreateSecurityConfigurationCommand extends smithyClient.Command
|
|
1365
|
+
.classBuilder()
|
|
1366
|
+
.ep(commonParams)
|
|
1367
|
+
.m(function (Command, cs, config, o) {
|
|
1368
|
+
return [
|
|
1369
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1370
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1371
|
+
];
|
|
1372
|
+
})
|
|
1373
|
+
.s("AwsChicagoWebService", "CreateSecurityConfiguration", {})
|
|
1374
|
+
.n("EMRContainersClient", "CreateSecurityConfigurationCommand")
|
|
1375
|
+
.f(void 0, void 0)
|
|
1376
|
+
.ser(se_CreateSecurityConfigurationCommand)
|
|
1377
|
+
.de(de_CreateSecurityConfigurationCommand)
|
|
1378
|
+
.build() {
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
class CreateVirtualClusterCommand extends smithyClient.Command
|
|
1382
|
+
.classBuilder()
|
|
1383
|
+
.ep(commonParams)
|
|
1384
|
+
.m(function (Command, cs, config, o) {
|
|
1385
|
+
return [
|
|
1386
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1387
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1388
|
+
];
|
|
1389
|
+
})
|
|
1390
|
+
.s("AwsChicagoWebService", "CreateVirtualCluster", {})
|
|
1391
|
+
.n("EMRContainersClient", "CreateVirtualClusterCommand")
|
|
1392
|
+
.f(void 0, void 0)
|
|
1393
|
+
.ser(se_CreateVirtualClusterCommand)
|
|
1394
|
+
.de(de_CreateVirtualClusterCommand)
|
|
1395
|
+
.build() {
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
class DeleteJobTemplateCommand extends smithyClient.Command
|
|
1399
|
+
.classBuilder()
|
|
1400
|
+
.ep(commonParams)
|
|
1401
|
+
.m(function (Command, cs, config, o) {
|
|
1402
|
+
return [
|
|
1403
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1404
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1405
|
+
];
|
|
1406
|
+
})
|
|
1407
|
+
.s("AwsChicagoWebService", "DeleteJobTemplate", {})
|
|
1408
|
+
.n("EMRContainersClient", "DeleteJobTemplateCommand")
|
|
1409
|
+
.f(void 0, void 0)
|
|
1410
|
+
.ser(se_DeleteJobTemplateCommand)
|
|
1411
|
+
.de(de_DeleteJobTemplateCommand)
|
|
1412
|
+
.build() {
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
class DeleteManagedEndpointCommand extends smithyClient.Command
|
|
1416
|
+
.classBuilder()
|
|
1417
|
+
.ep(commonParams)
|
|
1418
|
+
.m(function (Command, cs, config, o) {
|
|
1419
|
+
return [
|
|
1420
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1421
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1422
|
+
];
|
|
1423
|
+
})
|
|
1424
|
+
.s("AwsChicagoWebService", "DeleteManagedEndpoint", {})
|
|
1425
|
+
.n("EMRContainersClient", "DeleteManagedEndpointCommand")
|
|
1426
|
+
.f(void 0, void 0)
|
|
1427
|
+
.ser(se_DeleteManagedEndpointCommand)
|
|
1428
|
+
.de(de_DeleteManagedEndpointCommand)
|
|
1429
|
+
.build() {
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
class DeleteVirtualClusterCommand extends smithyClient.Command
|
|
1433
|
+
.classBuilder()
|
|
1434
|
+
.ep(commonParams)
|
|
1435
|
+
.m(function (Command, cs, config, o) {
|
|
1436
|
+
return [
|
|
1437
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1438
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1439
|
+
];
|
|
1440
|
+
})
|
|
1441
|
+
.s("AwsChicagoWebService", "DeleteVirtualCluster", {})
|
|
1442
|
+
.n("EMRContainersClient", "DeleteVirtualClusterCommand")
|
|
1443
|
+
.f(void 0, void 0)
|
|
1444
|
+
.ser(se_DeleteVirtualClusterCommand)
|
|
1445
|
+
.de(de_DeleteVirtualClusterCommand)
|
|
1446
|
+
.build() {
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
class DescribeJobRunCommand extends smithyClient.Command
|
|
1450
|
+
.classBuilder()
|
|
1451
|
+
.ep(commonParams)
|
|
1452
|
+
.m(function (Command, cs, config, o) {
|
|
1453
|
+
return [
|
|
1454
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1455
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1456
|
+
];
|
|
1457
|
+
})
|
|
1458
|
+
.s("AwsChicagoWebService", "DescribeJobRun", {})
|
|
1459
|
+
.n("EMRContainersClient", "DescribeJobRunCommand")
|
|
1460
|
+
.f(void 0, DescribeJobRunResponseFilterSensitiveLog)
|
|
1461
|
+
.ser(se_DescribeJobRunCommand)
|
|
1462
|
+
.de(de_DescribeJobRunCommand)
|
|
1463
|
+
.build() {
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
class DescribeJobTemplateCommand extends smithyClient.Command
|
|
1467
|
+
.classBuilder()
|
|
1468
|
+
.ep(commonParams)
|
|
1469
|
+
.m(function (Command, cs, config, o) {
|
|
1470
|
+
return [
|
|
1471
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1472
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1473
|
+
];
|
|
1474
|
+
})
|
|
1475
|
+
.s("AwsChicagoWebService", "DescribeJobTemplate", {})
|
|
1476
|
+
.n("EMRContainersClient", "DescribeJobTemplateCommand")
|
|
1477
|
+
.f(void 0, DescribeJobTemplateResponseFilterSensitiveLog)
|
|
1478
|
+
.ser(se_DescribeJobTemplateCommand)
|
|
1479
|
+
.de(de_DescribeJobTemplateCommand)
|
|
1480
|
+
.build() {
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
class DescribeManagedEndpointCommand extends smithyClient.Command
|
|
1484
|
+
.classBuilder()
|
|
1485
|
+
.ep(commonParams)
|
|
1486
|
+
.m(function (Command, cs, config, o) {
|
|
1487
|
+
return [
|
|
1488
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1489
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1490
|
+
];
|
|
1491
|
+
})
|
|
1492
|
+
.s("AwsChicagoWebService", "DescribeManagedEndpoint", {})
|
|
1493
|
+
.n("EMRContainersClient", "DescribeManagedEndpointCommand")
|
|
1494
|
+
.f(void 0, DescribeManagedEndpointResponseFilterSensitiveLog)
|
|
1495
|
+
.ser(se_DescribeManagedEndpointCommand)
|
|
1496
|
+
.de(de_DescribeManagedEndpointCommand)
|
|
1497
|
+
.build() {
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
class DescribeSecurityConfigurationCommand extends smithyClient.Command
|
|
1501
|
+
.classBuilder()
|
|
1502
|
+
.ep(commonParams)
|
|
1503
|
+
.m(function (Command, cs, config, o) {
|
|
1504
|
+
return [
|
|
1505
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1506
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1507
|
+
];
|
|
1508
|
+
})
|
|
1509
|
+
.s("AwsChicagoWebService", "DescribeSecurityConfiguration", {})
|
|
1510
|
+
.n("EMRContainersClient", "DescribeSecurityConfigurationCommand")
|
|
1511
|
+
.f(void 0, void 0)
|
|
1512
|
+
.ser(se_DescribeSecurityConfigurationCommand)
|
|
1513
|
+
.de(de_DescribeSecurityConfigurationCommand)
|
|
1514
|
+
.build() {
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
class DescribeVirtualClusterCommand extends smithyClient.Command
|
|
1518
|
+
.classBuilder()
|
|
1519
|
+
.ep(commonParams)
|
|
1520
|
+
.m(function (Command, cs, config, o) {
|
|
1521
|
+
return [
|
|
1522
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1523
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1524
|
+
];
|
|
1525
|
+
})
|
|
1526
|
+
.s("AwsChicagoWebService", "DescribeVirtualCluster", {})
|
|
1527
|
+
.n("EMRContainersClient", "DescribeVirtualClusterCommand")
|
|
1528
|
+
.f(void 0, void 0)
|
|
1529
|
+
.ser(se_DescribeVirtualClusterCommand)
|
|
1530
|
+
.de(de_DescribeVirtualClusterCommand)
|
|
1531
|
+
.build() {
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
class GetManagedEndpointSessionCredentialsCommand extends smithyClient.Command
|
|
1535
|
+
.classBuilder()
|
|
1536
|
+
.ep(commonParams)
|
|
1537
|
+
.m(function (Command, cs, config, o) {
|
|
1538
|
+
return [
|
|
1539
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1540
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1541
|
+
];
|
|
1542
|
+
})
|
|
1543
|
+
.s("AwsChicagoWebService", "GetManagedEndpointSessionCredentials", {})
|
|
1544
|
+
.n("EMRContainersClient", "GetManagedEndpointSessionCredentialsCommand")
|
|
1545
|
+
.f(void 0, GetManagedEndpointSessionCredentialsResponseFilterSensitiveLog)
|
|
1546
|
+
.ser(se_GetManagedEndpointSessionCredentialsCommand)
|
|
1547
|
+
.de(de_GetManagedEndpointSessionCredentialsCommand)
|
|
1548
|
+
.build() {
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
class ListJobRunsCommand extends smithyClient.Command
|
|
1552
|
+
.classBuilder()
|
|
1553
|
+
.ep(commonParams)
|
|
1554
|
+
.m(function (Command, cs, config, o) {
|
|
1555
|
+
return [
|
|
1556
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1557
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1558
|
+
];
|
|
1559
|
+
})
|
|
1560
|
+
.s("AwsChicagoWebService", "ListJobRuns", {})
|
|
1561
|
+
.n("EMRContainersClient", "ListJobRunsCommand")
|
|
1562
|
+
.f(void 0, ListJobRunsResponseFilterSensitiveLog)
|
|
1563
|
+
.ser(se_ListJobRunsCommand)
|
|
1564
|
+
.de(de_ListJobRunsCommand)
|
|
1565
|
+
.build() {
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
class ListJobTemplatesCommand extends smithyClient.Command
|
|
1569
|
+
.classBuilder()
|
|
1570
|
+
.ep(commonParams)
|
|
1571
|
+
.m(function (Command, cs, config, o) {
|
|
1572
|
+
return [
|
|
1573
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1574
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1575
|
+
];
|
|
1576
|
+
})
|
|
1577
|
+
.s("AwsChicagoWebService", "ListJobTemplates", {})
|
|
1578
|
+
.n("EMRContainersClient", "ListJobTemplatesCommand")
|
|
1579
|
+
.f(void 0, ListJobTemplatesResponseFilterSensitiveLog)
|
|
1580
|
+
.ser(se_ListJobTemplatesCommand)
|
|
1581
|
+
.de(de_ListJobTemplatesCommand)
|
|
1582
|
+
.build() {
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
class ListManagedEndpointsCommand extends smithyClient.Command
|
|
1586
|
+
.classBuilder()
|
|
1587
|
+
.ep(commonParams)
|
|
1588
|
+
.m(function (Command, cs, config, o) {
|
|
1589
|
+
return [
|
|
1590
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1591
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1592
|
+
];
|
|
1593
|
+
})
|
|
1594
|
+
.s("AwsChicagoWebService", "ListManagedEndpoints", {})
|
|
1595
|
+
.n("EMRContainersClient", "ListManagedEndpointsCommand")
|
|
1596
|
+
.f(void 0, ListManagedEndpointsResponseFilterSensitiveLog)
|
|
1597
|
+
.ser(se_ListManagedEndpointsCommand)
|
|
1598
|
+
.de(de_ListManagedEndpointsCommand)
|
|
1599
|
+
.build() {
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
class ListSecurityConfigurationsCommand extends smithyClient.Command
|
|
1603
|
+
.classBuilder()
|
|
1604
|
+
.ep(commonParams)
|
|
1605
|
+
.m(function (Command, cs, config, o) {
|
|
1606
|
+
return [
|
|
1607
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1608
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1609
|
+
];
|
|
1610
|
+
})
|
|
1611
|
+
.s("AwsChicagoWebService", "ListSecurityConfigurations", {})
|
|
1612
|
+
.n("EMRContainersClient", "ListSecurityConfigurationsCommand")
|
|
1613
|
+
.f(void 0, void 0)
|
|
1614
|
+
.ser(se_ListSecurityConfigurationsCommand)
|
|
1615
|
+
.de(de_ListSecurityConfigurationsCommand)
|
|
1616
|
+
.build() {
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1620
|
+
.classBuilder()
|
|
1621
|
+
.ep(commonParams)
|
|
1622
|
+
.m(function (Command, cs, config, o) {
|
|
1623
|
+
return [
|
|
1624
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1625
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1626
|
+
];
|
|
1627
|
+
})
|
|
1628
|
+
.s("AwsChicagoWebService", "ListTagsForResource", {})
|
|
1629
|
+
.n("EMRContainersClient", "ListTagsForResourceCommand")
|
|
1630
|
+
.f(void 0, void 0)
|
|
1631
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1632
|
+
.de(de_ListTagsForResourceCommand)
|
|
1633
|
+
.build() {
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
class ListVirtualClustersCommand extends smithyClient.Command
|
|
1637
|
+
.classBuilder()
|
|
1638
|
+
.ep(commonParams)
|
|
1639
|
+
.m(function (Command, cs, config, o) {
|
|
1640
|
+
return [
|
|
1641
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1642
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1643
|
+
];
|
|
1644
|
+
})
|
|
1645
|
+
.s("AwsChicagoWebService", "ListVirtualClusters", {})
|
|
1646
|
+
.n("EMRContainersClient", "ListVirtualClustersCommand")
|
|
1647
|
+
.f(void 0, void 0)
|
|
1648
|
+
.ser(se_ListVirtualClustersCommand)
|
|
1649
|
+
.de(de_ListVirtualClustersCommand)
|
|
1650
|
+
.build() {
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
class StartJobRunCommand extends smithyClient.Command
|
|
1654
|
+
.classBuilder()
|
|
1655
|
+
.ep(commonParams)
|
|
1656
|
+
.m(function (Command, cs, config, o) {
|
|
1657
|
+
return [
|
|
1658
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1659
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1660
|
+
];
|
|
1661
|
+
})
|
|
1662
|
+
.s("AwsChicagoWebService", "StartJobRun", {})
|
|
1663
|
+
.n("EMRContainersClient", "StartJobRunCommand")
|
|
1664
|
+
.f(StartJobRunRequestFilterSensitiveLog, void 0)
|
|
1665
|
+
.ser(se_StartJobRunCommand)
|
|
1666
|
+
.de(de_StartJobRunCommand)
|
|
1667
|
+
.build() {
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1671
|
+
.classBuilder()
|
|
1672
|
+
.ep(commonParams)
|
|
1673
|
+
.m(function (Command, cs, config, o) {
|
|
1674
|
+
return [
|
|
1675
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1676
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1677
|
+
];
|
|
1678
|
+
})
|
|
1679
|
+
.s("AwsChicagoWebService", "TagResource", {})
|
|
1680
|
+
.n("EMRContainersClient", "TagResourceCommand")
|
|
1681
|
+
.f(void 0, void 0)
|
|
1682
|
+
.ser(se_TagResourceCommand)
|
|
1683
|
+
.de(de_TagResourceCommand)
|
|
1684
|
+
.build() {
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1688
|
+
.classBuilder()
|
|
1689
|
+
.ep(commonParams)
|
|
1690
|
+
.m(function (Command, cs, config, o) {
|
|
1691
|
+
return [
|
|
1692
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1693
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1694
|
+
];
|
|
1695
|
+
})
|
|
1696
|
+
.s("AwsChicagoWebService", "UntagResource", {})
|
|
1697
|
+
.n("EMRContainersClient", "UntagResourceCommand")
|
|
1698
|
+
.f(void 0, void 0)
|
|
1699
|
+
.ser(se_UntagResourceCommand)
|
|
1700
|
+
.de(de_UntagResourceCommand)
|
|
1701
|
+
.build() {
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
const commands = {
|
|
1705
|
+
CancelJobRunCommand,
|
|
1706
|
+
CreateJobTemplateCommand,
|
|
1707
|
+
CreateManagedEndpointCommand,
|
|
1708
|
+
CreateSecurityConfigurationCommand,
|
|
1709
|
+
CreateVirtualClusterCommand,
|
|
1710
|
+
DeleteJobTemplateCommand,
|
|
1711
|
+
DeleteManagedEndpointCommand,
|
|
1712
|
+
DeleteVirtualClusterCommand,
|
|
1713
|
+
DescribeJobRunCommand,
|
|
1714
|
+
DescribeJobTemplateCommand,
|
|
1715
|
+
DescribeManagedEndpointCommand,
|
|
1716
|
+
DescribeSecurityConfigurationCommand,
|
|
1717
|
+
DescribeVirtualClusterCommand,
|
|
1718
|
+
GetManagedEndpointSessionCredentialsCommand,
|
|
1719
|
+
ListJobRunsCommand,
|
|
1720
|
+
ListJobTemplatesCommand,
|
|
1721
|
+
ListManagedEndpointsCommand,
|
|
1722
|
+
ListSecurityConfigurationsCommand,
|
|
1723
|
+
ListTagsForResourceCommand,
|
|
1724
|
+
ListVirtualClustersCommand,
|
|
1725
|
+
StartJobRunCommand,
|
|
1726
|
+
TagResourceCommand,
|
|
1727
|
+
UntagResourceCommand,
|
|
1728
|
+
};
|
|
1729
|
+
class EMRContainers extends EMRContainersClient {
|
|
1730
|
+
}
|
|
1731
|
+
smithyClient.createAggregatedClient(commands, EMRContainers);
|
|
1828
1732
|
|
|
1829
|
-
|
|
1830
|
-
var commands = {
|
|
1831
|
-
CancelJobRunCommand,
|
|
1832
|
-
CreateJobTemplateCommand,
|
|
1833
|
-
CreateManagedEndpointCommand,
|
|
1834
|
-
CreateSecurityConfigurationCommand,
|
|
1835
|
-
CreateVirtualClusterCommand,
|
|
1836
|
-
DeleteJobTemplateCommand,
|
|
1837
|
-
DeleteManagedEndpointCommand,
|
|
1838
|
-
DeleteVirtualClusterCommand,
|
|
1839
|
-
DescribeJobRunCommand,
|
|
1840
|
-
DescribeJobTemplateCommand,
|
|
1841
|
-
DescribeManagedEndpointCommand,
|
|
1842
|
-
DescribeSecurityConfigurationCommand,
|
|
1843
|
-
DescribeVirtualClusterCommand,
|
|
1844
|
-
GetManagedEndpointSessionCredentialsCommand,
|
|
1845
|
-
ListJobRunsCommand,
|
|
1846
|
-
ListJobTemplatesCommand,
|
|
1847
|
-
ListManagedEndpointsCommand,
|
|
1848
|
-
ListSecurityConfigurationsCommand,
|
|
1849
|
-
ListTagsForResourceCommand,
|
|
1850
|
-
ListVirtualClustersCommand,
|
|
1851
|
-
StartJobRunCommand,
|
|
1852
|
-
TagResourceCommand,
|
|
1853
|
-
UntagResourceCommand
|
|
1854
|
-
};
|
|
1855
|
-
var EMRContainers = class extends EMRContainersClient {
|
|
1856
|
-
static {
|
|
1857
|
-
__name(this, "EMRContainers");
|
|
1858
|
-
}
|
|
1859
|
-
};
|
|
1860
|
-
(0, import_smithy_client.createAggregatedClient)(commands, EMRContainers);
|
|
1861
|
-
|
|
1862
|
-
// src/pagination/ListJobRunsPaginator.ts
|
|
1863
|
-
|
|
1864
|
-
var paginateListJobRuns = (0, import_core.createPaginator)(EMRContainersClient, ListJobRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
1865
|
-
|
|
1866
|
-
// src/pagination/ListJobTemplatesPaginator.ts
|
|
1867
|
-
|
|
1868
|
-
var paginateListJobTemplates = (0, import_core.createPaginator)(EMRContainersClient, ListJobTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
1869
|
-
|
|
1870
|
-
// src/pagination/ListManagedEndpointsPaginator.ts
|
|
1871
|
-
|
|
1872
|
-
var paginateListManagedEndpoints = (0, import_core.createPaginator)(EMRContainersClient, ListManagedEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
1733
|
+
const paginateListJobRuns = core.createPaginator(EMRContainersClient, ListJobRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
1873
1734
|
|
|
1874
|
-
|
|
1735
|
+
const paginateListJobTemplates = core.createPaginator(EMRContainersClient, ListJobTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
1875
1736
|
|
|
1876
|
-
|
|
1737
|
+
const paginateListManagedEndpoints = core.createPaginator(EMRContainersClient, ListManagedEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
1877
1738
|
|
|
1878
|
-
|
|
1739
|
+
const paginateListSecurityConfigurations = core.createPaginator(EMRContainersClient, ListSecurityConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1879
1740
|
|
|
1880
|
-
|
|
1881
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1741
|
+
const paginateListVirtualClusters = core.createPaginator(EMRContainersClient, ListVirtualClustersCommand, "nextToken", "nextToken", "maxResults");
|
|
1882
1742
|
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
EMRContainersClient,
|
|
1887
|
-
EMRContainers,
|
|
1888
|
-
$Command,
|
|
1889
|
-
CancelJobRunCommand,
|
|
1890
|
-
CreateJobTemplateCommand,
|
|
1891
|
-
CreateManagedEndpointCommand,
|
|
1892
|
-
CreateSecurityConfigurationCommand,
|
|
1893
|
-
CreateVirtualClusterCommand,
|
|
1894
|
-
DeleteJobTemplateCommand,
|
|
1895
|
-
DeleteManagedEndpointCommand,
|
|
1896
|
-
DeleteVirtualClusterCommand,
|
|
1897
|
-
DescribeJobRunCommand,
|
|
1898
|
-
DescribeJobTemplateCommand,
|
|
1899
|
-
DescribeManagedEndpointCommand,
|
|
1900
|
-
DescribeSecurityConfigurationCommand,
|
|
1901
|
-
DescribeVirtualClusterCommand,
|
|
1902
|
-
GetManagedEndpointSessionCredentialsCommand,
|
|
1903
|
-
ListJobRunsCommand,
|
|
1904
|
-
ListJobTemplatesCommand,
|
|
1905
|
-
ListManagedEndpointsCommand,
|
|
1906
|
-
ListSecurityConfigurationsCommand,
|
|
1907
|
-
ListTagsForResourceCommand,
|
|
1908
|
-
ListVirtualClustersCommand,
|
|
1909
|
-
StartJobRunCommand,
|
|
1910
|
-
TagResourceCommand,
|
|
1911
|
-
UntagResourceCommand,
|
|
1912
|
-
paginateListJobRuns,
|
|
1913
|
-
paginateListJobTemplates,
|
|
1914
|
-
paginateListManagedEndpoints,
|
|
1915
|
-
paginateListSecurityConfigurations,
|
|
1916
|
-
paginateListVirtualClusters,
|
|
1917
|
-
AllowAWSToRetainLogs,
|
|
1918
|
-
CertificateProviderType,
|
|
1919
|
-
InternalServerException,
|
|
1920
|
-
ValidationException,
|
|
1921
|
-
TemplateParameterDataType,
|
|
1922
|
-
ResourceNotFoundException,
|
|
1923
|
-
PersistentAppUI,
|
|
1924
|
-
ContainerInfo,
|
|
1925
|
-
ContainerProviderType,
|
|
1926
|
-
EKSRequestThrottledException,
|
|
1927
|
-
FailureReason,
|
|
1928
|
-
JobRunState,
|
|
1929
|
-
EndpointState,
|
|
1930
|
-
VirtualClusterState,
|
|
1931
|
-
Credentials,
|
|
1932
|
-
RequestThrottledException,
|
|
1933
|
-
SparkSqlJobDriverFilterSensitiveLog,
|
|
1934
|
-
SparkSubmitJobDriverFilterSensitiveLog,
|
|
1935
|
-
JobDriverFilterSensitiveLog,
|
|
1936
|
-
CredentialsFilterSensitiveLog,
|
|
1937
|
-
GetManagedEndpointSessionCredentialsResponseFilterSensitiveLog,
|
|
1938
|
-
ConfigurationFilterSensitiveLog,
|
|
1939
|
-
ConfigurationOverridesFilterSensitiveLog,
|
|
1940
|
-
ParametricConfigurationOverridesFilterSensitiveLog,
|
|
1941
|
-
CreateManagedEndpointRequestFilterSensitiveLog,
|
|
1942
|
-
EndpointFilterSensitiveLog,
|
|
1943
|
-
JobRunFilterSensitiveLog,
|
|
1944
|
-
JobTemplateDataFilterSensitiveLog,
|
|
1945
|
-
StartJobRunRequestFilterSensitiveLog,
|
|
1946
|
-
CreateJobTemplateRequestFilterSensitiveLog,
|
|
1947
|
-
DescribeJobRunResponseFilterSensitiveLog,
|
|
1948
|
-
DescribeManagedEndpointResponseFilterSensitiveLog,
|
|
1949
|
-
JobTemplateFilterSensitiveLog,
|
|
1950
|
-
DescribeJobTemplateResponseFilterSensitiveLog,
|
|
1951
|
-
ListJobRunsResponseFilterSensitiveLog,
|
|
1952
|
-
ListManagedEndpointsResponseFilterSensitiveLog,
|
|
1953
|
-
ListJobTemplatesResponseFilterSensitiveLog
|
|
1743
|
+
Object.defineProperty(exports, "$Command", {
|
|
1744
|
+
enumerable: true,
|
|
1745
|
+
get: function () { return smithyClient.Command; }
|
|
1954
1746
|
});
|
|
1955
|
-
|
|
1747
|
+
Object.defineProperty(exports, "__Client", {
|
|
1748
|
+
enumerable: true,
|
|
1749
|
+
get: function () { return smithyClient.Client; }
|
|
1750
|
+
});
|
|
1751
|
+
exports.AllowAWSToRetainLogs = AllowAWSToRetainLogs;
|
|
1752
|
+
exports.CancelJobRunCommand = CancelJobRunCommand;
|
|
1753
|
+
exports.CertificateProviderType = CertificateProviderType;
|
|
1754
|
+
exports.ConfigurationFilterSensitiveLog = ConfigurationFilterSensitiveLog;
|
|
1755
|
+
exports.ConfigurationOverridesFilterSensitiveLog = ConfigurationOverridesFilterSensitiveLog;
|
|
1756
|
+
exports.ContainerProviderType = ContainerProviderType;
|
|
1757
|
+
exports.CreateJobTemplateCommand = CreateJobTemplateCommand;
|
|
1758
|
+
exports.CreateJobTemplateRequestFilterSensitiveLog = CreateJobTemplateRequestFilterSensitiveLog;
|
|
1759
|
+
exports.CreateManagedEndpointCommand = CreateManagedEndpointCommand;
|
|
1760
|
+
exports.CreateManagedEndpointRequestFilterSensitiveLog = CreateManagedEndpointRequestFilterSensitiveLog;
|
|
1761
|
+
exports.CreateSecurityConfigurationCommand = CreateSecurityConfigurationCommand;
|
|
1762
|
+
exports.CreateVirtualClusterCommand = CreateVirtualClusterCommand;
|
|
1763
|
+
exports.CredentialsFilterSensitiveLog = CredentialsFilterSensitiveLog;
|
|
1764
|
+
exports.DeleteJobTemplateCommand = DeleteJobTemplateCommand;
|
|
1765
|
+
exports.DeleteManagedEndpointCommand = DeleteManagedEndpointCommand;
|
|
1766
|
+
exports.DeleteVirtualClusterCommand = DeleteVirtualClusterCommand;
|
|
1767
|
+
exports.DescribeJobRunCommand = DescribeJobRunCommand;
|
|
1768
|
+
exports.DescribeJobRunResponseFilterSensitiveLog = DescribeJobRunResponseFilterSensitiveLog;
|
|
1769
|
+
exports.DescribeJobTemplateCommand = DescribeJobTemplateCommand;
|
|
1770
|
+
exports.DescribeJobTemplateResponseFilterSensitiveLog = DescribeJobTemplateResponseFilterSensitiveLog;
|
|
1771
|
+
exports.DescribeManagedEndpointCommand = DescribeManagedEndpointCommand;
|
|
1772
|
+
exports.DescribeManagedEndpointResponseFilterSensitiveLog = DescribeManagedEndpointResponseFilterSensitiveLog;
|
|
1773
|
+
exports.DescribeSecurityConfigurationCommand = DescribeSecurityConfigurationCommand;
|
|
1774
|
+
exports.DescribeVirtualClusterCommand = DescribeVirtualClusterCommand;
|
|
1775
|
+
exports.EKSRequestThrottledException = EKSRequestThrottledException;
|
|
1776
|
+
exports.EMRContainers = EMRContainers;
|
|
1777
|
+
exports.EMRContainersClient = EMRContainersClient;
|
|
1778
|
+
exports.EMRContainersServiceException = EMRContainersServiceException;
|
|
1779
|
+
exports.EndpointFilterSensitiveLog = EndpointFilterSensitiveLog;
|
|
1780
|
+
exports.EndpointState = EndpointState;
|
|
1781
|
+
exports.FailureReason = FailureReason;
|
|
1782
|
+
exports.GetManagedEndpointSessionCredentialsCommand = GetManagedEndpointSessionCredentialsCommand;
|
|
1783
|
+
exports.GetManagedEndpointSessionCredentialsResponseFilterSensitiveLog = GetManagedEndpointSessionCredentialsResponseFilterSensitiveLog;
|
|
1784
|
+
exports.InternalServerException = InternalServerException;
|
|
1785
|
+
exports.JobDriverFilterSensitiveLog = JobDriverFilterSensitiveLog;
|
|
1786
|
+
exports.JobRunFilterSensitiveLog = JobRunFilterSensitiveLog;
|
|
1787
|
+
exports.JobRunState = JobRunState;
|
|
1788
|
+
exports.JobTemplateDataFilterSensitiveLog = JobTemplateDataFilterSensitiveLog;
|
|
1789
|
+
exports.JobTemplateFilterSensitiveLog = JobTemplateFilterSensitiveLog;
|
|
1790
|
+
exports.ListJobRunsCommand = ListJobRunsCommand;
|
|
1791
|
+
exports.ListJobRunsResponseFilterSensitiveLog = ListJobRunsResponseFilterSensitiveLog;
|
|
1792
|
+
exports.ListJobTemplatesCommand = ListJobTemplatesCommand;
|
|
1793
|
+
exports.ListJobTemplatesResponseFilterSensitiveLog = ListJobTemplatesResponseFilterSensitiveLog;
|
|
1794
|
+
exports.ListManagedEndpointsCommand = ListManagedEndpointsCommand;
|
|
1795
|
+
exports.ListManagedEndpointsResponseFilterSensitiveLog = ListManagedEndpointsResponseFilterSensitiveLog;
|
|
1796
|
+
exports.ListSecurityConfigurationsCommand = ListSecurityConfigurationsCommand;
|
|
1797
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1798
|
+
exports.ListVirtualClustersCommand = ListVirtualClustersCommand;
|
|
1799
|
+
exports.ParametricConfigurationOverridesFilterSensitiveLog = ParametricConfigurationOverridesFilterSensitiveLog;
|
|
1800
|
+
exports.PersistentAppUI = PersistentAppUI;
|
|
1801
|
+
exports.RequestThrottledException = RequestThrottledException;
|
|
1802
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1803
|
+
exports.SparkSqlJobDriverFilterSensitiveLog = SparkSqlJobDriverFilterSensitiveLog;
|
|
1804
|
+
exports.SparkSubmitJobDriverFilterSensitiveLog = SparkSubmitJobDriverFilterSensitiveLog;
|
|
1805
|
+
exports.StartJobRunCommand = StartJobRunCommand;
|
|
1806
|
+
exports.StartJobRunRequestFilterSensitiveLog = StartJobRunRequestFilterSensitiveLog;
|
|
1807
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1808
|
+
exports.TemplateParameterDataType = TemplateParameterDataType;
|
|
1809
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1810
|
+
exports.ValidationException = ValidationException;
|
|
1811
|
+
exports.VirtualClusterState = VirtualClusterState;
|
|
1812
|
+
exports.paginateListJobRuns = paginateListJobRuns;
|
|
1813
|
+
exports.paginateListJobTemplates = paginateListJobTemplates;
|
|
1814
|
+
exports.paginateListManagedEndpoints = paginateListManagedEndpoints;
|
|
1815
|
+
exports.paginateListSecurityConfigurations = paginateListSecurityConfigurations;
|
|
1816
|
+
exports.paginateListVirtualClusters = paginateListVirtualClusters;
|