@aws-sdk/client-resource-groups 3.50.0 → 3.53.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 (47) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/ResourceGroupsServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +101 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +227 -791
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/ResourceGroupsServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +93 -1
  9. package/dist-es/protocols/Aws_restJson1.js +437 -863
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/ResourceGroupsServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +51 -22
  13. package/dist-types/ts3.4/ResourceGroups.d.ts +85 -0
  14. package/dist-types/ts3.4/ResourceGroupsClient.d.ts +89 -0
  15. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/GetGroupConfigurationCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/GetGroupQueryCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/GroupResourcesCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/ListGroupResourcesCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/PutGroupConfigurationCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/TagCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/UngroupResourcesCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/UntagCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/UpdateGroupQueryCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  32. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  33. package/dist-types/ts3.4/index.d.ts +6 -0
  34. package/dist-types/ts3.4/models/ResourceGroupsServiceException.d.ts +6 -0
  35. package/dist-types/ts3.4/models/index.d.ts +1 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +596 -0
  37. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  38. package/dist-types/ts3.4/pagination/ListGroupResourcesPaginator.d.ts +4 -0
  39. package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +4 -0
  40. package/dist-types/ts3.4/pagination/SearchResourcesPaginator.d.ts +4 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +50 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  47. package/package.json +33 -33
@@ -3,3 +3,4 @@ export * from "./ResourceGroupsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ResourceGroupsServiceException } from "./models/ResourceGroupsServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from ResourceGroups service.
4
+ */
5
+ export declare class ResourceGroupsServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
2
3
  /**
3
4
  * <p>The request includes one or more parameters that violate validation rules.</p>
4
5
  */
5
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
6
- name: "BadRequestException";
7
- $fault: "client";
6
+ export declare class BadRequestException extends __BaseException {
7
+ readonly name: "BadRequestException";
8
+ readonly $fault: "client";
8
9
  Message?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
9
14
  }
10
15
  /**
11
16
  * <p>A parameter for a group configuration item. For details about group service
@@ -407,35 +412,51 @@ export declare namespace CreateGroupOutput {
407
412
  /**
408
413
  * <p>The caller isn't authorized to make the request. Check permissions.</p>
409
414
  */
410
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
411
- name: "ForbiddenException";
412
- $fault: "client";
415
+ export declare class ForbiddenException extends __BaseException {
416
+ readonly name: "ForbiddenException";
417
+ readonly $fault: "client";
413
418
  Message?: string;
419
+ /**
420
+ * @internal
421
+ */
422
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
414
423
  }
415
424
  /**
416
425
  * <p>An internal error occurred while processing the request. Try again later.</p>
417
426
  */
418
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
419
- name: "InternalServerErrorException";
420
- $fault: "server";
427
+ export declare class InternalServerErrorException extends __BaseException {
428
+ readonly name: "InternalServerErrorException";
429
+ readonly $fault: "server";
421
430
  Message?: string;
431
+ /**
432
+ * @internal
433
+ */
434
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
422
435
  }
423
436
  /**
424
437
  * <p>The request uses an HTTP method that isn't allowed for the specified resource.</p>
425
438
  */
