@aws-sdk/client-resource-groups 3.477.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 (89) 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-cjs/pagination/ListGroupResourcesPaginator.js +2 -24
  21. package/dist-cjs/pagination/ListGroupsPaginator.js +2 -24
  22. package/dist-cjs/pagination/SearchResourcesPaginator.js +2 -24
  23. package/dist-es/commands/CreateGroupCommand.js +18 -41
  24. package/dist-es/commands/DeleteGroupCommand.js +18 -41
  25. package/dist-es/commands/GetAccountSettingsCommand.js +18 -41
  26. package/dist-es/commands/GetGroupCommand.js +18 -41
  27. package/dist-es/commands/GetGroupConfigurationCommand.js +18 -41
  28. package/dist-es/commands/GetGroupQueryCommand.js +18 -41
  29. package/dist-es/commands/GetTagsCommand.js +18 -41
  30. package/dist-es/commands/GroupResourcesCommand.js +18 -41
  31. package/dist-es/commands/ListGroupResourcesCommand.js +18 -41
  32. package/dist-es/commands/ListGroupsCommand.js +18 -41
  33. package/dist-es/commands/PutGroupConfigurationCommand.js +18 -41
  34. package/dist-es/commands/SearchResourcesCommand.js +18 -41
  35. package/dist-es/commands/TagCommand.js +18 -41
  36. package/dist-es/commands/UngroupResourcesCommand.js +18 -41
  37. package/dist-es/commands/UntagCommand.js +18 -41
  38. package/dist-es/commands/UpdateAccountSettingsCommand.js +18 -41
  39. package/dist-es/commands/UpdateGroupCommand.js +18 -41
  40. package/dist-es/commands/UpdateGroupQueryCommand.js +18 -41
  41. package/dist-es/endpoint/EndpointParameters.js +6 -0
  42. package/dist-es/pagination/ListGroupResourcesPaginator.js +2 -23
  43. package/dist-es/pagination/ListGroupsPaginator.js +2 -23
  44. package/dist-es/pagination/SearchResourcesPaginator.js +2 -23
  45. package/dist-types/commands/CreateGroupCommand.d.ts +6 -21
  46. package/dist-types/commands/DeleteGroupCommand.d.ts +6 -21
  47. package/dist-types/commands/GetAccountSettingsCommand.d.ts +6 -21
  48. package/dist-types/commands/GetGroupCommand.d.ts +6 -21
  49. package/dist-types/commands/GetGroupConfigurationCommand.d.ts +6 -21
  50. package/dist-types/commands/GetGroupQueryCommand.d.ts +6 -21
  51. package/dist-types/commands/GetTagsCommand.d.ts +6 -21
  52. package/dist-types/commands/GroupResourcesCommand.d.ts +6 -21
  53. package/dist-types/commands/ListGroupResourcesCommand.d.ts +6 -21
  54. package/dist-types/commands/ListGroupsCommand.d.ts +6 -21
  55. package/dist-types/commands/PutGroupConfigurationCommand.d.ts +6 -21
  56. package/dist-types/commands/SearchResourcesCommand.d.ts +6 -21
  57. package/dist-types/commands/TagCommand.d.ts +6 -21
  58. package/dist-types/commands/UngroupResourcesCommand.d.ts +6 -21
  59. package/dist-types/commands/UntagCommand.d.ts +6 -21
  60. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +6 -21
  61. package/dist-types/commands/UpdateGroupCommand.d.ts +6 -21
  62. package/dist-types/commands/UpdateGroupQueryCommand.d.ts +6 -21
  63. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  64. package/dist-types/pagination/ListGroupResourcesPaginator.d.ts +1 -1
  65. package/dist-types/pagination/ListGroupsPaginator.d.ts +1 -1
  66. package/dist-types/pagination/SearchResourcesPaginator.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/GetGroupConfigurationCommand.d.ts +12 -24
  72. package/dist-types/ts3.4/commands/GetGroupQueryCommand.d.ts +14 -23
  73. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +12 -23
  74. package/dist-types/ts3.4/commands/GroupResourcesCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/ListGroupResourcesCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/PutGroupConfigurationCommand.d.ts +12 -24
  78. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/TagCommand.d.ts +12 -23
  80. package/dist-types/ts3.4/commands/UngroupResourcesCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/UntagCommand.d.ts +12 -23
  82. package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/UpdateGroupQueryCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  86. package/dist-types/ts3.4/pagination/ListGroupResourcesPaginator.d.ts +3 -3
  87. package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +3 -3
  88. package/dist-types/ts3.4/pagination/SearchResourcesPaginator.d.ts +3 -3
  89. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateGroupQueryCommand, se_UpdateGroupQueryCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateGroupQueryCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateGroupQueryCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ResourceGroupsClient";
