@aws-sdk/client-supportauthz 3.1136.0 → 3.1138.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
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1135.0";
70
+ var version = "3.1137.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -333,10 +333,10 @@ const _t = "tags";
333
333
  const _tK = "tagKeys";
334
334
  const _uA = "updatedAt";
335
335
  const n0 = "com.amazonaws.supportauthz";
336
- const _s_registry = TypeRegistry.for(_s);
336
+ const _s_registry = new TypeRegistry(_s);
337
337
  var SupportAuthZServiceException$ = [-3, _s, "SupportAuthZServiceException", 0, [], []];
338
338
  _s_registry.registerError(SupportAuthZServiceException$, SupportAuthZServiceException);
339
- const n0_registry = TypeRegistry.for(n0);
339
+ const n0_registry = new TypeRegistry(n0);
340
340
  var AccessDeniedException$ = [-3, n0, _ADE,
341
341
  { [_e]: _c, [_hE]: 403 },
342
342
  [_m],
@@ -104,10 +104,10 @@ const n0 = "com.amazonaws.supportauthz";
104
104
  import { TypeRegistry } from "@smithy/core/schema";
105
105
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
106
106
  import { SupportAuthZServiceException } from "../models/SupportAuthZServiceException";
107
- const _s_registry = TypeRegistry.for(_s);
107
+ const _s_registry = new TypeRegistry(_s);
108
108
  export var SupportAuthZServiceException$ = [-3, _s, "SupportAuthZServiceException", 0, [], []];
109
109
  _s_registry.registerError(SupportAuthZServiceException$, SupportAuthZServiceException);
110
- const n0_registry = TypeRegistry.for(n0);
110
+ const n0_registry = new TypeRegistry(n0);
111
111
  export var AccessDeniedException$ = [-3, n0, _ADE,
112
112
  { [_e]: _c, [_hE]: 403 },
113
113
  [_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 CreateSupportPermitCommandInput, type CreateSupportPermitCommandOutput } from "./commands/CreateSupportPermitCommand";
3
3
  import { type DeleteSupportPermitCommandInput, type DeleteSupportPermitCommandOutput } from "./commands/DeleteSupportPermitCommand";
4
4
  import { type GetActionCommandInput, type GetActionCommandOutput } from "./commands/GetActionCommand";
@@ -11,75 +11,81 @@ import { type RejectSupportPermitRequestCommandInput, type RejectSupportPermitRe
11
11
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
12
12
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
13
13
  import { SupportAuthZClient } from "./SupportAuthZClient";
14
+ /**
15
+ * @public
16
+ */
17
+ export interface SupportAuthZRequestOptions extends __HttpHandlerOptions {
18
+ metricsRecorder?: __MetricsRecorder<unknown>;
19
+ }
14
20
  export interface SupportAuthZ {
15
21
  /**
16
22
  * @see {@link CreateSupportPermitCommand}
17
23
  */
18
- createSupportPermit(args: CreateSupportPermitCommandInput, options?: __HttpHandlerOptions): Promise<CreateSupportPermitCommandOutput>;
24
+ createSupportPermit(args: CreateSupportPermitCommandInput, options?: SupportAuthZRequestOptions): Promise<CreateSupportPermitCommandOutput>;
19
25
  createSupportPermit(args: CreateSupportPermitCommandInput, cb: (err: any, data?: CreateSupportPermitCommandOutput) => void): void;
20
- createSupportPermit(args: CreateSupportPermitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSupportPermitCommandOutput) => void): void;
26
+ createSupportPermit(args: CreateSupportPermitCommandInput, options: SupportAuthZRequestOptions, cb: (err: any, data?: CreateSupportPermitCommandOutput) => void): void;
21
27
  /**
22
28
  * @see {@link DeleteSupportPermitCommand}
23
29
  */
24
- deleteSupportPermit(args: DeleteSupportPermitCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSupportPermitCommandOutput>;
30
+ deleteSupportPermit(args: DeleteSupportPermitCommandInput, options?: SupportAuthZRequestOptions): Promise<DeleteSupportPermitCommandOutput>;
25
31
  deleteSupportPermit(args: DeleteSupportPermitCommandInput, cb: (err: any, data?: DeleteSupportPermitCommandOutput) => void): void;
26
- deleteSupportPermit(args: DeleteSupportPermitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSupportPermitCommandOutput) => void): void;
32
+ deleteSupportPermit(args: DeleteSupportPermitCommandInput, options: SupportAuthZRequestOptions, cb: (err: any, data?: DeleteSupportPermitCommandOutput) => void): void;
27
33
  /**
28
34
  * @see {@link GetActionCommand}
29
35
  */
30
- getAction(args: GetActionCommandInput, options?: __HttpHandlerOptions): Promise<GetActionCommandOutput>;
36
+ getAction(args: GetActionCommandInput, options?: SupportAuthZRequestOptions): Promise<GetActionCommandOutput>;
31
37
  getAction(args: GetActionCommandInput, cb: (err: any, data?: GetActionCommandOutput) => void): void;
32
- getAction(args: GetActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetActionCommandOutput) => void): void;
38
+ getAction(args: GetActionCommandInput, options: SupportAuthZRequestOptions, cb: (err: any, data?: GetActionCommandOutput) => void): void;
33
39
  /**
34
40
  * @see {@link GetSupportPermitCommand}
35
41
  */
36
- getSupportPermit(args: GetSupportPermitCommandInput, options?: __HttpHandlerOptions): Promise<GetSupportPermitCommandOutput>;
42
+ getSupportPermit(args: GetSupportPermitCommandInput, options?: SupportAuthZRequestOptions): Promise<GetSupportPermitCommandOutput>;
37
43
  getSupportPermit(args: GetSupportPermitCommandInput, cb: (err: any, data?: GetSupportPermitCommandOutput) => void): void;
38
- getSupportPermit(args: GetSupportPermitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSupportPermitCommandOutput) => void): void;
44
+ getSupportPermit(args: GetSupportPermitCommandInput, options: SupportAuthZRequestOptions, cb: (err: any, data?: GetSupportPermitCommandOutput) => void): void;
39
45
  /**
40
46
  * @see {@link ListActionsCommand}
41
47
  */
42
- listActions(args: ListActionsCommandInput, options?: __HttpHandlerOptions): Promise<ListActionsCommandOutput>;
48
+ listActions(args: ListActionsCommandInput, options?: SupportAuthZRequestOptions): Promise<ListActionsCommandOutput>;
43
49
  listActions(args: ListActionsCommandInput, cb: (err: any, data?: ListActionsCommandOutput) => void): void;
44
- listActions(args: ListActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListActionsCommandOutput) => void): void;
50
+ listActions(args: ListActionsCommandInput, options: SupportAuthZRequestOptions, cb: (err: any, data?: ListActionsCommandOutput) => void): void;
45
51
  /**
46
52
  * @see {@link ListSupportPermitRequestsCommand}
47
53
  */
