@aws-sdk/client-cloudtrail-data 3.721.0 → 3.723.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 +57 -43
- package/dist-es/CloudTrailDataClient.js +1 -0
- package/dist-es/models/models_0.js +12 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -132,7 +132,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
132
132
|
}, "resolveRuntimeExtensions");
|
|
133
133
|
|
|
134
134
|
// src/CloudTrailDataClient.ts
|
|
135
|
-
var
|
|
135
|
+
var CloudTrailDataClient = class extends import_smithy_client.Client {
|
|
136
|
+
static {
|
|
137
|
+
__name(this, "CloudTrailDataClient");
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* The resolved configuration of CloudTrailDataClient class. This is resolved and normalized from the {@link CloudTrailDataClientConfig | constructor configuration interface}.
|
|
141
|
+
*/
|
|
142
|
+
config;
|
|
136
143
|
constructor(...[configuration]) {
|
|
137
144
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
138
145
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -142,7 +149,7 @@ var _CloudTrailDataClient = class _CloudTrailDataClient extends import_smithy_cl
|
|
|
142
149
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
143
150
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
144
151
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
145
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
152
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
146
153
|
super(_config_8);
|
|
147
154
|
this.config = _config_8;
|
|
148
155
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -170,8 +177,6 @@ var _CloudTrailDataClient = class _CloudTrailDataClient extends import_smithy_cl
|
|
|
170
177
|
super.destroy();
|
|
171
178
|
}
|
|
172
179
|
};
|
|
173
|
-
__name(_CloudTrailDataClient, "CloudTrailDataClient");
|
|
174
|
-
var CloudTrailDataClient = _CloudTrailDataClient;
|
|
175
180
|
|
|
176
181
|
// src/CloudTrailData.ts
|
|
177
182
|
|
|
@@ -188,7 +193,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
188
193
|
|
|
189
194
|
// src/models/CloudTrailDataServiceException.ts
|
|
190
195
|
|
|
191
|
-
var
|
|
196
|
+
var CloudTrailDataServiceException = class _CloudTrailDataServiceException extends import_smithy_client.ServiceException {
|
|
197
|
+
static {
|
|
198
|
+
__name(this, "CloudTrailDataServiceException");
|
|
199
|
+
}
|
|
192
200
|
/**
|
|
193
201
|
* @internal
|
|
194
202
|
*/
|
|
@@ -197,11 +205,14 @@ var _CloudTrailDataServiceException = class _CloudTrailDataServiceException exte
|
|
|
197
205
|
Object.setPrototypeOf(this, _CloudTrailDataServiceException.prototype);
|
|
198
206
|
}
|
|
199
207
|
};
|
|
200
|
-
__name(_CloudTrailDataServiceException, "CloudTrailDataServiceException");
|
|
201
|
-
var CloudTrailDataServiceException = _CloudTrailDataServiceException;
|
|
202
208
|
|
|
203
209
|
// src/models/models_0.ts
|
|
204
|
-
var
|
|
210
|
+
var ChannelInsufficientPermission = class _ChannelInsufficientPermission extends CloudTrailDataServiceException {
|
|
211
|
+
static {
|
|
212
|
+
__name(this, "ChannelInsufficientPermission");
|
|
213
|
+
}
|
|
214
|
+
name = "ChannelInsufficientPermission";
|
|
215
|
+
$fault = "client";
|
|
205
216
|
/**
|
|
206
217
|
* @internal
|
|
207
218
|
*/
|
|
@@ -211,14 +222,15 @@ var _ChannelInsufficientPermission = class _ChannelInsufficientPermission extend
|
|
|
211
222
|
$fault: "client",
|
|
212
223
|
...opts
|
|
213
224
|
});
|
|
214
|
-
this.name = "ChannelInsufficientPermission";
|
|
215
|
-
this.$fault = "client";
|
|
216
225
|
Object.setPrototypeOf(this, _ChannelInsufficientPermission.prototype);
|
|
217
226
|
}
|
|
218
227
|
};
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
228
|
+
var ChannelNotFound = class _ChannelNotFound extends CloudTrailDataServiceException {
|
|
229
|
+
static {
|
|
230
|
+
__name(this, "ChannelNotFound");
|
|
231
|
+
}
|
|
232
|
+
name = "ChannelNotFound";
|
|
233
|
+
$fault = "client";
|
|
222
234
|
/**
|
|
223
235
|
* @internal
|
|
224
236
|
*/
|
|
@@ -228,14 +240,15 @@ var _ChannelNotFound = class _ChannelNotFound extends CloudTrailDataServiceExcep
|
|
|
228
240
|
$fault: "client",
|
|
229
241
|
...opts
|
|
230
242
|
});
|
|
231
|
-
this.name = "ChannelNotFound";
|
|
232
|
-
this.$fault = "client";
|
|
233
243
|
Object.setPrototypeOf(this, _ChannelNotFound.prototype);
|
|
234
244
|
}
|
|
235
245
|
};
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
246
|
+
var ChannelUnsupportedSchema = class _ChannelUnsupportedSchema extends CloudTrailDataServiceException {
|
|
247
|
+
static {
|
|
248
|
+
__name(this, "ChannelUnsupportedSchema");
|
|
249
|
+
}
|
|
250
|
+
name = "ChannelUnsupportedSchema";
|
|
251
|
+
$fault = "client";
|
|
239
252
|
/**
|
|
240
253
|
* @internal
|
|
241
254
|
*/
|
|
@@ -245,14 +258,15 @@ var _ChannelUnsupportedSchema = class _ChannelUnsupportedSchema extends CloudTra
|
|
|
245
258
|
$fault: "client",
|
|
246
259
|
...opts
|
|
247
260
|
});
|
|
248
|
-
this.name = "ChannelUnsupportedSchema";
|
|
249
|
-
this.$fault = "client";
|
|
250
261
|
Object.setPrototypeOf(this, _ChannelUnsupportedSchema.prototype);
|
|
251
262
|
}
|
|
252
263
|
};
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
264
|
+
var DuplicatedAuditEventId = class _DuplicatedAuditEventId extends CloudTrailDataServiceException {
|
|
265
|
+
static {
|
|
266
|
+
__name(this, "DuplicatedAuditEventId");
|
|
267
|
+
}
|
|
268
|
+
name = "DuplicatedAuditEventId";
|
|
269
|
+
$fault = "client";
|
|
256
270
|
/**
|
|
257
271
|
* @internal
|
|
258
272
|
*/
|
|
@@ -262,14 +276,15 @@ var _DuplicatedAuditEventId = class _DuplicatedAuditEventId extends CloudTrailDa
|
|
|
262
276
|
$fault: "client",
|
|
263
277
|
...opts
|
|
264
278
|
});
|
|
265
|
-
this.name = "DuplicatedAuditEventId";
|
|
266
|
-
this.$fault = "client";
|
|
267
279
|
Object.setPrototypeOf(this, _DuplicatedAuditEventId.prototype);
|
|
268
280
|
}
|
|
269
281
|
};
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
282
|
+
var InvalidChannelARN = class _InvalidChannelARN extends CloudTrailDataServiceException {
|
|
283
|
+
static {
|
|
284
|
+
__name(this, "InvalidChannelARN");
|
|
285
|
+
}
|
|
286
|
+
name = "InvalidChannelARN";
|
|
287
|
+
$fault = "client";
|
|
273
288
|
/**
|
|
274
289
|
* @internal
|
|
275
290
|
*/
|
|
@@ -279,14 +294,15 @@ var _InvalidChannelARN = class _InvalidChannelARN extends CloudTrailDataServiceE
|
|
|
279
294
|
$fault: "client",
|
|
280
295
|
...opts
|
|
281
296
|
});
|
|
282
|
-
this.name = "InvalidChannelARN";
|
|
283
|
-
this.$fault = "client";
|
|
284
297
|
Object.setPrototypeOf(this, _InvalidChannelARN.prototype);
|
|
285
298
|
}
|
|
286
299
|
};
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
300
|
+
var UnsupportedOperationException = class _UnsupportedOperationException extends CloudTrailDataServiceException {
|
|
301
|
+
static {
|
|
302
|
+
__name(this, "UnsupportedOperationException");
|
|
303
|
+
}
|
|
304
|
+
name = "UnsupportedOperationException";
|
|
305
|
+
$fault = "client";
|
|
290
306
|
/**
|
|
291
307
|
* @internal
|
|
292
308
|
*/
|
|
@@ -296,13 +312,9 @@ var _UnsupportedOperationException = class _UnsupportedOperationException extend
|
|
|
296
312
|
$fault: "client",
|
|
297
313
|
...opts
|
|
298
314
|
});
|
|
299
|
-
this.name = "UnsupportedOperationException";
|
|
300
|
-
this.$fault = "client";
|
|
301
315
|
Object.setPrototypeOf(this, _UnsupportedOperationException.prototype);
|
|
302
316
|
}
|
|
303
317
|
};
|
|
304
|
-
__name(_UnsupportedOperationException, "UnsupportedOperationException");
|
|
305
|
-
var UnsupportedOperationException = _UnsupportedOperationException;
|
|
306
318
|
|
|
307
319
|
// src/protocols/Aws_restJson1.ts
|
|
308
320
|
var se_PutAuditEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -462,24 +474,26 @@ var _cA = "channelArn";
|
|
|
462
474
|
var _eI = "externalId";
|
|
463
475
|
|
|
464
476
|
// src/commands/PutAuditEventsCommand.ts
|
|
465
|
-
var
|
|
477
|
+
var PutAuditEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
466
478
|
return [
|
|
467
479
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
468
480
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
469
481
|
];
|
|
470
482
|
}).s("CloudTrailDataService", "PutAuditEvents", {}).n("CloudTrailDataClient", "PutAuditEventsCommand").f(void 0, void 0).ser(se_PutAuditEventsCommand).de(de_PutAuditEventsCommand).build() {
|
|
483
|
+
static {
|
|
484
|
+
__name(this, "PutAuditEventsCommand");
|
|
485
|
+
}
|
|
471
486
|
};
|
|
472
|
-
__name(_PutAuditEventsCommand, "PutAuditEventsCommand");
|
|
473
|
-
var PutAuditEventsCommand = _PutAuditEventsCommand;
|
|
474
487
|
|
|
475
488
|
// src/CloudTrailData.ts
|
|
476
489
|
var commands = {
|
|
477
490
|
PutAuditEventsCommand
|
|
478
491
|
};
|
|
479
|
-
var
|
|
492
|
+
var CloudTrailData = class extends CloudTrailDataClient {
|
|
493
|
+
static {
|
|
494
|
+
__name(this, "CloudTrailData");
|
|
495
|
+
}
|
|
480
496
|
};
|
|
481
|
-
__name(_CloudTrailData, "CloudTrailData");
|
|
482
|
-
var CloudTrailData = _CloudTrailData;
|
|
483
497
|
(0, import_smithy_client.createAggregatedClient)(commands, CloudTrailData);
|
|
484
498
|
// Annotate the CommonJS export names for ESM import in node:
|
|
485
499
|
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class CloudTrailDataClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import { CloudTrailDataServiceException as __BaseException } from "./CloudTrailDataServiceException";
|
|
2
2
|
export class ChannelInsufficientPermission extends __BaseException {
|
|
3
|
+
name = "ChannelInsufficientPermission";
|
|
4
|
+
$fault = "client";
|
|
3
5
|
constructor(opts) {
|
|
4
6
|
super({
|
|
5
7
|
name: "ChannelInsufficientPermission",
|
|
6
8
|
$fault: "client",
|
|
7
9
|
...opts,
|
|
8
10
|
});
|
|
9
|
-
this.name = "ChannelInsufficientPermission";
|
|
10
|
-
this.$fault = "client";
|
|
11
11
|
Object.setPrototypeOf(this, ChannelInsufficientPermission.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
export class ChannelNotFound extends __BaseException {
|
|
15
|
+
name = "ChannelNotFound";
|
|
16
|
+
$fault = "client";
|
|
15
17
|
constructor(opts) {
|
|
16
18
|
super({
|
|
17
19
|
name: "ChannelNotFound",
|
|
18
20
|
$fault: "client",
|
|
19
21
|
...opts,
|
|
20
22
|
});
|
|
21
|
-
this.name = "ChannelNotFound";
|
|
22
|
-
this.$fault = "client";
|
|
23
23
|
Object.setPrototypeOf(this, ChannelNotFound.prototype);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
export class ChannelUnsupportedSchema extends __BaseException {
|
|
27
|
+
name = "ChannelUnsupportedSchema";
|
|
28
|
+
$fault = "client";
|
|
27
29
|
constructor(opts) {
|
|
28
30
|
super({
|
|
29
31
|
name: "ChannelUnsupportedSchema",
|
|
30
32
|
$fault: "client",
|
|
31
33
|
...opts,
|
|
32
34
|
});
|
|
33
|
-
this.name = "ChannelUnsupportedSchema";
|
|
34
|
-
this.$fault = "client";
|
|
35
35
|
Object.setPrototypeOf(this, ChannelUnsupportedSchema.prototype);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
export class DuplicatedAuditEventId extends __BaseException {
|
|
39
|
+
name = "DuplicatedAuditEventId";
|
|
40
|
+
$fault = "client";
|
|
39
41
|
constructor(opts) {
|
|
40
42
|
super({
|
|
41
43
|
name: "DuplicatedAuditEventId",
|
|
42
44
|
$fault: "client",
|
|
43
45
|
...opts,
|
|
44
46
|
});
|
|
45
|
-
this.name = "DuplicatedAuditEventId";
|
|
46
|
-
this.$fault = "client";
|
|
47
47
|
Object.setPrototypeOf(this, DuplicatedAuditEventId.prototype);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
export class InvalidChannelARN extends __BaseException {
|
|
51
|
+
name = "InvalidChannelARN";
|
|
52
|
+
$fault = "client";
|
|
51
53
|
constructor(opts) {
|
|
52
54
|
super({
|
|
53
55
|
name: "InvalidChannelARN",
|
|
54
56
|
$fault: "client",
|
|
55
57
|
...opts,
|
|
56
58
|
});
|
|
57
|
-
this.name = "InvalidChannelARN";
|
|
58
|
-
this.$fault = "client";
|
|
59
59
|
Object.setPrototypeOf(this, InvalidChannelARN.prototype);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
export class UnsupportedOperationException extends __BaseException {
|
|
63
|
+
name = "UnsupportedOperationException";
|
|
64
|
+
$fault = "client";
|
|
63
65
|
constructor(opts) {
|
|
64
66
|
super({
|
|
65
67
|
name: "UnsupportedOperationException",
|
|
66
68
|
$fault: "client",
|
|
67
69
|
...opts,
|
|
68
70
|
});
|
|
69
|
-
this.name = "UnsupportedOperationException";
|
|
70
|
-
this.$fault = "client";
|
|
71
71
|
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudtrail-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudtrail Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudtrail-data",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|