@aws-sdk/client-resource-groups 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 (32) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/ResourceGroups.js +73 -66
  4. package/dist-es/ResourceGroupsClient.js +28 -22
  5. package/dist-es/commands/CreateGroupCommand.js +28 -21
  6. package/dist-es/commands/DeleteGroupCommand.js +28 -21
  7. package/dist-es/commands/GetGroupCommand.js +28 -21
  8. package/dist-es/commands/GetGroupConfigurationCommand.js +28 -21
  9. package/dist-es/commands/GetGroupQueryCommand.js +28 -21
  10. package/dist-es/commands/GetTagsCommand.js +28 -21
  11. package/dist-es/commands/GroupResourcesCommand.js +28 -21
  12. package/dist-es/commands/ListGroupResourcesCommand.js +28 -21
  13. package/dist-es/commands/ListGroupsCommand.js +28 -21
  14. package/dist-es/commands/PutGroupConfigurationCommand.js +28 -21
  15. package/dist-es/commands/SearchResourcesCommand.js +28 -21
  16. package/dist-es/commands/TagCommand.js +28 -21
  17. package/dist-es/commands/UngroupResourcesCommand.js +28 -21
  18. package/dist-es/commands/UntagCommand.js +28 -21
  19. package/dist-es/commands/UpdateGroupCommand.js +28 -21
  20. package/dist-es/commands/UpdateGroupQueryCommand.js +28 -21
  21. package/dist-es/endpoints.js +8 -8
  22. package/dist-es/models/ResourceGroupsServiceException.js +10 -5
  23. package/dist-es/models/models_0.js +132 -225
  24. package/dist-es/pagination/ListGroupResourcesPaginator.js +68 -25
  25. package/dist-es/pagination/ListGroupsPaginator.js +68 -25
  26. package/dist-es/pagination/SearchResourcesPaginator.js +68 -25
  27. package/dist-es/protocols/Aws_restJson1.js +1866 -1373
  28. package/dist-es/runtimeConfig.browser.js +12 -26
  29. package/dist-es/runtimeConfig.js +12 -30
  30. package/dist-es/runtimeConfig.native.js +5 -8
  31. package/dist-es/runtimeConfig.shared.js +11 -8
  32. 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 { GetGroupQueryInputFilterSensitiveLog, GetGroupQueryOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetGroupQueryCommand, serializeAws_restJson1GetGroupQueryCommand, } from "../protocols/Aws_restJson1";
