@aws-sdk/client-emr-containers 3.180.0 → 3.183.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +21 -15
  3. package/dist-es/EMRContainers.js +62 -69
  4. package/dist-es/EMRContainersClient.js +22 -28
  5. package/dist-es/commands/CancelJobRunCommand.js +21 -28
  6. package/dist-es/commands/CreateManagedEndpointCommand.js +21 -28
  7. package/dist-es/commands/CreateVirtualClusterCommand.js +21 -28
  8. package/dist-es/commands/DeleteManagedEndpointCommand.js +21 -28
  9. package/dist-es/commands/DeleteVirtualClusterCommand.js +21 -28
  10. package/dist-es/commands/DescribeJobRunCommand.js +21 -28
  11. package/dist-es/commands/DescribeManagedEndpointCommand.js +21 -28
  12. package/dist-es/commands/DescribeVirtualClusterCommand.js +21 -28
  13. package/dist-es/commands/ListJobRunsCommand.js +21 -28
  14. package/dist-es/commands/ListManagedEndpointsCommand.js +21 -28
  15. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  16. package/dist-es/commands/ListVirtualClustersCommand.js +21 -28
  17. package/dist-es/commands/StartJobRunCommand.js +21 -28
  18. package/dist-es/commands/TagResourceCommand.js +21 -28
  19. package/dist-es/commands/UntagResourceCommand.js +21 -28
  20. package/dist-es/endpoints.js +8 -8
  21. package/dist-es/models/EMRContainersServiceException.js +5 -10
  22. package/dist-es/models/models_0.js +208 -98
  23. package/dist-es/pagination/ListJobRunsPaginator.js +25 -68
  24. package/dist-es/pagination/ListManagedEndpointsPaginator.js +25 -68
  25. package/dist-es/pagination/ListVirtualClustersPaginator.js +25 -68
  26. package/dist-es/protocols/Aws_restJson1.js +1113 -1517
  27. package/dist-es/runtimeConfig.browser.js +26 -12
  28. package/dist-es/runtimeConfig.js +30 -12
  29. package/dist-es/runtimeConfig.native.js +8 -5
  30. package/dist-es/runtimeConfig.shared.js +8 -11
  31. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { StartJobRunRequestFilterSensitiveLog, StartJobRunResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1StartJobRunCommand, serializeAws_restJson1StartJobRunCommand, } from "../protocols/Aws_restJson1";
6
- var StartJobRunCommand = (function (_super) {
7
- __extends(StartJobRunCommand, _super);
8
- function StartJobRunCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartJobRunCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartJobRunCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "EMRContainersClient";
18
- var commandName = "StartJobRunCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EMRContainersClient";
15
+ const commandName = "StartJobRunCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartJobRunRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartJobRunResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartJobRunCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1StartJobRunCommand(input, context);
33
- };
34
- StartJobRunCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StartJobRunCommand(output, context);
36
- };
37
- return StartJobRunCommand;
38
- }($Command));
39
- export { StartJobRunCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
- var TagResourceCommand = (function (_super) {
7
- __extends(TagResourceCommand, _super);
8
- function TagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "EMRContainersClient";
18
- var commandName = "TagResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EMRContainersClient";
15
+ const commandName = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TagResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
- var UntagResourceCommand = (function (_super) {
7
- __extends(UntagResourceCommand, _super);
8
- function UntagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "EMRContainersClient";
18
- var commandName = "UntagResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "EMRContainersClient";
15
+ const commandName = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UntagResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
31
+ }
32
+ }
@@ -1,6 +1,5 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {
2
+ const regionHash = {
4
3
  "ca-central-1": {
5
4
  variants: [
6
5
  {
@@ -42,7 +41,7 @@ var regionHash = {
42
41
  ],
43
42
  },
44
43
  };
45
- var partitionHash = {
44
+ const partitionHash = {
46
45
  aws: {
47
46
  regions: [
48
47
  "af-south-1",
@@ -167,8 +166,9 @@ var partitionHash = {
167
166
  ],
168
167
  },
169
168
  };
170
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
171
- return __generator(this, function (_a) {
172
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "emr-containers", regionHash: regionHash, partitionHash: partitionHash }))];
173
- });
174
- }); };
169
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
170
+ ...options,
171
+ signingService: "emr-containers",
172
+ regionHash,
173
+ partitionHash,
174
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var EMRContainersServiceException = (function (_super) {
4
- __extends(EMRContainersServiceException, _super);
5
- function EMRContainersServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, EMRContainersServiceException.prototype);
8
- return _this;
2
+ export class EMRContainersServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, EMRContainersServiceException.prototype);
9
6
  }
