@aws-sdk/client-resource-groups 3.194.0 → 3.196.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 (96) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/ResourceGroupsClient.js +11 -8
  3. package/dist-cjs/commands/CreateGroupCommand.js +10 -0
  4. package/dist-cjs/commands/DeleteGroupCommand.js +10 -0
  5. package/dist-cjs/commands/GetGroupCommand.js +10 -0
  6. package/dist-cjs/commands/GetGroupConfigurationCommand.js +10 -0
  7. package/dist-cjs/commands/GetGroupQueryCommand.js +10 -0
  8. package/dist-cjs/commands/GetTagsCommand.js +10 -0
  9. package/dist-cjs/commands/GroupResourcesCommand.js +10 -0
  10. package/dist-cjs/commands/ListGroupResourcesCommand.js +10 -0
  11. package/dist-cjs/commands/ListGroupsCommand.js +10 -0
  12. package/dist-cjs/commands/PutGroupConfigurationCommand.js +10 -0
  13. package/dist-cjs/commands/SearchResourcesCommand.js +10 -0
  14. package/dist-cjs/commands/TagCommand.js +10 -0
  15. package/dist-cjs/commands/UngroupResourcesCommand.js +10 -0
  16. package/dist-cjs/commands/UntagCommand.js +10 -0
  17. package/dist-cjs/commands/UpdateGroupCommand.js +10 -0
  18. package/dist-cjs/commands/UpdateGroupQueryCommand.js +10 -0
  19. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  20. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  21. package/dist-cjs/endpoint/ruleset.js +343 -0
  22. package/dist-cjs/runtimeConfig.shared.js +3 -3
  23. package/dist-es/ResourceGroupsClient.js +12 -9
  24. package/dist-es/commands/CreateGroupCommand.js +10 -0
  25. package/dist-es/commands/DeleteGroupCommand.js +10 -0
  26. package/dist-es/commands/GetGroupCommand.js +10 -0
  27. package/dist-es/commands/GetGroupConfigurationCommand.js +10 -0
  28. package/dist-es/commands/GetGroupQueryCommand.js +10 -0
  29. package/dist-es/commands/GetTagsCommand.js +10 -0
  30. package/dist-es/commands/GroupResourcesCommand.js +10 -0
  31. package/dist-es/commands/ListGroupResourcesCommand.js +10 -0
  32. package/dist-es/commands/ListGroupsCommand.js +10 -0
  33. package/dist-es/commands/PutGroupConfigurationCommand.js +10 -0
  34. package/dist-es/commands/SearchResourcesCommand.js +10 -0
  35. package/dist-es/commands/TagCommand.js +10 -0
  36. package/dist-es/commands/UngroupResourcesCommand.js +10 -0
  37. package/dist-es/commands/UntagCommand.js +10 -0
  38. package/dist-es/commands/UpdateGroupCommand.js +10 -0
  39. package/dist-es/commands/UpdateGroupQueryCommand.js +10 -0
  40. package/dist-es/endpoint/EndpointParameters.js +8 -0
  41. package/dist-es/endpoint/endpointResolver.js +8 -0
  42. package/dist-es/endpoint/ruleset.js +340 -0
  43. package/dist-es/runtimeConfig.shared.js +2 -2
  44. package/dist-types/ResourceGroupsClient.d.ts +6 -9
  45. package/dist-types/commands/CreateGroupCommand.d.ts +2 -0
  46. package/dist-types/commands/DeleteGroupCommand.d.ts +2 -0
  47. package/dist-types/commands/GetGroupCommand.d.ts +2 -0
  48. package/dist-types/commands/GetGroupConfigurationCommand.d.ts +2 -0
  49. package/dist-types/commands/GetGroupQueryCommand.d.ts +2 -0
  50. package/dist-types/commands/GetTagsCommand.d.ts +2 -0
  51. package/dist-types/commands/GroupResourcesCommand.d.ts +2 -0
  52. package/dist-types/commands/ListGroupResourcesCommand.d.ts +2 -0
  53. package/dist-types/commands/ListGroupsCommand.d.ts +2 -0
  54. package/dist-types/commands/PutGroupConfigurationCommand.d.ts +2 -0
  55. package/dist-types/commands/SearchResourcesCommand.d.ts +2 -0
  56. package/dist-types/commands/TagCommand.d.ts +2 -0
  57. package/dist-types/commands/UngroupResourcesCommand.d.ts +2 -0
  58. package/dist-types/commands/UntagCommand.d.ts +2 -0
  59. package/dist-types/commands/UpdateGroupCommand.d.ts +2 -0
  60. package/dist-types/commands/UpdateGroupQueryCommand.d.ts +2 -0
  61. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  62. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  63. package/dist-types/endpoint/ruleset.d.ts +2 -0
  64. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  65. package/dist-types/runtimeConfig.d.ts +4 -2
  66. package/dist-types/runtimeConfig.native.d.ts +4 -2
  67. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  68. package/dist-types/ts3.4/ResourceGroupsClient.d.ts +15 -8
  69. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -0
  70. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -0
  71. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -0
  72. package/dist-types/ts3.4/commands/GetGroupConfigurationCommand.d.ts +2 -0
  73. package/dist-types/ts3.4/commands/GetGroupQueryCommand.d.ts +2 -0
  74. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +2 -0
  75. package/dist-types/ts3.4/commands/GroupResourcesCommand.d.ts +2 -0
  76. package/dist-types/ts3.4/commands/ListGroupResourcesCommand.d.ts +2 -0
  77. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -0
  78. package/dist-types/ts3.4/commands/PutGroupConfigurationCommand.d.ts +2 -0
  79. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +2 -0
  80. package/dist-types/ts3.4/commands/TagCommand.d.ts +2 -0
  81. package/dist-types/ts3.4/commands/UngroupResourcesCommand.d.ts +2 -0
  82. package/dist-types/ts3.4/commands/UntagCommand.d.ts +2 -0
  83. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -0
  84. package/dist-types/ts3.4/commands/UpdateGroupQueryCommand.d.ts +2 -0
  85. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  86. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  87. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  88. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  89. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  90. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  91. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  92. package/package.json +5 -3
  93. package/dist-cjs/endpoints.js +0 -185
  94. package/dist-es/endpoints.js +0 -181
  95. package/dist-types/endpoints.d.ts +0 -2
  96. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { ListGroupsInput, ListGroupsOutput } from "../models/models_0";
