@aws-sdk/client-emr 3.183.0 → 3.185.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 (79) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/EMR.js +217 -210
  4. package/dist-es/EMRClient.js +28 -22
  5. package/dist-es/commands/AddInstanceFleetCommand.js +28 -21
  6. package/dist-es/commands/AddInstanceGroupsCommand.js +28 -21
  7. package/dist-es/commands/AddJobFlowStepsCommand.js +28 -21
  8. package/dist-es/commands/AddTagsCommand.js +28 -21
  9. package/dist-es/commands/CancelStepsCommand.js +28 -21
  10. package/dist-es/commands/CreateSecurityConfigurationCommand.js +28 -21
  11. package/dist-es/commands/CreateStudioCommand.js +28 -21
  12. package/dist-es/commands/CreateStudioSessionMappingCommand.js +29 -22
  13. package/dist-es/commands/DeleteSecurityConfigurationCommand.js +28 -21
  14. package/dist-es/commands/DeleteStudioCommand.js +29 -22
  15. package/dist-es/commands/DeleteStudioSessionMappingCommand.js +29 -22
  16. package/dist-es/commands/DescribeClusterCommand.js +28 -21
  17. package/dist-es/commands/DescribeJobFlowsCommand.js +28 -21
  18. package/dist-es/commands/DescribeNotebookExecutionCommand.js +28 -21
  19. package/dist-es/commands/DescribeReleaseLabelCommand.js +28 -21
  20. package/dist-es/commands/DescribeSecurityConfigurationCommand.js +28 -21
  21. package/dist-es/commands/DescribeStepCommand.js +28 -21
  22. package/dist-es/commands/DescribeStudioCommand.js +28 -21
  23. package/dist-es/commands/GetAutoTerminationPolicyCommand.js +28 -21
  24. package/dist-es/commands/GetBlockPublicAccessConfigurationCommand.js +28 -21
  25. package/dist-es/commands/GetManagedScalingPolicyCommand.js +28 -21
  26. package/dist-es/commands/GetStudioSessionMappingCommand.js +28 -21
  27. package/dist-es/commands/ListBootstrapActionsCommand.js +28 -21
  28. package/dist-es/commands/ListClustersCommand.js +28 -21
  29. package/dist-es/commands/ListInstanceFleetsCommand.js +28 -21
  30. package/dist-es/commands/ListInstanceGroupsCommand.js +28 -21
  31. package/dist-es/commands/ListInstancesCommand.js +28 -21
  32. package/dist-es/commands/ListNotebookExecutionsCommand.js +28 -21
  33. package/dist-es/commands/ListReleaseLabelsCommand.js +28 -21
  34. package/dist-es/commands/ListSecurityConfigurationsCommand.js +28 -21
  35. package/dist-es/commands/ListStepsCommand.js +28 -21
  36. package/dist-es/commands/ListStudioSessionMappingsCommand.js +28 -21
  37. package/dist-es/commands/ListStudiosCommand.js +28 -21
  38. package/dist-es/commands/ModifyClusterCommand.js +28 -21
  39. package/dist-es/commands/ModifyInstanceFleetCommand.js +29 -22
  40. package/dist-es/commands/ModifyInstanceGroupsCommand.js +29 -22
  41. package/dist-es/commands/PutAutoScalingPolicyCommand.js +28 -21
  42. package/dist-es/commands/PutAutoTerminationPolicyCommand.js +28 -21
  43. package/dist-es/commands/PutBlockPublicAccessConfigurationCommand.js +28 -21
  44. package/dist-es/commands/PutManagedScalingPolicyCommand.js +28 -21
  45. package/dist-es/commands/RemoveAutoScalingPolicyCommand.js +28 -21
  46. package/dist-es/commands/RemoveAutoTerminationPolicyCommand.js +28 -21
  47. package/dist-es/commands/RemoveManagedScalingPolicyCommand.js +28 -21
  48. package/dist-es/commands/RemoveTagsCommand.js +28 -21
  49. package/dist-es/commands/RunJobFlowCommand.js +28 -21
  50. package/dist-es/commands/SetTerminationProtectionCommand.js +29 -22
  51. package/dist-es/commands/SetVisibleToAllUsersCommand.js +29 -22
  52. package/dist-es/commands/StartNotebookExecutionCommand.js +28 -21
  53. package/dist-es/commands/StopNotebookExecutionCommand.js +29 -22
  54. package/dist-es/commands/TerminateJobFlowsCommand.js +29 -22
  55. package/dist-es/commands/UpdateStudioCommand.js +29 -22
  56. package/dist-es/commands/UpdateStudioSessionMappingCommand.js +29 -22
  57. package/dist-es/endpoints.js +8 -8
  58. package/dist-es/models/EMRServiceException.js +10 -5
  59. package/dist-es/models/models_0.js +222 -591
  60. package/dist-es/pagination/ListBootstrapActionsPaginator.js +67 -24
  61. package/dist-es/pagination/ListClustersPaginator.js +67 -24
  62. package/dist-es/pagination/ListInstanceFleetsPaginator.js +67 -24
  63. package/dist-es/pagination/ListInstanceGroupsPaginator.js +67 -24
  64. package/dist-es/pagination/ListInstancesPaginator.js +67 -24
  65. package/dist-es/pagination/ListNotebookExecutionsPaginator.js +67 -24
  66. package/dist-es/pagination/ListReleaseLabelsPaginator.js +68 -25
  67. package/dist-es/pagination/ListSecurityConfigurationsPaginator.js +67 -24
  68. package/dist-es/pagination/ListStepsPaginator.js +67 -24
  69. package/dist-es/pagination/ListStudioSessionMappingsPaginator.js +67 -24
  70. package/dist-es/pagination/ListStudiosPaginator.js +67 -24
  71. package/dist-es/protocols/Aws_json1_1.js +4088 -3396
  72. package/dist-es/runtimeConfig.browser.js +12 -26
  73. package/dist-es/runtimeConfig.js +12 -30
  74. package/dist-es/runtimeConfig.native.js +5 -8
  75. package/dist-es/runtimeConfig.shared.js +11 -8
  76. package/dist-es/waiters/waitForClusterRunning.js +83 -63
  77. package/dist-es/waiters/waitForClusterTerminated.js +56 -36
  78. package/dist-es/waiters/waitForStepComplete.js +65 -45
  79. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetBlockPublicAccessConfigurationInputFilterSensitiveLog, GetBlockPublicAccessConfigurationOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetBlockPublicAccessConfigurationCommand, serializeAws_json1_1GetBlockPublicAccessConfigurationCommand, } from "../protocols/Aws_json1_1";