26
- const commandName = "UpdateGroupQueryCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Ardi",
35
- operation: "UpdateGroupQuery",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateGroupQueryCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateGroupQueryCommand(output, context);
46
- }
7
+ export class UpdateGroupQueryCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Ardi", "UpdateGroupQuery", {})
19
+ .n("ResourceGroupsClient", "UpdateGroupQueryCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateGroupQueryCommand)
22
+ .de(de_UpdateGroupQueryCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "resource-groups",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListGroupResourcesCommand, } from "../commands/ListGroupResourcesCommand";
2
3
  import { ResourceGroupsClient } from "../ResourceGroupsClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListGroupResourcesCommand(input), ...args);
5
- };
6
- export async function* paginateListGroupResources(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ResourceGroupsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ResourceGroups | ResourceGroupsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListGroupResources = createPaginator(ResourceGroupsClient, ListGroupResourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListGroupsCommand } from "../commands/ListGroupsCommand";
2
3
  import { ResourceGroupsClient } from "../ResourceGroupsClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateListGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ResourceGroupsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ResourceGroups | ResourceGroupsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListGroups = createPaginator(ResourceGroupsClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { SearchResourcesCommand, } from "../commands/SearchResourcesCommand";
2
3
  import { ResourceGroupsClient } from "../ResourceGroupsClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchResourcesCommand(input), ...args);
5
- };
6
- export async function* paginateSearchResources(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ResourceGroupsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ResourceGroups | ResourceGroupsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateSearchResources = createPaginator(ResourceGroupsClient, SearchResourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateGroupInput, CreateGroupOutput } from "../models/models_0";
5
4
  import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateGroupCommandInput extends CreateGroupInput {
21
20
  */
22
21
  export interface CreateGroupCommandOutput extends CreateGroupOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateGroupCommand_base: {
24
+ new (input: CreateGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGroupCommandInput, CreateGroupCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a resource group with the specified name and description. You can optionally
@@ -144,23 +147,5 @@ export interface CreateGroupCommandOutput extends CreateGroupOutput, __MetadataB
144
147
  * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
145
148
  *
146
149
  */
147
- export declare class CreateGroupCommand extends $Command<CreateGroupCommandInput, CreateGroupCommandOutput, ResourceGroupsClientResolvedConfig> {
148
- readonly input: CreateGroupCommandInput;
149
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
150
- /**
151
- * @public
152
- */
153
- constructor(input: CreateGroupCommandInput);
154
- /**
155
- * @internal
156
- */
157
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGroupCommandInput, CreateGroupCommandOutput>;
158
- /**
159
- * @internal
160
- */
161
- private serialize;
162
- /**
163
- * @internal
164
- */
165
- private deserialize;
150
+ export declare class CreateGroupCommand extends CreateGroupCommand_base {
166
151
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteGroupInput, DeleteGroupOutput } from "../models/models_0";
5
4
  import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteGroupCommandInput extends DeleteGroupInput {
21
20
  */
22
21
  export interface DeleteGroupCommandOutput extends DeleteGroupOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteGroupCommand_base: {
24
+ new (input: DeleteGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteGroupCommandInput, DeleteGroupCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified resource group. Deleting a resource group does not delete any
@@ -87,23 +90,5 @@ export interface DeleteGroupCommandOutput extends DeleteGroupOutput, __MetadataB
87
90
  * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
88
91
  *
89
92
  */
90
- export declare class DeleteGroupCommand extends $Command<DeleteGroupCommandInput, DeleteGroupCommandOutput, ResourceGroupsClientResolvedConfig> {
91
- readonly input: DeleteGroupCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: DeleteGroupCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteGroupCommandInput, DeleteGroupCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class DeleteGroupCommand extends DeleteGroupCommand_base {
109
94
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetAccountSettingsOutput } from "../models/models_0";
5
4
  import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetAccountSettingsCommandInput {
21
20
  */
22
21
  export interface GetAccountSettingsCommandOutput extends GetAccountSettingsOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetAccountSettingsCommand_base: {
24
+ new (input: GetAccountSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the current status of optional features in Resource Groups.</p>
@@ -69,23 +72,5 @@ export interface GetAccountSettingsCommandOutput extends GetAccountSettingsOutpu
69
72
  * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
70
73
  *
71
74
  */
72
- export declare class GetAccountSettingsCommand extends $Command<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, ResourceGroupsClientResolvedConfig> {
73
- readonly input: GetAccountSettingsCommandInput;
74
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
75
- /**
76
- * @public
77
- */
78
- constructor(input: GetAccountSettingsCommandInput);
79
- /**
80
- * @internal
81
- */
82
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput>;
83
- /**
84
- * @internal
85
- */
86
- private serialize;
87
- /**
88
- * @internal
89
- */
90
- private deserialize;
75
+ export declare class GetAccountSettingsCommand extends GetAccountSettingsCommand_base {
91
76
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetGroupInput, GetGroupOutput } from "../models/models_0";
5
4
  import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetGroupCommandInput extends GetGroupInput {
21
20
  */
22
21
  export interface GetGroupCommandOutput extends GetGroupOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetGroupCommand_base: {
24
+ new (input: GetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetGroupCommandInput, GetGroupCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about a specified resource group.</p>
@@ -86,23 +89,5 @@ export interface GetGroupCommandOutput extends GetGroupOutput, __MetadataBearer
86
89
  * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
87
90
  *
88
91
  */
89
- export declare class GetGroupCommand extends $Command<GetGroupCommandInput, GetGroupCommandOutput, ResourceGroupsClientResolvedConfig> {
90
- readonly input: GetGroupCommandInput;
91
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
- /**
93
- * @public
94
- */
95
- constructor(input: GetGroupCommandInput);
96
- /**
97
- * @internal
98
- */
99
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetGroupCommandInput, GetGroupCommandOutput>;
100
- /**
101
- * @internal
102
- */
103
- private serialize;
104
- /**
105
- * @internal
106
- */
107
- private deserialize;
92
+ export declare class GetGroupCommand extends GetGroupCommand_base {
108
93
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetGroupConfigurationInput, GetGroupConfigurationOutput } from "../models/models_0";
5
4
  import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetGroupConfigurationCommandInput extends GetGroupConfiguration
21
20
  */
22
21
  export interface GetGroupConfigurationCommandOutput extends GetGroupConfigurationOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetGroupConfigurationCommand_base: {
24
+ new (input: GetGroupConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetGroupConfigurationCommandInput, GetGroupConfigurationCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the service configuration associated with the specified resource group. For
@@ -111,23 +114,5 @@ export interface GetGroupConfigurationCommandOutput extends GetGroupConfiguratio
111
114
  * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
112
115
  *
113
116
  */
114
- export declare class GetGroupConfigurationCommand extends $Command<GetGroupConfigurationCommandInput, GetGroupConfigurationCommandOutput, ResourceGroupsClientResolvedConfig> {
115
- readonly input: GetGroupConfigurationCommandInput;
116
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
117
- /**
118
- * @public
119
- */
120
- constructor(input: GetGroupConfigurationCommandInput);
121
- /**
122
- * @internal
123
- */
124
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetGroupConfigurationCommandInput, GetGroupConfigurationCommandOutput>;
125
- /**
126
- * @internal
127
- */
128
- private serialize;
129
- /**
130
- * @internal
131
- */
132
- private deserialize;
117
+ export declare class GetGroupConfigurationCommand extends GetGroupConfigurationCommand_base {
133
118
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetGroupQueryInput, GetGroupQueryOutput } from "../models/models_0";
5
4
  import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetGroupQueryCommandInput extends GetGroupQueryInput {
21
20
  */
22
21
  export interface GetGroupQueryCommandOutput extends GetGroupQueryOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetGroupQueryCommand_base: {
24
+ new (input: GetGroupQueryCommandInput): import("@smithy/smithy-client").CommandImpl<GetGroupQueryCommandInput, GetGroupQueryCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the resource query associated with the specified resource group. For more
@@ -90,23 +93,5 @@ export interface GetGroupQueryCommandOutput extends GetGroupQueryOutput, __Metad
90
93
  * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
91
94
  *
92
95
  */
93
- export declare class GetGroupQueryCommand extends $Command<GetGroupQueryCommandInput, GetGroupQueryCommandOutput, ResourceGroupsClientResolvedConfig> {
94
- readonly input: GetGroupQueryCommandInput;
95
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
- /**
97
- * @public
98
- */
99
- constructor(input: GetGroupQueryCommandInput);
100
- /**
101
- * @internal
102
- */
103
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetGroupQueryCommandInput, GetGroupQueryCommandOutput>;
104
- /**
105
- * @internal
106
- */
107
- private serialize;
108
- /**
109
- * @internal
110
- */
111
- private deserialize;
96
+ export declare class GetGroupQueryCommand extends GetGroupQueryCommand_base {
112
97
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetTagsInput, GetTagsOutput } from "../models/models_0";
5
4
  import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetTagsCommandInput extends GetTagsInput {
21
20
  */
22
21
  export interface GetTagsCommandOutput extends GetTagsOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetTagsCommand_base: {
24
+ new (input: GetTagsCommandInput): import("@smithy/smithy-client").CommandImpl<GetTagsCommandInput, GetTagsCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of tags that are associated with a resource group, specified by an
@@ -85,23 +88,5 @@ export interface GetTagsCommandOutput extends GetTagsOutput, __MetadataBearer {
85
88
  * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
86
89
  *
87
90
  */
88
- export declare class GetTagsCommand extends $Command<GetTagsCommandInput, GetTagsCommandOutput, ResourceGroupsClientResolvedConfig> {
89
- readonly input: GetTagsCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: GetTagsCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTagsCommandInput, GetTagsCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class GetTagsCommand extends GetTagsCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GroupResourcesInput, GroupResourcesOutput } from "../models/models_0";
5
4
  import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GroupResourcesCommandInput extends GroupResourcesInput {
21
20
  */
22
21
  export interface GroupResourcesCommandOutput extends GroupResourcesOutput, __MetadataBearer {
23
22
  }
23
+ declare const GroupResourcesCommand_base: {
24
+ new (input: GroupResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<GroupResourcesCommandInput, GroupResourcesCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds the specified resources to the specified group.</p>
@@ -116,23 +119,5 @@ export interface GroupResourcesCommandOutput extends GroupResourcesOutput, __Met
116
119
  * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
117
120
  *
118
121
  */
119
- export declare class GroupResourcesCommand extends $Command<GroupResourcesCommandInput, GroupResourcesCommandOutput, ResourceGroupsClientResolvedConfig> {
120
- readonly input: GroupResourcesCommandInput;
121
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
122
- /**
123
- * @public
124
- */
125
- constructor(input: GroupResourcesCommandInput);
126
- /**
127
- * @internal
128
- */
129
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GroupResourcesCommandInput, GroupResourcesCommandOutput>;
130
- /**
131
- * @internal
132
- */
133
- private serialize;
134
- /**
135
- * @internal
136
- */
137
- private deserialize;
122
+ export declare class GroupResourcesCommand extends GroupResourcesCommand_base {
138
123
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListGroupResourcesInput, ListGroupResourcesOutput } from "../models/models_0";
5
4
  import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListGroupResourcesCommandInput extends ListGroupResourcesInput
21
20
  */
22
21
  export interface ListGroupResourcesCommandOutput extends ListGroupResourcesOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListGroupResourcesCommand_base: {
24
+ new (input: ListGroupResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of ARNs of the resources that are members of a specified resource
@@ -135,23 +138,5 @@ export interface ListGroupResourcesCommandOutput extends ListGroupResourcesOutpu
135
138
  * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
136
139
  *
137
140
  */
138
- export declare class ListGroupResourcesCommand extends $Command<ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput, ResourceGroupsClientResolvedConfig> {
139
- readonly input: ListGroupResourcesCommandInput;
140
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
141
- /**
142
- * @public
143
- */
144
- constructor(input: ListGroupResourcesCommandInput);
145
- /**
146
- * @internal
147
- */
148
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput>;
149
- /**
150
- * @internal
151
- */
152
- private serialize;
153
- /**
154
- * @internal
155
- */
156
- private deserialize;
141
+ export declare class ListGroupResourcesCommand extends ListGroupResourcesCommand_base {
157
142
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListGroupsInput, ListGroupsOutput } from "../models/models_0";
5
4
  import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListGroupsCommandInput extends ListGroupsInput {
21
20
  */
22
21
  export interface ListGroupsCommandOutput extends ListGroupsOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListGroupsCommand_base: {
24
+ new (input: ListGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupsCommandInput, ListGroupsCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of existing Resource Groups in your account.</p>
@@ -100,23 +103,5 @@ export interface ListGroupsCommandOutput extends ListGroupsOutput, __MetadataBea
100
103
  * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
101
104
  *
102
105
  */
103
- export declare class ListGroupsCommand extends $Command<ListGroupsCommandInput, ListGroupsCommandOutput, ResourceGroupsClientResolvedConfig> {
104
- readonly input: ListGroupsCommandInput;
105
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
106
- /**
107
- * @public
108
- */
109
- constructor(input: ListGroupsCommandInput);
110
- /**
111
- * @internal
112
- */
113
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListGroupsCommandInput, ListGroupsCommandOutput>;
114
- /**
115
- * @internal
116
- */
117
- private serialize;
118
- /**
119
- * @internal
120
- */
121
- private deserialize;
106
+ export declare class ListGroupsCommand extends ListGroupsCommand_base {
122
107
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { PutGroupConfigurationInput, PutGroupConfigurationOutput } from "../models/models_0";
5
4
  import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutGroupConfigurationCommandInput extends PutGroupConfiguration
21
20
  */
22
21
  export interface PutGroupConfigurationCommandOutput extends PutGroupConfigurationOutput, __MetadataBearer {
23
22
  }
23
+ declare const PutGroupConfigurationCommand_base: {
24
+ new (input: PutGroupConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutGroupConfigurationCommandInput, PutGroupConfigurationCommandOutput, ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Attaches a service configuration to the specified group. This occurs asynchronously,
@@ -94,23 +97,5 @@ export interface PutGroupConfigurationCommandOutput extends PutGroupConfiguratio
94
97
  * <p>Base exception class for all service exceptions from ResourceGroups service.</p>
95
98
  *
96
99
  */
97
- export declare class PutGroupConfigurationCommand extends $Command<PutGroupConfigurationCommandInput, PutGroupConfigurationCommandOutput, ResourceGroupsClientResolvedConfig> {
98
- readonly input: PutGroupConfigurationCommandInput;
99
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
- /**
101
- * @public
102
- */
103
- constructor(input: PutGroupConfigurationCommandInput);
104
- /**
105
- * @internal
106
- */
107
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutGroupConfigurationCommandInput, PutGroupConfigurationCommandOutput>;
108
- /**
109
- * @internal
110
- */
111
- private serialize;
112
- /**
113
- * @internal
114
- */
115
- private deserialize;
100
+ export declare class PutGroupConfigurationCommand extends PutGroupConfigurationCommand_base {
116
101
  }