@@ -36,6 +37,7 @@ export interface ListGroupsCommandOutput extends ListGroupsOutput, __MetadataBea
36
37
  */
37
38
  export declare class ListGroupsCommand extends $Command<ListGroupsCommandInput, ListGroupsCommandOutput, ResourceGroupsClientResolvedConfig> {
38
39
  readonly input: ListGroupsCommandInput;
40
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
39
41
  constructor(input: ListGroupsCommandInput);
40
42
  /**
41
43
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { PutGroupConfigurationInput, PutGroupConfigurationOutput } from "../models/models_0";
@@ -38,6 +39,7 @@ export interface PutGroupConfigurationCommandOutput extends PutGroupConfiguratio
38
39
  */
39
40
  export declare class PutGroupConfigurationCommand extends $Command<PutGroupConfigurationCommandInput, PutGroupConfigurationCommandOutput, ResourceGroupsClientResolvedConfig> {
40
41
  readonly input: PutGroupConfigurationCommandInput;
42
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
41
43
  constructor(input: PutGroupConfigurationCommandInput);
42
44
  /**
43
45
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { SearchResourcesInput, SearchResourcesOutput } from "../models/models_0";
@@ -53,6 +54,7 @@ export interface SearchResourcesCommandOutput extends SearchResourcesOutput, __M
53
54
  */
54
55
  export declare class SearchResourcesCommand extends $Command<SearchResourcesCommandInput, SearchResourcesCommandOutput, ResourceGroupsClientResolvedConfig> {
55
56
  readonly input: SearchResourcesCommandInput;
57
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
56
58
  constructor(input: SearchResourcesCommandInput);
57
59
  /**
58
60
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { TagInput, TagOutput } from "../models/models_0";
@@ -43,6 +44,7 @@ export interface TagCommandOutput extends TagOutput, __MetadataBearer {
43
44
  */
44
45
  export declare class TagCommand extends $Command<TagCommandInput, TagCommandOutput, ResourceGroupsClientResolvedConfig> {
45
46
  readonly input: TagCommandInput;
47
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
46
48
  constructor(input: TagCommandInput);
47
49
  /**
48
50
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UngroupResourcesInput, UngroupResourcesOutput } from "../models/models_0";
@@ -36,6 +37,7 @@ export interface UngroupResourcesCommandOutput extends UngroupResourcesOutput, _
36
37
  */
37
38
  export declare class UngroupResourcesCommand extends $Command<UngroupResourcesCommandInput, UngroupResourcesCommandOutput, ResourceGroupsClientResolvedConfig> {
38
39
  readonly input: UngroupResourcesCommandInput;
40
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
39
41
  constructor(input: UngroupResourcesCommandInput);
40
42
  /**
41
43
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UntagInput, UntagOutput } from "../models/models_0";
@@ -36,6 +37,7 @@ export interface UntagCommandOutput extends UntagOutput, __MetadataBearer {
36
37
  */
37
38
  export declare class UntagCommand extends $Command<UntagCommandInput, UntagCommandOutput, ResourceGroupsClientResolvedConfig> {
38
39
  readonly input: UntagCommandInput;
40
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
39
41
  constructor(input: UntagCommandInput);
40
42
  /**
41
43
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UpdateGroupInput, UpdateGroupOutput } from "../models/models_0";
@@ -37,6 +38,7 @@ export interface UpdateGroupCommandOutput extends UpdateGroupOutput, __MetadataB
37
38
  */
38
39
  export declare class UpdateGroupCommand extends $Command<UpdateGroupCommandInput, UpdateGroupCommandOutput, ResourceGroupsClientResolvedConfig> {
39
40
  readonly input: UpdateGroupCommandInput;
41
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
40
42
  constructor(input: UpdateGroupCommandInput);
41
43
  /**
42
44
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UpdateGroupQueryInput, UpdateGroupQueryOutput } from "../models/models_0";
@@ -37,6 +38,7 @@ export interface UpdateGroupQueryCommandOutput extends UpdateGroupQueryOutput, _
37
38
  */
38
39
  export declare class UpdateGroupQueryCommand extends $Command<UpdateGroupQueryCommandInput, UpdateGroupQueryCommandOutput, ResourceGroupsClientResolvedConfig> {
39
40
  readonly input: UpdateGroupQueryCommandInput;
41
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
40
42
  constructor(input: UpdateGroupQueryCommandInput);
41
43
  /**
42
44
  * @internal
@@ -0,0 +1,19 @@
1
+ import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useDualstackEndpoint?: boolean | Provider<boolean>;
5
+ useFipsEndpoint?: boolean | Provider<boolean>;
6
+ endpoint?: string | Provider<string>;
7
+ }
8
+ export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
+ defaultSigningName: string;
10
+ };
11
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export interface EndpointParameters extends __EndpointParameters {
15
+ Region?: string;
16
+ UseDualStack?: boolean;
17
+ UseFIPS?: boolean;
18
+ Endpoint?: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: ResourceGroupsClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: ResourceGroupsClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: ResourceGroupsClientConfig) => {
23
23
  serviceId: string;
24
24
  region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
26
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
27
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@aws-sdk/types").Logger | undefined;
31
+ }) => import("@aws-sdk/types").EndpointV2;
30
32
  tls?: boolean | undefined;
31
33
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
34
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -6,8 +6,10 @@ import { ResourceGroupsClientConfig } from "./ResourceGroupsClient";
6
6
  export declare const getRuntimeConfig: (config: ResourceGroupsClientConfig) => {
7
7
  apiVersion: string;
8
8
  disableHostPrefix: boolean;
9
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
10
+ logger?: __Logger | undefined;
11
+ }) => import("@aws-sdk/types").EndpointV2;
9
12
  logger: __Logger;
10
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
11
13
  serviceId: string;
12
14
  urlParser: import("@aws-sdk/types").UrlParser;
13
15
  };
@@ -1,9 +1,11 @@
1
1
  import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
2
  RegionInputConfig,
5
3
  RegionResolvedConfig,
6
4
  } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EndpointInputConfig,
7
+ EndpointResolvedConfig,
8
+ } from "@aws-sdk/middleware-endpoint";
7
9
  import {
8
10
  HostHeaderInputConfig,
9
11
  HostHeaderResolvedConfig,
@@ -37,7 +39,6 @@ import {
37
39
  Logger as __Logger,
38
40
  Provider as __Provider,
39
41
  Provider,
40
- RegionInfoProvider,
41
42
  StreamCollector as __StreamCollector,
42
43
  UrlParser as __UrlParser,
43
44
  UserAgent as __UserAgent,
@@ -100,6 +101,11 @@ import {
100
101
  UpdateGroupQueryCommandInput,
101
102
  UpdateGroupQueryCommandOutput,
102
103
  } from "./commands/UpdateGroupQueryCommand";
104
+ import {
105
+ ClientInputEndpointParameters,
106
+ ClientResolvedEndpointParameters,
107
+ EndpointParameters,
108
+ } from "./endpoint/EndpointParameters";
103
109
  export declare type ServiceInputTypes =
104
110
  | CreateGroupCommandInput
105
111
  | DeleteGroupCommandInput
@@ -155,7 +161,6 @@ export interface ClientDefaults
155
161
  serviceId?: string;
156
162
  region?: string | __Provider<string>;
157
163
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
158
- regionInfoProvider?: RegionInfoProvider;
159
164
  defaultUserAgentProvider?: Provider<__UserAgent>;
160
165
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
161
166
  }
@@ -164,22 +169,24 @@ declare type ResourceGroupsClientConfigType = Partial<
164
169
  > &
165
170
  ClientDefaults &
166
171
  RegionInputConfig &
167
- EndpointsInputConfig &
172
+ EndpointInputConfig<EndpointParameters> &
168
173
  RetryInputConfig &
169
174
  HostHeaderInputConfig &
170
175
  AwsAuthInputConfig &
171
- UserAgentInputConfig;
176
+ UserAgentInputConfig &
177
+ ClientInputEndpointParameters;
172
178
  export interface ResourceGroupsClientConfig
173
179
  extends ResourceGroupsClientConfigType {}
174
180
  declare type ResourceGroupsClientResolvedConfigType =
175
181
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
176
182
  Required<ClientDefaults> &
177
183
  RegionResolvedConfig &
178
- EndpointsResolvedConfig &
184
+ EndpointResolvedConfig<EndpointParameters> &
179
185
  RetryResolvedConfig &
180
186
  HostHeaderResolvedConfig &
181
187
  AwsAuthResolvedConfig &
182
- UserAgentResolvedConfig;
188
+ UserAgentResolvedConfig &
189
+ ClientResolvedEndpointParameters;
183
190
  export interface ResourceGroupsClientResolvedConfig
184
191
  extends ResourceGroupsClientResolvedConfigType {}
185
192
  export declare class ResourceGroupsClient extends __Client<
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class CreateGroupCommand extends $Command<
21
22
  ResourceGroupsClientResolvedConfig
22
23
  > {
23
24
  readonly input: CreateGroupCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: CreateGroupCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class DeleteGroupCommand extends $Command<
21
22
  ResourceGroupsClientResolvedConfig
22
23
  > {
23
24
  readonly input: DeleteGroupCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: DeleteGroupCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class GetGroupCommand extends $Command<
21
22
  ResourceGroupsClientResolvedConfig
22
23
  > {
23
24
  readonly input: GetGroupCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: GetGroupCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class GetGroupConfigurationCommand extends $Command<
25
26
  ResourceGroupsClientResolvedConfig
26
27
  > {
27
28
  readonly input: GetGroupConfigurationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetGroupConfigurationCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class GetGroupQueryCommand extends $Command<
21
22
  ResourceGroupsClientResolvedConfig
22
23
  > {
23
24
  readonly input: GetGroupQueryCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: GetGroupQueryCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class GetTagsCommand extends $Command<
19
20
  ResourceGroupsClientResolvedConfig
20
21
  > {
21
22
  readonly input: GetTagsCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: GetTagsCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class GroupResourcesCommand extends $Command<
21
22
  ResourceGroupsClientResolvedConfig
22
23
  > {
23
24
  readonly input: GroupResourcesCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: GroupResourcesCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListGroupResourcesCommand extends $Command<
25
26
  ResourceGroupsClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListGroupResourcesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListGroupResourcesCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListGroupsCommand extends $Command<
21
22
  ResourceGroupsClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListGroupsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListGroupsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class PutGroupConfigurationCommand extends $Command<
25
26
  ResourceGroupsClientResolvedConfig
26
27
  > {
27
28
  readonly input: PutGroupConfigurationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: PutGroupConfigurationCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class SearchResourcesCommand extends $Command<
24
25
  ResourceGroupsClientResolvedConfig
25
26
  > {
26
27
  readonly input: SearchResourcesCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: SearchResourcesCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class TagCommand extends $Command<
19
20
  ResourceGroupsClientResolvedConfig
20
21
  > {
21
22
  readonly input: TagCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: TagCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UngroupResourcesCommand extends $Command<
24
25
  ResourceGroupsClientResolvedConfig
25
26
  > {
26
27
  readonly input: UngroupResourcesCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UngroupResourcesCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class UntagCommand extends $Command<
19
20
  ResourceGroupsClientResolvedConfig
20
21
  > {
21
22
  readonly input: UntagCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: UntagCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UpdateGroupCommand extends $Command<
21
22
  ResourceGroupsClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateGroupCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateGroupCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UpdateGroupQueryCommand extends $Command<
24
25
  ResourceGroupsClientResolvedConfig
25
26
  > {
26
27
  readonly input: UpdateGroupQueryCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UpdateGroupQueryCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region?: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: ResourceGroupsClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
39
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
40
39
  endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (string | import("@aws-sdk/types").Provider<string>))
44
48
  | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@aws-sdk/types").Logger | undefined;
53
+ }
54
+ ) => import("@aws-sdk/types").EndpointV2;
45
55
  tls?: boolean | undefined;
46
56
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
47
57
  credentials?:
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: ResourceGroupsClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
39
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
40
39
  endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (string | import("@aws-sdk/types").Provider<string>))
44
48
  | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@aws-sdk/types").Logger | undefined;
53
+ }
54
+ ) => import("@aws-sdk/types").EndpointV2;
45
55
  tls?: boolean | undefined;
46
56
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
47
57
  credentials?:
@@ -29,7 +29,6 @@ export declare const getRuntimeConfig: (config: ResourceGroupsClientConfig) => {
29
29
  credentialDefaultProvider: (
30
30
  input: any
31
31
  ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
32
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
33
32
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
34
33
  import("@aws-sdk/types").UserAgent
35
34
  >;
@@ -40,9 +39,21 @@ export declare const getRuntimeConfig: (config: ResourceGroupsClientConfig) => {
40
39
  >;
41
40
  endpoint?:
42
41
  | string
43
- | import("@aws-sdk/types").Endpoint
44
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
42
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
43
+ import("@aws-sdk/types").Provider<string>)
44
+ | (import("@aws-sdk/types").Endpoint &
45
+ import("@aws-sdk/types").Provider<string>)
46
+ | (import("@aws-sdk/types").EndpointV2 &
47
+ import("@aws-sdk/types").Provider<string>)
48
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
49
+ import("@aws-sdk/types").Provider<string>)
45
50
  | undefined;
51
+ endpointProvider: (
52
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
53
+ context?: {
54
+ logger?: import("@aws-sdk/types").Logger | undefined;
55
+ }
56
+ ) => import("@aws-sdk/types").EndpointV2;
46
57
  tls?: boolean | undefined;
47
58
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
48
59
  credentials?:
@@ -3,8 +3,13 @@ import { ResourceGroupsClientConfig } from "./ResourceGroupsClient";
3
3
  export declare const getRuntimeConfig: (config: ResourceGroupsClientConfig) => {
4
4
  apiVersion: string;
5
5
  disableHostPrefix: boolean;
6
+ endpointProvider: (
7
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
8
+ context?: {
9
+ logger?: __Logger | undefined;
10
+ }
11
+ ) => import("@aws-sdk/types").EndpointV2;
6
12
  logger: __Logger;
7
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
8
13
  serviceId: string;
9
14
  urlParser: import("@aws-sdk/types").UrlParser;
10
15
  };