@aws-sdk/client-account-access 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
 
@@ -313,10 +313,10 @@ const _tK = "tagKeys";
313
313
  const _uA = "updatedAt";
314
314
  const _uI = "userId";
315
315
  const n0 = "com.amazonaws.accountaccess";
316
- const _s_registry = TypeRegistry.for(_s);
316
+ const _s_registry = new TypeRegistry(_s);
317
317
  var AccountAccessServiceException$ = [-3, _s, "AccountAccessServiceException", 0, [], []];
318
318
  _s_registry.registerError(AccountAccessServiceException$, AccountAccessServiceException);
319
- const n0_registry = TypeRegistry.for(n0);
319
+ const n0_registry = new TypeRegistry(n0);
320
320
  var AccessDeniedException$ = [-3, n0, _ADE,
321
321
  { [_e]: _c, [_hE]: 403 },
322
322
  [_m],
@@ -98,10 +98,10 @@ const n0 = "com.amazonaws.accountaccess";
98
98
  import { TypeRegistry } from "@smithy/core/schema";
99
99
  import { AccountAccessServiceException } from "../models/AccountAccessServiceException";
100
100
  import { AccessDeniedException, AlreadyCreatedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
101
- const _s_registry = TypeRegistry.for(_s);
101
+ const _s_registry = new TypeRegistry(_s);
102
102
  export var AccountAccessServiceException$ = [-3, _s, "AccountAccessServiceException", 0, [], []];
103
103
  _s_registry.registerError(AccountAccessServiceException$, AccountAccessServiceException);
104
- const n0_registry = TypeRegistry.for(n0);
104
+ const n0_registry = new TypeRegistry(n0);
105
105
  export var AccessDeniedException$ = [-3, n0, _ADE,
106
106
  { [_e]: _c, [_hE]: 403 },
107
107
  [_m],
@@ -1,5 +1,5 @@
1
1
  import { type WaiterResult } from "@smithy/core/client";
2
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
3
  import { AccountAccessClient } from "./AccountAccessClient";
4
4
  import { type CreateApplicationCommandInput, type CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
5
5
  import { type CreateEntitlementCommandInput, type CreateEntitlementCommandOutput } from "./commands/CreateEntitlementCommand";
@@ -12,74 +12,80 @@ import { type ListEntitlementsCommandInput, type ListEntitlementsCommandOutput }
12
12
  import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
13
13
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
14
14
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
15
+ /**
16
+ * @public
17
+ */
18
+ export interface AccountAccessRequestOptions extends __HttpHandlerOptions {
19
+ metricsRecorder?: __MetricsRecorder<unknown>;
20
+ }
15
21
  export interface AccountAccess {
16
22
  /**
17
23
  * @see {@link CreateApplicationCommand}
18
24
  */
19
- createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
25
+ createApplication(args: CreateApplicationCommandInput, options?: AccountAccessRequestOptions): Promise<CreateApplicationCommandOutput>;
20
26
  createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
21
- createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
27
+ createApplication(args: CreateApplicationCommandInput, options: AccountAccessRequestOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
22
28
  /**
23
29
  * @see {@link CreateEntitlementCommand}
24
30
  */
25
- createEntitlement(args: CreateEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<CreateEntitlementCommandOutput>;
31
+ createEntitlement(args: CreateEntitlementCommandInput, options?: AccountAccessRequestOptions): Promise<CreateEntitlementCommandOutput>;
26
32
  createEntitlement(args: CreateEntitlementCommandInput, cb: (err: any, data?: CreateEntitlementCommandOutput) => void): void;
27
- createEntitlement(args: CreateEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEntitlementCommandOutput) => void): void;
33
+ createEntitlement(args: CreateEntitlementCommandInput, options: AccountAccessRequestOptions, cb: (err: any, data?: CreateEntitlementCommandOutput) => void): void;
28
34
  /**
29
35
  * @see {@link DeleteApplicationCommand}
30
36
  */
31
- deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
37
+ deleteApplication(args: DeleteApplicationCommandInput, options?: AccountAccessRequestOptions): Promise<DeleteApplicationCommandOutput>;
32
38
  deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
33
- deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
39
+ deleteApplication(args: DeleteApplicationCommandInput, options: AccountAccessRequestOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
34
40
  /**
35
41
  * @see {@link DeleteEntitlementCommand}
36
42
  */
37
- deleteEntitlement(args: DeleteEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEntitlementCommandOutput>;
43
+ deleteEntitlement(args: DeleteEntitlementCommandInput, options?: AccountAccessRequestOptions): Promise<DeleteEntitlementCommandOutput>;
38
44
  deleteEntitlement(args: DeleteEntitlementCommandInput, cb: (err: any, data?: DeleteEntitlementCommandOutput) => void): void;
39
- deleteEntitlement(args: DeleteEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEntitlementCommandOutput) => void): void;
45
+ deleteEntitlement(args: DeleteEntitlementCommandInput, options: AccountAccessRequestOptions, cb: (err: any, data?: DeleteEntitlementCommandOutput) => void): void;
40
46
  /**
41
47
  * @see {@link GetApplicationCommand}
42
48
  */
43
- getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
49
+ getApplication(args: GetApplicationCommandInput, options?: AccountAccessRequestOptions): Promise<GetApplicationCommandOutput>;
44
50
  getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
45
- getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
51
+ getApplication(args: GetApplicationCommandInput, options: AccountAccessRequestOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
46
52
  /**
47
53
  * @see {@link GetEntitlementCommand}
48
54
  */
49
- getEntitlement(args: GetEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<GetEntitlementCommandOutput>;
55
+ getEntitlement(args: GetEntitlementCommandInput, options?: AccountAccessRequestOptions): Promise<GetEntitlementCommandOutput>;
50
56
  getEntitlement(args: GetEntitlementCommandInput, cb: (err: any, data?: GetEntitlementCommandOutput) => void): void;
51
- getEntitlement(args: GetEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEntitlementCommandOutput) => void): void;
57
+ getEntitlement(args: GetEntitlementCommandInput, options: AccountAccessRequestOptions, cb: (err: any, data?: GetEntitlementCommandOutput) => void): void;
52
58
  /**
53
59
  * @see {@link ListApplicationsCommand}
54
60
  */
55
61
  listApplications(): Promise<ListApplicationsCommandOutput>;
56
- listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
62
+ listApplications(args: ListApplicationsCommandInput, options?: AccountAccessRequestOptions): Promise<ListApplicationsCommandOutput>;
57
63
  listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
58
- listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
64
+ listApplications(args: ListApplicationsCommandInput, options: AccountAccessRequestOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
59
65
  /**
60
66
  * @see {@link ListEntitlementsCommand}
61
67
  */
62
- listEntitlements(args: ListEntitlementsCommandInput, options?: __HttpHandlerOptions): Promise<ListEntitlementsCommandOutput>;
68
+ listEntitlements(args: ListEntitlementsCommandInput, options?: AccountAccessRequestOptions): Promise<ListEntitlementsCommandOutput>;
63
69
  listEntitlements(args: ListEntitlementsCommandInput, cb: (err: any, data?: ListEntitlementsCommandOutput) => void): void;
64
- listEntitlements(args: ListEntitlementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEntitlementsCommandOutput) => void): void;
70
+ listEntitlements(args: ListEntitlementsCommandInput, options: AccountAccessRequestOptions, cb: (err: any, data?: ListEntitlementsCommandOutput) => void): void;
65
71
  /**
66
72
  * @see {@link ListTagsForResourceCommand}
67
73
  */
68
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
74
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: AccountAccessRequestOptions): Promise<ListTagsForResourceCommandOutput>;
69
75
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
70
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
76
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: AccountAccessRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
71
77
  /**
72
78
  * @see {@link TagResourceCommand}
73
79
  */
74
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
80
+ tagResource(args: TagResourceCommandInput, options?: AccountAccessRequestOptions): 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: AccountAccessRequestOptions, 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?: AccountAccessRequestOptions): 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: AccountAccessRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
83
89
  /**
84
90
  * @see {@link ListApplicationsCommand}
85
91
  * @param args - command input.
@@ -1,6 +1,7 @@
1
1
  import { WaiterResult } from "@smithy/core/client";
2
2
  import {
3
3
  HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
4
5
  PaginationConfiguration,
5
6
  Paginator,
6
7
  WaiterConfiguration,
@@ -47,10 +48,13 @@ import {
47
48
  UntagResourceCommandInput,
48
49
  UntagResourceCommandOutput,
49
50
  } from "./commands/UntagResourceCommand";
51
+ export interface AccountAccessRequestOptions extends __HttpHandlerOptions {
52
+ metricsRecorder?: __MetricsRecorder<unknown>;
53
+ }
50
54
  export interface AccountAccess {
51
55
  createApplication(
52
56
  args: CreateApplicationCommandInput,
53
- options?: __HttpHandlerOptions,
57
+ options?: AccountAccessRequestOptions,
54
58
  ): Promise<CreateApplicationCommandOutput>;
55
59
  createApplication(
56
60
  args: CreateApplicationCommandInput,
@@ -58,12 +62,12 @@ export interface AccountAccess {
58
62
  ): void;
59
63
  createApplication(
60
64
  args: CreateApplicationCommandInput,
61
- options: __HttpHandlerOptions,
65
+ options: AccountAccessRequestOptions,
62
66
  cb: (err: any, data?: CreateApplicationCommandOutput) => void,
63
67
  ): void;
64
68
  createEntitlement(
65
69
  args: CreateEntitlementCommandInput,
66
- options?: __HttpHandlerOptions,
70
+ options?: AccountAccessRequestOptions,
67
71
  ): Promise<CreateEntitlementCommandOutput>;
68
72
  createEntitlement(
69
73
  args: CreateEntitlementCommandInput,
@@ -71,12 +75,12 @@ export interface AccountAccess {
71
75
  ): void;
72
76
  createEntitlement(
73
77
  args: CreateEntitlementCommandInput,
74
- options: __HttpHandlerOptions,
78
+ options: AccountAccessRequestOptions,
75
79
  cb: (err: any, data?: CreateEntitlementCommandOutput) => void,
76
80
  ): void;
77
81
  deleteApplication(
78
82
  args: DeleteApplicationCommandInput,
79
- options?: __HttpHandlerOptions,
83
+ options?: AccountAccessRequestOptions,
80
84
  ): Promise<DeleteApplicationCommandOutput>;
81
85
  deleteApplication(
82
86
  args: DeleteApplicationCommandInput,
@@ -84,12 +88,12 @@ export interface AccountAccess {
84
88
  ): void;
85
89
  deleteApplication(
86
90
  args: DeleteApplicationCommandInput,
87
- options: __HttpHandlerOptions,
91
+ options: AccountAccessRequestOptions,
88
92
  cb: (err: any, data?: DeleteApplicationCommandOutput) => void,
89
93
  ): void;
90
94
  deleteEntitlement(
91
95
  args: DeleteEntitlementCommandInput,
92
- options?: __HttpHandlerOptions,
96
+ options?: AccountAccessRequestOptions,
93
97
  ): Promise<DeleteEntitlementCommandOutput>;
94
98
  deleteEntitlement(
95
99
  args: DeleteEntitlementCommandInput,
@@ -97,12 +101,12 @@ export interface AccountAccess {
97
101
  ): void;
98
102
  deleteEntitlement(
99
103
  args: DeleteEntitlementCommandInput,
100
- options: __HttpHandlerOptions,
104
+ options: AccountAccessRequestOptions,
101
105
  cb: (err: any, data?: DeleteEntitlementCommandOutput) => void,
102
106
  ): void;
103
107
  getApplication(
104
108
  args: GetApplicationCommandInput,
105
- options?: __HttpHandlerOptions,
109
+ options?: AccountAccessRequestOptions,
106
110
  ): Promise<GetApplicationCommandOutput>;
107
111
  getApplication(
108
112
  args: GetApplicationCommandInput,
@@ -110,12 +114,12 @@ export interface AccountAccess {
110
114
  ): void;
111
115
  getApplication(
112
116
  args: GetApplicationCommandInput,
113
- options: __HttpHandlerOptions,
117
+ options: AccountAccessRequestOptions,
114
118
  cb: (err: any, data?: GetApplicationCommandOutput) => void,
115
119
  ): void;
116
120
  getEntitlement(
117
121
  args: GetEntitlementCommandInput,
118
- options?: __HttpHandlerOptions,
122
+ options?: AccountAccessRequestOptions,
119
123
  ): Promise<GetEntitlementCommandOutput>;
120
124
  getEntitlement(
121
125
  args: GetEntitlementCommandInput,
@@ -123,13 +127,13 @@ export interface AccountAccess {
123
127
  ): void;
124
128
  getEntitlement(
125
129
  args: GetEntitlementCommandInput,
126
- options: __HttpHandlerOptions,
130
+ options: AccountAccessRequestOptions,
127
131
  cb: (err: any, data?: GetEntitlementCommandOutput) => void,
128
132
  ): void;
129
133
  listApplications(): Promise<ListApplicationsCommandOutput>;
130
134
  listApplications(
131
135
  args: ListApplicationsCommandInput,
132
- options?: __HttpHandlerOptions,
136
+ options?: AccountAccessRequestOptions,
133
137
  ): Promise<ListApplicationsCommandOutput>;
134
138
  listApplications(
135
139
  args: ListApplicationsCommandInput,
@@ -137,12 +141,12 @@ export interface AccountAccess {
137
141
  ): void;
138
142
  listApplications(
139
143
  args: ListApplicationsCommandInput,
140
- options: __HttpHandlerOptions,
144
+ options: AccountAccessRequestOptions,
141
145
  cb: (err: any, data?: ListApplicationsCommandOutput) => void,
142
146
  ): void;
143
147
  listEntitlements(
144
148
  args: ListEntitlementsCommandInput,
145
- options?: __HttpHandlerOptions,
149
+ options?: AccountAccessRequestOptions,
146
150
  ): Promise<ListEntitlementsCommandOutput>;
147
151
  listEntitlements(
148
152
  args: ListEntitlementsCommandInput,
@@ -150,12 +154,12 @@ export interface AccountAccess {
150
154
  ): void;
151
155
  listEntitlements(
152
156
  args: ListEntitlementsCommandInput,
153
- options: __HttpHandlerOptions,
157
+ options: AccountAccessRequestOptions,
154
158
  cb: (err: any, data?: ListEntitlementsCommandOutput) => void,
155
159
  ): void;
156
160
  listTagsForResource(
157
161
  args: ListTagsForResourceCommandInput,
158
- options?: __HttpHandlerOptions,
162
+ options?: AccountAccessRequestOptions,
159
163
  ): Promise<ListTagsForResourceCommandOutput>;
160
164
  listTagsForResource(
161
165
  args: ListTagsForResourceCommandInput,
@@ -163,12 +167,12 @@ export interface AccountAccess {
163
167
  ): void;
164
168
  listTagsForResource(
165
169
  args: ListTagsForResourceCommandInput,
166
- options: __HttpHandlerOptions,
170
+ options: AccountAccessRequestOptions,
167
171
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
168
172
  ): void;
169
173
  tagResource(
170
174
  args: TagResourceCommandInput,
171
- options?: __HttpHandlerOptions,
175
+ options?: AccountAccessRequestOptions,
172
176
  ): Promise<TagResourceCommandOutput>;
173
177
  tagResource(
174
178
  args: TagResourceCommandInput,
@@ -176,12 +180,12 @@ export interface AccountAccess {
176
180
  ): void;
177
181
  tagResource(
178
182
  args: TagResourceCommandInput,
179
- options: __HttpHandlerOptions,
183
+ options: AccountAccessRequestOptions,
180
184
  cb: (err: any, data?: TagResourceCommandOutput) => void,
181
185
  ): void;
182
186
  untagResource(
183
187
  args: UntagResourceCommandInput,
184
- options?: __HttpHandlerOptions,
188
+ options?: AccountAccessRequestOptions,
185
189
  ): Promise<UntagResourceCommandOutput>;
186
190
  untagResource(
187
191
  args: UntagResourceCommandInput,
@@ -189,7 +193,7 @@ export interface AccountAccess {
189
193
  ): void;
190
194
  untagResource(
191
195
  args: UntagResourceCommandInput,
192
- options: __HttpHandlerOptions,
196
+ options: AccountAccessRequestOptions,
193
197
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
194
198
  ): void;
195
199
  paginateListApplications(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-account-access",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Account Access Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-account-access",
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": {