10
- return EMRContainersServiceException;
11
- }(__ServiceException));
12
- export { EMRContainersServiceException };
7
+ }
@@ -1,50 +1,49 @@
1
- import { __assign, __extends } from "tslib";
2
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
2
  import { EMRContainersServiceException as __BaseException } from "./EMRContainersServiceException";
4
- var InternalServerException = (function (_super) {
5
- __extends(InternalServerException, _super);
6
- function InternalServerException(opts) {
7
- var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
8
- _this.name = "InternalServerException";
9
- _this.$fault = "server";
10
- Object.setPrototypeOf(_this, InternalServerException.prototype);
11
- return _this;
3
+ export class InternalServerException extends __BaseException {
4
+ constructor(opts) {
5
+ super({
6
+ name: "InternalServerException",
7
+ $fault: "server",
8
+ ...opts,
9
+ });
10
+ this.name = "InternalServerException";
11
+ this.$fault = "server";
12
+ Object.setPrototypeOf(this, InternalServerException.prototype);
12
13
  }
13
- return InternalServerException;
14
- }(__BaseException));
15
- export { InternalServerException };
16
- var ValidationException = (function (_super) {
17
- __extends(ValidationException, _super);
18
- function ValidationException(opts) {
19
- var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
20
- _this.name = "ValidationException";
21
- _this.$fault = "client";
22
- Object.setPrototypeOf(_this, ValidationException.prototype);
23
- return _this;
14
+ }
15
+ export class ValidationException extends __BaseException {
16
+ constructor(opts) {
17
+ super({
18
+ name: "ValidationException",
19
+ $fault: "client",
20
+ ...opts,
21
+ });
22
+ this.name = "ValidationException";
23
+ this.$fault = "client";
24
+ Object.setPrototypeOf(this, ValidationException.prototype);
24
25
  }
25
- return ValidationException;
26
- }(__BaseException));
27
- export { ValidationException };
26
+ }
28
27
  export var PersistentAppUI;
29
28
  (function (PersistentAppUI) {
30
29
  PersistentAppUI["DISABLED"] = "DISABLED";
31
30
  PersistentAppUI["ENABLED"] = "ENABLED";
32
31
  })(PersistentAppUI || (PersistentAppUI = {}));
33
- var ResourceNotFoundException = (function (_super) {
34
- __extends(ResourceNotFoundException, _super);
35
- function ResourceNotFoundException(opts) {
36
- var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
37
- _this.name = "ResourceNotFoundException";
38
- _this.$fault = "client";
39
- Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
40
- return _this;
32
+ export class ResourceNotFoundException extends __BaseException {
33
+ constructor(opts) {
34
+ super({
35
+ name: "ResourceNotFoundException",
36
+ $fault: "client",
37
+ ...opts,
38
+ });
39
+ this.name = "ResourceNotFoundException";
40
+ this.$fault = "client";
41
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
41
42
  }
42
- return ResourceNotFoundException;
43
- }(__BaseException));
44
- export { ResourceNotFoundException };
43
+ }
45
44
  export var ContainerInfo;
46
45
  (function (ContainerInfo) {
47
- ContainerInfo.visit = function (value, visitor) {
46
+ ContainerInfo.visit = (value, visitor) => {
48
47
  if (value.eksInfo !== undefined)
49
48
  return visitor.eksInfo(value.eksInfo);
50
49
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -86,70 +85,181 @@ export var VirtualClusterState;
86
85
  VirtualClusterState["TERMINATED"] = "TERMINATED";
87
86
  VirtualClusterState["TERMINATING"] = "TERMINATING";
88
87
  })(VirtualClusterState || (VirtualClusterState = {}));
89
- export var CancelJobRunRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
90
- export var CancelJobRunResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
91
- export var CloudWatchMonitoringConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
92
- export var S3MonitoringConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
93
- export var MonitoringConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
94
- export var CreateManagedEndpointResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
95
- export var EksInfoFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
96
- export var ContainerInfoFilterSensitiveLog = function (obj) {
97
- var _a;
88
+ export const CancelJobRunRequestFilterSensitiveLog = (obj) => ({
89
+ ...obj,
90
+ });
91
+ export const CancelJobRunResponseFilterSensitiveLog = (obj) => ({
92
+ ...obj,
93
+ });
94
+ export const CloudWatchMonitoringConfigurationFilterSensitiveLog = (obj) => ({
95
+ ...obj,
96
+ });
97
+ export const S3MonitoringConfigurationFilterSensitiveLog = (obj) => ({
98
+ ...obj,
99
+ });
100
+ export const MonitoringConfigurationFilterSensitiveLog = (obj) => ({
101
+ ...obj,
102
+ });
103
+ export const CreateManagedEndpointResponseFilterSensitiveLog = (obj) => ({
104
+ ...obj,
105
+ });
106
+ export const EksInfoFilterSensitiveLog = (obj) => ({
107
+ ...obj,
108
+ });
109
+ export const ContainerInfoFilterSensitiveLog = (obj) => {
98
110
  if (obj.eksInfo !== undefined)
99
111
  return { eksInfo: EksInfoFilterSensitiveLog(obj.eksInfo) };
100
112
  if (obj.$unknown !== undefined)
101
- return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
113
+ return { [obj.$unknown[0]]: "UNKNOWN" };
102
114
  };
103
- export var ContainerProviderFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.info && { info: ContainerInfoFilterSensitiveLog(obj.info) }))); };
104
- export var CreateVirtualClusterRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.containerProvider && { containerProvider: ContainerProviderFilterSensitiveLog(obj.containerProvider) }))); };
105
- export var CreateVirtualClusterResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
106
- export var DeleteManagedEndpointRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
107
- export var DeleteManagedEndpointResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
108
- export var DeleteVirtualClusterRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
- export var DeleteVirtualClusterResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
110
- export var DescribeJobRunRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
111
- export var SparkSqlJobDriverFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.entryPoint && { entryPoint: SENSITIVE_STRING })), (obj.sparkSqlParameters && { sparkSqlParameters: SENSITIVE_STRING }))); };
112
- export var SparkSubmitJobDriverFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.entryPoint && { entryPoint: SENSITIVE_STRING })), (obj.entryPointArguments && { entryPointArguments: SENSITIVE_STRING })), (obj.sparkSubmitParameters && { sparkSubmitParameters: SENSITIVE_STRING }))); };
113
- export var JobDriverFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.sparkSubmitJobDriver && {
114
- sparkSubmitJobDriver: SparkSubmitJobDriverFilterSensitiveLog(obj.sparkSubmitJobDriver),
115
- })), (obj.sparkSqlJobDriver && { sparkSqlJobDriver: SparkSqlJobDriverFilterSensitiveLog(obj.sparkSqlJobDriver) }))); };
116
- export var DescribeManagedEndpointRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
117
- export var CertificateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
118
- export var DescribeVirtualClusterRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
119
- export var VirtualClusterFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.containerProvider && { containerProvider: ContainerProviderFilterSensitiveLog(obj.containerProvider) }))); };
120
- export var DescribeVirtualClusterResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.virtualCluster && { virtualCluster: VirtualClusterFilterSensitiveLog(obj.virtualCluster) }))); };
121
- export var ListJobRunsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
122
- export var ListManagedEndpointsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
123
- export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
124
- export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
125
- export var ListVirtualClustersRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
126
- export var ListVirtualClustersResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.virtualClusters && {
127
- virtualClusters: obj.virtualClusters.map(function (item) { return VirtualClusterFilterSensitiveLog(item); }),
128
- }))); };
129
- export var StartJobRunResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
130
- export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
131
- export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
132
- export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
133
- export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
134
- export var ConfigurationFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.properties && { properties: SENSITIVE_STRING })), (obj.configurations && {
135
- configurations: obj.configurations.map(function (item) { return ConfigurationFilterSensitiveLog(item); }),
136
- }))); };
137
- export var ConfigurationOverridesFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.applicationConfiguration && {
138
- applicationConfiguration: obj.applicationConfiguration.map(function (item) { return ConfigurationFilterSensitiveLog(item); }),
139
- }))); };
140
- export var CreateManagedEndpointRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.configurationOverrides && {
141
- configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
142
- }))); };
143
- export var EndpointFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.configurationOverrides && {
144
- configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
145
- }))); };
146
- export var JobRunFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.configurationOverrides && {
147
- configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
148
- })), (obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }))); };
149
- export var StartJobRunRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) })), (obj.configurationOverrides && {
150
- configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
151
- }))); };
152
- export var DescribeJobRunResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.jobRun && { jobRun: JobRunFilterSensitiveLog(obj.jobRun) }))); };
153
- export var DescribeManagedEndpointResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.endpoint && { endpoint: EndpointFilterSensitiveLog(obj.endpoint) }))); };
154
- export var ListJobRunsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.jobRuns && { jobRuns: obj.jobRuns.map(function (item) { return JobRunFilterSensitiveLog(item); }) }))); };
155
- export var ListManagedEndpointsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
115
+ export const ContainerProviderFilterSensitiveLog = (obj) => ({
116
+ ...obj,
117
+ ...(obj.info && { info: ContainerInfoFilterSensitiveLog(obj.info) }),
118
+ });
119
+ export const CreateVirtualClusterRequestFilterSensitiveLog = (obj) => ({
120
+ ...obj,
121
+ ...(obj.containerProvider && { containerProvider: ContainerProviderFilterSensitiveLog(obj.containerProvider) }),
122
+ });
123
+ export const CreateVirtualClusterResponseFilterSensitiveLog = (obj) => ({
124
+ ...obj,
125
+ });
126
+ export const DeleteManagedEndpointRequestFilterSensitiveLog = (obj) => ({
127
+ ...obj,
128
+ });
129
+ export const DeleteManagedEndpointResponseFilterSensitiveLog = (obj) => ({
130
+ ...obj,
131
+ });
132
+ export const DeleteVirtualClusterRequestFilterSensitiveLog = (obj) => ({
133
+ ...obj,
134
+ });
135
+ export const DeleteVirtualClusterResponseFilterSensitiveLog = (obj) => ({
136
+ ...obj,
137
+ });
138
+ export const DescribeJobRunRequestFilterSensitiveLog = (obj) => ({
139
+ ...obj,
140
+ });
141
+ export const SparkSqlJobDriverFilterSensitiveLog = (obj) => ({
142
+ ...obj,
143
+ ...(obj.entryPoint && { entryPoint: SENSITIVE_STRING }),
144
+ ...(obj.sparkSqlParameters && { sparkSqlParameters: SENSITIVE_STRING }),
145
+ });
146
+ export const SparkSubmitJobDriverFilterSensitiveLog = (obj) => ({
147
+ ...obj,
148
+ ...(obj.entryPoint && { entryPoint: SENSITIVE_STRING }),
149
+ ...(obj.entryPointArguments && { entryPointArguments: SENSITIVE_STRING }),
150
+ ...(obj.sparkSubmitParameters && { sparkSubmitParameters: SENSITIVE_STRING }),
151
+ });
152
+ export const JobDriverFilterSensitiveLog = (obj) => ({
153
+ ...obj,
154
+ ...(obj.sparkSubmitJobDriver && {
155
+ sparkSubmitJobDriver: SparkSubmitJobDriverFilterSensitiveLog(obj.sparkSubmitJobDriver),
156
+ }),
157
+ ...(obj.sparkSqlJobDriver && { sparkSqlJobDriver: SparkSqlJobDriverFilterSensitiveLog(obj.sparkSqlJobDriver) }),
158
+ });
159
+ export const DescribeManagedEndpointRequestFilterSensitiveLog = (obj) => ({
160
+ ...obj,
161
+ });
162
+ export const CertificateFilterSensitiveLog = (obj) => ({
163
+ ...obj,
164
+ });
165
+ export const DescribeVirtualClusterRequestFilterSensitiveLog = (obj) => ({
166
+ ...obj,
167
+ });
168
+ export const VirtualClusterFilterSensitiveLog = (obj) => ({
169
+ ...obj,
170
+ ...(obj.containerProvider && { containerProvider: ContainerProviderFilterSensitiveLog(obj.containerProvider) }),
171
+ });
172
+ export const DescribeVirtualClusterResponseFilterSensitiveLog = (obj) => ({
173
+ ...obj,
174
+ ...(obj.virtualCluster && { virtualCluster: VirtualClusterFilterSensitiveLog(obj.virtualCluster) }),
175
+ });
176
+ export const ListJobRunsRequestFilterSensitiveLog = (obj) => ({
177
+ ...obj,
178
+ });
179
+ export const ListManagedEndpointsRequestFilterSensitiveLog = (obj) => ({
180
+ ...obj,
181
+ });
182
+ export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
183
+ ...obj,
184
+ });
185
+ export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
186
+ ...obj,
187
+ });
188
+ export const ListVirtualClustersRequestFilterSensitiveLog = (obj) => ({
189
+ ...obj,
190
+ });
191
+ export const ListVirtualClustersResponseFilterSensitiveLog = (obj) => ({
192
+ ...obj,
193
+ ...(obj.virtualClusters && {
194
+ virtualClusters: obj.virtualClusters.map((item) => VirtualClusterFilterSensitiveLog(item)),
195
+ }),
196
+ });
197
+ export const StartJobRunResponseFilterSensitiveLog = (obj) => ({
198
+ ...obj,
199
+ });
200
+ export const TagResourceRequestFilterSensitiveLog = (obj) => ({
201
+ ...obj,
202
+ });
203
+ export const TagResourceResponseFilterSensitiveLog = (obj) => ({
204
+ ...obj,
205
+ });
206
+ export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
207
+ ...obj,
208
+ });
209
+ export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
210
+ ...obj,
211
+ });
212
+ export const ConfigurationFilterSensitiveLog = (obj) => ({
213
+ ...obj,
214
+ ...(obj.properties && { properties: SENSITIVE_STRING }),
215
+ ...(obj.configurations && {
216
+ configurations: obj.configurations.map((item) => ConfigurationFilterSensitiveLog(item)),
217
+ }),
218
+ });
219
+ export const ConfigurationOverridesFilterSensitiveLog = (obj) => ({
220
+ ...obj,
221
+ ...(obj.applicationConfiguration && {
222
+ applicationConfiguration: obj.applicationConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
223
+ }),
224
+ });
225
+ export const CreateManagedEndpointRequestFilterSensitiveLog = (obj) => ({
226
+ ...obj,
227
+ ...(obj.configurationOverrides && {
228
+ configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
229
+ }),
230
+ });
231
+ export const EndpointFilterSensitiveLog = (obj) => ({
232
+ ...obj,
233
+ ...(obj.configurationOverrides && {
234
+ configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
235
+ }),
236
+ });
237
+ export const JobRunFilterSensitiveLog = (obj) => ({
238
+ ...obj,
239
+ ...(obj.configurationOverrides && {
240
+ configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
241
+ }),
242
+ ...(obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }),
243
+ });
244
+ export const StartJobRunRequestFilterSensitiveLog = (obj) => ({
245
+ ...obj,
246
+ ...(obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }),
247
+ ...(obj.configurationOverrides && {
248
+ configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
249
+ }),
250
+ });
251
+ export const DescribeJobRunResponseFilterSensitiveLog = (obj) => ({
252
+ ...obj,
253
+ ...(obj.jobRun && { jobRun: JobRunFilterSensitiveLog(obj.jobRun) }),
254
+ });
255
+ export const DescribeManagedEndpointResponseFilterSensitiveLog = (obj) => ({
256
+ ...obj,
257
+ ...(obj.endpoint && { endpoint: EndpointFilterSensitiveLog(obj.endpoint) }),
258
+ });
259
+ export const ListJobRunsResponseFilterSensitiveLog = (obj) => ({
260
+ ...obj,
261
+ ...(obj.jobRuns && { jobRuns: obj.jobRuns.map((item) => JobRunFilterSensitiveLog(item)) }),
262
+ });
263
+ export const ListManagedEndpointsResponseFilterSensitiveLog = (obj) => ({
264
+ ...obj,
265
+ });