48
54
  listSupportPermitRequests(): Promise<ListSupportPermitRequestsCommandOutput>;
49
- listSupportPermitRequests(args: ListSupportPermitRequestsCommandInput, options?: __HttpHandlerOptions): Promise<ListSupportPermitRequestsCommandOutput>;
55
+ listSupportPermitRequests(args: ListSupportPermitRequestsCommandInput, options?: SupportAuthZRequestOptions): Promise<ListSupportPermitRequestsCommandOutput>;
50
56
  listSupportPermitRequests(args: ListSupportPermitRequestsCommandInput, cb: (err: any, data?: ListSupportPermitRequestsCommandOutput) => void): void;
51
- listSupportPermitRequests(args: ListSupportPermitRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSupportPermitRequestsCommandOutput) => void): void;
57
+ listSupportPermitRequests(args: ListSupportPermitRequestsCommandInput, options: SupportAuthZRequestOptions, cb: (err: any, data?: ListSupportPermitRequestsCommandOutput) => void): void;
52
58
  /**
53
59
  * @see {@link ListSupportPermitsCommand}
54
60
  */
55
61
  listSupportPermits(): Promise<ListSupportPermitsCommandOutput>;
56
- listSupportPermits(args: ListSupportPermitsCommandInput, options?: __HttpHandlerOptions): Promise<ListSupportPermitsCommandOutput>;
62
+ listSupportPermits(args: ListSupportPermitsCommandInput, options?: SupportAuthZRequestOptions): Promise<ListSupportPermitsCommandOutput>;
57
63
  listSupportPermits(args: ListSupportPermitsCommandInput, cb: (err: any, data?: ListSupportPermitsCommandOutput) => void): void;
