@aws-sdk/client-groundstation 3.185.0 → 3.188.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 (43) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/GroundStation.js +102 -109
  3. package/dist-es/GroundStationClient.js +22 -28
  4. package/dist-es/commands/CancelContactCommand.js +21 -28
  5. package/dist-es/commands/CreateConfigCommand.js +21 -28
  6. package/dist-es/commands/CreateDataflowEndpointGroupCommand.js +21 -28
  7. package/dist-es/commands/CreateMissionProfileCommand.js +21 -28
  8. package/dist-es/commands/DeleteConfigCommand.js +21 -28
  9. package/dist-es/commands/DeleteDataflowEndpointGroupCommand.js +21 -28
  10. package/dist-es/commands/DeleteMissionProfileCommand.js +21 -28
  11. package/dist-es/commands/DescribeContactCommand.js +21 -28
  12. package/dist-es/commands/GetConfigCommand.js +21 -28
  13. package/dist-es/commands/GetDataflowEndpointGroupCommand.js +21 -28
  14. package/dist-es/commands/GetMinuteUsageCommand.js +21 -28
  15. package/dist-es/commands/GetMissionProfileCommand.js +21 -28
  16. package/dist-es/commands/GetSatelliteCommand.js +21 -28
  17. package/dist-es/commands/ListConfigsCommand.js +21 -28
  18. package/dist-es/commands/ListContactsCommand.js +21 -28
  19. package/dist-es/commands/ListDataflowEndpointGroupsCommand.js +21 -28
  20. package/dist-es/commands/ListGroundStationsCommand.js +21 -28
  21. package/dist-es/commands/ListMissionProfilesCommand.js +21 -28
  22. package/dist-es/commands/ListSatellitesCommand.js +21 -28
  23. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  24. package/dist-es/commands/ReserveContactCommand.js +21 -28
  25. package/dist-es/commands/TagResourceCommand.js +21 -28
  26. package/dist-es/commands/UntagResourceCommand.js +21 -28
  27. package/dist-es/commands/UpdateConfigCommand.js +21 -28
  28. package/dist-es/commands/UpdateMissionProfileCommand.js +21 -28
  29. package/dist-es/endpoints.js +8 -8
  30. package/dist-es/models/GroundStationServiceException.js +5 -10
  31. package/dist-es/models/models_0.js +283 -130
  32. package/dist-es/pagination/ListConfigsPaginator.js +25 -68
  33. package/dist-es/pagination/ListContactsPaginator.js +25 -68
  34. package/dist-es/pagination/ListDataflowEndpointGroupsPaginator.js +25 -68
  35. package/dist-es/pagination/ListGroundStationsPaginator.js +25 -68
  36. package/dist-es/pagination/ListMissionProfilesPaginator.js +25 -68
  37. package/dist-es/pagination/ListSatellitesPaginator.js +25 -68
  38. package/dist-es/protocols/Aws_restJson1.js +1933 -2619
  39. package/dist-es/runtimeConfig.browser.js +26 -12
  40. package/dist-es/runtimeConfig.js +30 -12
  41. package/dist-es/runtimeConfig.native.js +8 -5
  42. package/dist-es/runtimeConfig.shared.js +8 -11
  43. 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 { ConfigIdResponseFilterSensitiveLog, CreateConfigRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateConfigCommand, serializeAws_restJson1CreateConfigCommand, } from "../protocols/Aws_restJson1";
