@aws-sdk/client-resource-groups 3.1137.0 → 3.1139.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -408,10 +408,10 @@ const _nT = "nextToken";
408
408
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroups";
409
409
  const _se = "server";
410
410
  const n0 = "com.amazonaws.resourcegroups";
411
- const _s_registry = TypeRegistry.for(_s);
411
+ const _s_registry = new TypeRegistry(_s);
412
412
  var ResourceGroupsServiceException$ = [-3, _s, "ResourceGroupsServiceException", 0, [], []];
413
413
  _s_registry.registerError(ResourceGroupsServiceException$, ResourceGroupsServiceException);
414
- const n0_registry = TypeRegistry.for(n0);
414
+ const n0_registry = new TypeRegistry(n0);
415
415
  var BadRequestException$ = [-3, n0, _BRE,
416
416
  { [_e]: _c, [_hE]: 400 },
417
417
  [_M],
@@ -169,10 +169,10 @@ const n0 = "com.amazonaws.resourcegroups";
169
169
  import { TypeRegistry } from "@smithy/core/schema";
170
170
  import { BadRequestException, ForbiddenException, InternalServerErrorException, MethodNotAllowedException, NotFoundException, TooManyRequestsException, UnauthorizedException, } from "../models/errors";
171
171
  import { ResourceGroupsServiceException } from "../models/ResourceGroupsServiceException";
172
- const _s_registry = TypeRegistry.for(_s);
172
+ const _s_registry = new TypeRegistry(_s);
173
173
  export var ResourceGroupsServiceException$ = [-3, _s, "ResourceGroupsServiceException", 0, [], []];
174
174
  _s_registry.registerError(ResourceGroupsServiceException$, ResourceGroupsServiceException);
175
- const n0_registry = TypeRegistry.for(n0);
175
+ const n0_registry = new TypeRegistry(n0);
176
176
  export var BadRequestException$ = [-3, n0, _BRE,
177
177
  { [_e]: _c, [_hE]: 400 },
178
178
  [_M],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type CancelTagSyncTaskCommandInput, type CancelTagSyncTaskCommandOutput } from "./commands/CancelTagSyncTaskCommand";
3
3
  import { type CreateGroupCommandInput, type CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
4
4
  import { type DeleteGroupCommandInput, type DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
@@ -23,156 +23,162 @@ import { type UpdateAccountSettingsCommandInput, type UpdateAccountSettingsComma
23
23
  import { type UpdateGroupCommandInput, type UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
24
24
  import { type UpdateGroupQueryCommandInput, type UpdateGroupQueryCommandOutput } from "./commands/UpdateGroupQueryCommand";
25
25
  import { ResourceGroupsClient } from "./ResourceGroupsClient";
26
+ /**
27
+ * @public
28
+ */
29
+ export interface ResourceGroupsRequestOptions extends __HttpHandlerOptions {
30
+ metricsRecorder?: __MetricsRecorder<unknown>;
31
+ }
26
32
  export interface ResourceGroups {
27
33
  /**
28
34
  * @see {@link CancelTagSyncTaskCommand}
29
35
  */
30
- cancelTagSyncTask(args: CancelTagSyncTaskCommandInput, options?: __HttpHandlerOptions): Promise<CancelTagSyncTaskCommandOutput>;
36
+ cancelTagSyncTask(args: CancelTagSyncTaskCommandInput, options?: ResourceGroupsRequestOptions): Promise<CancelTagSyncTaskCommandOutput>;
31
37
  cancelTagSyncTask(args: CancelTagSyncTaskCommandInput, cb: (err: any, data?: CancelTagSyncTaskCommandOutput) => void): void;
32
- cancelTagSyncTask(args: CancelTagSyncTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelTagSyncTaskCommandOutput) => void): void;
38
+ cancelTagSyncTask(args: CancelTagSyncTaskCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: CancelTagSyncTaskCommandOutput) => void): void;
33
39
  /**
34
40
  * @see {@link CreateGroupCommand}
35
41
  */
36
- createGroup(args: CreateGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateGroupCommandOutput>;
42
+ createGroup(args: CreateGroupCommandInput, options?: ResourceGroupsRequestOptions): Promise<CreateGroupCommandOutput>;
37
43
  createGroup(args: CreateGroupCommandInput, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
38
- createGroup(args: CreateGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
44
+ createGroup(args: CreateGroupCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
39
45
  /**
40
46
  * @see {@link DeleteGroupCommand}
41
47
  */
42
48
  deleteGroup(): Promise<DeleteGroupCommandOutput>;
43
- deleteGroup(args: DeleteGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGroupCommandOutput>;
49
+ deleteGroup(args: DeleteGroupCommandInput, options?: ResourceGroupsRequestOptions): Promise<DeleteGroupCommandOutput>;
44
50
  deleteGroup(args: DeleteGroupCommandInput, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
45
- deleteGroup(args: DeleteGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
51
+ deleteGroup(args: DeleteGroupCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
46
52
  /**
47
53
  * @see {@link GetAccountSettingsCommand}
48
54
  */
49
55
  getAccountSettings(): Promise<GetAccountSettingsCommandOutput>;
50
- getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountSettingsCommandOutput>;
56
+ getAccountSettings(args: GetAccountSettingsCommandInput, options?: ResourceGroupsRequestOptions): Promise<GetAccountSettingsCommandOutput>;
51
57
  getAccountSettings(args: GetAccountSettingsCommandInput, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
52
- getAccountSettings(args: GetAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
58
+ getAccountSettings(args: GetAccountSettingsCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
53
59
  /**
54
60
  * @see {@link GetGroupCommand}
55
61
  */
56
62
  getGroup(): Promise<GetGroupCommandOutput>;
57
- getGroup(args: GetGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupCommandOutput>;
63
+ getGroup(args: GetGroupCommandInput, options?: ResourceGroupsRequestOptions): Promise<GetGroupCommandOutput>;
58
64
  getGroup(args: GetGroupCommandInput, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
59
- getGroup(args: GetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
65
+ getGroup(args: GetGroupCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
60
66
  /**
61
67
  * @see {@link GetGroupConfigurationCommand}
62
68
  */
63
69
  getGroupConfiguration(): Promise<GetGroupConfigurationCommandOutput>;
64
- getGroupConfiguration(args: GetGroupConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupConfigurationCommandOutput>;
70
+ getGroupConfiguration(args: GetGroupConfigurationCommandInput, options?: ResourceGroupsRequestOptions): Promise<GetGroupConfigurationCommandOutput>;
65
71
  getGroupConfiguration(args: GetGroupConfigurationCommandInput, cb: (err: any, data?: GetGroupConfigurationCommandOutput) => void): void;
66
- getGroupConfiguration(args: GetGroupConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupConfigurationCommandOutput) => void): void;
72
+ getGroupConfiguration(args: GetGroupConfigurationCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: GetGroupConfigurationCommandOutput) => void): void;
67
73
  /**
68
74
  * @see {@link GetGroupQueryCommand}
69
75
  */
70
76
  getGroupQuery(): Promise<GetGroupQueryCommandOutput>;
71
- getGroupQuery(args: GetGroupQueryCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupQueryCommandOutput>;
77
+ getGroupQuery(args: GetGroupQueryCommandInput, options?: ResourceGroupsRequestOptions): Promise<GetGroupQueryCommandOutput>;
72
78
  getGroupQuery(args: GetGroupQueryCommandInput, cb: (err: any, data?: GetGroupQueryCommandOutput) => void): void;
73
- getGroupQuery(args: GetGroupQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupQueryCommandOutput) => void): void;
79
+ getGroupQuery(args: GetGroupQueryCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: GetGroupQueryCommandOutput) => void): void;
74
80
  /**
75
81
  * @see {@link GetTagsCommand}
76
82
  */
77
- getTags(args: GetTagsCommandInput, options?: __HttpHandlerOptions): Promise<GetTagsCommandOutput>;
83
+ getTags(args: GetTagsCommandInput, options?: ResourceGroupsRequestOptions): Promise<GetTagsCommandOutput>;
78
84
  getTags(args: GetTagsCommandInput, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
79
- getTags(args: GetTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
85
+ getTags(args: GetTagsCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
80
86
  /**
81
87
  * @see {@link GetTagSyncTaskCommand}
82
88
  */
83
- getTagSyncTask(args: GetTagSyncTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetTagSyncTaskCommandOutput>;
89
+ getTagSyncTask(args: GetTagSyncTaskCommandInput, options?: ResourceGroupsRequestOptions): Promise<GetTagSyncTaskCommandOutput>;
84
90
  getTagSyncTask(args: GetTagSyncTaskCommandInput, cb: (err: any, data?: GetTagSyncTaskCommandOutput) => void): void;
85
- getTagSyncTask(args: GetTagSyncTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagSyncTaskCommandOutput) => void): void;
91
+ getTagSyncTask(args: GetTagSyncTaskCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: GetTagSyncTaskCommandOutput) => void): void;
86
92
  /**
87
93
  * @see {@link GroupResourcesCommand}
88
94
  */
89
- groupResources(args: GroupResourcesCommandInput, options?: __HttpHandlerOptions): Promise<GroupResourcesCommandOutput>;
95
+ groupResources(args: GroupResourcesCommandInput, options?: ResourceGroupsRequestOptions): Promise<GroupResourcesCommandOutput>;
90
96
  groupResources(args: GroupResourcesCommandInput, cb: (err: any, data?: GroupResourcesCommandOutput) => void): void;
91
- groupResources(args: GroupResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GroupResourcesCommandOutput) => void): void;
97
+ groupResources(args: GroupResourcesCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: GroupResourcesCommandOutput) => void): void;
92
98
  /**
93
99
  * @see {@link ListGroupingStatusesCommand}
94
100
  */
95
- listGroupingStatuses(args: ListGroupingStatusesCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupingStatusesCommandOutput>;
101
+ listGroupingStatuses(args: ListGroupingStatusesCommandInput, options?: ResourceGroupsRequestOptions): Promise<ListGroupingStatusesCommandOutput>;
96
102
  listGroupingStatuses(args: ListGroupingStatusesCommandInput, cb: (err: any, data?: ListGroupingStatusesCommandOutput) => void): void;
97
- listGroupingStatuses(args: ListGroupingStatusesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupingStatusesCommandOutput) => void): void;
103
+ listGroupingStatuses(args: ListGroupingStatusesCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: ListGroupingStatusesCommandOutput) => void): void;
98
104
  /**
99
105
  * @see {@link ListGroupResourcesCommand}
100
106
  */
101
107
  listGroupResources(): Promise<ListGroupResourcesCommandOutput>;
102
- listGroupResources(args: ListGroupResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupResourcesCommandOutput>;
108
+ listGroupResources(args: ListGroupResourcesCommandInput, options?: ResourceGroupsRequestOptions): Promise<ListGroupResourcesCommandOutput>;
103
109
  listGroupResources(args: ListGroupResourcesCommandInput, cb: (err: any, data?: ListGroupResourcesCommandOutput) => void): void;
104
- listGroupResources(args: ListGroupResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupResourcesCommandOutput) => void): void;
110
+ listGroupResources(args: ListGroupResourcesCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: ListGroupResourcesCommandOutput) => void): void;
105
111
  /**
106
112
  * @see {@link ListGroupsCommand}
107
113
  */
108
114
  listGroups(): Promise<ListGroupsCommandOutput>;
109
- listGroups(args: ListGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupsCommandOutput>;
115
+ listGroups(args: ListGroupsCommandInput, options?: ResourceGroupsRequestOptions): Promise<ListGroupsCommandOutput>;
110
116
  listGroups(args: ListGroupsCommandInput, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
111
- listGroups(args: ListGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
117
+ listGroups(args: ListGroupsCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
112
118
  /**
113
119
  * @see {@link ListTagSyncTasksCommand}
114
120
  */
115
121
  listTagSyncTasks(): Promise<ListTagSyncTasksCommandOutput>;
116
- listTagSyncTasks(args: ListTagSyncTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListTagSyncTasksCommandOutput>;
122
+ listTagSyncTasks(args: ListTagSyncTasksCommandInput, options?: ResourceGroupsRequestOptions): Promise<ListTagSyncTasksCommandOutput>;
117
123
  listTagSyncTasks(args: ListTagSyncTasksCommandInput, cb: (err: any, data?: ListTagSyncTasksCommandOutput) => void): void;
118
- listTagSyncTasks(args: ListTagSyncTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagSyncTasksCommandOutput) => void): void;
124
+ listTagSyncTasks(args: ListTagSyncTasksCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: ListTagSyncTasksCommandOutput) => void): void;
119
125
  /**
120
126
  * @see {@link PutGroupConfigurationCommand}
121
127
  */
122
128
  putGroupConfiguration(): Promise<PutGroupConfigurationCommandOutput>;
123
- putGroupConfiguration(args: PutGroupConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutGroupConfigurationCommandOutput>;
129
+ putGroupConfiguration(args: PutGroupConfigurationCommandInput, options?: ResourceGroupsRequestOptions): Promise<PutGroupConfigurationCommandOutput>;
124
130
  putGroupConfiguration(args: PutGroupConfigurationCommandInput, cb: (err: any, data?: PutGroupConfigurationCommandOutput) => void): void;
125
- putGroupConfiguration(args: PutGroupConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutGroupConfigurationCommandOutput) => void): void;
131
+ putGroupConfiguration(args: PutGroupConfigurationCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: PutGroupConfigurationCommandOutput) => void): void;
126
132
  /**
127
133
  * @see {@link SearchResourcesCommand}
128
134
  */
129
- searchResources(args: SearchResourcesCommandInput, options?: __HttpHandlerOptions): Promise<SearchResourcesCommandOutput>;
135
+ searchResources(args: SearchResourcesCommandInput, options?: ResourceGroupsRequestOptions): Promise<SearchResourcesCommandOutput>;
130
136
  searchResources(args: SearchResourcesCommandInput, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
131
- searchResources(args: SearchResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
137
+ searchResources(args: SearchResourcesCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
132
138
  /**
133
139
  * @see {@link StartTagSyncTaskCommand}
134
140
  */
135
- startTagSyncTask(args: StartTagSyncTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartTagSyncTaskCommandOutput>;
141
+ startTagSyncTask(args: StartTagSyncTaskCommandInput, options?: ResourceGroupsRequestOptions): Promise<StartTagSyncTaskCommandOutput>;
136
142
  startTagSyncTask(args: StartTagSyncTaskCommandInput, cb: (err: any, data?: StartTagSyncTaskCommandOutput) => void): void;
137
- startTagSyncTask(args: StartTagSyncTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTagSyncTaskCommandOutput) => void): void;
143
+ startTagSyncTask(args: StartTagSyncTaskCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: StartTagSyncTaskCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link TagCommand}
140
146
  */
141
- tag(args: TagCommandInput, options?: __HttpHandlerOptions): Promise<TagCommandOutput>;
147
+ tag(args: TagCommandInput, options?: ResourceGroupsRequestOptions): Promise<TagCommandOutput>;
142
148
  tag(args: TagCommandInput, cb: (err: any, data?: TagCommandOutput) => void): void;
143
- tag(args: TagCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagCommandOutput) => void): void;
149
+ tag(args: TagCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: TagCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link UngroupResourcesCommand}
146
152
  */
147
- ungroupResources(args: UngroupResourcesCommandInput, options?: __HttpHandlerOptions): Promise<UngroupResourcesCommandOutput>;
153
+ ungroupResources(args: UngroupResourcesCommandInput, options?: ResourceGroupsRequestOptions): Promise<UngroupResourcesCommandOutput>;
148
154
  ungroupResources(args: UngroupResourcesCommandInput, cb: (err: any, data?: UngroupResourcesCommandOutput) => void): void;
149
- ungroupResources(args: UngroupResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UngroupResourcesCommandOutput) => void): void;
155
+ ungroupResources(args: UngroupResourcesCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: UngroupResourcesCommandOutput) => void): void;
150
156
  /**
151
157
  * @see {@link UntagCommand}
152
158
  */
153
- untag(args: UntagCommandInput, options?: __HttpHandlerOptions): Promise<UntagCommandOutput>;
159
+ untag(args: UntagCommandInput, options?: ResourceGroupsRequestOptions): Promise<UntagCommandOutput>;
154
160
  untag(args: UntagCommandInput, cb: (err: any, data?: UntagCommandOutput) => void): void;
155
- untag(args: UntagCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagCommandOutput) => void): void;
161
+ untag(args: UntagCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: UntagCommandOutput) => void): void;
156
162
  /**
157
163
  * @see {@link UpdateAccountSettingsCommand}
158
164
  */
159
165
  updateAccountSettings(): Promise<UpdateAccountSettingsCommandOutput>;
160
- updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccountSettingsCommandOutput>;
166
+ updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: ResourceGroupsRequestOptions): Promise<UpdateAccountSettingsCommandOutput>;
161
167
  updateAccountSettings(args: UpdateAccountSettingsCommandInput, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
162
- updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
168
+ updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
163
169
  /**
164
170
  * @see {@link UpdateGroupCommand}
165
171
  */
166
172
  updateGroup(): Promise<UpdateGroupCommandOutput>;
167
- updateGroup(args: UpdateGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGroupCommandOutput>;
173
+ updateGroup(args: UpdateGroupCommandInput, options?: ResourceGroupsRequestOptions): Promise<UpdateGroupCommandOutput>;
168
174
  updateGroup(args: UpdateGroupCommandInput, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
169
- updateGroup(args: UpdateGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
175
+ updateGroup(args: UpdateGroupCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
170
176
  /**
171
177
  * @see {@link UpdateGroupQueryCommand}
172
178
  */
173
- updateGroupQuery(args: UpdateGroupQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGroupQueryCommandOutput>;
179
+ updateGroupQuery(args: UpdateGroupQueryCommandInput, options?: ResourceGroupsRequestOptions): Promise<UpdateGroupQueryCommandOutput>;
174
180
  updateGroupQuery(args: UpdateGroupQueryCommandInput, cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void): void;
175
- updateGroupQuery(args: UpdateGroupQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void): void;
181
+ updateGroupQuery(args: UpdateGroupQueryCommandInput, options: ResourceGroupsRequestOptions, cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void): void;
176
182
  /**
177
183
  * @see {@link ListGroupingStatusesCommand}
178
184
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -72,10 +73,13 @@ import {
72
73
  UpdateGroupQueryCommandOutput,
73
74
  } from "./commands/UpdateGroupQueryCommand";
74
75
  import { ResourceGroupsClient } from "./ResourceGroupsClient";
76
+ export interface ResourceGroupsRequestOptions extends __HttpHandlerOptions {
77
+ metricsRecorder?: __MetricsRecorder<unknown>;
78
+ }
75
79
  export interface ResourceGroups {
76
80
  cancelTagSyncTask(
77
81
  args: CancelTagSyncTaskCommandInput,
78
- options?: __HttpHandlerOptions,
82
+ options?: ResourceGroupsRequestOptions,
79
83
  ): Promise<CancelTagSyncTaskCommandOutput>;
80
84
  cancelTagSyncTask(
81
85
  args: CancelTagSyncTaskCommandInput,
@@ -83,12 +87,12 @@ export interface ResourceGroups {
83
87
  ): void;
84
88
  cancelTagSyncTask(
85
89
  args: CancelTagSyncTaskCommandInput,
86
- options: __HttpHandlerOptions,
90
+ options: ResourceGroupsRequestOptions,
87
91
  cb: (err: any, data?: CancelTagSyncTaskCommandOutput) => void,
88
92
  ): void;
89
93
  createGroup(
90
94
  args: CreateGroupCommandInput,
91
- options?: __HttpHandlerOptions,
95
+ options?: ResourceGroupsRequestOptions,
92
96
  ): Promise<CreateGroupCommandOutput>;
93
97
  createGroup(
94
98
  args: CreateGroupCommandInput,
@@ -96,13 +100,13 @@ export interface ResourceGroups {
96
100
  ): void;
97
101
  createGroup(
98
102
  args: CreateGroupCommandInput,
99
- options: __HttpHandlerOptions,
103
+ options: ResourceGroupsRequestOptions,
100
104
  cb: (err: any, data?: CreateGroupCommandOutput) => void,
101
105
  ): void;
102
106
  deleteGroup(): Promise<DeleteGroupCommandOutput>;
103
107
  deleteGroup(
104
108
  args: DeleteGroupCommandInput,
105
- options?: __HttpHandlerOptions,
109
+ options?: ResourceGroupsRequestOptions,
106
110
  ): Promise<DeleteGroupCommandOutput>;
107
111
  deleteGroup(
108
112
  args: DeleteGroupCommandInput,
@@ -110,13 +114,13 @@ export interface ResourceGroups {
110
114
  ): void;
111
115
  deleteGroup(
112
116
  args: DeleteGroupCommandInput,
113
- options: __HttpHandlerOptions,
117
+ options: ResourceGroupsRequestOptions,
114
118
  cb: (err: any, data?: DeleteGroupCommandOutput) => void,
115
119
  ): void;
116
120
  getAccountSettings(): Promise<GetAccountSettingsCommandOutput>;
117
121
  getAccountSettings(
118
122
  args: GetAccountSettingsCommandInput,
119
- options?: __HttpHandlerOptions,
123
+ options?: ResourceGroupsRequestOptions,
120
124
  ): Promise<GetAccountSettingsCommandOutput>;
121
125
  getAccountSettings(
122
126
  args: GetAccountSettingsCommandInput,
@@ -124,24 +128,24 @@ export interface ResourceGroups {
124
128
  ): void;
125
129
  getAccountSettings(
126
130
  args: GetAccountSettingsCommandInput,
127
- options: __HttpHandlerOptions,
131
+ options: ResourceGroupsRequestOptions,
128
132
  cb: (err: any, data?: GetAccountSettingsCommandOutput) => void,
129
133
  ): void;
130
134
  getGroup(): Promise<GetGroupCommandOutput>;
131
135
  getGroup(
132
136
  args: GetGroupCommandInput,
133
- options?: __HttpHandlerOptions,
137
+ options?: ResourceGroupsRequestOptions,
134
138
  ): Promise<GetGroupCommandOutput>;
135
139
  getGroup(args: GetGroupCommandInput, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
136
140
  getGroup(
137
141
  args: GetGroupCommandInput,
138
- options: __HttpHandlerOptions,
142
+ options: ResourceGroupsRequestOptions,
139
143
  cb: (err: any, data?: GetGroupCommandOutput) => void,
140
144
  ): void;
141
145
  getGroupConfiguration(): Promise<GetGroupConfigurationCommandOutput>;
142
146
  getGroupConfiguration(
143
147
  args: GetGroupConfigurationCommandInput,
144
- options?: __HttpHandlerOptions,
148
+ options?: ResourceGroupsRequestOptions,
145
149
  ): Promise<GetGroupConfigurationCommandOutput>;
146
150
  getGroupConfiguration(
147
151
  args: GetGroupConfigurationCommandInput,
@@ -149,13 +153,13 @@ export interface ResourceGroups {
149
153
  ): void;
150
154
  getGroupConfiguration(
151
155
  args: GetGroupConfigurationCommandInput,
152
- options: __HttpHandlerOptions,
156
+ options: ResourceGroupsRequestOptions,
153
157
  cb: (err: any, data?: GetGroupConfigurationCommandOutput) => void,
154
158
  ): void;
155
159
  getGroupQuery(): Promise<GetGroupQueryCommandOutput>;
156
160
  getGroupQuery(
157
161
  args: GetGroupQueryCommandInput,
158
- options?: __HttpHandlerOptions,
162
+ options?: ResourceGroupsRequestOptions,
159
163
  ): Promise<GetGroupQueryCommandOutput>;
160
164
  getGroupQuery(
161
165
  args: GetGroupQueryCommandInput,
@@ -163,19 +167,22 @@ export interface ResourceGroups {
163
167
  ): void;
164
168
  getGroupQuery(
165
169
  args: GetGroupQueryCommandInput,
166
- options: __HttpHandlerOptions,
170
+ options: ResourceGroupsRequestOptions,
167
171
  cb: (err: any, data?: GetGroupQueryCommandOutput) => void,
168
172
  ): void;
169
- getTags(args: GetTagsCommandInput, options?: __HttpHandlerOptions): Promise<GetTagsCommandOutput>;
173
+ getTags(
174
+ args: GetTagsCommandInput,
175
+ options?: ResourceGroupsRequestOptions,
176
+ ): Promise<GetTagsCommandOutput>;
170
177
  getTags(args: GetTagsCommandInput, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
171
178
  getTags(
172
179
  args: GetTagsCommandInput,
173
- options: __HttpHandlerOptions,
180
+ options: ResourceGroupsRequestOptions,
174
181
  cb: (err: any, data?: GetTagsCommandOutput) => void,
175
182
  ): void;
176
183
  getTagSyncTask(
177
184
  args: GetTagSyncTaskCommandInput,
178
- options?: __HttpHandlerOptions,
185
+ options?: ResourceGroupsRequestOptions,
179
186
  ): Promise<GetTagSyncTaskCommandOutput>;
180
187
  getTagSyncTask(
181
188
  args: GetTagSyncTaskCommandInput,
@@ -183,12 +190,12 @@ export interface ResourceGroups {
183
190
  ): void;
184
191
  getTagSyncTask(
185
192
  args: GetTagSyncTaskCommandInput,
186
- options: __HttpHandlerOptions,
193
+ options: ResourceGroupsRequestOptions,
187
194
  cb: (err: any, data?: GetTagSyncTaskCommandOutput) => void,
188
195
  ): void;
189
196
  groupResources(
190
197
  args: GroupResourcesCommandInput,
191
- options?: __HttpHandlerOptions,
198
+ options?: ResourceGroupsRequestOptions,
192
199
  ): Promise<GroupResourcesCommandOutput>;
193
200
  groupResources(
194
201
  args: GroupResourcesCommandInput,
@@ -196,12 +203,12 @@ export interface ResourceGroups {
196
203
  ): void;
197
204
  groupResources(
198
205
  args: GroupResourcesCommandInput,
199
- options: __HttpHandlerOptions,
206
+ options: ResourceGroupsRequestOptions,
200
207
  cb: (err: any, data?: GroupResourcesCommandOutput) => void,
201
208
  ): void;
202
209
  listGroupingStatuses(
203
210
  args: ListGroupingStatusesCommandInput,
204
- options?: __HttpHandlerOptions,
211
+ options?: ResourceGroupsRequestOptions,
205
212
  ): Promise<ListGroupingStatusesCommandOutput>;
206
213
  listGroupingStatuses(
207
214
  args: ListGroupingStatusesCommandInput,
@@ -209,13 +216,13 @@ export interface ResourceGroups {
209
216
  ): void;
210
217
  listGroupingStatuses(
211
218
  args: ListGroupingStatusesCommandInput,
212
- options: __HttpHandlerOptions,
219
+ options: ResourceGroupsRequestOptions,
213
220
  cb: (err: any, data?: ListGroupingStatusesCommandOutput) => void,
214
221
  ): void;
215
222
  listGroupResources(): Promise<ListGroupResourcesCommandOutput>;
216
223
  listGroupResources(
217
224
  args: ListGroupResourcesCommandInput,
218
- options?: __HttpHandlerOptions,
225
+ options?: ResourceGroupsRequestOptions,
219
226
  ): Promise<ListGroupResourcesCommandOutput>;
220
227
  listGroupResources(
221
228
  args: ListGroupResourcesCommandInput,
@@ -223,13 +230,13 @@ export interface ResourceGroups {
223
230
  ): void;
224
231
  listGroupResources(
225
232
  args: ListGroupResourcesCommandInput,
226
- options: __HttpHandlerOptions,
233
+ options: ResourceGroupsRequestOptions,
227
234
  cb: (err: any, data?: ListGroupResourcesCommandOutput) => void,
228
235
  ): void;
229
236
  listGroups(): Promise<ListGroupsCommandOutput>;
230
237
  listGroups(
231
238
  args: ListGroupsCommandInput,
232
- options?: __HttpHandlerOptions,
239
+ options?: ResourceGroupsRequestOptions,
233
240
  ): Promise<ListGroupsCommandOutput>;
234
241
  listGroups(
235
242
  args: ListGroupsCommandInput,
@@ -237,13 +244,13 @@ export interface ResourceGroups {
237
244
  ): void;
238
245
  listGroups(
239
246
  args: ListGroupsCommandInput,
240
- options: __HttpHandlerOptions,
247
+ options: ResourceGroupsRequestOptions,
241
248
  cb: (err: any, data?: ListGroupsCommandOutput) => void,
242
249
  ): void;
243
250
  listTagSyncTasks(): Promise<ListTagSyncTasksCommandOutput>;
244
251
  listTagSyncTasks(
245
252
  args: ListTagSyncTasksCommandInput,
246
- options?: __HttpHandlerOptions,
253
+ options?: ResourceGroupsRequestOptions,
247
254
  ): Promise<ListTagSyncTasksCommandOutput>;
248
255
  listTagSyncTasks(
249
256
  args: ListTagSyncTasksCommandInput,
@@ -251,13 +258,13 @@ export interface ResourceGroups {
251
258
  ): void;
252
259
  listTagSyncTasks(
253
260
  args: ListTagSyncTasksCommandInput,
254
- options: __HttpHandlerOptions,
261
+ options: ResourceGroupsRequestOptions,
255
262
  cb: (err: any, data?: ListTagSyncTasksCommandOutput) => void,
256
263
  ): void;
257
264
  putGroupConfiguration(): Promise<PutGroupConfigurationCommandOutput>;
258
265
  putGroupConfiguration(
259
266
  args: PutGroupConfigurationCommandInput,
260
- options?: __HttpHandlerOptions,
267
+ options?: ResourceGroupsRequestOptions,
261
268
  ): Promise<PutGroupConfigurationCommandOutput>;
262
269
  putGroupConfiguration(
263
270
  args: PutGroupConfigurationCommandInput,
@@ -265,12 +272,12 @@ export interface ResourceGroups {
265
272
  ): void;
266
273
  putGroupConfiguration(
267
274
  args: PutGroupConfigurationCommandInput,
268
- options: __HttpHandlerOptions,
275
+ options: ResourceGroupsRequestOptions,
269
276
  cb: (err: any, data?: PutGroupConfigurationCommandOutput) => void,
270
277
  ): void;
271
278
  searchResources(
272
279
  args: SearchResourcesCommandInput,
273
- options?: __HttpHandlerOptions,
280
+ options?: ResourceGroupsRequestOptions,
274
281
  ): Promise<SearchResourcesCommandOutput>;
275
282
  searchResources(
276
283
  args: SearchResourcesCommandInput,
@@ -278,12 +285,12 @@ export interface ResourceGroups {
278
285
  ): void;
279
286
  searchResources(
280
287
  args: SearchResourcesCommandInput,
281
- options: __HttpHandlerOptions,
288
+ options: ResourceGroupsRequestOptions,
282
289
  cb: (err: any, data?: SearchResourcesCommandOutput) => void,
283
290
  ): void;
284
291
  startTagSyncTask(
285
292
  args: StartTagSyncTaskCommandInput,
286
- options?: __HttpHandlerOptions,
293
+ options?: ResourceGroupsRequestOptions,
287
294
  ): Promise<StartTagSyncTaskCommandOutput>;
288
295
  startTagSyncTask(
289
296
  args: StartTagSyncTaskCommandInput,
@@ -291,19 +298,19 @@ export interface ResourceGroups {
291
298
  ): void;
292
299
  startTagSyncTask(
293
300
  args: StartTagSyncTaskCommandInput,
294
- options: __HttpHandlerOptions,
301
+ options: ResourceGroupsRequestOptions,
295
302
  cb: (err: any, data?: StartTagSyncTaskCommandOutput) => void,
296
303
  ): void;
297
- tag(args: TagCommandInput, options?: __HttpHandlerOptions): Promise<TagCommandOutput>;
304
+ tag(args: TagCommandInput, options?: ResourceGroupsRequestOptions): Promise<TagCommandOutput>;
298
305
  tag(args: TagCommandInput, cb: (err: any, data?: TagCommandOutput) => void): void;
299
306
  tag(
300
307
  args: TagCommandInput,
301
- options: __HttpHandlerOptions,
308
+ options: ResourceGroupsRequestOptions,
302
309
  cb: (err: any, data?: TagCommandOutput) => void,
303
310
  ): void;
304
311
  ungroupResources(
305
312
  args: UngroupResourcesCommandInput,
306
- options?: __HttpHandlerOptions,
313
+ options?: ResourceGroupsRequestOptions,
307
314
  ): Promise<UngroupResourcesCommandOutput>;
308
315
  ungroupResources(
309
316
  args: UngroupResourcesCommandInput,
@@ -311,20 +318,23 @@ export interface ResourceGroups {
311
318
  ): void;
312
319
  ungroupResources(
313
320
  args: UngroupResourcesCommandInput,
314
- options: __HttpHandlerOptions,
321
+ options: ResourceGroupsRequestOptions,
315
322
  cb: (err: any, data?: UngroupResourcesCommandOutput) => void,
316
323
  ): void;
317
- untag(args: UntagCommandInput, options?: __HttpHandlerOptions): Promise<UntagCommandOutput>;
324
+ untag(
325
+ args: UntagCommandInput,
326
+ options?: ResourceGroupsRequestOptions,
327
+ ): Promise<UntagCommandOutput>;
318
328
  untag(args: UntagCommandInput, cb: (err: any, data?: UntagCommandOutput) => void): void;
319
329
  untag(
320
330
  args: UntagCommandInput,
321
- options: __HttpHandlerOptions,
331
+ options: ResourceGroupsRequestOptions,
322
332
  cb: (err: any, data?: UntagCommandOutput) => void,
323
333
  ): void;
324
334
  updateAccountSettings(): Promise<UpdateAccountSettingsCommandOutput>;
325
335
  updateAccountSettings(
326
336
  args: UpdateAccountSettingsCommandInput,
327
- options?: __HttpHandlerOptions,
337
+ options?: ResourceGroupsRequestOptions,
328
338
  ): Promise<UpdateAccountSettingsCommandOutput>;
329
339
  updateAccountSettings(
330
340
  args: UpdateAccountSettingsCommandInput,
@@ -332,13 +342,13 @@ export interface ResourceGroups {
332
342
  ): void;
333
343
  updateAccountSettings(
334
344
  args: UpdateAccountSettingsCommandInput,
335
- options: __HttpHandlerOptions,
345
+ options: ResourceGroupsRequestOptions,
336
346
  cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void,
337
347
  ): void;
338
348
  updateGroup(): Promise<UpdateGroupCommandOutput>;
339
349
  updateGroup(
340
350
  args: UpdateGroupCommandInput,
341
- options?: __HttpHandlerOptions,
351
+ options?: ResourceGroupsRequestOptions,
342
352
  ): Promise<UpdateGroupCommandOutput>;
343
353
  updateGroup(
344
354
  args: UpdateGroupCommandInput,
@@ -346,12 +356,12 @@ export interface ResourceGroups {
346
356
  ): void;
347
357
  updateGroup(
348
358
  args: UpdateGroupCommandInput,
349
- options: __HttpHandlerOptions,
359
+ options: ResourceGroupsRequestOptions,
350
360
  cb: (err: any, data?: UpdateGroupCommandOutput) => void,
351
361
  ): void;
352
362
  updateGroupQuery(
353
363
  args: UpdateGroupQueryCommandInput,
354
- options?: __HttpHandlerOptions,
364
+ options?: ResourceGroupsRequestOptions,
355
365
  ): Promise<UpdateGroupQueryCommandOutput>;
356
366
  updateGroupQuery(
357
367
  args: UpdateGroupQueryCommandInput,
@@ -359,7 +369,7 @@ export interface ResourceGroups {
359
369
  ): void;
360
370
  updateGroupQuery(
361
371
  args: UpdateGroupQueryCommandInput,
362
- options: __HttpHandlerOptions,
372
+ options: ResourceGroupsRequestOptions,
363
373
  cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void,
364
374
  ): void;
365
375
  paginateListGroupingStatuses(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resource-groups",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Resource Groups Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-resource-groups",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {