@aws-sdk/client-resource-groups 3.928.0 → 3.929.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 (44) hide show
  1. package/dist-cjs/index.js +793 -1042
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ResourceGroupsClient.js +2 -0
  4. package/dist-es/commands/CancelTagSyncTaskCommand.js +3 -9
  5. package/dist-es/commands/CreateGroupCommand.js +3 -9
  6. package/dist-es/commands/DeleteGroupCommand.js +3 -9
  7. package/dist-es/commands/GetAccountSettingsCommand.js +3 -9
  8. package/dist-es/commands/GetGroupCommand.js +3 -9
  9. package/dist-es/commands/GetGroupConfigurationCommand.js +3 -9
  10. package/dist-es/commands/GetGroupQueryCommand.js +3 -9
  11. package/dist-es/commands/GetTagSyncTaskCommand.js +3 -9
  12. package/dist-es/commands/GetTagsCommand.js +3 -9
  13. package/dist-es/commands/GroupResourcesCommand.js +3 -9
  14. package/dist-es/commands/ListGroupResourcesCommand.js +3 -9
  15. package/dist-es/commands/ListGroupingStatusesCommand.js +3 -9
  16. package/dist-es/commands/ListGroupsCommand.js +3 -9
  17. package/dist-es/commands/ListTagSyncTasksCommand.js +3 -9
  18. package/dist-es/commands/PutGroupConfigurationCommand.js +3 -9
  19. package/dist-es/commands/SearchResourcesCommand.js +3 -9
  20. package/dist-es/commands/StartTagSyncTaskCommand.js +3 -9
  21. package/dist-es/commands/TagCommand.js +3 -9
  22. package/dist-es/commands/UngroupResourcesCommand.js +3 -9
  23. package/dist-es/commands/UntagCommand.js +3 -9
  24. package/dist-es/commands/UpdateAccountSettingsCommand.js +3 -9
  25. package/dist-es/commands/UpdateGroupCommand.js +3 -9
  26. package/dist-es/commands/UpdateGroupQueryCommand.js +3 -9
  27. package/dist-es/runtimeConfig.shared.js +2 -0
  28. package/dist-es/schemas/schemas_0.js +736 -0
  29. package/dist-types/ResourceGroupsClient.d.ts +10 -1
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  31. package/dist-types/runtimeConfig.d.ts +1 -0
  32. package/dist-types/runtimeConfig.native.d.ts +1 -0
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  34. package/dist-types/schemas/schemas_0.d.ts +120 -0
  35. package/dist-types/ts3.4/ResourceGroupsClient.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +125 -0
  41. package/package.json +2 -2
  42. package/dist-es/protocols/Aws_restJson1.js +0 -865
  43. package/dist-types/protocols/Aws_restJson1.d.ts +0 -209
  44. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -278
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.resourcegroups" }),
28
30
  serviceId: config?.serviceId ?? "Resource Groups",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class ResourceGroupsClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelTagSyncTaskCommand, se_CancelTagSyncTaskCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelTagSyncTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelTagSyncTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "CancelTagSyncTask", {})