58
- listSupportPermits(args: ListSupportPermitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSupportPermitsCommandOutput) => void): void;
64
+ listSupportPermits(args: ListSupportPermitsCommandInput, options: SupportAuthZRequestOptions, cb: (err: any, data?: ListSupportPermitsCommandOutput) => void): void;
59
65
  /**
60
66
  * @see {@link ListTagsForResourceCommand}
61
67
  */
62
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
68
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: SupportAuthZRequestOptions): Promise<ListTagsForResourceCommandOutput>;
63
69
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
64
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
70
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: SupportAuthZRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
65
71
  /**
66
72
  * @see {@link RejectSupportPermitRequestCommand}
67
73
  */
68
- rejectSupportPermitRequest(args: RejectSupportPermitRequestCommandInput, options?: __HttpHandlerOptions): Promise<RejectSupportPermitRequestCommandOutput>;
74
+ rejectSupportPermitRequest(args: RejectSupportPermitRequestCommandInput, options?: SupportAuthZRequestOptions): Promise<RejectSupportPermitRequestCommandOutput>;
69
75
  rejectSupportPermitRequest(args: RejectSupportPermitRequestCommandInput, cb: (err: any, data?: RejectSupportPermitRequestCommandOutput) => void): void;
70
- rejectSupportPermitRequest(args: RejectSupportPermitRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectSupportPermitRequestCommandOutput) => void): void;
76
+ rejectSupportPermitRequest(args: RejectSupportPermitRequestCommandInput, options: SupportAuthZRequestOptions, cb: (err: any, data?: RejectSupportPermitRequestCommandOutput) => void): void;
71
77
  /**
72
78
  * @see {@link TagResourceCommand}
73
79
  */