5
- export class GetBlockPublicAccessConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetBlockPublicAccessConfigurationCommand = (function (_super) {
7
+ __extends(GetBlockPublicAccessConfigurationCommand, _super);
8
+ function GetBlockPublicAccessConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetBlockPublicAccessConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EMRClient";
15
- const commandName = "GetBlockPublicAccessConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EMRClient";
18
+ var commandName = "GetBlockPublicAccessConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetBlockPublicAccessConfigurationInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetBlockPublicAccessConfigurationOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetBlockPublicAccessConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetBlockPublicAccessConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetBlockPublicAccessConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetBlockPublicAccessConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetBlockPublicAccessConfigurationCommand;
38
+ }($Command));
39
+ export { GetBlockPublicAccessConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetManagedScalingPolicyInputFilterSensitiveLog, GetManagedScalingPolicyOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetManagedScalingPolicyCommand, serializeAws_json1_1GetManagedScalingPolicyCommand, } from "../protocols/Aws_json1_1";
5
- export class GetManagedScalingPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetManagedScalingPolicyCommand = (function (_super) {
7
+ __extends(GetManagedScalingPolicyCommand, _super);
8
+ function GetManagedScalingPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetManagedScalingPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EMRClient";
15
- const commandName = "GetManagedScalingPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EMRClient";
18
+ var commandName = "GetManagedScalingPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetManagedScalingPolicyInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetManagedScalingPolicyOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetManagedScalingPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetManagedScalingPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetManagedScalingPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetManagedScalingPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetManagedScalingPolicyCommand;
38
+ }($Command));
39
+ export { GetManagedScalingPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetStudioSessionMappingInputFilterSensitiveLog, GetStudioSessionMappingOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetStudioSessionMappingCommand, serializeAws_json1_1GetStudioSessionMappingCommand, } from "../protocols/Aws_json1_1";
5
- export class GetStudioSessionMappingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetStudioSessionMappingCommand = (function (_super) {
7
+ __extends(GetStudioSessionMappingCommand, _super);
8
+ function GetStudioSessionMappingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetStudioSessionMappingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EMRClient";
15
- const commandName = "GetStudioSessionMappingCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EMRClient";
18
+ var commandName = "GetStudioSessionMappingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetStudioSessionMappingInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetStudioSessionMappingOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetStudioSessionMappingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetStudioSessionMappingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetStudioSessionMappingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetStudioSessionMappingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetStudioSessionMappingCommand;
38
+ }($Command));
39
+ export { GetStudioSessionMappingCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListBootstrapActionsInputFilterSensitiveLog, ListBootstrapActionsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListBootstrapActionsCommand, serializeAws_json1_1ListBootstrapActionsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListBootstrapActionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBootstrapActionsCommand = (function (_super) {
7
+ __extends(ListBootstrapActionsCommand, _super);
8
+ function ListBootstrapActionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBootstrapActionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EMRClient";
15
- const commandName = "ListBootstrapActionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EMRClient";
18
+ var commandName = "ListBootstrapActionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBootstrapActionsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBootstrapActionsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListBootstrapActionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListBootstrapActionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBootstrapActionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListBootstrapActionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBootstrapActionsCommand;
38
+ }($Command));
39
+ export { ListBootstrapActionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListClustersInputFilterSensitiveLog, ListClustersOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListClustersCommand, serializeAws_json1_1ListClustersCommand, } from "../protocols/Aws_json1_1";
5
- export class ListClustersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListClustersCommand = (function (_super) {
7
+ __extends(ListClustersCommand, _super);
8
+ function ListClustersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListClustersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EMRClient";
15
- const commandName = "ListClustersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EMRClient";
18
+ var commandName = "ListClustersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListClustersInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListClustersOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListClustersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListClustersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListClustersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListClustersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListClustersCommand;
38
+ }($Command));
39
+ export { ListClustersCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListInstanceFleetsInputFilterSensitiveLog, ListInstanceFleetsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListInstanceFleetsCommand, serializeAws_json1_1ListInstanceFleetsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListInstanceFleetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListInstanceFleetsCommand = (function (_super) {
7
+ __extends(ListInstanceFleetsCommand, _super);
8
+ function ListInstanceFleetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListInstanceFleetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EMRClient";
15
- const commandName = "ListInstanceFleetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EMRClient";
18
+ var commandName = "ListInstanceFleetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListInstanceFleetsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListInstanceFleetsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListInstanceFleetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListInstanceFleetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListInstanceFleetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListInstanceFleetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListInstanceFleetsCommand;
38
+ }($Command));
39
+ export { ListInstanceFleetsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListInstanceGroupsInputFilterSensitiveLog, ListInstanceGroupsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListInstanceGroupsCommand, serializeAws_json1_1ListInstanceGroupsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListInstanceGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListInstanceGroupsCommand = (function (_super) {
7
+ __extends(ListInstanceGroupsCommand, _super);
8
+ function ListInstanceGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListInstanceGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EMRClient";
15
- const commandName = "ListInstanceGroupsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EMRClient";
18
+ var commandName = "ListInstanceGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListInstanceGroupsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListInstanceGroupsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListInstanceGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListInstanceGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListInstanceGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListInstanceGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListInstanceGroupsCommand;
38
+ }($Command));
39
+ export { ListInstanceGroupsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListInstancesInputFilterSensitiveLog, ListInstancesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListInstancesCommand, serializeAws_json1_1ListInstancesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListInstancesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListInstancesCommand = (function (_super) {
7
+ __extends(ListInstancesCommand, _super);
8
+ function ListInstancesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListInstancesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EMRClient";
15
- const commandName = "ListInstancesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EMRClient";
18
+ var commandName = "ListInstancesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListInstancesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListInstancesOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListInstancesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListInstancesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListInstancesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListInstancesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListInstancesCommand;
38
+ }($Command));
39
+ export { ListInstancesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListNotebookExecutionsInputFilterSensitiveLog, ListNotebookExecutionsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListNotebookExecutionsCommand, serializeAws_json1_1ListNotebookExecutionsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListNotebookExecutionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListNotebookExecutionsCommand = (function (_super) {
7
+ __extends(ListNotebookExecutionsCommand, _super);
8
+ function ListNotebookExecutionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListNotebookExecutionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EMRClient";
15
- const commandName = "ListNotebookExecutionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EMRClient";
18
+ var commandName = "ListNotebookExecutionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListNotebookExecutionsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListNotebookExecutionsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListNotebookExecutionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListNotebookExecutionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListNotebookExecutionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListNotebookExecutionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListNotebookExecutionsCommand;
38
+ }($Command));
39
+ export { ListNotebookExecutionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListReleaseLabelsInputFilterSensitiveLog, ListReleaseLabelsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListReleaseLabelsCommand, serializeAws_json1_1ListReleaseLabelsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListReleaseLabelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListReleaseLabelsCommand = (function (_super) {
7
+ __extends(ListReleaseLabelsCommand, _super);
8
+ function ListReleaseLabelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListReleaseLabelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EMRClient";
15
- const commandName = "ListReleaseLabelsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EMRClient";
18
+ var commandName = "ListReleaseLabelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListReleaseLabelsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListReleaseLabelsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListReleaseLabelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListReleaseLabelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListReleaseLabelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListReleaseLabelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListReleaseLabelsCommand;
38
+ }($Command));
39
+ export { ListReleaseLabelsCommand };