@aws-sdk/client-resource-groups-tagging-api 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
 
@@ -317,10 +317,10 @@ const _h = "http";
317
317
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
318
318
  const _se = "server";
319
319
  const n0 = "com.amazonaws.resourcegroupstaggingapi";
320
- const _s_registry = TypeRegistry.for(_s);
320
+ const _s_registry = new TypeRegistry(_s);
321
321
  var ResourceGroupsTaggingAPIServiceException$ = [-3, _s, "ResourceGroupsTaggingAPIServiceException", 0, [], []];
322
322
  _s_registry.registerError(ResourceGroupsTaggingAPIServiceException$, ResourceGroupsTaggingAPIServiceException);
323
- const n0_registry = TypeRegistry.for(n0);
323
+ const n0_registry = new TypeRegistry(n0);
324
324
  var ConcurrentModificationException$ = [-3, n0, _CME,
325
325
  { [_e]: _c },
326
326
  [_M],
@@ -95,10 +95,10 @@ const n0 = "com.amazonaws.resourcegroupstaggingapi";
95
95
  import { TypeRegistry } from "@smithy/core/schema";
96
96
  import { ConcurrentModificationException, ConstraintViolationException, InternalServiceException, InvalidParameterException, PaginationTokenExpiredException, ThrottledException, } from "../models/errors";
97
97
  import { ResourceGroupsTaggingAPIServiceException } from "../models/ResourceGroupsTaggingAPIServiceException";
98
- const _s_registry = TypeRegistry.for(_s);
98
+ const _s_registry = new TypeRegistry(_s);
99
99
  export var ResourceGroupsTaggingAPIServiceException$ = [-3, _s, "ResourceGroupsTaggingAPIServiceException", 0, [], []];
100
100
  _s_registry.registerError(ResourceGroupsTaggingAPIServiceException$, ResourceGroupsTaggingAPIServiceException);
101
- const n0_registry = TypeRegistry.for(n0);
101
+ const n0_registry = new TypeRegistry(n0);
102
102
  export var ConcurrentModificationException$ = [-3, n0, _CME,
103
103
  { [_e]: _c },
104
104
  [_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 DescribeReportCreationCommandInput, type DescribeReportCreationCommandOutput } from "./commands/DescribeReportCreationCommand";
3
3
  import { type GetComplianceSummaryCommandInput, type GetComplianceSummaryCommandOutput } from "./commands/GetComplianceSummaryCommand";
4
4
  import { type GetResourcesCommandInput, type GetResourcesCommandOutput } from "./commands/GetResourcesCommand";
@@ -9,66 +9,72 @@ import { type StartReportCreationCommandInput, type StartReportCreationCommandOu
9
9
  import { type TagResourcesCommandInput, type TagResourcesCommandOutput } from "./commands/TagResourcesCommand";
10
10
  import { type UntagResourcesCommandInput, type UntagResourcesCommandOutput } from "./commands/UntagResourcesCommand";
11
11
  import { ResourceGroupsTaggingAPIClient } from "./ResourceGroupsTaggingAPIClient";
12
+ /**
13
+ * @public
14
+ */
15
+ export interface ResourceGroupsTaggingAPIRequestOptions extends __HttpHandlerOptions {
16
+ metricsRecorder?: __MetricsRecorder<unknown>;
17
+ }
12
18
  export interface ResourceGroupsTaggingAPI {
13
19
  /**
14
20
  * @see {@link DescribeReportCreationCommand}
15
21
  */
16
22
  describeReportCreation(): Promise<DescribeReportCreationCommandOutput>;
17
- describeReportCreation(args: DescribeReportCreationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReportCreationCommandOutput>;
23
+ describeReportCreation(args: DescribeReportCreationCommandInput, options?: ResourceGroupsTaggingAPIRequestOptions): Promise<DescribeReportCreationCommandOutput>;
18
24
  describeReportCreation(args: DescribeReportCreationCommandInput, cb: (err: any, data?: DescribeReportCreationCommandOutput) => void): void;
19
- describeReportCreation(args: DescribeReportCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReportCreationCommandOutput) => void): void;
25
+ describeReportCreation(args: DescribeReportCreationCommandInput, options: ResourceGroupsTaggingAPIRequestOptions, cb: (err: any, data?: DescribeReportCreationCommandOutput) => void): void;
20
26
  /**
21
27
  * @see {@link GetComplianceSummaryCommand}
22
28
  */
23
29
  getComplianceSummary(): Promise<GetComplianceSummaryCommandOutput>;
24
- getComplianceSummary(args: GetComplianceSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetComplianceSummaryCommandOutput>;
30
+ getComplianceSummary(args: GetComplianceSummaryCommandInput, options?: ResourceGroupsTaggingAPIRequestOptions): Promise<GetComplianceSummaryCommandOutput>;
25
31
  getComplianceSummary(args: GetComplianceSummaryCommandInput, cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void): void;
26
- getComplianceSummary(args: GetComplianceSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void): void;
32
+ getComplianceSummary(args: GetComplianceSummaryCommandInput, options: ResourceGroupsTaggingAPIRequestOptions, cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void): void;
27
33
  /**
28
34
  * @see {@link GetResourcesCommand}
29
35
  */
30
36
  getResources(): Promise<GetResourcesCommandOutput>;
31
- getResources(args: GetResourcesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcesCommandOutput>;
37
+ getResources(args: GetResourcesCommandInput, options?: ResourceGroupsTaggingAPIRequestOptions): Promise<GetResourcesCommandOutput>;
32
38
  getResources(args: GetResourcesCommandInput, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
33
- getResources(args: GetResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
39
+ getResources(args: GetResourcesCommandInput, options: ResourceGroupsTaggingAPIRequestOptions, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
34
40
  /**
35
41
  * @see {@link GetTagKeysCommand}
36
42
  */
37
43
  getTagKeys(): Promise<GetTagKeysCommandOutput>;
38
- getTagKeys(args: GetTagKeysCommandInput, options?: __HttpHandlerOptions): Promise<GetTagKeysCommandOutput>;
44
+ getTagKeys(args: GetTagKeysCommandInput, options?: ResourceGroupsTaggingAPIRequestOptions): Promise<GetTagKeysCommandOutput>;
39
45
  getTagKeys(args: GetTagKeysCommandInput, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
40
- getTagKeys(args: GetTagKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
46
+ getTagKeys(args: GetTagKeysCommandInput, options: ResourceGroupsTaggingAPIRequestOptions, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
41
47
  /**
42
48
  * @see {@link GetTagValuesCommand}
43
49
  */
44
- getTagValues(args: GetTagValuesCommandInput, options?: __HttpHandlerOptions): Promise<GetTagValuesCommandOutput>;
50
+ getTagValues(args: GetTagValuesCommandInput, options?: ResourceGroupsTaggingAPIRequestOptions): Promise<GetTagValuesCommandOutput>;
45
51
  getTagValues(args: GetTagValuesCommandInput, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
46
- getTagValues(args: GetTagValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
52
+ getTagValues(args: GetTagValuesCommandInput, options: ResourceGroupsTaggingAPIRequestOptions, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
47
53
  /**
48
54
  * @see {@link ListRequiredTagsCommand}
49
55
  */
50
56
  listRequiredTags(): Promise<ListRequiredTagsCommandOutput>;
51
- listRequiredTags(args: ListRequiredTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListRequiredTagsCommandOutput>;
57
+ listRequiredTags(args: ListRequiredTagsCommandInput, options?: ResourceGroupsTaggingAPIRequestOptions): Promise<ListRequiredTagsCommandOutput>;
52
58
  listRequiredTags(args: ListRequiredTagsCommandInput, cb: (err: any, data?: ListRequiredTagsCommandOutput) => void): void;
53
- listRequiredTags(args: ListRequiredTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRequiredTagsCommandOutput) => void): void;
59
+ listRequiredTags(args: ListRequiredTagsCommandInput, options: ResourceGroupsTaggingAPIRequestOptions, cb: (err: any, data?: ListRequiredTagsCommandOutput) => void): void;
54
60
  /**
55
61
  * @see {@link StartReportCreationCommand}
56
62
  */
57
- startReportCreation(args: StartReportCreationCommandInput, options?: __HttpHandlerOptions): Promise<StartReportCreationCommandOutput>;
63
+ startReportCreation(args: StartReportCreationCommandInput, options?: ResourceGroupsTaggingAPIRequestOptions): Promise<StartReportCreationCommandOutput>;
58
64
  startReportCreation(args: StartReportCreationCommandInput, cb: (err: any, data?: StartReportCreationCommandOutput) => void): void;
59
- startReportCreation(args: StartReportCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReportCreationCommandOutput) => void): void;
65
+ startReportCreation(args: StartReportCreationCommandInput, options: ResourceGroupsTaggingAPIRequestOptions, cb: (err: any, data?: StartReportCreationCommandOutput) => void): void;
60
66
  /**
61
67
  * @see {@link TagResourcesCommand}
62
68
  */
63
- tagResources(args: TagResourcesCommandInput, options?: __HttpHandlerOptions): Promise<TagResourcesCommandOutput>;
69
+ tagResources(args: TagResourcesCommandInput, options?: ResourceGroupsTaggingAPIRequestOptions): Promise<TagResourcesCommandOutput>;
64
70
  tagResources(args: TagResourcesCommandInput, cb: (err: any, data?: TagResourcesCommandOutput) => void): void;
65
- tagResources(args: TagResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourcesCommandOutput) => void): void;
71
+ tagResources(args: TagResourcesCommandInput, options: ResourceGroupsTaggingAPIRequestOptions, cb: (err: any, data?: TagResourcesCommandOutput) => void): void;
66
72
  /**
67
73
  * @see {@link UntagResourcesCommand}
68
74
  */
69
- untagResources(args: UntagResourcesCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourcesCommandOutput>;
75
+ untagResources(args: UntagResourcesCommandInput, options?: ResourceGroupsTaggingAPIRequestOptions): Promise<UntagResourcesCommandOutput>;
70
76
  untagResources(args: UntagResourcesCommandInput, cb: (err: any, data?: UntagResourcesCommandOutput) => void): void;
71
- untagResources(args: UntagResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourcesCommandOutput) => void): void;
77
+ untagResources(args: UntagResourcesCommandInput, options: ResourceGroupsTaggingAPIRequestOptions, cb: (err: any, data?: UntagResourcesCommandOutput) => void): void;
72
78
  /**
73
79
  * @see {@link GetComplianceSummaryCommand}
74
80
  * @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";
@@ -37,11 +38,14 @@ import {
37
38
  UntagResourcesCommandOutput,
38
39
  } from "./commands/UntagResourcesCommand";
39
40
  import { ResourceGroupsTaggingAPIClient } from "./ResourceGroupsTaggingAPIClient";
41
+ export interface ResourceGroupsTaggingAPIRequestOptions extends __HttpHandlerOptions {
42
+ metricsRecorder?: __MetricsRecorder<unknown>;
43
+ }
40
44
  export interface ResourceGroupsTaggingAPI {
41
45
  describeReportCreation(): Promise<DescribeReportCreationCommandOutput>;
42
46
  describeReportCreation(
43
47
  args: DescribeReportCreationCommandInput,
44
- options?: __HttpHandlerOptions,
48
+ options?: ResourceGroupsTaggingAPIRequestOptions,
45
49
  ): Promise<DescribeReportCreationCommandOutput>;
46
50
  describeReportCreation(
47
51
  args: DescribeReportCreationCommandInput,
@@ -49,13 +53,13 @@ export interface ResourceGroupsTaggingAPI {
49
53
  ): void;
50
54
  describeReportCreation(
51
55
  args: DescribeReportCreationCommandInput,
52
- options: __HttpHandlerOptions,
56
+ options: ResourceGroupsTaggingAPIRequestOptions,
53
57
  cb: (err: any, data?: DescribeReportCreationCommandOutput) => void,
54
58
  ): void;
55
59
  getComplianceSummary(): Promise<GetComplianceSummaryCommandOutput>;
56
60
  getComplianceSummary(
57
61
  args: GetComplianceSummaryCommandInput,
58
- options?: __HttpHandlerOptions,
62
+ options?: ResourceGroupsTaggingAPIRequestOptions,
59
63
  ): Promise<GetComplianceSummaryCommandOutput>;
60
64
  getComplianceSummary(
61
65
  args: GetComplianceSummaryCommandInput,
@@ -63,13 +67,13 @@ export interface ResourceGroupsTaggingAPI {
63
67
  ): void;
64
68
  getComplianceSummary(
65
69
  args: GetComplianceSummaryCommandInput,
66
- options: __HttpHandlerOptions,
70
+ options: ResourceGroupsTaggingAPIRequestOptions,
67
71
  cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void,
68
72
  ): void;
69
73
  getResources(): Promise<GetResourcesCommandOutput>;
70
74
  getResources(
71
75
  args: GetResourcesCommandInput,
72
- options?: __HttpHandlerOptions,
76
+ options?: ResourceGroupsTaggingAPIRequestOptions,
73
77
  ): Promise<GetResourcesCommandOutput>;
74
78
  getResources(
75
79
  args: GetResourcesCommandInput,
@@ -77,13 +81,13 @@ export interface ResourceGroupsTaggingAPI {
77
81
  ): void;
78
82
  getResources(
79
83
  args: GetResourcesCommandInput,
80
- options: __HttpHandlerOptions,
84
+ options: ResourceGroupsTaggingAPIRequestOptions,
81
85
  cb: (err: any, data?: GetResourcesCommandOutput) => void,
82
86
  ): void;
83
87
  getTagKeys(): Promise<GetTagKeysCommandOutput>;
84
88
  getTagKeys(
85
89
  args: GetTagKeysCommandInput,
86
- options?: __HttpHandlerOptions,
90
+ options?: ResourceGroupsTaggingAPIRequestOptions,
87
91
  ): Promise<GetTagKeysCommandOutput>;
88
92
  getTagKeys(
89
93
  args: GetTagKeysCommandInput,
@@ -91,12 +95,12 @@ export interface ResourceGroupsTaggingAPI {
91
95
  ): void;
92
96
  getTagKeys(
93
97
  args: GetTagKeysCommandInput,
94
- options: __HttpHandlerOptions,
98
+ options: ResourceGroupsTaggingAPIRequestOptions,
95
99
  cb: (err: any, data?: GetTagKeysCommandOutput) => void,
96
100
  ): void;
97
101
  getTagValues(
98
102
  args: GetTagValuesCommandInput,
99
- options?: __HttpHandlerOptions,
103
+ options?: ResourceGroupsTaggingAPIRequestOptions,
100
104
  ): Promise<GetTagValuesCommandOutput>;
101
105
  getTagValues(
102
106
  args: GetTagValuesCommandInput,
@@ -104,13 +108,13 @@ export interface ResourceGroupsTaggingAPI {
104
108
  ): void;
105
109
  getTagValues(
106
110
  args: GetTagValuesCommandInput,
107
- options: __HttpHandlerOptions,
111
+ options: ResourceGroupsTaggingAPIRequestOptions,
108
112
  cb: (err: any, data?: GetTagValuesCommandOutput) => void,
109
113
  ): void;
110
114
  listRequiredTags(): Promise<ListRequiredTagsCommandOutput>;
111
115
  listRequiredTags(
112
116
  args: ListRequiredTagsCommandInput,
113
- options?: __HttpHandlerOptions,
117
+ options?: ResourceGroupsTaggingAPIRequestOptions,
114
118
  ): Promise<ListRequiredTagsCommandOutput>;
115
119
  listRequiredTags(
116
120
  args: ListRequiredTagsCommandInput,
@@ -118,12 +122,12 @@ export interface ResourceGroupsTaggingAPI {
118
122
  ): void;
119
123
  listRequiredTags(
120
124
  args: ListRequiredTagsCommandInput,
121
- options: __HttpHandlerOptions,
125
+ options: ResourceGroupsTaggingAPIRequestOptions,
122
126
  cb: (err: any, data?: ListRequiredTagsCommandOutput) => void,
123
127
  ): void;
124
128
  startReportCreation(
125
129
  args: StartReportCreationCommandInput,
126
- options?: __HttpHandlerOptions,
130
+ options?: ResourceGroupsTaggingAPIRequestOptions,
127
131
  ): Promise<StartReportCreationCommandOutput>;
128
132
  startReportCreation(
129
133
  args: StartReportCreationCommandInput,
@@ -131,12 +135,12 @@ export interface ResourceGroupsTaggingAPI {
131
135
  ): void;
132
136
  startReportCreation(
133
137
  args: StartReportCreationCommandInput,
134
- options: __HttpHandlerOptions,
138
+ options: ResourceGroupsTaggingAPIRequestOptions,
135
139
  cb: (err: any, data?: StartReportCreationCommandOutput) => void,
136
140
  ): void;
137
141
  tagResources(
138
142
  args: TagResourcesCommandInput,
139
- options?: __HttpHandlerOptions,
143
+ options?: ResourceGroupsTaggingAPIRequestOptions,
140
144
  ): Promise<TagResourcesCommandOutput>;
141
145
  tagResources(
142
146
  args: TagResourcesCommandInput,
@@ -144,12 +148,12 @@ export interface ResourceGroupsTaggingAPI {
144
148
  ): void;
145
149
  tagResources(
146
150
  args: TagResourcesCommandInput,
147
- options: __HttpHandlerOptions,
151
+ options: ResourceGroupsTaggingAPIRequestOptions,
148
152
  cb: (err: any, data?: TagResourcesCommandOutput) => void,
149
153
  ): void;
150
154
  untagResources(
151
155
  args: UntagResourcesCommandInput,
152
- options?: __HttpHandlerOptions,
156
+ options?: ResourceGroupsTaggingAPIRequestOptions,
153
157
  ): Promise<UntagResourcesCommandOutput>;
154
158
  untagResources(
155
159
  args: UntagResourcesCommandInput,
@@ -157,7 +161,7 @@ export interface ResourceGroupsTaggingAPI {
157
161
  ): void;
158
162
  untagResources(
159
163
  args: UntagResourcesCommandInput,
160
- options: __HttpHandlerOptions,
164
+ options: ResourceGroupsTaggingAPIRequestOptions,
161
165
  cb: (err: any, data?: UntagResourcesCommandOutput) => void,
162
166
  ): void;
163
167
  paginateGetComplianceSummary(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resource-groups-tagging-api",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Resource Groups Tagging Api 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-tagging-api",
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": {