426
- export interface MethodNotAllowedException extends __SmithyException, $MetadataBearer {
427
- name: "MethodNotAllowedException";
428
- $fault: "client";
439
+ export declare class MethodNotAllowedException extends __BaseException {
440
+ readonly name: "MethodNotAllowedException";
441
+ readonly $fault: "client";
429
442
  Message?: string;
443
+ /**
444
+ * @internal
445
+ */
446
+ constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
430
447
  }
431
448
  /**
432
449
  * <p>You've exceeded throttling limits by making too many requests in a period of
433
450
  * time.</p>
434
451
  */
435
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
436
- name: "TooManyRequestsException";
437
- $fault: "client";
452
+ export declare class TooManyRequestsException extends __BaseException {
453
+ readonly name: "TooManyRequestsException";
454
+ readonly $fault: "client";
438
455
  Message?: string;
456
+ /**
457
+ * @internal
458
+ */
459
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
439
460
  }
440
461
  export interface DeleteGroupInput {
441
462
  /**
@@ -470,10 +491,14 @@ export declare namespace DeleteGroupOutput {
470
491
  /**
471
492
  * <p>One or more of the specified resources don't exist.</p>
472
493
  */
473
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
474
- name: "NotFoundException";
475
- $fault: "client";
494
+ export declare class NotFoundException extends __BaseException {
495
+ readonly name: "NotFoundException";
496
+ readonly $fault: "client";
476
497
  Message?: string;
498
+ /**
499
+ * @internal
500
+ */
501
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
477
502
  }
478
503
  export interface GetGroupInput {
479
504
  /**
@@ -941,10 +966,14 @@ export declare namespace ListGroupResourcesOutput {
941
966
  * <p>The request was rejected because it doesn't have valid credentials for the target
942
967
  * resource.</p>
943
968
  */
944
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
945
- name: "UnauthorizedException";
946
- $fault: "client";
969
+ export declare class UnauthorizedException extends __BaseException {
970
+ readonly name: "UnauthorizedException";
971
+ readonly $fault: "client";
947
972
  Message?: string;
973
+ /**
974
+ * @internal
975
+ */
976
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
948
977
  }
949
978
  export declare enum GroupFilterName {
950
979
  ConfigurationType = "configuration-type",
@@ -0,0 +1,85 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
3
+ import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
4
+ import { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroupCommand";
5
+ import { GetGroupConfigurationCommandInput, GetGroupConfigurationCommandOutput } from "./commands/GetGroupConfigurationCommand";
6
+ import { GetGroupQueryCommandInput, GetGroupQueryCommandOutput } from "./commands/GetGroupQueryCommand";
7
+ import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
8
+ import { GroupResourcesCommandInput, GroupResourcesCommandOutput } from "./commands/GroupResourcesCommand";
9
+ import { ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput } from "./commands/ListGroupResourcesCommand";
10
+ import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand";
11
+ import { PutGroupConfigurationCommandInput, PutGroupConfigurationCommandOutput } from "./commands/PutGroupConfigurationCommand";
12
+ import { SearchResourcesCommandInput, SearchResourcesCommandOutput } from "./commands/SearchResourcesCommand";
13
+ import { TagCommandInput, TagCommandOutput } from "./commands/TagCommand";
14
+ import { UngroupResourcesCommandInput, UngroupResourcesCommandOutput } from "./commands/UngroupResourcesCommand";
15
+ import { UntagCommandInput, UntagCommandOutput } from "./commands/UntagCommand";
16
+ import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
17
+ import { UpdateGroupQueryCommandInput, UpdateGroupQueryCommandOutput } from "./commands/UpdateGroupQueryCommand";
18
+ import { ResourceGroupsClient } from "./ResourceGroupsClient";
19
+
20
+ export declare class ResourceGroups extends ResourceGroupsClient {
21
+
22
+ createGroup(args: CreateGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateGroupCommandOutput>;
23
+ createGroup(args: CreateGroupCommandInput, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
24
+ createGroup(args: CreateGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
25
+
26
+ deleteGroup(args: DeleteGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGroupCommandOutput>;
27
+ deleteGroup(args: DeleteGroupCommandInput, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
28
+ deleteGroup(args: DeleteGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
29
+
30
+ getGroup(args: GetGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupCommandOutput>;
31
+ getGroup(args: GetGroupCommandInput, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
32
+ getGroup(args: GetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
33
+
34
+ getGroupConfiguration(args: GetGroupConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupConfigurationCommandOutput>;
35
+ getGroupConfiguration(args: GetGroupConfigurationCommandInput, cb: (err: any, data?: GetGroupConfigurationCommandOutput) => void): void;
36
+ getGroupConfiguration(args: GetGroupConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupConfigurationCommandOutput) => void): void;
37
+
38
+ getGroupQuery(args: GetGroupQueryCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupQueryCommandOutput>;
39
+ getGroupQuery(args: GetGroupQueryCommandInput, cb: (err: any, data?: GetGroupQueryCommandOutput) => void): void;
40
+ getGroupQuery(args: GetGroupQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupQueryCommandOutput) => void): void;
41
+
42
+ getTags(args: GetTagsCommandInput, options?: __HttpHandlerOptions): Promise<GetTagsCommandOutput>;
43
+ getTags(args: GetTagsCommandInput, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
44
+ getTags(args: GetTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
45
+
46
+ groupResources(args: GroupResourcesCommandInput, options?: __HttpHandlerOptions): Promise<GroupResourcesCommandOutput>;
47
+ groupResources(args: GroupResourcesCommandInput, cb: (err: any, data?: GroupResourcesCommandOutput) => void): void;
48
+ groupResources(args: GroupResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GroupResourcesCommandOutput) => void): void;
49
+
50
+ listGroupResources(args: ListGroupResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupResourcesCommandOutput>;
51
+ listGroupResources(args: ListGroupResourcesCommandInput, cb: (err: any, data?: ListGroupResourcesCommandOutput) => void): void;
52
+ listGroupResources(args: ListGroupResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupResourcesCommandOutput) => void): void;
53
+
54
+ listGroups(args: ListGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupsCommandOutput>;
55
+ listGroups(args: ListGroupsCommandInput, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
56
+ listGroups(args: ListGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
57
+
58
+ putGroupConfiguration(args: PutGroupConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutGroupConfigurationCommandOutput>;
59
+ putGroupConfiguration(args: PutGroupConfigurationCommandInput, cb: (err: any, data?: PutGroupConfigurationCommandOutput) => void): void;
60
+ putGroupConfiguration(args: PutGroupConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutGroupConfigurationCommandOutput) => void): void;
61
+
62
+ searchResources(args: SearchResourcesCommandInput, options?: __HttpHandlerOptions): Promise<SearchResourcesCommandOutput>;
63
+ searchResources(args: SearchResourcesCommandInput, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
64
+ searchResources(args: SearchResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
65
+
66
+ tag(args: TagCommandInput, options?: __HttpHandlerOptions): Promise<TagCommandOutput>;
67
+ tag(args: TagCommandInput, cb: (err: any, data?: TagCommandOutput) => void): void;
68
+ tag(args: TagCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagCommandOutput) => void): void;
69
+
70
+ ungroupResources(args: UngroupResourcesCommandInput, options?: __HttpHandlerOptions): Promise<UngroupResourcesCommandOutput>;
71
+ ungroupResources(args: UngroupResourcesCommandInput, cb: (err: any, data?: UngroupResourcesCommandOutput) => void): void;
72
+ ungroupResources(args: UngroupResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UngroupResourcesCommandOutput) => void): void;
73
+
74
+ untag(args: UntagCommandInput, options?: __HttpHandlerOptions): Promise<UntagCommandOutput>;
75
+ untag(args: UntagCommandInput, cb: (err: any, data?: UntagCommandOutput) => void): void;
76
+ untag(args: UntagCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagCommandOutput) => void): void;
77
+
78
+ updateGroup(args: UpdateGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGroupCommandOutput>;
79
+ updateGroup(args: UpdateGroupCommandInput, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
80
+ updateGroup(args: UpdateGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
81
+
82
+ updateGroupQuery(args: UpdateGroupQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGroupQueryCommandOutput>;
83
+ updateGroupQuery(args: UpdateGroupQueryCommandInput, cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void): void;
84
+ updateGroupQuery(args: UpdateGroupQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void): void;
85
+ }
@@ -0,0 +1,89 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
10
+ import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
11
+ import { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroupCommand";
12
+ import { GetGroupConfigurationCommandInput, GetGroupConfigurationCommandOutput } from "./commands/GetGroupConfigurationCommand";
13
+ import { GetGroupQueryCommandInput, GetGroupQueryCommandOutput } from "./commands/GetGroupQueryCommand";
14
+ import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
15
+ import { GroupResourcesCommandInput, GroupResourcesCommandOutput } from "./commands/GroupResourcesCommand";
16
+ import { ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput } from "./commands/ListGroupResourcesCommand";
17
+ import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand";
18
+ import { PutGroupConfigurationCommandInput, PutGroupConfigurationCommandOutput } from "./commands/PutGroupConfigurationCommand";
19
+ import { SearchResourcesCommandInput, SearchResourcesCommandOutput } from "./commands/SearchResourcesCommand";
20
+ import { TagCommandInput, TagCommandOutput } from "./commands/TagCommand";
21
+ import { UngroupResourcesCommandInput, UngroupResourcesCommandOutput } from "./commands/UngroupResourcesCommand";
22
+ import { UntagCommandInput, UntagCommandOutput } from "./commands/UntagCommand";
23
+ import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
24
+ import { UpdateGroupQueryCommandInput, UpdateGroupQueryCommandOutput } from "./commands/UpdateGroupQueryCommand";
25
+ export declare type ServiceInputTypes = CreateGroupCommandInput | DeleteGroupCommandInput | GetGroupCommandInput | GetGroupConfigurationCommandInput | GetGroupQueryCommandInput | GetTagsCommandInput | GroupResourcesCommandInput | ListGroupResourcesCommandInput | ListGroupsCommandInput | PutGroupConfigurationCommandInput | SearchResourcesCommandInput | TagCommandInput | UngroupResourcesCommandInput | UntagCommandInput | UpdateGroupCommandInput | UpdateGroupQueryCommandInput;
26
+ export declare type ServiceOutputTypes = CreateGroupCommandOutput | DeleteGroupCommandOutput | GetGroupCommandOutput | GetGroupConfigurationCommandOutput | GetGroupQueryCommandOutput | GetTagsCommandOutput | GroupResourcesCommandOutput | ListGroupResourcesCommandOutput | ListGroupsCommandOutput | PutGroupConfigurationCommandOutput | SearchResourcesCommandOutput | TagCommandOutput | UngroupResourcesCommandOutput | UntagCommandOutput | UpdateGroupCommandOutput | UpdateGroupQueryCommandOutput;
27
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
28
+
29
+ requestHandler?: __HttpHandler;
30
+
31
+ sha256?: __HashConstructor;
32
+
33
+ urlParser?: __UrlParser;
34
+
35
+ bodyLengthChecker?: (body: any) => number | undefined;
36
+
37
+ streamCollector?: __StreamCollector;
38
+
39
+ base64Decoder?: __Decoder;
40
+
41
+ base64Encoder?: __Encoder;
42
+
43
+ utf8Decoder?: __Decoder;
44
+
45
+ utf8Encoder?: __Encoder;
46
+
47
+ runtime?: string;
48
+
49
+ disableHostPrefix?: boolean;
50
+
51
+ maxAttempts?: number | __Provider<number>;
52
+
53
+ retryMode?: string | __Provider<string>;
54
+
55
+ logger?: __Logger;
56
+
57
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
58
+
59
+ useFipsEndpoint?: boolean | __Provider<boolean>;
60
+
61
+ serviceId?: string;
62
+
63
+ region?: string | __Provider<string>;
64
+
65
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
66
+
67
+ regionInfoProvider?: RegionInfoProvider;
68
+
69
+ defaultUserAgentProvider?: Provider<__UserAgent>;
70
+
71
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
72
+ }
73
+ declare type ResourceGroupsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
74
+
75
+ export interface ResourceGroupsClientConfig extends ResourceGroupsClientConfigType {
76
+ }
77
+ declare type ResourceGroupsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
78
+
79
+ export interface ResourceGroupsClientResolvedConfig extends ResourceGroupsClientResolvedConfigType {
80
+ }
81
+
82
+ export declare class ResourceGroupsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ResourceGroupsClientResolvedConfig> {
83
+
84
+ readonly config: ResourceGroupsClientResolvedConfig;
85
+ constructor(configuration: ResourceGroupsClientConfig);
86
+
87
+ destroy(): void;
88
+ }
89
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateGroupInput, CreateGroupOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface CreateGroupCommandInput extends CreateGroupInput {
6
+ }
7
+ export interface CreateGroupCommandOutput extends CreateGroupOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateGroupCommand extends $Command<CreateGroupCommandInput, CreateGroupCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: CreateGroupCommandInput;
12
+ constructor(input: CreateGroupCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGroupCommandInput, CreateGroupCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteGroupInput, DeleteGroupOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface DeleteGroupCommandInput extends DeleteGroupInput {
6
+ }
7
+ export interface DeleteGroupCommandOutput extends DeleteGroupOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteGroupCommand extends $Command<DeleteGroupCommandInput, DeleteGroupCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: DeleteGroupCommandInput;
12
+ constructor(input: DeleteGroupCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteGroupCommandInput, DeleteGroupCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetGroupInput, GetGroupOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface GetGroupCommandInput extends GetGroupInput {
6
+ }
7
+ export interface GetGroupCommandOutput extends GetGroupOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetGroupCommand extends $Command<GetGroupCommandInput, GetGroupCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: GetGroupCommandInput;
12
+ constructor(input: GetGroupCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetGroupCommandInput, GetGroupCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetGroupConfigurationInput, GetGroupConfigurationOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface GetGroupConfigurationCommandInput extends GetGroupConfigurationInput {
6
+ }
7
+ export interface GetGroupConfigurationCommandOutput extends GetGroupConfigurationOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetGroupConfigurationCommand extends $Command<GetGroupConfigurationCommandInput, GetGroupConfigurationCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: GetGroupConfigurationCommandInput;
12
+ constructor(input: GetGroupConfigurationCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetGroupConfigurationCommandInput, GetGroupConfigurationCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetGroupQueryInput, GetGroupQueryOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface GetGroupQueryCommandInput extends GetGroupQueryInput {
6
+ }
7
+ export interface GetGroupQueryCommandOutput extends GetGroupQueryOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetGroupQueryCommand extends $Command<GetGroupQueryCommandInput, GetGroupQueryCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: GetGroupQueryCommandInput;
12
+ constructor(input: GetGroupQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetGroupQueryCommandInput, GetGroupQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetTagsInput, GetTagsOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface GetTagsCommandInput extends GetTagsInput {
6
+ }
7
+ export interface GetTagsCommandOutput extends GetTagsOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetTagsCommand extends $Command<GetTagsCommandInput, GetTagsCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: GetTagsCommandInput;
12
+ constructor(input: GetTagsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTagsCommandInput, GetTagsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GroupResourcesInput, GroupResourcesOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface GroupResourcesCommandInput extends GroupResourcesInput {
6
+ }
7
+ export interface GroupResourcesCommandOutput extends GroupResourcesOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GroupResourcesCommand extends $Command<GroupResourcesCommandInput, GroupResourcesCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: GroupResourcesCommandInput;
12
+ constructor(input: GroupResourcesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GroupResourcesCommandInput, GroupResourcesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListGroupResourcesInput, ListGroupResourcesOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface ListGroupResourcesCommandInput extends ListGroupResourcesInput {
6
+ }
7
+ export interface ListGroupResourcesCommandOutput extends ListGroupResourcesOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListGroupResourcesCommand extends $Command<ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: ListGroupResourcesCommandInput;
12
+ constructor(input: ListGroupResourcesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListGroupsInput, ListGroupsOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface ListGroupsCommandInput extends ListGroupsInput {
6
+ }
7
+ export interface ListGroupsCommandOutput extends ListGroupsOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListGroupsCommand extends $Command<ListGroupsCommandInput, ListGroupsCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: ListGroupsCommandInput;
12
+ constructor(input: ListGroupsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListGroupsCommandInput, ListGroupsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { PutGroupConfigurationInput, PutGroupConfigurationOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface PutGroupConfigurationCommandInput extends PutGroupConfigurationInput {
6
+ }
7
+ export interface PutGroupConfigurationCommandOutput extends PutGroupConfigurationOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class PutGroupConfigurationCommand extends $Command<PutGroupConfigurationCommandInput, PutGroupConfigurationCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: PutGroupConfigurationCommandInput;
12
+ constructor(input: PutGroupConfigurationCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutGroupConfigurationCommandInput, PutGroupConfigurationCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { SearchResourcesInput, SearchResourcesOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface SearchResourcesCommandInput extends SearchResourcesInput {
6
+ }
7
+ export interface SearchResourcesCommandOutput extends SearchResourcesOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class SearchResourcesCommand extends $Command<SearchResourcesCommandInput, SearchResourcesCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: SearchResourcesCommandInput;
12
+ constructor(input: SearchResourcesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchResourcesCommandInput, SearchResourcesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { TagInput, TagOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface TagCommandInput extends TagInput {
6
+ }
7
+ export interface TagCommandOutput extends TagOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class TagCommand extends $Command<TagCommandInput, TagCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: TagCommandInput;
12
+ constructor(input: TagCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagCommandInput, TagCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UngroupResourcesInput, UngroupResourcesOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface UngroupResourcesCommandInput extends UngroupResourcesInput {
6
+ }
7
+ export interface UngroupResourcesCommandOutput extends UngroupResourcesOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UngroupResourcesCommand extends $Command<UngroupResourcesCommandInput, UngroupResourcesCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: UngroupResourcesCommandInput;
12
+ constructor(input: UngroupResourcesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UngroupResourcesCommandInput, UngroupResourcesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UntagInput, UntagOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface UntagCommandInput extends UntagInput {
6
+ }
7
+ export interface UntagCommandOutput extends UntagOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UntagCommand extends $Command<UntagCommandInput, UntagCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: UntagCommandInput;
12
+ constructor(input: UntagCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagCommandInput, UntagCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateGroupInput, UpdateGroupOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface UpdateGroupCommandInput extends UpdateGroupInput {
6
+ }
7
+ export interface UpdateGroupCommandOutput extends UpdateGroupOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateGroupCommand extends $Command<UpdateGroupCommandInput, UpdateGroupCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: UpdateGroupCommandInput;
12
+ constructor(input: UpdateGroupCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateGroupCommandInput, UpdateGroupCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateGroupQueryInput, UpdateGroupQueryOutput } from "../models/models_0";
4
+ import { ResourceGroupsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsClient";
5
+ export interface UpdateGroupQueryCommandInput extends UpdateGroupQueryInput {
6
+ }
7
+ export interface UpdateGroupQueryCommandOutput extends UpdateGroupQueryOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateGroupQueryCommand extends $Command<UpdateGroupQueryCommandInput, UpdateGroupQueryCommandOutput, ResourceGroupsClientResolvedConfig> {
11
+ readonly input: UpdateGroupQueryCommandInput;
12
+ constructor(input: UpdateGroupQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateGroupQueryCommandInput, UpdateGroupQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }