@aws-sdk/client-resource-groups 3.478.0 → 3.481.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 (77) hide show
  1. package/dist-cjs/commands/CreateGroupCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteGroupCommand.js +18 -41
  3. package/dist-cjs/commands/GetAccountSettingsCommand.js +18 -41
  4. package/dist-cjs/commands/GetGroupCommand.js +18 -41
  5. package/dist-cjs/commands/GetGroupConfigurationCommand.js +18 -41
  6. package/dist-cjs/commands/GetGroupQueryCommand.js +18 -41
  7. package/dist-cjs/commands/GetTagsCommand.js +18 -41
  8. package/dist-cjs/commands/GroupResourcesCommand.js +18 -41
  9. package/dist-cjs/commands/ListGroupResourcesCommand.js +18 -41
  10. package/dist-cjs/commands/ListGroupsCommand.js +18 -41
  11. package/dist-cjs/commands/PutGroupConfigurationCommand.js +18 -41
  12. package/dist-cjs/commands/SearchResourcesCommand.js +18 -41
  13. package/dist-cjs/commands/TagCommand.js +18 -41
  14. package/dist-cjs/commands/UngroupResourcesCommand.js +18 -41
  15. package/dist-cjs/commands/UntagCommand.js +18 -41
  16. package/dist-cjs/commands/UpdateAccountSettingsCommand.js +18 -41
  17. package/dist-cjs/commands/UpdateGroupCommand.js +18 -41
  18. package/dist-cjs/commands/UpdateGroupQueryCommand.js +18 -41
  19. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  20. package/dist-es/commands/CreateGroupCommand.js +18 -41
  21. package/dist-es/commands/DeleteGroupCommand.js +18 -41
  22. package/dist-es/commands/GetAccountSettingsCommand.js +18 -41
  23. package/dist-es/commands/GetGroupCommand.js +18 -41
  24. package/dist-es/commands/GetGroupConfigurationCommand.js +18 -41
  25. package/dist-es/commands/GetGroupQueryCommand.js +18 -41
  26. package/dist-es/commands/GetTagsCommand.js +18 -41
  27. package/dist-es/commands/GroupResourcesCommand.js +18 -41
  28. package/dist-es/commands/ListGroupResourcesCommand.js +18 -41
  29. package/dist-es/commands/ListGroupsCommand.js +18 -41
  30. package/dist-es/commands/PutGroupConfigurationCommand.js +18 -41
  31. package/dist-es/commands/SearchResourcesCommand.js +18 -41
  32. package/dist-es/commands/TagCommand.js +18 -41
  33. package/dist-es/commands/UngroupResourcesCommand.js +18 -41
  34. package/dist-es/commands/UntagCommand.js +18 -41
  35. package/dist-es/commands/UpdateAccountSettingsCommand.js +18 -41
  36. package/dist-es/commands/UpdateGroupCommand.js +18 -41
  37. package/dist-es/commands/UpdateGroupQueryCommand.js +18 -41
  38. package/dist-es/endpoint/EndpointParameters.js +6 -0
  39. package/dist-types/commands/CreateGroupCommand.d.ts +6 -21
  40. package/dist-types/commands/DeleteGroupCommand.d.ts +6 -21
  41. package/dist-types/commands/GetAccountSettingsCommand.d.ts +6 -21
  42. package/dist-types/commands/GetGroupCommand.d.ts +6 -21
  43. package/dist-types/commands/GetGroupConfigurationCommand.d.ts +6 -21
  44. package/dist-types/commands/GetGroupQueryCommand.d.ts +6 -21
  45. package/dist-types/commands/GetTagsCommand.d.ts +6 -21
  46. package/dist-types/commands/GroupResourcesCommand.d.ts +6 -21
  47. package/dist-types/commands/ListGroupResourcesCommand.d.ts +6 -21
  48. package/dist-types/commands/ListGroupsCommand.d.ts +6 -21
  49. package/dist-types/commands/PutGroupConfigurationCommand.d.ts +6 -21
  50. package/dist-types/commands/SearchResourcesCommand.d.ts +6 -21
  51. package/dist-types/commands/TagCommand.d.ts +6 -21
  52. package/dist-types/commands/UngroupResourcesCommand.d.ts +6 -21
  53. package/dist-types/commands/UntagCommand.d.ts +6 -21
  54. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +6 -21
  55. package/dist-types/commands/UpdateGroupCommand.d.ts +6 -21
  56. package/dist-types/commands/UpdateGroupQueryCommand.d.ts +6 -21
  57. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  58. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/GetGroupConfigurationCommand.d.ts +12 -24
  63. package/dist-types/ts3.4/commands/GetGroupQueryCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +12 -23
  65. package/dist-types/ts3.4/commands/GroupResourcesCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/ListGroupResourcesCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/PutGroupConfigurationCommand.d.ts +12 -24
  69. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/TagCommand.d.ts +12 -23
  71. package/dist-types/ts3.4/commands/UngroupResourcesCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/commands/UntagCommand.d.ts +12 -23
  73. package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +12 -24
  74. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/UpdateGroupQueryCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  77. package/package.json +9 -9
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateGroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceGroupsClient";
29
- const commandName = "CreateGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Ardi",
38
- operation: "CreateGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateGroupCommand)(output, context);
49
- }
10
+ class CreateGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Ardi", "CreateGroup", {})
22
+ .n("ResourceGroupsClient", "CreateGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateGroupCommand)
25
+ .de(Aws_restJson1_1.de_CreateGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateGroupCommand = CreateGroupCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteGroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceGroupsClient";
29
- const commandName = "DeleteGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Ardi",
38
- operation: "DeleteGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteGroupCommand)(output, context);
49
- }
10
+ class DeleteGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Ardi", "DeleteGroup", {})
22
+ .n("ResourceGroupsClient", "DeleteGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteGroupCommand)
25
+ .de(Aws_restJson1_1.de_DeleteGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteGroupCommand = DeleteGroupCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetAccountSettingsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccountSettingsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceGroupsClient";
29
- const commandName = "GetAccountSettingsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Ardi",
38
- operation: "GetAccountSettings",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GetAccountSettingsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetAccountSettingsCommand)(output, context);
49
- }
10
+ class GetAccountSettingsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Ardi", "GetAccountSettings", {})
22
+ .n("ResourceGroupsClient", "GetAccountSettingsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetAccountSettingsCommand)
25
+ .de(Aws_restJson1_1.de_GetAccountSettingsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetAccountSettingsCommand = GetAccountSettingsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetGroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceGroupsClient";
29
- const commandName = "GetGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Ardi",
38
- operation: "GetGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GetGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetGroupCommand)(output, context);
49
- }
10
+ class GetGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Ardi", "GetGroup", {})
22
+ .n("ResourceGroupsClient", "GetGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetGroupCommand)
25
+ .de(Aws_restJson1_1.de_GetGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetGroupCommand = GetGroupCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetGroupConfigurationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetGroupConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceGroupsClient";
29
- const commandName = "GetGroupConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Ardi",
38
- operation: "GetGroupConfiguration",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GetGroupConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetGroupConfigurationCommand)(output, context);
49
- }
10
+ class GetGroupConfigurationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Ardi", "GetGroupConfiguration", {})
22
+ .n("ResourceGroupsClient", "GetGroupConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetGroupConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_GetGroupConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetGroupConfigurationCommand = GetGroupConfigurationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetGroupQueryCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetGroupQueryCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceGroupsClient";
29
- const commandName = "GetGroupQueryCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Ardi",
38
- operation: "GetGroupQuery",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GetGroupQueryCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetGroupQueryCommand)(output, context);
49
- }
10
+ class GetGroupQueryCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Ardi", "GetGroupQuery", {})
22
+ .n("ResourceGroupsClient", "GetGroupQueryCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetGroupQueryCommand)
25
+ .de(Aws_restJson1_1.de_GetGroupQueryCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetGroupQueryCommand = GetGroupQueryCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetTagsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetTagsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceGroupsClient";
29
- const commandName = "GetTagsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Ardi",
38
- operation: "GetTags",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GetTagsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetTagsCommand)(output, context);
49
- }
10
+ class GetTagsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Ardi", "GetTags", {})
22
+ .n("ResourceGroupsClient", "GetTagsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetTagsCommand)
25
+ .de(Aws_restJson1_1.de_GetTagsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetTagsCommand = GetTagsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GroupResourcesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GroupResourcesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceGroupsClient";
29
- const commandName = "GroupResourcesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Ardi",
38
- operation: "GroupResources",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GroupResourcesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GroupResourcesCommand)(output, context);
49
- }
10
+ class GroupResourcesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Ardi", "GroupResources", {})
22
+ .n("ResourceGroupsClient", "GroupResourcesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GroupResourcesCommand)
25
+ .de(Aws_restJson1_1.de_GroupResourcesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GroupResourcesCommand = GroupResourcesCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListGroupResourcesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListGroupResourcesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ResourceGroupsClient";
29
- const commandName = "ListGroupResourcesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Ardi",
38
- operation: "ListGroupResources",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListGroupResourcesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListGroupResourcesCommand)(output, context);
49
- }
10
+ class ListGroupResourcesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Ardi", "ListGroupResources", {})
22
+ .n("ResourceGroupsClient", "ListGroupResourcesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListGroupResourcesCommand)
25
+ .de(Aws_restJson1_1.de_ListGroupResourcesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListGroupResourcesCommand = ListGroupResourcesCommand;