74
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
80
+ tagResource(args: TagResourceCommandInput, options?: SupportAuthZRequestOptions): Promise<TagResourceCommandOutput>;
75
81
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
76
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
82
+ tagResource(args: TagResourceCommandInput, options: SupportAuthZRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
77
83
  /**
78
84
  * @see {@link UntagResourceCommand}
79
85
  */
80
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
86
+ untagResource(args: UntagResourceCommandInput, options?: SupportAuthZRequestOptions): Promise<UntagResourceCommandOutput>;
81
87
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
82
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
88
+ untagResource(args: UntagResourceCommandInput, options: SupportAuthZRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
83
89
  /**
84
90
  * @see {@link ListActionsCommand}
85
91
  * @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";
@@ -39,10 +40,13 @@ import {
39
40
  UntagResourceCommandOutput,
40
41
  } from "./commands/UntagResourceCommand";
41
42
  import { SupportAuthZClient } from "./SupportAuthZClient";
43
+ export interface SupportAuthZRequestOptions extends __HttpHandlerOptions {
44
+ metricsRecorder?: __MetricsRecorder<unknown>;
45
+ }
42
46
  export interface SupportAuthZ {
43
47
  createSupportPermit(
44
48
  args: CreateSupportPermitCommandInput,
45
- options?: __HttpHandlerOptions,
49
+ options?: SupportAuthZRequestOptions,
46
50
  ): Promise<CreateSupportPermitCommandOutput>;
47
51
  createSupportPermit(
48
52
  args: CreateSupportPermitCommandInput,
@@ -50,12 +54,12 @@ export interface SupportAuthZ {
50
54
  ): void;
51
55
  createSupportPermit(
52
56
  args: CreateSupportPermitCommandInput,
53
- options: __HttpHandlerOptions,
57
+ options: SupportAuthZRequestOptions,
54
58
  cb: (err: any, data?: CreateSupportPermitCommandOutput) => void,
55
59
  ): void;
56
60
  deleteSupportPermit(
57
61
  args: DeleteSupportPermitCommandInput,
58
- options?: __HttpHandlerOptions,
62
+ options?: SupportAuthZRequestOptions,
59
63
  ): Promise<DeleteSupportPermitCommandOutput>;
60
64
  deleteSupportPermit(
61
65
  args: DeleteSupportPermitCommandInput,
@@ -63,12 +67,12 @@ export interface SupportAuthZ {
63
67
  ): void;
64
68
  deleteSupportPermit(
65
69
  args: DeleteSupportPermitCommandInput,
66
- options: __HttpHandlerOptions,
70
+ options: SupportAuthZRequestOptions,
67
71
  cb: (err: any, data?: DeleteSupportPermitCommandOutput) => void,
68
72
  ): void;
69
73
  getAction(
70
74
  args: GetActionCommandInput,
71
- options?: __HttpHandlerOptions,
75
+ options?: SupportAuthZRequestOptions,
72
76
  ): Promise<GetActionCommandOutput>;
73
77
  getAction(
74
78
  args: GetActionCommandInput,
@@ -76,12 +80,12 @@ export interface SupportAuthZ {
76
80
  ): void;
77
81
  getAction(
78
82
  args: GetActionCommandInput,
79
- options: __HttpHandlerOptions,
83
+ options: SupportAuthZRequestOptions,
80
84
  cb: (err: any, data?: GetActionCommandOutput) => void,
81
85
  ): void;
82
86
  getSupportPermit(
83
87
  args: GetSupportPermitCommandInput,
84
- options?: __HttpHandlerOptions,
88
+ options?: SupportAuthZRequestOptions,
85
89
  ): Promise<GetSupportPermitCommandOutput>;
86
90
  getSupportPermit(
87
91
  args: GetSupportPermitCommandInput,
@@ -89,12 +93,12 @@ export interface SupportAuthZ {
89
93
  ): void;
90
94
  getSupportPermit(
91
95
  args: GetSupportPermitCommandInput,
92
- options: __HttpHandlerOptions,
96
+ options: SupportAuthZRequestOptions,
93
97
  cb: (err: any, data?: GetSupportPermitCommandOutput) => void,
94
98
  ): void;
95
99
  listActions(
96
100
  args: ListActionsCommandInput,
97
- options?: __HttpHandlerOptions,
101
+ options?: SupportAuthZRequestOptions,
98
102
  ): Promise<ListActionsCommandOutput>;
99
103
  listActions(
100
104
  args: ListActionsCommandInput,
@@ -102,13 +106,13 @@ export interface SupportAuthZ {
102
106
  ): void;
103
107
  listActions(
104
108
  args: ListActionsCommandInput,
105
- options: __HttpHandlerOptions,
109
+ options: SupportAuthZRequestOptions,
106
110
  cb: (err: any, data?: ListActionsCommandOutput) => void,
107
111
  ): void;
108
112
  listSupportPermitRequests(): Promise<ListSupportPermitRequestsCommandOutput>;
109
113
  listSupportPermitRequests(
110
114
  args: ListSupportPermitRequestsCommandInput,
111
- options?: __HttpHandlerOptions,
115
+ options?: SupportAuthZRequestOptions,
112
116
  ): Promise<ListSupportPermitRequestsCommandOutput>;
113
117
  listSupportPermitRequests(
114
118
  args: ListSupportPermitRequestsCommandInput,
@@ -116,13 +120,13 @@ export interface SupportAuthZ {
116
120
  ): void;
117
121
  listSupportPermitRequests(
118
122
  args: ListSupportPermitRequestsCommandInput,
119
- options: __HttpHandlerOptions,
123
+ options: SupportAuthZRequestOptions,
120
124
  cb: (err: any, data?: ListSupportPermitRequestsCommandOutput) => void,
121
125
  ): void;
122
126
  listSupportPermits(): Promise<ListSupportPermitsCommandOutput>;
123
127
  listSupportPermits(
124
128
  args: ListSupportPermitsCommandInput,
125
- options?: __HttpHandlerOptions,
129
+ options?: SupportAuthZRequestOptions,
126
130
  ): Promise<ListSupportPermitsCommandOutput>;
127
131
  listSupportPermits(
128
132
  args: ListSupportPermitsCommandInput,
@@ -130,12 +134,12 @@ export interface SupportAuthZ {
130
134
  ): void;
131
135
  listSupportPermits(
132
136
  args: ListSupportPermitsCommandInput,
133
- options: __HttpHandlerOptions,
137
+ options: SupportAuthZRequestOptions,
134
138
  cb: (err: any, data?: ListSupportPermitsCommandOutput) => void,
135
139
  ): void;
136
140
  listTagsForResource(
137
141
  args: ListTagsForResourceCommandInput,
138
- options?: __HttpHandlerOptions,
142
+ options?: SupportAuthZRequestOptions,
139
143
  ): Promise<ListTagsForResourceCommandOutput>;
140
144
  listTagsForResource(
141
145
  args: ListTagsForResourceCommandInput,
@@ -143,12 +147,12 @@ export interface SupportAuthZ {
143
147
  ): void;
144
148
  listTagsForResource(
145
149
  args: ListTagsForResourceCommandInput,
146
- options: __HttpHandlerOptions,
150
+ options: SupportAuthZRequestOptions,
147
151
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
148
152
  ): void;
149
153
  rejectSupportPermitRequest(
150
154
  args: RejectSupportPermitRequestCommandInput,
151
- options?: __HttpHandlerOptions,
155
+ options?: SupportAuthZRequestOptions,
152
156
  ): Promise<RejectSupportPermitRequestCommandOutput>;
153
157
  rejectSupportPermitRequest(
154
158
  args: RejectSupportPermitRequestCommandInput,
@@ -156,12 +160,12 @@ export interface SupportAuthZ {
156
160
  ): void;
157
161
  rejectSupportPermitRequest(
158
162
  args: RejectSupportPermitRequestCommandInput,
159
- options: __HttpHandlerOptions,
163
+ options: SupportAuthZRequestOptions,
160
164
  cb: (err: any, data?: RejectSupportPermitRequestCommandOutput) => void,
161
165
  ): void;
162
166
  tagResource(
163
167
  args: TagResourceCommandInput,
164
- options?: __HttpHandlerOptions,
168
+ options?: SupportAuthZRequestOptions,
165
169
  ): Promise<TagResourceCommandOutput>;
166
170
  tagResource(
167
171
  args: TagResourceCommandInput,
@@ -169,12 +173,12 @@ export interface SupportAuthZ {
169
173
  ): void;
170
174
  tagResource(
171
175
  args: TagResourceCommandInput,
172
- options: __HttpHandlerOptions,
176
+ options: SupportAuthZRequestOptions,
173
177
  cb: (err: any, data?: TagResourceCommandOutput) => void,
174
178
  ): void;
175
179
  untagResource(
176
180
  args: UntagResourceCommandInput,
177
- options?: __HttpHandlerOptions,
181
+ options?: SupportAuthZRequestOptions,
178
182
  ): Promise<UntagResourceCommandOutput>;
179
183
  untagResource(
180
184
  args: UntagResourceCommandInput,
@@ -182,7 +186,7 @@ export interface SupportAuthZ {
182
186
  ): void;
183
187
  untagResource(
184
188
  args: UntagResourceCommandInput,
185
- options: __HttpHandlerOptions,
189
+ options: SupportAuthZRequestOptions,
186
190
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
187
191
  ): void;
188
192
  paginateListActions(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-supportauthz",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Supportauthz Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-supportauthz",
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": {