6
- var CreateConfigCommand = (function (_super) {
7
- __extends(CreateConfigCommand, _super);
8
- function CreateConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateConfigCommand.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 = "GroundStationClient";
18
- var commandName = "CreateConfigCommand";
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 = "GroundStationClient";
15
+ const commandName = "CreateConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ConfigIdResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateConfigCommand.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_restJson1CreateConfigCommand(input, context);
33
- };
34
- CreateConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateConfigCommand(output, context);
36
- };
37
- return CreateConfigCommand;
38
- }($Command));
39
- export { CreateConfigCommand };
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 { CreateDataflowEndpointGroupRequestFilterSensitiveLog, DataflowEndpointGroupIdResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateDataflowEndpointGroupCommand, serializeAws_restJson1CreateDataflowEndpointGroupCommand, } from "../protocols/Aws_restJson1";
6
- var CreateDataflowEndpointGroupCommand = (function (_super) {
7
- __extends(CreateDataflowEndpointGroupCommand, _super);
8
- function CreateDataflowEndpointGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateDataflowEndpointGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDataflowEndpointGroupCommand.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 = "GroundStationClient";
18
- var commandName = "CreateDataflowEndpointGroupCommand";
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 = "GroundStationClient";
15
+ const commandName = "CreateDataflowEndpointGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDataflowEndpointGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DataflowEndpointGroupIdResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateDataflowEndpointGroupCommand.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_restJson1CreateDataflowEndpointGroupCommand(input, context);
33
- };
34
- CreateDataflowEndpointGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateDataflowEndpointGroupCommand(output, context);
36
- };
37
- return CreateDataflowEndpointGroupCommand;
38
- }($Command));
39
- export { CreateDataflowEndpointGroupCommand };
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 { CreateMissionProfileRequestFilterSensitiveLog, MissionProfileIdResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateMissionProfileCommand, serializeAws_restJson1CreateMissionProfileCommand, } from "../protocols/Aws_restJson1";
6
- var CreateMissionProfileCommand = (function (_super) {
7
- __extends(CreateMissionProfileCommand, _super);
8
- function CreateMissionProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateMissionProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateMissionProfileCommand.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 = "GroundStationClient";
18
- var commandName = "CreateMissionProfileCommand";
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 = "GroundStationClient";
15
+ const commandName = "CreateMissionProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateMissionProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: MissionProfileIdResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateMissionProfileCommand.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_restJson1CreateMissionProfileCommand(input, context);
33
- };
34
- CreateMissionProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateMissionProfileCommand(output, context);
36
- };
37
- return CreateMissionProfileCommand;
38
- }($Command));
39
- export { CreateMissionProfileCommand };
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 { ConfigIdResponseFilterSensitiveLog, DeleteConfigRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteConfigCommand, serializeAws_restJson1DeleteConfigCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteConfigCommand = (function (_super) {
7
- __extends(DeleteConfigCommand, _super);
8
- function DeleteConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteConfigCommand.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 = "GroundStationClient";
18
- var commandName = "DeleteConfigCommand";
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 = "GroundStationClient";
15
+ const commandName = "DeleteConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ConfigIdResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteConfigCommand.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_restJson1DeleteConfigCommand(input, context);
33
- };
34
- DeleteConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteConfigCommand(output, context);
36
- };
37
- return DeleteConfigCommand;
38
- }($Command));
39
- export { DeleteConfigCommand };
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 { DataflowEndpointGroupIdResponseFilterSensitiveLog, DeleteDataflowEndpointGroupRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteDataflowEndpointGroupCommand, serializeAws_restJson1DeleteDataflowEndpointGroupCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteDataflowEndpointGroupCommand = (function (_super) {
7
- __extends(DeleteDataflowEndpointGroupCommand, _super);
8
- function DeleteDataflowEndpointGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteDataflowEndpointGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDataflowEndpointGroupCommand.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 = "GroundStationClient";
18
- var commandName = "DeleteDataflowEndpointGroupCommand";
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 = "GroundStationClient";
15
+ const commandName = "DeleteDataflowEndpointGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDataflowEndpointGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DataflowEndpointGroupIdResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteDataflowEndpointGroupCommand.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_restJson1DeleteDataflowEndpointGroupCommand(input, context);
33
- };
34
- DeleteDataflowEndpointGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteDataflowEndpointGroupCommand(output, context);
36
- };
37
- return DeleteDataflowEndpointGroupCommand;
38
- }($Command));
39
- export { DeleteDataflowEndpointGroupCommand };
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 { DeleteMissionProfileRequestFilterSensitiveLog, MissionProfileIdResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteMissionProfileCommand, serializeAws_restJson1DeleteMissionProfileCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteMissionProfileCommand = (function (_super) {
7
- __extends(DeleteMissionProfileCommand, _super);
8
- function DeleteMissionProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteMissionProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteMissionProfileCommand.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 = "GroundStationClient";
18
- var commandName = "DeleteMissionProfileCommand";
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 = "GroundStationClient";
15
+ const commandName = "DeleteMissionProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteMissionProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: MissionProfileIdResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteMissionProfileCommand.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_restJson1DeleteMissionProfileCommand(input, context);
33
- };
34
- DeleteMissionProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteMissionProfileCommand(output, context);
36
- };
37
- return DeleteMissionProfileCommand;
38
- }($Command));
39
- export { DeleteMissionProfileCommand };
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 { DescribeContactRequestFilterSensitiveLog, DescribeContactResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeContactCommand, serializeAws_restJson1DescribeContactCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeContactCommand = (function (_super) {
7
- __extends(DescribeContactCommand, _super);
8
- function DescribeContactCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeContactCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeContactCommand.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 = "GroundStationClient";
18
- var commandName = "DescribeContactCommand";
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 = "GroundStationClient";
15
+ const commandName = "DescribeContactCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeContactRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeContactResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeContactCommand.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_restJson1DescribeContactCommand(input, context);
33
- };
34
- DescribeContactCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeContactCommand(output, context);
36
- };
37
- return DescribeContactCommand;
38
- }($Command));
39
- export { DescribeContactCommand };
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 { GetConfigRequestFilterSensitiveLog, GetConfigResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetConfigCommand, serializeAws_restJson1GetConfigCommand, } from "../protocols/Aws_restJson1";
6
- var GetConfigCommand = (function (_super) {
7
- __extends(GetConfigCommand, _super);
8
- function GetConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetConfigCommand.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 = "GroundStationClient";
18
- var commandName = "GetConfigCommand";
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 = "GroundStationClient";
15
+ const commandName = "GetConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetConfigResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetConfigCommand.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_restJson1GetConfigCommand(input, context);
33
- };
34
- GetConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetConfigCommand(output, context);
36
- };
37
- return GetConfigCommand;
38
- }($Command));
39
- export { GetConfigCommand };
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 { GetDataflowEndpointGroupRequestFilterSensitiveLog, GetDataflowEndpointGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetDataflowEndpointGroupCommand, serializeAws_restJson1GetDataflowEndpointGroupCommand, } from "../protocols/Aws_restJson1";
6
- var GetDataflowEndpointGroupCommand = (function (_super) {
7
- __extends(GetDataflowEndpointGroupCommand, _super);
8
- function GetDataflowEndpointGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetDataflowEndpointGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetDataflowEndpointGroupCommand.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 = "GroundStationClient";
18
- var commandName = "GetDataflowEndpointGroupCommand";
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 = "GroundStationClient";
15
+ const commandName = "GetDataflowEndpointGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetDataflowEndpointGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetDataflowEndpointGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetDataflowEndpointGroupCommand.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_restJson1GetDataflowEndpointGroupCommand(input, context);
33
- };
34
- GetDataflowEndpointGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetDataflowEndpointGroupCommand(output, context);
36
- };
37
- return GetDataflowEndpointGroupCommand;
38
- }($Command));
39
- export { GetDataflowEndpointGroupCommand };
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 { GetMinuteUsageRequestFilterSensitiveLog, GetMinuteUsageResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetMinuteUsageCommand, serializeAws_restJson1GetMinuteUsageCommand, } from "../protocols/Aws_restJson1";
6
- var GetMinuteUsageCommand = (function (_super) {
7
- __extends(GetMinuteUsageCommand, _super);
8
- function GetMinuteUsageCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetMinuteUsageCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetMinuteUsageCommand.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 = "GroundStationClient";
18
- var commandName = "GetMinuteUsageCommand";
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 = "GroundStationClient";
15
+ const commandName = "GetMinuteUsageCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetMinuteUsageRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetMinuteUsageResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetMinuteUsageCommand.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_restJson1GetMinuteUsageCommand(input, context);
33
- };
34
- GetMinuteUsageCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetMinuteUsageCommand(output, context);
36
- };
37
- return GetMinuteUsageCommand;
38
- }($Command));
39
- export { GetMinuteUsageCommand };
31
+ }
32
+ }