5
- export class GetGroupQueryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetGroupQueryCommand = (function (_super) {
7
+ __extends(GetGroupQueryCommand, _super);
8
+ function GetGroupQueryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetGroupQueryCommand.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 = "ResourceGroupsClient";
15
- const commandName = "GetGroupQueryCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsClient";
18
+ var commandName = "GetGroupQueryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetGroupQueryInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetGroupQueryOutputFilterSensitiveLog,
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
+ GetGroupQueryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetGroupQueryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetGroupQueryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetGroupQueryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetGroupQueryCommand;
38
+ }($Command));
39
+ export { GetGroupQueryCommand };
@@ -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 { GetTagsInputFilterSensitiveLog, GetTagsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetTagsCommand, serializeAws_restJson1GetTagsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTagsCommand = (function (_super) {
7
+ __extends(GetTagsCommand, _super);
8
+ function GetTagsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTagsCommand.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 = "ResourceGroupsClient";
15
- const commandName = "GetTagsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsClient";
18
+ var commandName = "GetTagsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTagsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTagsOutputFilterSensitiveLog,
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
+ GetTagsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTagsCommand;
38
+ }($Command));
39
+ export { GetTagsCommand };
@@ -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 { GroupResourcesInputFilterSensitiveLog, GroupResourcesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GroupResourcesCommand, serializeAws_restJson1GroupResourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class GroupResourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GroupResourcesCommand = (function (_super) {
7
+ __extends(GroupResourcesCommand, _super);
8
+ function GroupResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GroupResourcesCommand.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 = "ResourceGroupsClient";
15
- const commandName = "GroupResourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsClient";
18
+ var commandName = "GroupResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GroupResourcesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GroupResourcesOutputFilterSensitiveLog,
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
+ GroupResourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GroupResourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GroupResourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GroupResourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GroupResourcesCommand;
38
+ }($Command));
39
+ export { GroupResourcesCommand };
@@ -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 { ListGroupResourcesInputFilterSensitiveLog, ListGroupResourcesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListGroupResourcesCommand, serializeAws_restJson1ListGroupResourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListGroupResourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListGroupResourcesCommand = (function (_super) {
7
+ __extends(ListGroupResourcesCommand, _super);
8
+ function ListGroupResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListGroupResourcesCommand.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 = "ResourceGroupsClient";
15
- const commandName = "ListGroupResourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsClient";
18
+ var commandName = "ListGroupResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListGroupResourcesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListGroupResourcesOutputFilterSensitiveLog,
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
+ ListGroupResourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListGroupResourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListGroupResourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListGroupResourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListGroupResourcesCommand;
38
+ }($Command));
39
+ export { ListGroupResourcesCommand };
@@ -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 { ListGroupsInputFilterSensitiveLog, ListGroupsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListGroupsCommand, serializeAws_restJson1ListGroupsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListGroupsCommand = (function (_super) {
7
+ __extends(ListGroupsCommand, _super);
8
+ function ListGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListGroupsCommand.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 = "ResourceGroupsClient";
15
- const commandName = "ListGroupsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsClient";
18
+ var commandName = "ListGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListGroupsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListGroupsOutputFilterSensitiveLog,
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
+ ListGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListGroupsCommand;
38
+ }($Command));
39
+ export { ListGroupsCommand };
@@ -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 { PutGroupConfigurationInputFilterSensitiveLog, PutGroupConfigurationOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutGroupConfigurationCommand, serializeAws_restJson1PutGroupConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class PutGroupConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutGroupConfigurationCommand = (function (_super) {
7
+ __extends(PutGroupConfigurationCommand, _super);
8
+ function PutGroupConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutGroupConfigurationCommand.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 = "ResourceGroupsClient";
15
- const commandName = "PutGroupConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsClient";
18
+ var commandName = "PutGroupConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutGroupConfigurationInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutGroupConfigurationOutputFilterSensitiveLog,
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
+ PutGroupConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutGroupConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutGroupConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutGroupConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutGroupConfigurationCommand;
38
+ }($Command));
39
+ export { PutGroupConfigurationCommand };
@@ -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 { SearchResourcesInputFilterSensitiveLog, SearchResourcesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1SearchResourcesCommand, serializeAws_restJson1SearchResourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class SearchResourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SearchResourcesCommand = (function (_super) {
7
+ __extends(SearchResourcesCommand, _super);
8
+ function SearchResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SearchResourcesCommand.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 = "ResourceGroupsClient";
15
- const commandName = "SearchResourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsClient";
18
+ var commandName = "SearchResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SearchResourcesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SearchResourcesOutputFilterSensitiveLog,
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
+ SearchResourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1SearchResourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SearchResourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1SearchResourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SearchResourcesCommand;
38
+ }($Command));
39
+ export { SearchResourcesCommand };
@@ -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 { TagInputFilterSensitiveLog, TagOutputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagCommand, serializeAws_restJson1TagCommand } from "../protocols/Aws_restJson1";
5
- export class TagCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagCommand = (function (_super) {
7
+ __extends(TagCommand, _super);
8
+ function TagCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagCommand.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 = "ResourceGroupsClient";
15
- const commandName = "TagCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsClient";
18
+ var commandName = "TagCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagOutputFilterSensitiveLog,
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
+ TagCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagCommand;
38
+ }($Command));
39
+ export { TagCommand };
@@ -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 { UngroupResourcesInputFilterSensitiveLog, UngroupResourcesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UngroupResourcesCommand, serializeAws_restJson1UngroupResourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class UngroupResourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UngroupResourcesCommand = (function (_super) {
7
+ __extends(UngroupResourcesCommand, _super);
8
+ function UngroupResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UngroupResourcesCommand.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 = "ResourceGroupsClient";
15
- const commandName = "UngroupResourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsClient";
18
+ var commandName = "UngroupResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UngroupResourcesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UngroupResourcesOutputFilterSensitiveLog,
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
+ UngroupResourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UngroupResourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UngroupResourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UngroupResourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UngroupResourcesCommand;
38
+ }($Command));
39
+ export { UngroupResourcesCommand };
@@ -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 { UntagInputFilterSensitiveLog, UntagOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagCommand, serializeAws_restJson1UntagCommand } from "../protocols/Aws_restJson1";
5
- export class UntagCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagCommand = (function (_super) {
7
+ __extends(UntagCommand, _super);
8
+ function UntagCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagCommand.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 = "ResourceGroupsClient";
15
- const commandName = "UntagCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsClient";
18
+ var commandName = "UntagCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagOutputFilterSensitiveLog,
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
+ UntagCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagCommand;
38
+ }($Command));
39
+ export { UntagCommand };