17
13
  .n("ResourceGroupsClient", "CancelTagSyncTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelTagSyncTaskCommand)
20
- .de(de_CancelTagSyncTaskCommand)
14
+ .sc(CancelTagSyncTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateGroupCommand, se_CreateGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "CreateGroup", {})
17
13
  .n("ResourceGroupsClient", "CreateGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateGroupCommand)
20
- .de(de_CreateGroupCommand)
14
+ .sc(CreateGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteGroupCommand, se_DeleteGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "DeleteGroup", {})
17
13
  .n("ResourceGroupsClient", "DeleteGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteGroupCommand)
20
- .de(de_DeleteGroupCommand)
14
+ .sc(DeleteGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAccountSettingsCommand, se_GetAccountSettingsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAccountSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAccountSettingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "GetAccountSettings", {})
17
13
  .n("ResourceGroupsClient", "GetAccountSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAccountSettingsCommand)
20
- .de(de_GetAccountSettingsCommand)
14
+ .sc(GetAccountSettings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetGroupCommand, se_GetGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { GetGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "GetGroup", {})
17
13
  .n("ResourceGroupsClient", "GetGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetGroupCommand)
20
- .de(de_GetGroupCommand)
14
+ .sc(GetGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetGroupConfigurationCommand, se_GetGroupConfigurationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetGroupConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetGroupConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "GetGroupConfiguration", {})
17
13
  .n("ResourceGroupsClient", "GetGroupConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetGroupConfigurationCommand)
20
- .de(de_GetGroupConfigurationCommand)
14
+ .sc(GetGroupConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetGroupQueryCommand, se_GetGroupQueryCommand } from "../protocols/Aws_restJson1";
4
+ import { GetGroupQuery } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetGroupQueryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "GetGroupQuery", {})
17
13
  .n("ResourceGroupsClient", "GetGroupQueryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetGroupQueryCommand)
20
- .de(de_GetGroupQueryCommand)
14
+ .sc(GetGroupQuery)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTagSyncTaskCommand, se_GetTagSyncTaskCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTagSyncTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTagSyncTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "GetTagSyncTask", {})
17
13
  .n("ResourceGroupsClient", "GetTagSyncTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTagSyncTaskCommand)
20
- .de(de_GetTagSyncTaskCommand)
14
+ .sc(GetTagSyncTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTagsCommand, se_GetTagsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTagsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "GetTags", {})
17
13
  .n("ResourceGroupsClient", "GetTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTagsCommand)
20
- .de(de_GetTagsCommand)
14
+ .sc(GetTags)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GroupResourcesCommand, se_GroupResourcesCommand } from "../protocols/Aws_restJson1";
4
+ import { GroupResources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GroupResourcesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "GroupResources", {})
17
13
  .n("ResourceGroupsClient", "GroupResourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GroupResourcesCommand)
20
- .de(de_GroupResourcesCommand)
14
+ .sc(GroupResources)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListGroupResourcesCommand, se_ListGroupResourcesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListGroupResources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListGroupResourcesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "ListGroupResources", {})
17
13
  .n("ResourceGroupsClient", "ListGroupResourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListGroupResourcesCommand)
20
- .de(de_ListGroupResourcesCommand)
14
+ .sc(ListGroupResources)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListGroupingStatusesCommand, se_ListGroupingStatusesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListGroupingStatuses } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListGroupingStatusesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "ListGroupingStatuses", {})
17
13
  .n("ResourceGroupsClient", "ListGroupingStatusesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListGroupingStatusesCommand)
20
- .de(de_ListGroupingStatusesCommand)
14
+ .sc(ListGroupingStatuses)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListGroupsCommand, se_ListGroupsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListGroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "ListGroups", {})
17
13
  .n("ResourceGroupsClient", "ListGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListGroupsCommand)
20
- .de(de_ListGroupsCommand)
14
+ .sc(ListGroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagSyncTasksCommand, se_ListTagSyncTasksCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagSyncTasks } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagSyncTasksCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "ListTagSyncTasks", {})
17
13
  .n("ResourceGroupsClient", "ListTagSyncTasksCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagSyncTasksCommand)
20
- .de(de_ListTagSyncTasksCommand)
14
+ .sc(ListTagSyncTasks)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutGroupConfigurationCommand, se_PutGroupConfigurationCommand } from "../protocols/Aws_restJson1";
4
+ import { PutGroupConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutGroupConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "PutGroupConfiguration", {})
17
13
  .n("ResourceGroupsClient", "PutGroupConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutGroupConfigurationCommand)
20
- .de(de_PutGroupConfigurationCommand)
14
+ .sc(PutGroupConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SearchResourcesCommand, se_SearchResourcesCommand } from "../protocols/Aws_restJson1";
4
+ import { SearchResources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SearchResourcesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "SearchResources", {})
17
13
  .n("ResourceGroupsClient", "SearchResourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SearchResourcesCommand)
20
- .de(de_SearchResourcesCommand)
14
+ .sc(SearchResources)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartTagSyncTaskCommand, se_StartTagSyncTaskCommand } from "../protocols/Aws_restJson1";
4
+ import { StartTagSyncTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartTagSyncTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "StartTagSyncTask", {})
17
13
  .n("ResourceGroupsClient", "StartTagSyncTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartTagSyncTaskCommand)
20
- .de(de_StartTagSyncTaskCommand)
14
+ .sc(StartTagSyncTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagCommand, se_TagCommand } from "../protocols/Aws_restJson1";
4
+ import { Tag } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "Tag", {})
17
13
  .n("ResourceGroupsClient", "TagCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagCommand)
20
- .de(de_TagCommand)
14
+ .sc(Tag)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UngroupResourcesCommand, se_UngroupResourcesCommand } from "../protocols/Aws_restJson1";
4
+ import { UngroupResources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UngroupResourcesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "UngroupResources", {})
17
13
  .n("ResourceGroupsClient", "UngroupResourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UngroupResourcesCommand)
20
- .de(de_UngroupResourcesCommand)
14
+ .sc(UngroupResources)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagCommand, se_UntagCommand } from "../protocols/Aws_restJson1";
4
+ import { Untag } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "Untag", {})
17
13
  .n("ResourceGroupsClient", "UntagCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagCommand)
20
- .de(de_UntagCommand)
14
+ .sc(Untag)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateAccountSettingsCommand, se_UpdateAccountSettingsCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAccountSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateAccountSettingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "UpdateAccountSettings", {})
17
13
  .n("ResourceGroupsClient", "UpdateAccountSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateAccountSettingsCommand)
20
- .de(de_UpdateAccountSettingsCommand)
14
+ .sc(UpdateAccountSettings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateGroupCommand, se_UpdateGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Ardi", "UpdateGroup", {})
17
13
  .n("ResourceGroupsClient", "UpdateGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateGroupCommand)
20
- .de(de_UpdateGroupCommand)
14
+ .sc(UpdateGroup)
21
15
  .build() {
22
16
  }