cdk-rds-sql 1.0.1 → 1.1.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/.jsii +125 -48
- package/.pre-commit-config.yaml +2 -2
- package/README.md +6 -5
- package/cdk.json +1 -2
- package/lib/database.d.ts +16 -6
- package/lib/database.js +17 -2
- package/lib/handler.js +20 -4
- package/lib/provider.js +1 -1
- package/lib/role.custom-resource.d.ts +7 -0
- package/lib/role.custom-resource.js +4 -1
- package/lib/role.d.ts +5 -2
- package/lib/role.js +4 -3
- package/lib/schema.d.ts +2 -1
- package/lib/schema.js +5 -3
- package/lib/sql.d.ts +2 -1
- package/lib/sql.js +5 -3
- package/node_modules/@aws-sdk/abort-controller/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/abort-controller/package.json +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/CHANGELOG.md +24 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +26 -26
- package/node_modules/@aws-sdk/client-sso/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/client-sso/package.json +23 -23
- package/node_modules/@aws-sdk/client-sts/CHANGELOG.md +24 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sts/package.json +26 -26
- package/node_modules/@aws-sdk/config-resolver/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +1 -1
- package/node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +1 -1
- package/node_modules/@aws-sdk/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-imds/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/fetch-http-handler/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/fetch-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/hash-node/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/hash-node/package.json +2 -2
- package/node_modules/@aws-sdk/invalid-dependency/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/invalid-dependency/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-content-length/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-content-length/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-retry/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-retry/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-sdk-sts/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-serde/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/middleware-serde/dist-cjs/serializerMiddleware.js +8 -1
- package/node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js +15 -5
- package/node_modules/@aws-sdk/middleware-serde/dist-types/serdePlugin.d.ts +5 -2
- package/node_modules/@aws-sdk/middleware-serde/dist-types/serializerMiddleware.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +5 -1
- package/node_modules/@aws-sdk/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-serde/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-signing/CHANGELOG.md +22 -0
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/configurations.js +30 -15
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/middleware.js +3 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-es/configurations.js +21 -10
- package/node_modules/@aws-sdk/middleware-signing/dist-es/middleware.js +13 -11
- package/node_modules/@aws-sdk/middleware-signing/dist-types/configurations.d.ts +5 -5
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/configurations.d.ts +9 -4
- package/node_modules/@aws-sdk/middleware-signing/package.json +7 -6
- package/node_modules/@aws-sdk/middleware-stack/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/middleware-stack/dist-cjs/MiddlewareStack.js +13 -3
- package/node_modules/@aws-sdk/middleware-stack/dist-es/MiddlewareStack.js +14 -3
- package/node_modules/@aws-sdk/middleware-stack/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/node-config-provider/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/node-config-provider/package.json +4 -4
- package/node_modules/@aws-sdk/node-http-handler/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/node-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/property-provider/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/property-provider/package.json +2 -2
- package/node_modules/@aws-sdk/protocol-http/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/protocol-http/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-builder/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/querystring-builder/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-parser/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/querystring-parser/package.json +2 -2
- package/node_modules/@aws-sdk/service-error-classification/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/service-error-classification/package.json +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/signature-v4/package.json +4 -4
- package/node_modules/@aws-sdk/smithy-client/CHANGELOG.md +19 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/exceptions.d.ts +2 -2
- package/node_modules/@aws-sdk/smithy-client/dist-types/ts3.4/exceptions.d.ts +4 -1
- package/node_modules/@aws-sdk/smithy-client/package.json +3 -3
- package/node_modules/@aws-sdk/types/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +11 -0
- package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +4 -1
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +2 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +4 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +3 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/url-parser/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/url-parser/package.json +3 -3
- package/node_modules/@aws-sdk/util-defaults-mode-browser/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-defaults-mode-node/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@aws-sdk/util-middleware/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/util-middleware/dist-types/normalizeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/util-middleware/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +43 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/backup-gateway-2021-01-01.min.json +59 -8
- package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +10 -8
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +247 -3
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/codestar-notifications-2019-10-15.min.json +7 -2
- package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +237 -126
- package/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json +166 -132
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1294 -1251
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +3 -1
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.examples.json +5 -0
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +1961 -0
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.paginators.json +82 -0
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +59 -22
- package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +64 -17
- package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +21 -0
- package/node_modules/aws-sdk/apis/metadata.json +3 -0
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +228 -142
- package/node_modules/aws-sdk/apis/nimble-2020-08-01.waiters2.json +1 -1
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +102 -19
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +584 -572
- package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +396 -287
- package/node_modules/aws-sdk/clients/all.d.ts +1 -0
- package/node_modules/aws-sdk/clients/all.js +2 -1
- package/node_modules/aws-sdk/clients/apprunner.d.ts +1 -1
- package/node_modules/aws-sdk/clients/backupgateway.d.ts +72 -0
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +335 -6
- package/node_modules/aws-sdk/clients/codestarnotifications.d.ts +29 -29
- package/node_modules/aws-sdk/clients/comprehend.d.ts +148 -34
- package/node_modules/aws-sdk/clients/costexplorer.d.ts +15 -7
- package/node_modules/aws-sdk/clients/cur.d.ts +1 -1
- package/node_modules/aws-sdk/clients/devicefarm.d.ts +38 -0
- package/node_modules/aws-sdk/clients/ec2.d.ts +154 -105
- package/node_modules/aws-sdk/clients/ecs.d.ts +11 -11
- package/node_modules/aws-sdk/clients/glue.d.ts +8 -0
- package/node_modules/aws-sdk/clients/identitystore.d.ts +8 -8
- package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +2549 -0
- package/node_modules/aws-sdk/clients/iotfleetwise.js +19 -0
- package/node_modules/aws-sdk/clients/kendra.d.ts +36 -36
- package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +85 -0
- package/node_modules/aws-sdk/clients/lightsail.d.ts +66 -3
- package/node_modules/aws-sdk/clients/location.d.ts +54 -4
- package/node_modules/aws-sdk/clients/mediaconnect.d.ts +25 -1
- package/node_modules/aws-sdk/clients/nimble.d.ts +14 -14
- package/node_modules/aws-sdk/clients/rds.d.ts +18 -18
- package/node_modules/aws-sdk/clients/s3control.d.ts +109 -41
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +31 -10
- package/node_modules/aws-sdk/clients/ssm.d.ts +113 -2
- package/node_modules/aws-sdk/clients/wafv2.d.ts +7 -7
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +31 -11
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +107 -37
- package/node_modules/aws-sdk/dist/aws-sdk.js +2448 -1829
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +86 -85
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/event_listeners.js +1 -0
- package/node_modules/aws-sdk/lib/protocol/rest_json.js +15 -2
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/es-abstract/2015/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2015/ToNumber.js +1 -1
- package/node_modules/es-abstract/2016/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2016/ToNumber.js +1 -1
- package/node_modules/es-abstract/2017/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2017/ToNumber.js +1 -1
- package/node_modules/es-abstract/2018/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2018/ToNumber.js +1 -1
- package/node_modules/es-abstract/2019/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2019/ToNumber.js +1 -1
- package/node_modules/es-abstract/2020/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2020/ToNumber.js +1 -1
- package/node_modules/es-abstract/2021/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2021/ToNumber.js +1 -1
- package/node_modules/es-abstract/2022/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2022/StringToNumber.js +1 -1
- package/node_modules/es-abstract/CHANGELOG.md +6 -0
- package/node_modules/es-abstract/helpers/regexTester.js +2 -6
- package/node_modules/es-abstract/package.json +6 -5
- package/node_modules/is-callable/CHANGELOG.md +13 -0
- package/node_modules/is-callable/README.md +5 -2
- package/node_modules/is-callable/index.js +13 -7
- package/node_modules/is-callable/package.json +1 -1
- package/node_modules/is-callable/test/index.js +26 -9
- package/node_modules/safe-regex-test/.eslintrc +9 -0
- package/node_modules/safe-regex-test/.github/FUNDING.yml +12 -0
- package/node_modules/safe-regex-test/CHANGELOG.md +15 -0
- package/node_modules/safe-regex-test/LICENSE +21 -0
- package/node_modules/safe-regex-test/README.md +42 -0
- package/node_modules/safe-regex-test/index.js +17 -0
- package/node_modules/safe-regex-test/package.json +75 -0
- package/node_modules/safe-regex-test/test/index.js +37 -0
- package/package.json +10 -10
|
@@ -314,3 +314,4 @@ export import BackupStorage = require('./backupstorage');
|
|
|
314
314
|
export import PrivateNetworks = require('./privatenetworks');
|
|
315
315
|
export import SupportApp = require('./supportapp');
|
|
316
316
|
export import ControlTower = require('./controltower');
|
|
317
|
+
export import IoTFleetWise = require('./iotfleetwise');
|
|
@@ -315,5 +315,6 @@ module.exports = {
|
|
|
315
315
|
BackupStorage: require('./backupstorage'),
|
|
316
316
|
PrivateNetworks: require('./privatenetworks'),
|
|
317
317
|
SupportApp: require('./supportapp'),
|
|
318
|
-
ControlTower: require('./controltower')
|
|
318
|
+
ControlTower: require('./controltower'),
|
|
319
|
+
IoTFleetWise: require('./iotfleetwise')
|
|
319
320
|
};
|
|
@@ -1181,7 +1181,7 @@ declare namespace AppRunner {
|
|
|
1181
1181
|
OperationId?: UUID;
|
|
1182
1182
|
}
|
|
1183
1183
|
export type RoleArn = string;
|
|
1184
|
-
export type Runtime = "PYTHON_3"|"NODEJS_12"|"NODEJS_14"|"CORRETTO_8"|"CORRETTO_11"|string;
|
|
1184
|
+
export type Runtime = "PYTHON_3"|"NODEJS_12"|"NODEJS_14"|"CORRETTO_8"|"CORRETTO_11"|"NODEJS_16"|string;
|
|
1185
1185
|
export type RuntimeEnvironmentVariables = {[key: string]: RuntimeEnvironmentVariablesValue};
|
|
1186
1186
|
export type RuntimeEnvironmentVariablesKey = string;
|
|
1187
1187
|
export type RuntimeEnvironmentVariablesValue = string;
|
|
@@ -59,6 +59,14 @@ declare class BackupGateway extends Service {
|
|
|
59
59
|
* By providing the ARN (Amazon Resource Name), this API returns the gateway.
|
|
60
60
|
*/
|
|
61
61
|
getGateway(callback?: (err: AWSError, data: BackupGateway.Types.GetGatewayOutput) => void): Request<BackupGateway.Types.GetGatewayOutput, AWSError>;
|
|
62
|
+
/**
|
|
63
|
+
* By providing the ARN (Amazon Resource Name), this API returns the virtual machine.
|
|
64
|
+
*/
|
|
65
|
+
getVirtualMachine(params: BackupGateway.Types.GetVirtualMachineInput, callback?: (err: AWSError, data: BackupGateway.Types.GetVirtualMachineOutput) => void): Request<BackupGateway.Types.GetVirtualMachineOutput, AWSError>;
|
|
66
|
+
/**
|
|
67
|
+
* By providing the ARN (Amazon Resource Name), this API returns the virtual machine.
|
|
68
|
+
*/
|
|
69
|
+
getVirtualMachine(callback?: (err: AWSError, data: BackupGateway.Types.GetVirtualMachineOutput) => void): Request<BackupGateway.Types.GetVirtualMachineOutput, AWSError>;
|
|
62
70
|
/**
|
|
63
71
|
* Connect to a hypervisor by importing its configuration.
|
|
64
72
|
*/
|
|
@@ -280,6 +288,10 @@ declare namespace BackupGateway {
|
|
|
280
288
|
* Details showing the last time Backup gateway communicated with the cloud, in Unix format and UTC time.
|
|
281
289
|
*/
|
|
282
290
|
LastSeenTime?: Time;
|
|
291
|
+
/**
|
|
292
|
+
* Returns your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone. Can be weekly or monthly.
|
|
293
|
+
*/
|
|
294
|
+
MaintenanceStartTime?: MaintenanceStartTime;
|
|
283
295
|
/**
|
|
284
296
|
* Details showing the next update availability time of the gateway.
|
|
285
297
|
*/
|
|
@@ -303,6 +315,18 @@ declare namespace BackupGateway {
|
|
|
303
315
|
*/
|
|
304
316
|
Gateway?: GatewayDetails;
|
|
305
317
|
}
|
|
318
|
+
export interface GetVirtualMachineInput {
|
|
319
|
+
/**
|
|
320
|
+
* The Amazon Resource Name (ARN) of the virtual machine.
|
|
321
|
+
*/
|
|
322
|
+
ResourceArn: ResourceArn;
|
|
323
|
+
}
|
|
324
|
+
export interface GetVirtualMachineOutput {
|
|
325
|
+
/**
|
|
326
|
+
* This object contains the basic attributes of VirtualMachine contained by the output of GetVirtualMachine
|
|
327
|
+
*/
|
|
328
|
+
VirtualMachine?: VirtualMachineDetails;
|
|
329
|
+
}
|
|
306
330
|
export type Host = string;
|
|
307
331
|
export type HourOfDay = number;
|
|
308
332
|
export interface Hypervisor {
|
|
@@ -420,6 +444,10 @@ declare namespace BackupGateway {
|
|
|
420
444
|
Tags?: Tags;
|
|
421
445
|
}
|
|
422
446
|
export interface ListVirtualMachinesInput {
|
|
447
|
+
/**
|
|
448
|
+
* The Amazon Resource Name (ARN) of the hypervisor connected to your virtual machine.
|
|
449
|
+
*/
|
|
450
|
+
HypervisorArn?: ServerArn;
|
|
423
451
|
/**
|
|
424
452
|
* The maximum number of virtual machines to list.
|
|
425
453
|
*/
|
|
@@ -439,6 +467,24 @@ declare namespace BackupGateway {
|
|
|
439
467
|
*/
|
|
440
468
|
VirtualMachines?: VirtualMachines;
|
|
441
469
|
}
|
|
470
|
+
export interface MaintenanceStartTime {
|
|
471
|
+
/**
|
|
472
|
+
* The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
|
|
473
|
+
*/
|
|
474
|
+
DayOfMonth?: DayOfMonth;
|
|
475
|
+
/**
|
|
476
|
+
* An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.
|
|
477
|
+
*/
|
|
478
|
+
DayOfWeek?: DayOfWeek;
|
|
479
|
+
/**
|
|
480
|
+
* The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
|
|
481
|
+
*/
|
|
482
|
+
HourOfDay: HourOfDay;
|
|
483
|
+
/**
|
|
484
|
+
* The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.
|
|
485
|
+
*/
|
|
486
|
+
MinuteOfHour: MinuteOfHour;
|
|
487
|
+
}
|
|
442
488
|
export type MaxResults = number;
|
|
443
489
|
export type MinuteOfHour = number;
|
|
444
490
|
export type Name = string;
|
|
@@ -625,6 +671,32 @@ declare namespace BackupGateway {
|
|
|
625
671
|
*/
|
|
626
672
|
ResourceArn?: ResourceArn;
|
|
627
673
|
}
|
|
674
|
+
export interface VirtualMachineDetails {
|
|
675
|
+
/**
|
|
676
|
+
* The host name of the virtual machine.
|
|
677
|
+
*/
|
|
678
|
+
HostName?: Name;
|
|
679
|
+
/**
|
|
680
|
+
* The ID of the virtual machine's hypervisor.
|
|
681
|
+
*/
|
|
682
|
+
HypervisorId?: string;
|
|
683
|
+
/**
|
|
684
|
+
* The most recent date a virtual machine was backed up, in Unix format and UTC time.
|
|
685
|
+
*/
|
|
686
|
+
LastBackupDate?: Time;
|
|
687
|
+
/**
|
|
688
|
+
* The name of the virtual machine.
|
|
689
|
+
*/
|
|
690
|
+
Name?: Name;
|
|
691
|
+
/**
|
|
692
|
+
* The path of the virtual machine.
|
|
693
|
+
*/
|
|
694
|
+
Path?: Path;
|
|
695
|
+
/**
|
|
696
|
+
* The Amazon Resource Name (ARN) of the virtual machine. For example, arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL.
|
|
697
|
+
*/
|
|
698
|
+
ResourceArn?: ResourceArn;
|
|
699
|
+
}
|
|
628
700
|
export type VirtualMachines = VirtualMachine[];
|
|
629
701
|
export type VpcEndpoint = string;
|
|
630
702
|
/**
|
|
@@ -92,13 +92,21 @@ declare class CloudTrail extends Service {
|
|
|
92
92
|
*/
|
|
93
93
|
getEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.GetEventDataStoreResponse) => void): Request<CloudTrail.Types.GetEventDataStoreResponse, AWSError>;
|
|
94
94
|
/**
|
|
95
|
-
* Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events. If your event selector includes management events. If your event selector includes data events, the resources on which you are logging data events. For more information
|
|
95
|
+
* Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events. If your event selector includes management events. If your event selector includes data events, the resources on which you are logging data events. For more information about logging management and data events, see the following topics in the CloudTrail User Guide: Logging management events for trails Logging data events for trails
|
|
96
96
|
*/
|
|
97
97
|
getEventSelectors(params: CloudTrail.Types.GetEventSelectorsRequest, callback?: (err: AWSError, data: CloudTrail.Types.GetEventSelectorsResponse) => void): Request<CloudTrail.Types.GetEventSelectorsResponse, AWSError>;
|
|
98
98
|
/**
|
|
99
|
-
* Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events. If your event selector includes management events. If your event selector includes data events, the resources on which you are logging data events. For more information
|
|
99
|
+
* Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events. If your event selector includes management events. If your event selector includes data events, the resources on which you are logging data events. For more information about logging management and data events, see the following topics in the CloudTrail User Guide: Logging management events for trails Logging data events for trails
|
|
100
100
|
*/
|
|
101
101
|
getEventSelectors(callback?: (err: AWSError, data: CloudTrail.Types.GetEventSelectorsResponse) => void): Request<CloudTrail.Types.GetEventSelectorsResponse, AWSError>;
|
|
102
|
+
/**
|
|
103
|
+
* Returns information for the specified import.
|
|
104
|
+
*/
|
|
105
|
+
getImport(params: CloudTrail.Types.GetImportRequest, callback?: (err: AWSError, data: CloudTrail.Types.GetImportResponse) => void): Request<CloudTrail.Types.GetImportResponse, AWSError>;
|
|
106
|
+
/**
|
|
107
|
+
* Returns information for the specified import.
|
|
108
|
+
*/
|
|
109
|
+
getImport(callback?: (err: AWSError, data: CloudTrail.Types.GetImportResponse) => void): Request<CloudTrail.Types.GetImportResponse, AWSError>;
|
|
102
110
|
/**
|
|
103
111
|
* Describes the settings for the Insights event selectors that you configured for your trail. GetInsightSelectors shows if CloudTrail Insights event logging is enabled on the trail, and if it is, which insight types are enabled. If you run GetInsightSelectors on a trail that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException For more information, see Logging CloudTrail Insights Events for Trails in the CloudTrail User Guide.
|
|
104
112
|
*/
|
|
@@ -147,6 +155,22 @@ declare class CloudTrail extends Service {
|
|
|
147
155
|
* Returns information about all event data stores in the account, in the current region.
|
|
148
156
|
*/
|
|
149
157
|
listEventDataStores(callback?: (err: AWSError, data: CloudTrail.Types.ListEventDataStoresResponse) => void): Request<CloudTrail.Types.ListEventDataStoresResponse, AWSError>;
|
|
158
|
+
/**
|
|
159
|
+
* Returns a list of failures for the specified import.
|
|
160
|
+
*/
|
|
161
|
+
listImportFailures(params: CloudTrail.Types.ListImportFailuresRequest, callback?: (err: AWSError, data: CloudTrail.Types.ListImportFailuresResponse) => void): Request<CloudTrail.Types.ListImportFailuresResponse, AWSError>;
|
|
162
|
+
/**
|
|
163
|
+
* Returns a list of failures for the specified import.
|
|
164
|
+
*/
|
|
165
|
+
listImportFailures(callback?: (err: AWSError, data: CloudTrail.Types.ListImportFailuresResponse) => void): Request<CloudTrail.Types.ListImportFailuresResponse, AWSError>;
|
|
166
|
+
/**
|
|
167
|
+
* Returns information on all imports, or a select set of imports by ImportStatus or Destination.
|
|
168
|
+
*/
|
|
169
|
+
listImports(params: CloudTrail.Types.ListImportsRequest, callback?: (err: AWSError, data: CloudTrail.Types.ListImportsResponse) => void): Request<CloudTrail.Types.ListImportsResponse, AWSError>;
|
|
170
|
+
/**
|
|
171
|
+
* Returns information on all imports, or a select set of imports by ImportStatus or Destination.
|
|
172
|
+
*/
|
|
173
|
+
listImports(callback?: (err: AWSError, data: CloudTrail.Types.ListImportsResponse) => void): Request<CloudTrail.Types.ListImportsResponse, AWSError>;
|
|
150
174
|
/**
|
|
151
175
|
* Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key. CloudTrail uses different private and public key pairs per region. Each digest file is signed with a private key unique to its region. When you validate a digest file from a specific region, you must look in the same region for its corresponding public key.
|
|
152
176
|
*/
|
|
@@ -188,11 +212,11 @@ declare class CloudTrail extends Service {
|
|
|
188
212
|
*/
|
|
189
213
|
lookupEvents(callback?: (err: AWSError, data: CloudTrail.Types.LookupEventsResponse) => void): Request<CloudTrail.Types.LookupEventsResponse, AWSError>;
|
|
190
214
|
/**
|
|
191
|
-
* Configures an event selector or advanced event selectors for your trail. Use event selectors or advanced event selectors to specify management and data event settings for your trail. By default, trails created without specific event selectors are configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event that doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException exception is thrown. You can configure up to five event selectors for each trail. For more information, see Logging
|
|
215
|
+
* Configures an event selector or advanced event selectors for your trail. Use event selectors or advanced event selectors to specify management and data event settings for your trail. By default, trails created without specific event selectors are configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event that doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException exception is thrown. You can configure up to five event selectors for each trail. For more information, see Logging management events for trails , Logging data events for trails , and Quotas in CloudTrail in the CloudTrail User Guide. You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. You can use either AdvancedEventSelectors or EventSelectors, but not both. If you apply AdvancedEventSelectors to a trail, any existing EventSelectors are overwritten. For more information about advanced event selectors, see Logging data events for trails in the CloudTrail User Guide.
|
|
192
216
|
*/
|
|
193
217
|
putEventSelectors(params: CloudTrail.Types.PutEventSelectorsRequest, callback?: (err: AWSError, data: CloudTrail.Types.PutEventSelectorsResponse) => void): Request<CloudTrail.Types.PutEventSelectorsResponse, AWSError>;
|
|
194
218
|
/**
|
|
195
|
-
* Configures an event selector or advanced event selectors for your trail. Use event selectors or advanced event selectors to specify management and data event settings for your trail. By default, trails created without specific event selectors are configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event that doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException exception is thrown. You can configure up to five event selectors for each trail. For more information, see Logging
|
|
219
|
+
* Configures an event selector or advanced event selectors for your trail. Use event selectors or advanced event selectors to specify management and data event settings for your trail. By default, trails created without specific event selectors are configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event that doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException exception is thrown. You can configure up to five event selectors for each trail. For more information, see Logging management events for trails , Logging data events for trails , and Quotas in CloudTrail in the CloudTrail User Guide. You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. You can use either AdvancedEventSelectors or EventSelectors, but not both. If you apply AdvancedEventSelectors to a trail, any existing EventSelectors are overwritten. For more information about advanced event selectors, see Logging data events for trails in the CloudTrail User Guide.
|
|
196
220
|
*/
|
|
197
221
|
putEventSelectors(callback?: (err: AWSError, data: CloudTrail.Types.PutEventSelectorsResponse) => void): Request<CloudTrail.Types.PutEventSelectorsResponse, AWSError>;
|
|
198
222
|
/**
|
|
@@ -219,6 +243,14 @@ declare class CloudTrail extends Service {
|
|
|
219
243
|
* Restores a deleted event data store specified by EventDataStore, which accepts an event data store ARN. You can only restore a deleted event data store within the seven-day wait period after deletion. Restoring an event data store can take several minutes, depending on the size of the event data store.
|
|
220
244
|
*/
|
|
221
245
|
restoreEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.RestoreEventDataStoreResponse) => void): Request<CloudTrail.Types.RestoreEventDataStoreResponse, AWSError>;
|
|
246
|
+
/**
|
|
247
|
+
* Starts an import of logged trail events from a source S3 bucket to a destination event data store. When you start a new import, the Destinations and ImportSource parameters are required. Before starting a new import, disable any access control lists (ACLs) attached to the source S3 bucket. For more information about disabling ACLs, see Controlling ownership of objects and disabling ACLs for your bucket. When you retry an import, the ImportID parameter is required.
|
|
248
|
+
*/
|
|
249
|
+
startImport(params: CloudTrail.Types.StartImportRequest, callback?: (err: AWSError, data: CloudTrail.Types.StartImportResponse) => void): Request<CloudTrail.Types.StartImportResponse, AWSError>;
|
|
250
|
+
/**
|
|
251
|
+
* Starts an import of logged trail events from a source S3 bucket to a destination event data store. When you start a new import, the Destinations and ImportSource parameters are required. Before starting a new import, disable any access control lists (ACLs) attached to the source S3 bucket. For more information about disabling ACLs, see Controlling ownership of objects and disabling ACLs for your bucket. When you retry an import, the ImportID parameter is required.
|
|
252
|
+
*/
|
|
253
|
+
startImport(callback?: (err: AWSError, data: CloudTrail.Types.StartImportResponse) => void): Request<CloudTrail.Types.StartImportResponse, AWSError>;
|
|
222
254
|
/**
|
|
223
255
|
* Starts the recording of Amazon Web Services API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.
|
|
224
256
|
*/
|
|
@@ -235,6 +267,14 @@ declare class CloudTrail extends Service {
|
|
|
235
267
|
* Starts a CloudTrail Lake query. The required QueryStatement parameter provides your SQL query, enclosed in single quotation marks.
|
|
236
268
|
*/
|
|
237
269
|
startQuery(callback?: (err: AWSError, data: CloudTrail.Types.StartQueryResponse) => void): Request<CloudTrail.Types.StartQueryResponse, AWSError>;
|
|
270
|
+
/**
|
|
271
|
+
* Stops a specified import.
|
|
272
|
+
*/
|
|
273
|
+
stopImport(params: CloudTrail.Types.StopImportRequest, callback?: (err: AWSError, data: CloudTrail.Types.StopImportResponse) => void): Request<CloudTrail.Types.StopImportResponse, AWSError>;
|
|
274
|
+
/**
|
|
275
|
+
* Stops a specified import.
|
|
276
|
+
*/
|
|
277
|
+
stopImport(callback?: (err: AWSError, data: CloudTrail.Types.StopImportResponse) => void): Request<CloudTrail.Types.StopImportResponse, AWSError>;
|
|
238
278
|
/**
|
|
239
279
|
* Suspends the recording of Amazon Web Services API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all regions, this operation must be called from the region in which the trail was created, or an InvalidHomeRegionException will occur. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail enabled in all regions.
|
|
240
280
|
*/
|
|
@@ -527,7 +567,7 @@ declare namespace CloudTrail {
|
|
|
527
567
|
*/
|
|
528
568
|
Type?: String;
|
|
529
569
|
/**
|
|
530
|
-
* An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects. To log data events for all objects in all S3 buckets in your Amazon Web Services account, specify the prefix as arn:aws:s3
|
|
570
|
+
* An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects. To log data events for all objects in all S3 buckets in your Amazon Web Services account, specify the prefix as arn:aws:s3. This also enables logging of data event activity performed by any user or role in your Amazon Web Services account, even if that activity is performed on a bucket that belongs to another Amazon Web Services account. To log data events for all objects in an S3 bucket, specify the bucket and an empty object prefix such as arn:aws:s3:::bucket-1/. The trail logs data events for all objects in this S3 bucket. To log data events for specific objects, specify the S3 bucket and object prefix such as arn:aws:s3:::bucket-1/example-images. The trail logs data events for objects in this S3 bucket that match the prefix. To log data events for all Lambda functions in your Amazon Web Services account, specify the prefix as arn:aws:lambda. This also enables logging of Invoke activity performed by any user or role in your Amazon Web Services account, even if that activity is performed on a function that belongs to another Amazon Web Services account. To log data events for a specific Lambda function, specify the function ARN. Lambda function ARNs are exact. For example, if you specify a function ARN arn:aws:lambda:us-west-2:111111111111:function:helloworld, data events will only be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld. They will not be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld2. To log data events for all DynamoDB tables in your Amazon Web Services account, specify the prefix as arn:aws:dynamodb.
|
|
531
571
|
*/
|
|
532
572
|
Values?: DataResourceValues;
|
|
533
573
|
}
|
|
@@ -813,6 +853,50 @@ declare namespace CloudTrail {
|
|
|
813
853
|
*/
|
|
814
854
|
AdvancedEventSelectors?: AdvancedEventSelectors;
|
|
815
855
|
}
|
|
856
|
+
export interface GetImportRequest {
|
|
857
|
+
/**
|
|
858
|
+
* The ID for the import.
|
|
859
|
+
*/
|
|
860
|
+
ImportId: UUID;
|
|
861
|
+
}
|
|
862
|
+
export interface GetImportResponse {
|
|
863
|
+
/**
|
|
864
|
+
* The ID of the import.
|
|
865
|
+
*/
|
|
866
|
+
ImportId?: UUID;
|
|
867
|
+
/**
|
|
868
|
+
* The destination event data store.
|
|
869
|
+
*/
|
|
870
|
+
Destinations?: ImportDestinations;
|
|
871
|
+
/**
|
|
872
|
+
* The source S3 bucket.
|
|
873
|
+
*/
|
|
874
|
+
ImportSource?: ImportSource;
|
|
875
|
+
/**
|
|
876
|
+
* Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
|
877
|
+
*/
|
|
878
|
+
StartEventTime?: _Date;
|
|
879
|
+
/**
|
|
880
|
+
* Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
|
881
|
+
*/
|
|
882
|
+
EndEventTime?: _Date;
|
|
883
|
+
/**
|
|
884
|
+
* The status of the import.
|
|
885
|
+
*/
|
|
886
|
+
ImportStatus?: ImportStatus;
|
|
887
|
+
/**
|
|
888
|
+
* The timestamp of the import's creation.
|
|
889
|
+
*/
|
|
890
|
+
CreatedTimestamp?: _Date;
|
|
891
|
+
/**
|
|
892
|
+
* The timestamp of when the import was updated.
|
|
893
|
+
*/
|
|
894
|
+
UpdatedTimestamp?: _Date;
|
|
895
|
+
/**
|
|
896
|
+
* Provides statistics for the import.
|
|
897
|
+
*/
|
|
898
|
+
ImportStatistics?: ImportStatistics;
|
|
899
|
+
}
|
|
816
900
|
export interface GetInsightSelectorsRequest {
|
|
817
901
|
/**
|
|
818
902
|
* Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid. Not be in IP address format (for example, 192.168.5.4) If you specify a trail ARN, it must be in the format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
|
|
@@ -954,6 +1038,83 @@ declare namespace CloudTrail {
|
|
|
954
1038
|
*/
|
|
955
1039
|
TimeLoggingStopped?: String;
|
|
956
1040
|
}
|
|
1041
|
+
export type ImportDestinations = EventDataStoreArn[];
|
|
1042
|
+
export type ImportFailureList = ImportFailureListItem[];
|
|
1043
|
+
export interface ImportFailureListItem {
|
|
1044
|
+
/**
|
|
1045
|
+
* The location of the failure in the S3 bucket.
|
|
1046
|
+
*/
|
|
1047
|
+
Location?: String;
|
|
1048
|
+
/**
|
|
1049
|
+
* The status of the import.
|
|
1050
|
+
*/
|
|
1051
|
+
Status?: ImportFailureStatus;
|
|
1052
|
+
/**
|
|
1053
|
+
* The type of import error.
|
|
1054
|
+
*/
|
|
1055
|
+
ErrorType?: String;
|
|
1056
|
+
/**
|
|
1057
|
+
* Provides the reason the import failed.
|
|
1058
|
+
*/
|
|
1059
|
+
ErrorMessage?: String;
|
|
1060
|
+
/**
|
|
1061
|
+
* When the import was last updated.
|
|
1062
|
+
*/
|
|
1063
|
+
LastUpdatedTime?: _Date;
|
|
1064
|
+
}
|
|
1065
|
+
export type ImportFailureStatus = "FAILED"|"RETRY"|"SUCCEEDED"|string;
|
|
1066
|
+
export interface ImportSource {
|
|
1067
|
+
/**
|
|
1068
|
+
* The source S3 bucket.
|
|
1069
|
+
*/
|
|
1070
|
+
S3: S3ImportSource;
|
|
1071
|
+
}
|
|
1072
|
+
export interface ImportStatistics {
|
|
1073
|
+
/**
|
|
1074
|
+
* The number of S3 prefixes found for the import.
|
|
1075
|
+
*/
|
|
1076
|
+
PrefixesFound?: Long;
|
|
1077
|
+
/**
|
|
1078
|
+
* The number of S3 prefixes that completed import.
|
|
1079
|
+
*/
|
|
1080
|
+
PrefixesCompleted?: Long;
|
|
1081
|
+
/**
|
|
1082
|
+
* The number of files that completed import.
|
|
1083
|
+
*/
|
|
1084
|
+
FilesCompleted?: Long;
|
|
1085
|
+
/**
|
|
1086
|
+
* The number of trail events imported.
|
|
1087
|
+
*/
|
|
1088
|
+
EventsCompleted?: Long;
|
|
1089
|
+
/**
|
|
1090
|
+
* The number of failed entries.
|
|
1091
|
+
*/
|
|
1092
|
+
FailedEntries?: Long;
|
|
1093
|
+
}
|
|
1094
|
+
export type ImportStatus = "INITIALIZING"|"IN_PROGRESS"|"FAILED"|"STOPPED"|"COMPLETED"|string;
|
|
1095
|
+
export type ImportsList = ImportsListItem[];
|
|
1096
|
+
export interface ImportsListItem {
|
|
1097
|
+
/**
|
|
1098
|
+
* The ID of the import.
|
|
1099
|
+
*/
|
|
1100
|
+
ImportId?: UUID;
|
|
1101
|
+
/**
|
|
1102
|
+
* The status of the import.
|
|
1103
|
+
*/
|
|
1104
|
+
ImportStatus?: ImportStatus;
|
|
1105
|
+
/**
|
|
1106
|
+
* The destination event data store.
|
|
1107
|
+
*/
|
|
1108
|
+
Destinations?: ImportDestinations;
|
|
1109
|
+
/**
|
|
1110
|
+
* The timestamp of the import's creation.
|
|
1111
|
+
*/
|
|
1112
|
+
CreatedTimestamp?: _Date;
|
|
1113
|
+
/**
|
|
1114
|
+
* The timestamp of the import's last update.
|
|
1115
|
+
*/
|
|
1116
|
+
UpdatedTimestamp?: _Date;
|
|
1117
|
+
}
|
|
957
1118
|
export interface InsightSelector {
|
|
958
1119
|
/**
|
|
959
1120
|
* The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are valid insight types.
|
|
@@ -1005,6 +1166,60 @@ declare namespace CloudTrail {
|
|
|
1005
1166
|
*/
|
|
1006
1167
|
NextToken?: PaginationToken;
|
|
1007
1168
|
}
|
|
1169
|
+
export type ListImportFailuresMaxResultsCount = number;
|
|
1170
|
+
export interface ListImportFailuresRequest {
|
|
1171
|
+
/**
|
|
1172
|
+
* The ID of the import.
|
|
1173
|
+
*/
|
|
1174
|
+
ImportId: UUID;
|
|
1175
|
+
/**
|
|
1176
|
+
* The maximum number of failures to display on a single page.
|
|
1177
|
+
*/
|
|
1178
|
+
MaxResults?: ListImportFailuresMaxResultsCount;
|
|
1179
|
+
/**
|
|
1180
|
+
* A token you can use to get the next page of import failures.
|
|
1181
|
+
*/
|
|
1182
|
+
NextToken?: PaginationToken;
|
|
1183
|
+
}
|
|
1184
|
+
export interface ListImportFailuresResponse {
|
|
1185
|
+
/**
|
|
1186
|
+
* Contains information about the import failures.
|
|
1187
|
+
*/
|
|
1188
|
+
Failures?: ImportFailureList;
|
|
1189
|
+
/**
|
|
1190
|
+
* A token you can use to get the next page of results.
|
|
1191
|
+
*/
|
|
1192
|
+
NextToken?: PaginationToken;
|
|
1193
|
+
}
|
|
1194
|
+
export type ListImportsMaxResultsCount = number;
|
|
1195
|
+
export interface ListImportsRequest {
|
|
1196
|
+
/**
|
|
1197
|
+
* The maximum number of imports to display on a single page.
|
|
1198
|
+
*/
|
|
1199
|
+
MaxResults?: ListImportsMaxResultsCount;
|
|
1200
|
+
/**
|
|
1201
|
+
* The destination event data store.
|
|
1202
|
+
*/
|
|
1203
|
+
Destination?: EventDataStoreArn;
|
|
1204
|
+
/**
|
|
1205
|
+
* The status of the import.
|
|
1206
|
+
*/
|
|
1207
|
+
ImportStatus?: ImportStatus;
|
|
1208
|
+
/**
|
|
1209
|
+
* A token you can use to get the next page of import results.
|
|
1210
|
+
*/
|
|
1211
|
+
NextToken?: PaginationToken;
|
|
1212
|
+
}
|
|
1213
|
+
export interface ListImportsResponse {
|
|
1214
|
+
/**
|
|
1215
|
+
* The list of returned imports.
|
|
1216
|
+
*/
|
|
1217
|
+
Imports?: ImportsList;
|
|
1218
|
+
/**
|
|
1219
|
+
* A token you can use to get the next page of import results.
|
|
1220
|
+
*/
|
|
1221
|
+
NextToken?: PaginationToken;
|
|
1222
|
+
}
|
|
1008
1223
|
export interface ListPublicKeysRequest {
|
|
1009
1224
|
/**
|
|
1010
1225
|
* Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.
|
|
@@ -1368,6 +1583,20 @@ declare namespace CloudTrail {
|
|
|
1368
1583
|
UpdatedTimestamp?: _Date;
|
|
1369
1584
|
}
|
|
1370
1585
|
export type RetentionPeriod = number;
|
|
1586
|
+
export interface S3ImportSource {
|
|
1587
|
+
/**
|
|
1588
|
+
* The URI for the source S3 bucket.
|
|
1589
|
+
*/
|
|
1590
|
+
S3LocationUri: String;
|
|
1591
|
+
/**
|
|
1592
|
+
* The region associated with the source S3 bucket.
|
|
1593
|
+
*/
|
|
1594
|
+
S3BucketRegion: String;
|
|
1595
|
+
/**
|
|
1596
|
+
* The IAM ARN role used to access the source S3 bucket.
|
|
1597
|
+
*/
|
|
1598
|
+
S3BucketAccessRoleArn: String;
|
|
1599
|
+
}
|
|
1371
1600
|
export type SelectorField = string;
|
|
1372
1601
|
export type SelectorName = string;
|
|
1373
1602
|
export type Source = string;
|
|
@@ -1381,6 +1610,62 @@ declare namespace CloudTrail {
|
|
|
1381
1610
|
*/
|
|
1382
1611
|
AdvancedEventSelectors?: AdvancedEventSelectors;
|
|
1383
1612
|
}
|
|
1613
|
+
export interface StartImportRequest {
|
|
1614
|
+
/**
|
|
1615
|
+
* The destination event data store. Use this parameter for a new import.
|
|
1616
|
+
*/
|
|
1617
|
+
Destinations?: ImportDestinations;
|
|
1618
|
+
/**
|
|
1619
|
+
* The source S3 bucket for the import. Use this parameter for a new import.
|
|
1620
|
+
*/
|
|
1621
|
+
ImportSource?: ImportSource;
|
|
1622
|
+
/**
|
|
1623
|
+
* Use with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
|
1624
|
+
*/
|
|
1625
|
+
StartEventTime?: _Date;
|
|
1626
|
+
/**
|
|
1627
|
+
* Use with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
|
1628
|
+
*/
|
|
1629
|
+
EndEventTime?: _Date;
|
|
1630
|
+
/**
|
|
1631
|
+
* The ID of the import. Use this parameter when you are retrying an import.
|
|
1632
|
+
*/
|
|
1633
|
+
ImportId?: UUID;
|
|
1634
|
+
}
|
|
1635
|
+
export interface StartImportResponse {
|
|
1636
|
+
/**
|
|
1637
|
+
* The ID of the import.
|
|
1638
|
+
*/
|
|
1639
|
+
ImportId?: UUID;
|
|
1640
|
+
/**
|
|
1641
|
+
* The destination event data store.
|
|
1642
|
+
*/
|
|
1643
|
+
Destinations?: ImportDestinations;
|
|
1644
|
+
/**
|
|
1645
|
+
* The source S3 bucket.
|
|
1646
|
+
*/
|
|
1647
|
+
ImportSource?: ImportSource;
|
|
1648
|
+
/**
|
|
1649
|
+
* Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
|
1650
|
+
*/
|
|
1651
|
+
StartEventTime?: _Date;
|
|
1652
|
+
/**
|
|
1653
|
+
* Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
|
1654
|
+
*/
|
|
1655
|
+
EndEventTime?: _Date;
|
|
1656
|
+
/**
|
|
1657
|
+
* Shows the status of the import after a StartImport request. An import finishes with a status of COMPLETED if there were no failures, or FAILED if there were failures.
|
|
1658
|
+
*/
|
|
1659
|
+
ImportStatus?: ImportStatus;
|
|
1660
|
+
/**
|
|
1661
|
+
* The timestamp for the import's creation.
|
|
1662
|
+
*/
|
|
1663
|
+
CreatedTimestamp?: _Date;
|
|
1664
|
+
/**
|
|
1665
|
+
* The timestamp of the import's last update, if applicable.
|
|
1666
|
+
*/
|
|
1667
|
+
UpdatedTimestamp?: _Date;
|
|
1668
|
+
}
|
|
1384
1669
|
export interface StartLoggingRequest {
|
|
1385
1670
|
/**
|
|
1386
1671
|
* Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs Amazon Web Services API calls. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
|
|
@@ -1401,6 +1686,50 @@ declare namespace CloudTrail {
|
|
|
1401
1686
|
*/
|
|
1402
1687
|
QueryId?: UUID;
|
|
1403
1688
|
}
|
|
1689
|
+
export interface StopImportRequest {
|
|
1690
|
+
/**
|
|
1691
|
+
* The ID of the import.
|
|
1692
|
+
*/
|
|
1693
|
+
ImportId: UUID;
|
|
1694
|
+
}
|
|
1695
|
+
export interface StopImportResponse {
|
|
1696
|
+
/**
|
|
1697
|
+
* The ID for the import.
|
|
1698
|
+
*/
|
|
1699
|
+
ImportId?: UUID;
|
|
1700
|
+
/**
|
|
1701
|
+
* The source S3 bucket.
|
|
1702
|
+
*/
|
|
1703
|
+
ImportSource?: ImportSource;
|
|
1704
|
+
/**
|
|
1705
|
+
* The destination event data store.
|
|
1706
|
+
*/
|
|
1707
|
+
Destinations?: ImportDestinations;
|
|
1708
|
+
/**
|
|
1709
|
+
* The status of the import.
|
|
1710
|
+
*/
|
|
1711
|
+
ImportStatus?: ImportStatus;
|
|
1712
|
+
/**
|
|
1713
|
+
* The timestamp of the import's creation.
|
|
1714
|
+
*/
|
|
1715
|
+
CreatedTimestamp?: _Date;
|
|
1716
|
+
/**
|
|
1717
|
+
* The timestamp of the import's last update.
|
|
1718
|
+
*/
|
|
1719
|
+
UpdatedTimestamp?: _Date;
|
|
1720
|
+
/**
|
|
1721
|
+
* Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
|
1722
|
+
*/
|
|
1723
|
+
StartEventTime?: _Date;
|
|
1724
|
+
/**
|
|
1725
|
+
* Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
|
|
1726
|
+
*/
|
|
1727
|
+
EndEventTime?: _Date;
|
|
1728
|
+
/**
|
|
1729
|
+
* Returns information on the stopped import.
|
|
1730
|
+
*/
|
|
1731
|
+
ImportStatistics?: ImportStatistics;
|
|
1732
|
+
}
|
|
1404
1733
|
export interface StopLoggingRequest {
|
|
1405
1734
|
/**
|
|
1406
1735
|
* Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web Services API calls. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
|
|
@@ -1518,7 +1847,7 @@ declare namespace CloudTrail {
|
|
|
1518
1847
|
*/
|
|
1519
1848
|
Name?: EventDataStoreName;
|
|
1520
1849
|
/**
|
|
1521
|
-
* The advanced event selectors used to select events for the event data store.
|
|
1850
|
+
* The advanced event selectors used to select events for the event data store. You can configure up to five advanced event selectors for each event data store.
|
|
1522
1851
|
*/
|
|
1523
1852
|
AdvancedEventSelectors?: AdvancedEventSelectors;
|
|
1524
1853
|
/**
|