@aws-sdk/client-cloudtrail-data 3.952.0 → 3.953.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 +60 -47
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/PutAuditEventsCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +27 -27
- package/dist-types/CloudTrailDataClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +14 -17
- package/dist-types/ts3.4/CloudTrailDataClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -17
- package/package.json +34 -34
package/dist-cjs/index.js
CHANGED
|
@@ -110,14 +110,14 @@ class CloudTrailDataClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
class CloudTrailDataServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, CloudTrailDataServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
class ChannelInsufficientPermission extends CloudTrailDataServiceException {
|
|
121
121
|
name = "ChannelInsufficientPermission";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
constructor(opts) {
|
|
@@ -128,8 +128,8 @@ let ChannelInsufficientPermission$1 = class ChannelInsufficientPermission extend
|
|
|
128
128
|
});
|
|
129
129
|
Object.setPrototypeOf(this, ChannelInsufficientPermission.prototype);
|
|
130
130
|
}
|
|
131
|
-
}
|
|
132
|
-
|
|
131
|
+
}
|
|
132
|
+
class ChannelNotFound extends CloudTrailDataServiceException {
|
|
133
133
|
name = "ChannelNotFound";
|
|
134
134
|
$fault = "client";
|
|
135
135
|
constructor(opts) {
|
|
@@ -140,8 +140,8 @@ let ChannelNotFound$1 = class ChannelNotFound extends CloudTrailDataServiceExcep
|
|
|
140
140
|
});
|
|
141
141
|
Object.setPrototypeOf(this, ChannelNotFound.prototype);
|
|
142
142
|
}
|
|
143
|
-
}
|
|
144
|
-
|
|
143
|
+
}
|
|
144
|
+
class ChannelUnsupportedSchema extends CloudTrailDataServiceException {
|
|
145
145
|
name = "ChannelUnsupportedSchema";
|
|
146
146
|
$fault = "client";
|
|
147
147
|
constructor(opts) {
|
|
@@ -152,8 +152,8 @@ let ChannelUnsupportedSchema$1 = class ChannelUnsupportedSchema extends CloudTra
|
|
|
152
152
|
});
|
|
153
153
|
Object.setPrototypeOf(this, ChannelUnsupportedSchema.prototype);
|
|
154
154
|
}
|
|
155
|
-
}
|
|
156
|
-
|
|
155
|
+
}
|
|
156
|
+
class DuplicatedAuditEventId extends CloudTrailDataServiceException {
|
|
157
157
|
name = "DuplicatedAuditEventId";
|
|
158
158
|
$fault = "client";
|
|
159
159
|
constructor(opts) {
|
|
@@ -164,8 +164,8 @@ let DuplicatedAuditEventId$1 = class DuplicatedAuditEventId extends CloudTrailDa
|
|
|
164
164
|
});
|
|
165
165
|
Object.setPrototypeOf(this, DuplicatedAuditEventId.prototype);
|
|
166
166
|
}
|
|
167
|
-
}
|
|
168
|
-
|
|
167
|
+
}
|
|
168
|
+
class InvalidChannelARN extends CloudTrailDataServiceException {
|
|
169
169
|
name = "InvalidChannelARN";
|
|
170
170
|
$fault = "client";
|
|
171
171
|
constructor(opts) {
|
|
@@ -176,8 +176,8 @@ let InvalidChannelARN$1 = class InvalidChannelARN extends CloudTrailDataServiceE
|
|
|
176
176
|
});
|
|
177
177
|
Object.setPrototypeOf(this, InvalidChannelARN.prototype);
|
|
178
178
|
}
|
|
179
|
-
}
|
|
180
|
-
|
|
179
|
+
}
|
|
180
|
+
class UnsupportedOperationException extends CloudTrailDataServiceException {
|
|
181
181
|
name = "UnsupportedOperationException";
|
|
182
182
|
$fault = "client";
|
|
183
183
|
constructor(opts) {
|
|
@@ -188,7 +188,7 @@ let UnsupportedOperationException$1 = class UnsupportedOperationException extend
|
|
|
188
188
|
});
|
|
189
189
|
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
190
190
|
}
|
|
191
|
-
}
|
|
191
|
+
}
|
|
192
192
|
|
|
193
193
|
const _AE = "AuditEvent";
|
|
194
194
|
const _AERE = "AuditEventResultEntry";
|
|
@@ -223,19 +223,19 @@ const _m = "message";
|
|
|
223
223
|
const _s = "successful";
|
|
224
224
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudtraildata";
|
|
225
225
|
const n0 = "com.amazonaws.cloudtraildata";
|
|
226
|
-
var AuditEvent = [3, n0, _AE, 0, [_i, _eD, _eDC], [0, 0, 0]];
|
|
227
|
-
var AuditEventResultEntry = [3, n0, _AERE, 0, [_i, _eID], [0, 0]];
|
|
228
|
-
var ChannelInsufficientPermission = [-3, n0, _CIP, { [_e]: _c }, [_m], [0]];
|
|
229
|
-
schema.TypeRegistry.for(n0).registerError(ChannelInsufficientPermission
|
|
230
|
-
var ChannelNotFound = [-3, n0, _CNF, { [_e]: _c }, [_m], [0]];
|
|
231
|
-
schema.TypeRegistry.for(n0).registerError(ChannelNotFound
|
|
232
|
-
var ChannelUnsupportedSchema = [-3, n0, _CUS, { [_e]: _c }, [_m], [0]];
|
|
233
|
-
schema.TypeRegistry.for(n0).registerError(ChannelUnsupportedSchema
|
|
234
|
-
var DuplicatedAuditEventId = [-3, n0, _DAEI, { [_e]: _c }, [_m], [0]];
|
|
235
|
-
schema.TypeRegistry.for(n0).registerError(DuplicatedAuditEventId
|
|
236
|
-
var InvalidChannelARN = [-3, n0, _ICARN, { [_e]: _c }, [_m], [0]];
|
|
237
|
-
schema.TypeRegistry.for(n0).registerError(InvalidChannelARN
|
|
238
|
-
var PutAuditEventsRequest = [
|
|
226
|
+
var AuditEvent$ = [3, n0, _AE, 0, [_i, _eD, _eDC], [0, 0, 0]];
|
|
227
|
+
var AuditEventResultEntry$ = [3, n0, _AERE, 0, [_i, _eID], [0, 0]];
|
|
228
|
+
var ChannelInsufficientPermission$ = [-3, n0, _CIP, { [_e]: _c }, [_m], [0]];
|
|
229
|
+
schema.TypeRegistry.for(n0).registerError(ChannelInsufficientPermission$, ChannelInsufficientPermission);
|
|
230
|
+
var ChannelNotFound$ = [-3, n0, _CNF, { [_e]: _c }, [_m], [0]];
|
|
231
|
+
schema.TypeRegistry.for(n0).registerError(ChannelNotFound$, ChannelNotFound);
|
|
232
|
+
var ChannelUnsupportedSchema$ = [-3, n0, _CUS, { [_e]: _c }, [_m], [0]];
|
|
233
|
+
schema.TypeRegistry.for(n0).registerError(ChannelUnsupportedSchema$, ChannelUnsupportedSchema);
|
|
234
|
+
var DuplicatedAuditEventId$ = [-3, n0, _DAEI, { [_e]: _c }, [_m], [0]];
|
|
235
|
+
schema.TypeRegistry.for(n0).registerError(DuplicatedAuditEventId$, DuplicatedAuditEventId);
|
|
236
|
+
var InvalidChannelARN$ = [-3, n0, _ICARN, { [_e]: _c }, [_m], [0]];
|
|
237
|
+
schema.TypeRegistry.for(n0).registerError(InvalidChannelARN$, InvalidChannelARN);
|
|
238
|
+
var PutAuditEventsRequest$ = [
|
|
239
239
|
3,
|
|
240
240
|
n0,
|
|
241
241
|
_PAER,
|
|
@@ -243,7 +243,7 @@ var PutAuditEventsRequest = [
|
|
|
243
243
|
[_aE, _cA, _eI],
|
|
244
244
|
[() => AuditEvents, [0, { [_hQ]: _cA }], [0, { [_hQ]: _eI }]],
|
|
245
245
|
];
|
|
246
|
-
var PutAuditEventsResponse = [
|
|
246
|
+
var PutAuditEventsResponse$ = [
|
|
247
247
|
3,
|
|
248
248
|
n0,
|
|
249
249
|
_PAERu,
|
|
@@ -251,21 +251,21 @@ var PutAuditEventsResponse = [
|
|
|
251
251
|
[_s, _f],
|
|
252
252
|
[() => AuditEventResultEntries, () => ResultErrorEntries],
|
|
253
253
|
];
|
|
254
|
-
var ResultErrorEntry = [3, n0, _REE, 0, [_i, _eC, _eM], [0, 0, 0]];
|
|
255
|
-
var UnsupportedOperationException = [-3, n0, _UOE, { [_e]: _c }, [_m], [0]];
|
|
256
|
-
schema.TypeRegistry.for(n0).registerError(UnsupportedOperationException
|
|
257
|
-
var CloudTrailDataServiceException = [-3, _sm, "CloudTrailDataServiceException", 0, [], []];
|
|
258
|
-
schema.TypeRegistry.for(_sm).registerError(CloudTrailDataServiceException
|
|
259
|
-
var AuditEventResultEntries = [1, n0, _AEREu, 0, () => AuditEventResultEntry];
|
|
260
|
-
var AuditEvents = [1, n0, _AEu, 0, () => AuditEvent];
|
|
261
|
-
var ResultErrorEntries = [1, n0, _REEe, 0, () => ResultErrorEntry];
|
|
262
|
-
var PutAuditEvents = [
|
|
254
|
+
var ResultErrorEntry$ = [3, n0, _REE, 0, [_i, _eC, _eM], [0, 0, 0]];
|
|
255
|
+
var UnsupportedOperationException$ = [-3, n0, _UOE, { [_e]: _c }, [_m], [0]];
|
|
256
|
+
schema.TypeRegistry.for(n0).registerError(UnsupportedOperationException$, UnsupportedOperationException);
|
|
257
|
+
var CloudTrailDataServiceException$ = [-3, _sm, "CloudTrailDataServiceException", 0, [], []];
|
|
258
|
+
schema.TypeRegistry.for(_sm).registerError(CloudTrailDataServiceException$, CloudTrailDataServiceException);
|
|
259
|
+
var AuditEventResultEntries = [1, n0, _AEREu, 0, () => AuditEventResultEntry$];
|
|
260
|
+
var AuditEvents = [1, n0, _AEu, 0, () => AuditEvent$];
|
|
261
|
+
var ResultErrorEntries = [1, n0, _REEe, 0, () => ResultErrorEntry$];
|
|
262
|
+
var PutAuditEvents$ = [
|
|
263
263
|
9,
|
|
264
264
|
n0,
|
|
265
265
|
_PAE,
|
|
266
266
|
{ [_h]: ["POST", "/PutAuditEvents", 200] },
|
|
267
|
-
() => PutAuditEventsRequest
|
|
268
|
-
() => PutAuditEventsResponse
|
|
267
|
+
() => PutAuditEventsRequest$,
|
|
268
|
+
() => PutAuditEventsResponse$,
|
|
269
269
|
];
|
|
270
270
|
|
|
271
271
|
class PutAuditEventsCommand extends smithyClient.Command
|
|
@@ -276,7 +276,7 @@ class PutAuditEventsCommand extends smithyClient.Command
|
|
|
276
276
|
})
|
|
277
277
|
.s("CloudTrailDataService", "PutAuditEvents", {})
|
|
278
278
|
.n("CloudTrailDataClient", "PutAuditEventsCommand")
|
|
279
|
-
.sc(PutAuditEvents)
|
|
279
|
+
.sc(PutAuditEvents$)
|
|
280
280
|
.build() {
|
|
281
281
|
}
|
|
282
282
|
|
|
@@ -295,13 +295,26 @@ Object.defineProperty(exports, "__Client", {
|
|
|
295
295
|
enumerable: true,
|
|
296
296
|
get: function () { return smithyClient.Client; }
|
|
297
297
|
});
|
|
298
|
-
exports.
|
|
299
|
-
exports.
|
|
300
|
-
exports.
|
|
298
|
+
exports.AuditEvent$ = AuditEvent$;
|
|
299
|
+
exports.AuditEventResultEntry$ = AuditEventResultEntry$;
|
|
300
|
+
exports.ChannelInsufficientPermission = ChannelInsufficientPermission;
|
|
301
|
+
exports.ChannelInsufficientPermission$ = ChannelInsufficientPermission$;
|
|
302
|
+
exports.ChannelNotFound = ChannelNotFound;
|
|
303
|
+
exports.ChannelNotFound$ = ChannelNotFound$;
|
|
304
|
+
exports.ChannelUnsupportedSchema = ChannelUnsupportedSchema;
|
|
305
|
+
exports.ChannelUnsupportedSchema$ = ChannelUnsupportedSchema$;
|
|
301
306
|
exports.CloudTrailData = CloudTrailData;
|
|
302
307
|
exports.CloudTrailDataClient = CloudTrailDataClient;
|
|
303
|
-
exports.CloudTrailDataServiceException = CloudTrailDataServiceException
|
|
304
|
-
exports.
|
|
305
|
-
exports.
|
|
308
|
+
exports.CloudTrailDataServiceException = CloudTrailDataServiceException;
|
|
309
|
+
exports.CloudTrailDataServiceException$ = CloudTrailDataServiceException$;
|
|
310
|
+
exports.DuplicatedAuditEventId = DuplicatedAuditEventId;
|
|
311
|
+
exports.DuplicatedAuditEventId$ = DuplicatedAuditEventId$;
|
|
312
|
+
exports.InvalidChannelARN = InvalidChannelARN;
|
|
313
|
+
exports.InvalidChannelARN$ = InvalidChannelARN$;
|
|
314
|
+
exports.PutAuditEvents$ = PutAuditEvents$;
|
|
306
315
|
exports.PutAuditEventsCommand = PutAuditEventsCommand;
|
|
307
|
-
exports.
|
|
316
|
+
exports.PutAuditEventsRequest$ = PutAuditEventsRequest$;
|
|
317
|
+
exports.PutAuditEventsResponse$ = PutAuditEventsResponse$;
|
|
318
|
+
exports.ResultErrorEntry$ = ResultErrorEntry$;
|
|
319
|
+
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
320
|
+
exports.UnsupportedOperationException$ = UnsupportedOperationException$;
|
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.cloudtraildata",
|
|
32
|
+
version: "2021-08-11",
|
|
33
|
+
serviceTarget: "CloudTrailDataService",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "CloudTrail Data",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutAuditEvents } from "../schemas/schemas_0";
|
|
4
|
+
import { PutAuditEvents$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutAuditEventsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutAuditEventsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudTrailDataService", "PutAuditEvents", {})
|
|
13
13
|
.n("CloudTrailDataClient", "PutAuditEventsCommand")
|
|
14
|
-
.sc(PutAuditEvents)
|
|
14
|
+
.sc(PutAuditEvents$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./CloudTrailDataClient";
|
|
2
2
|
export * from "./CloudTrailData";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
4
5
|
export * from "./models/errors";
|
|
5
6
|
export { CloudTrailDataServiceException } from "./models/CloudTrailDataServiceException";
|
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.cloudtraildata",
|
|
29
|
+
version: "2021-08-11",
|
|
30
|
+
serviceTarget: "CloudTrailDataService",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "CloudTrail Data",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -32,21 +32,21 @@ const _s = "successful";
|
|
|
32
32
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudtraildata";
|
|
33
33
|
const n0 = "com.amazonaws.cloudtraildata";
|
|
34
34
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
35
|
-
import { CloudTrailDataServiceException
|
|
36
|
-
import { ChannelInsufficientPermission
|
|
37
|
-
export var AuditEvent = [3, n0, _AE, 0, [_i, _eD, _eDC], [0, 0, 0]];
|
|
38
|
-
export var AuditEventResultEntry = [3, n0, _AERE, 0, [_i, _eID], [0, 0]];
|
|
39
|
-
export var ChannelInsufficientPermission = [-3, n0, _CIP, { [_e]: _c }, [_m], [0]];
|
|
40
|
-
TypeRegistry.for(n0).registerError(ChannelInsufficientPermission
|
|
41
|
-
export var ChannelNotFound = [-3, n0, _CNF, { [_e]: _c }, [_m], [0]];
|
|
42
|
-
TypeRegistry.for(n0).registerError(ChannelNotFound
|
|
43
|
-
export var ChannelUnsupportedSchema = [-3, n0, _CUS, { [_e]: _c }, [_m], [0]];
|
|
44
|
-
TypeRegistry.for(n0).registerError(ChannelUnsupportedSchema
|
|
45
|
-
export var DuplicatedAuditEventId = [-3, n0, _DAEI, { [_e]: _c }, [_m], [0]];
|
|
46
|
-
TypeRegistry.for(n0).registerError(DuplicatedAuditEventId
|
|
47
|
-
export var InvalidChannelARN = [-3, n0, _ICARN, { [_e]: _c }, [_m], [0]];
|
|
48
|
-
TypeRegistry.for(n0).registerError(InvalidChannelARN
|
|
49
|
-
export var PutAuditEventsRequest = [
|
|
35
|
+
import { CloudTrailDataServiceException } from "../models/CloudTrailDataServiceException";
|
|
36
|
+
import { ChannelInsufficientPermission, ChannelNotFound, ChannelUnsupportedSchema, DuplicatedAuditEventId, InvalidChannelARN, UnsupportedOperationException, } from "../models/errors";
|
|
37
|
+
export var AuditEvent$ = [3, n0, _AE, 0, [_i, _eD, _eDC], [0, 0, 0]];
|
|
38
|
+
export var AuditEventResultEntry$ = [3, n0, _AERE, 0, [_i, _eID], [0, 0]];
|
|
39
|
+
export var ChannelInsufficientPermission$ = [-3, n0, _CIP, { [_e]: _c }, [_m], [0]];
|
|
40
|
+
TypeRegistry.for(n0).registerError(ChannelInsufficientPermission$, ChannelInsufficientPermission);
|
|
41
|
+
export var ChannelNotFound$ = [-3, n0, _CNF, { [_e]: _c }, [_m], [0]];
|
|
42
|
+
TypeRegistry.for(n0).registerError(ChannelNotFound$, ChannelNotFound);
|
|
43
|
+
export var ChannelUnsupportedSchema$ = [-3, n0, _CUS, { [_e]: _c }, [_m], [0]];
|
|
44
|
+
TypeRegistry.for(n0).registerError(ChannelUnsupportedSchema$, ChannelUnsupportedSchema);
|
|
45
|
+
export var DuplicatedAuditEventId$ = [-3, n0, _DAEI, { [_e]: _c }, [_m], [0]];
|
|
46
|
+
TypeRegistry.for(n0).registerError(DuplicatedAuditEventId$, DuplicatedAuditEventId);
|
|
47
|
+
export var InvalidChannelARN$ = [-3, n0, _ICARN, { [_e]: _c }, [_m], [0]];
|
|
48
|
+
TypeRegistry.for(n0).registerError(InvalidChannelARN$, InvalidChannelARN);
|
|
49
|
+
export var PutAuditEventsRequest$ = [
|
|
50
50
|
3,
|
|
51
51
|
n0,
|
|
52
52
|
_PAER,
|
|
@@ -54,7 +54,7 @@ export var PutAuditEventsRequest = [
|
|
|
54
54
|
[_aE, _cA, _eI],
|
|
55
55
|
[() => AuditEvents, [0, { [_hQ]: _cA }], [0, { [_hQ]: _eI }]],
|
|
56
56
|
];
|
|
57
|
-
export var PutAuditEventsResponse = [
|
|
57
|
+
export var PutAuditEventsResponse$ = [
|
|
58
58
|
3,
|
|
59
59
|
n0,
|
|
60
60
|
_PAERu,
|
|
@@ -62,19 +62,19 @@ export var PutAuditEventsResponse = [
|
|
|
62
62
|
[_s, _f],
|
|
63
63
|
[() => AuditEventResultEntries, () => ResultErrorEntries],
|
|
64
64
|
];
|
|
65
|
-
export var ResultErrorEntry = [3, n0, _REE, 0, [_i, _eC, _eM], [0, 0, 0]];
|
|
66
|
-
export var UnsupportedOperationException = [-3, n0, _UOE, { [_e]: _c }, [_m], [0]];
|
|
67
|
-
TypeRegistry.for(n0).registerError(UnsupportedOperationException
|
|
68
|
-
export var CloudTrailDataServiceException = [-3, _sm, "CloudTrailDataServiceException", 0, [], []];
|
|
69
|
-
TypeRegistry.for(_sm).registerError(CloudTrailDataServiceException
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
export var PutAuditEvents = [
|
|
65
|
+
export var ResultErrorEntry$ = [3, n0, _REE, 0, [_i, _eC, _eM], [0, 0, 0]];
|
|
66
|
+
export var UnsupportedOperationException$ = [-3, n0, _UOE, { [_e]: _c }, [_m], [0]];
|
|
67
|
+
TypeRegistry.for(n0).registerError(UnsupportedOperationException$, UnsupportedOperationException);
|
|
68
|
+
export var CloudTrailDataServiceException$ = [-3, _sm, "CloudTrailDataServiceException", 0, [], []];
|
|
69
|
+
TypeRegistry.for(_sm).registerError(CloudTrailDataServiceException$, CloudTrailDataServiceException);
|
|
70
|
+
var AuditEventResultEntries = [1, n0, _AEREu, 0, () => AuditEventResultEntry$];
|
|
71
|
+
var AuditEvents = [1, n0, _AEu, 0, () => AuditEvent$];
|
|
72
|
+
var ResultErrorEntries = [1, n0, _REEe, 0, () => ResultErrorEntry$];
|
|
73
|
+
export var PutAuditEvents$ = [
|
|
74
74
|
9,
|
|
75
75
|
n0,
|
|
76
76
|
_PAE,
|
|
77
77
|
{ [_h]: ["POST", "/PutAuditEvents", 200] },
|
|
78
|
-
() => PutAuditEventsRequest
|
|
79
|
-
() => PutAuditEventsResponse
|
|
78
|
+
() => PutAuditEventsRequest$,
|
|
79
|
+
() => PutAuditEventsResponse$,
|
|
80
80
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { PutAuditEventsCommandInput, PutAuditEventsCommandOutput } from "./commands/PutAuditEventsCommand";
|
|
11
11
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -142,15 +142,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
142
142
|
* Optional extensions
|
|
143
143
|
*/
|
|
144
144
|
extensions?: RuntimeExtension[];
|
|
145
|
-
/**
|
|
146
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
147
|
-
* may be overridden. A default will always be set by the client.
|
|
148
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
149
|
-
* the client.
|
|
150
|
-
* @alpha
|
|
151
|
-
*
|
|
152
|
-
*/
|
|
153
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
154
145
|
/**
|
|
155
146
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
156
147
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
14
14
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
15
15
|
export type { CloudTrailDataExtensionConfiguration } from "./extensionConfiguration";
|
|
16
16
|
export * from "./commands";
|
|
17
|
+
export * from "./schemas/schemas_0";
|
|
17
18
|
export * from "./models/errors";
|
|
18
19
|
export type * from "./models/models_0";
|
|
19
20
|
export { CloudTrailDataServiceException } from "./models/CloudTrailDataServiceException";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
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;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { CloudTrailDataClientConfig } from "./CloudTrailDataClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudTrailDataHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import type { StaticErrorSchema,
|
|
2
|
-
export declare var AuditEvent
|
|
3
|
-
export declare var AuditEventResultEntry
|
|
4
|
-
export declare var ChannelInsufficientPermission
|
|
5
|
-
export declare var ChannelNotFound
|
|
6
|
-
export declare var ChannelUnsupportedSchema
|
|
7
|
-
export declare var DuplicatedAuditEventId
|
|
8
|
-
export declare var InvalidChannelARN
|
|
9
|
-
export declare var PutAuditEventsRequest
|
|
10
|
-
export declare var PutAuditEventsResponse
|
|
11
|
-
export declare var ResultErrorEntry
|
|
12
|
-
export declare var UnsupportedOperationException
|
|
13
|
-
export declare var CloudTrailDataServiceException
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var AuditEvents: StaticListSchema;
|
|
16
|
-
export declare var ResultErrorEntries: StaticListSchema;
|
|
17
|
-
export declare var PutAuditEvents: StaticOperationSchema;
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var AuditEvent$: StaticStructureSchema;
|
|
3
|
+
export declare var AuditEventResultEntry$: StaticStructureSchema;
|
|
4
|
+
export declare var ChannelInsufficientPermission$: StaticErrorSchema;
|
|
5
|
+
export declare var ChannelNotFound$: StaticErrorSchema;
|
|
6
|
+
export declare var ChannelUnsupportedSchema$: StaticErrorSchema;
|
|
7
|
+
export declare var DuplicatedAuditEventId$: StaticErrorSchema;
|
|
8
|
+
export declare var InvalidChannelARN$: StaticErrorSchema;
|
|
9
|
+
export declare var PutAuditEventsRequest$: StaticStructureSchema;
|
|
10
|
+
export declare var PutAuditEventsResponse$: StaticStructureSchema;
|
|
11
|
+
export declare var ResultErrorEntry$: StaticStructureSchema;
|
|
12
|
+
export declare var UnsupportedOperationException$: StaticErrorSchema;
|
|
13
|
+
export declare var CloudTrailDataServiceException$: StaticErrorSchema;
|
|
14
|
+
export declare var PutAuditEvents$: StaticOperationSchema;
|
|
@@ -29,13 +29,10 @@ import {
|
|
|
29
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
-
ClientProtocol,
|
|
33
32
|
Decoder as __Decoder,
|
|
34
33
|
Encoder as __Encoder,
|
|
35
34
|
HashConstructor as __HashConstructor,
|
|
36
35
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
-
HttpRequest,
|
|
38
|
-
HttpResponse,
|
|
39
36
|
Logger as __Logger,
|
|
40
37
|
Provider as __Provider,
|
|
41
38
|
StreamCollector as __StreamCollector,
|
|
@@ -85,7 +82,6 @@ export interface ClientDefaults
|
|
|
85
82
|
retryMode?: string | __Provider<string>;
|
|
86
83
|
logger?: __Logger;
|
|
87
84
|
extensions?: RuntimeExtension[];
|
|
88
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
89
85
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
90
86
|
}
|
|
91
87
|
export type CloudTrailDataClientConfigType = Partial<
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { CloudTrailDataExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./models/errors";
|
|
8
9
|
export * from "./models/models_0";
|
|
9
10
|
export { CloudTrailDataServiceException } from "./models/CloudTrailDataServiceException";
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
26
26
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
28
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
userAgentAppId?:
|
|
47
51
|
| string
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
26
26
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
27
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
retryStrategy?:
|
|
47
51
|
| import("@smithy/types").RetryStrategy
|
|
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
8
8
|
| Record<string, unknown>
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
13
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
23
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
37
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
46
|
logger: import("@smithy/types").Logger;
|
|
39
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
-
import("@smithy/types").HttpRequest,
|
|
42
|
-
import("@smithy/types").HttpResponse
|
|
43
|
-
>;
|
|
44
48
|
defaultsMode:
|
|
45
49
|
| import("@smithy/smithy-client").DefaultsMode
|
|
46
50
|
| import("@smithy/types").Provider<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import { CloudTrailDataClientConfig } from "./CloudTrailDataClient";
|
|
2
3
|
export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
3
4
|
apiVersion: string;
|
|
@@ -14,10 +15,14 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudTrailDataHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol:
|
|
18
|
-
import("@smithy/types").
|
|
19
|
-
import("@smithy/types").
|
|
20
|
-
|
|
18
|
+
protocol:
|
|
19
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
20
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
21
|
+
| typeof AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
defaultNamespace?: string;
|
|
25
|
+
};
|
|
21
26
|
serviceId: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StaticErrorSchema,
|
|
3
|
-
StaticListSchema,
|
|
4
3
|
StaticOperationSchema,
|
|
5
4
|
StaticStructureSchema,
|
|
6
5
|
} from "@smithy/types";
|
|
7
|
-
export declare var AuditEvent
|
|
8
|
-
export declare var AuditEventResultEntry
|
|
9
|
-
export declare var ChannelInsufficientPermission
|
|
10
|
-
export declare var ChannelNotFound
|
|
11
|
-
export declare var ChannelUnsupportedSchema
|
|
12
|
-
export declare var DuplicatedAuditEventId
|
|
13
|
-
export declare var InvalidChannelARN
|
|
14
|
-
export declare var PutAuditEventsRequest
|
|
15
|
-
export declare var PutAuditEventsResponse
|
|
16
|
-
export declare var ResultErrorEntry
|
|
17
|
-
export declare var UnsupportedOperationException
|
|
18
|
-
export declare var CloudTrailDataServiceException
|
|
19
|
-
export declare var
|
|
20
|
-
export declare var AuditEvents: StaticListSchema;
|
|
21
|
-
export declare var ResultErrorEntries: StaticListSchema;
|
|
22
|
-
export declare var PutAuditEvents: StaticOperationSchema;
|
|
6
|
+
export declare var AuditEvent$: StaticStructureSchema;
|
|
7
|
+
export declare var AuditEventResultEntry$: StaticStructureSchema;
|
|
8
|
+
export declare var ChannelInsufficientPermission$: StaticErrorSchema;
|
|
9
|
+
export declare var ChannelNotFound$: StaticErrorSchema;
|
|
10
|
+
export declare var ChannelUnsupportedSchema$: StaticErrorSchema;
|
|
11
|
+
export declare var DuplicatedAuditEventId$: StaticErrorSchema;
|
|
12
|
+
export declare var InvalidChannelARN$: StaticErrorSchema;
|
|
13
|
+
export declare var PutAuditEventsRequest$: StaticStructureSchema;
|
|
14
|
+
export declare var PutAuditEventsResponse$: StaticStructureSchema;
|
|
15
|
+
export declare var ResultErrorEntry$: StaticStructureSchema;
|
|
16
|
+
export declare var UnsupportedOperationException$: StaticErrorSchema;
|
|
17
|
+
export declare var CloudTrailDataServiceException$: StaticErrorSchema;
|
|
18
|
+
export declare var PutAuditEvents$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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.953.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudtrail-data",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
38
|
-
"@smithy/hash-node": "^4.2.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
-
"@smithy/middleware-stack": "^4.2.
|
|
45
|
-
"@smithy/node-config-provider": "^4.3.
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
47
|
-
"@smithy/protocol-http": "^5.3.
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
49
|
-
"@smithy/types": "^4.
|
|
50
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "3.953.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.953.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.953.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.953.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.953.0",
|
|
31
|
+
"@aws-sdk/types": "3.953.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.953.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.953.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.953.0",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.4",
|
|
36
|
+
"@smithy/core": "^3.19.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.7",
|
|
38
|
+
"@smithy/hash-node": "^4.2.6",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.6",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.6",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.15",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.15",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.7",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.6",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.6",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
48
|
+
"@smithy/smithy-client": "^4.10.0",
|
|
49
|
+
"@smithy/types": "^4.10.0",
|
|
50
|
+
"@smithy/url-parser": "^4.2.6",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
-
"@smithy/util-endpoints": "^3.2.
|
|
57
|
-
"@smithy/util-middleware": "^4.2.
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.14",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.17",
|
|
56
|
+
"@smithy/util-endpoints": "^3.2.6",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
58
|
+
"@smithy/util-retry": "^4.2.6",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|