cdk-lambda-subminute 2.0.291 → 2.0.292
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 +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +6 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/dlm-2018-01-12.min.json +39 -13
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +330 -108
- package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/rds-2014-10-31.waiters2.json +49 -0
- package/node_modules/aws-sdk/clients/dataexchange.d.ts +2 -1
- package/node_modules/aws-sdk/clients/dlm.d.ts +40 -2
- package/node_modules/aws-sdk/clients/rds.d.ts +345 -6
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +5 -5
- package/node_modules/aws-sdk/dist/aws-sdk.js +394 -111
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +32 -32
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
@@ -120,6 +120,12 @@
|
|
120
120
|
"output_token": "Marker",
|
121
121
|
"result_key": "DBSecurityGroups"
|
122
122
|
},
|
123
|
+
"DescribeDBSnapshotTenantDatabases": {
|
124
|
+
"input_token": "Marker",
|
125
|
+
"limit_key": "MaxRecords",
|
126
|
+
"output_token": "Marker",
|
127
|
+
"result_key": "DBSnapshotTenantDatabases"
|
128
|
+
},
|
123
129
|
"DescribeDBSnapshots": {
|
124
130
|
"input_token": "Marker",
|
125
131
|
"limit_key": "MaxRecords",
|
@@ -210,6 +216,12 @@
|
|
210
216
|
"output_token": "Marker",
|
211
217
|
"result_key": "SourceRegions"
|
212
218
|
},
|
219
|
+
"DescribeTenantDatabases": {
|
220
|
+
"input_token": "Marker",
|
221
|
+
"limit_key": "MaxRecords",
|
222
|
+
"output_token": "Marker",
|
223
|
+
"result_key": "TenantDatabases"
|
224
|
+
},
|
213
225
|
"DownloadDBLogFilePortion": {
|
214
226
|
"input_token": "Marker",
|
215
227
|
"limit_key": "NumberOfLines",
|
@@ -340,6 +340,55 @@
|
|
340
340
|
"argument": "DBClusters[].Status"
|
341
341
|
}
|
342
342
|
]
|
343
|
+
},
|
344
|
+
"TenantDatabaseAvailable": {
|
345
|
+
"delay": 30,
|
346
|
+
"operation": "DescribeTenantDatabases",
|
347
|
+
"maxAttempts": 60,
|
348
|
+
"acceptors": [
|
349
|
+
{
|
350
|
+
"expected": "available",
|
351
|
+
"matcher": "pathAll",
|
352
|
+
"state": "success",
|
353
|
+
"argument": "TenantDatabases[].Status"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"expected": "deleted",
|
357
|
+
"matcher": "pathAny",
|
358
|
+
"state": "failure",
|
359
|
+
"argument": "TenantDatabases[].Status"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"expected": "incompatible-parameters",
|
363
|
+
"matcher": "pathAny",
|
364
|
+
"state": "failure",
|
365
|
+
"argument": "TenantDatabases[].Status"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"expected": "incompatible-restore",
|
369
|
+
"matcher": "pathAny",
|
370
|
+
"state": "failure",
|
371
|
+
"argument": "TenantDatabases[].Status"
|
372
|
+
}
|
373
|
+
]
|
374
|
+
},
|
375
|
+
"TenantDatabaseDeleted": {
|
376
|
+
"delay": 30,
|
377
|
+
"operation": "DescribeTenantDatabases",
|
378
|
+
"maxAttempts": 60,
|
379
|
+
"acceptors": [
|
380
|
+
{
|
381
|
+
"expected": true,
|
382
|
+
"matcher": "path",
|
383
|
+
"state": "success",
|
384
|
+
"argument": "length(TenantDatabases) == `0`"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"expected": "DBInstanceNotFoundFault",
|
388
|
+
"matcher": "error",
|
389
|
+
"state": "success"
|
390
|
+
}
|
391
|
+
]
|
343
392
|
}
|
344
393
|
}
|
345
394
|
}
|
@@ -2129,7 +2129,7 @@ declare namespace DataExchange {
|
|
2129
2129
|
/**
|
2130
2130
|
* Free-form text field for providers to add information about their notifications.
|
2131
2131
|
*/
|
2132
|
-
Comment?:
|
2132
|
+
Comment?: __stringMin0Max4096;
|
2133
2133
|
/**
|
2134
2134
|
* Affected data set of the notification.
|
2135
2135
|
*/
|
@@ -2416,6 +2416,7 @@ declare namespace DataExchange {
|
|
2416
2416
|
export type __doubleMin0 = number;
|
2417
2417
|
export type __string = string;
|
2418
2418
|
export type __stringMin0Max16384 = string;
|
2419
|
+
export type __stringMin0Max4096 = string;
|
2419
2420
|
export type __stringMin10Max512 = string;
|
2420
2421
|
export type __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093 = string;
|
2421
2422
|
/**
|
@@ -157,6 +157,10 @@ declare namespace DLM {
|
|
157
157
|
* The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see Cron expressions in the Amazon CloudWatch User Guide.
|
158
158
|
*/
|
159
159
|
CronExpression?: CronExpression;
|
160
|
+
/**
|
161
|
+
* [Snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot lifecycle policy that targets instances. This is useful for creating application-consistent snapshots, or for performing specific administrative tasks before or after Amazon Data Lifecycle Manager initiates snapshot creation. For more information, see Automating application-consistent snapshots with pre and post scripts.
|
162
|
+
*/
|
163
|
+
Scripts?: ScriptsList;
|
160
164
|
}
|
161
165
|
export type CronExpression = string;
|
162
166
|
export interface CrossRegionCopyAction {
|
@@ -193,11 +197,11 @@ declare namespace DLM {
|
|
193
197
|
}
|
194
198
|
export interface CrossRegionCopyRule {
|
195
199
|
/**
|
196
|
-
*
|
200
|
+
* Use this parameter for AMI policies only. For snapshot policies, use Target instead. For snapshot policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies. [AMI policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
|
197
201
|
*/
|
198
202
|
TargetRegion?: TargetRegion;
|
199
203
|
/**
|
200
|
-
* The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
|
204
|
+
* Use this parameter for snapshot policies only. For AMI policies, use TargetRegion instead. [Snapshot policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
|
201
205
|
*/
|
202
206
|
Target?: Target;
|
203
207
|
/**
|
@@ -284,6 +288,9 @@ declare namespace DLM {
|
|
284
288
|
export type EventTypeValues = "shareSnapshot"|string;
|
285
289
|
export type ExcludeBootVolume = boolean;
|
286
290
|
export type ExcludeDataVolumeTagList = Tag[];
|
291
|
+
export type ExecuteOperationOnScriptFailure = boolean;
|
292
|
+
export type ExecutionHandler = string;
|
293
|
+
export type ExecutionHandlerServiceValues = "AWS_SYSTEMS_MANAGER"|string;
|
287
294
|
export type ExecutionRoleArn = string;
|
288
295
|
export interface FastRestoreRule {
|
289
296
|
/**
|
@@ -559,6 +566,35 @@ declare namespace DLM {
|
|
559
566
|
}
|
560
567
|
export type ScheduleList = Schedule[];
|
561
568
|
export type ScheduleName = string;
|
569
|
+
export interface Script {
|
570
|
+
/**
|
571
|
+
* Indicate which scripts Amazon Data Lifecycle Manager should run on target instances. Pre scripts run before Amazon Data Lifecycle Manager initiates snapshot creation. Post scripts run after Amazon Data Lifecycle Manager initiates snapshot creation. To run a pre script only, specify PRE. In this case, Amazon Data Lifecycle Manager calls the SSM document with the pre-script parameter before initiating snapshot creation. To run a post script only, specify POST. In this case, Amazon Data Lifecycle Manager calls the SSM document with the post-script parameter after initiating snapshot creation. To run both pre and post scripts, specify both PRE and POST. In this case, Amazon Data Lifecycle Manager calls the SSM document with the pre-script parameter before initiating snapshot creation, and then it calls the SSM document again with the post-script parameter after initiating snapshot creation. If you are automating VSS Backups, omit this parameter. Default: PRE and POST
|
572
|
+
*/
|
573
|
+
Stages?: StagesList;
|
574
|
+
/**
|
575
|
+
* Indicates the service used to execute the pre and/or post scripts. If you are using custom SSM documents, specify AWS_SYSTEMS_MANAGER. If you are automating VSS Backups, omit this parameter. Default: AWS_SYSTEMS_MANAGER
|
576
|
+
*/
|
577
|
+
ExecutionHandlerService?: ExecutionHandlerServiceValues;
|
578
|
+
/**
|
579
|
+
* The SSM document that includes the pre and/or post scripts to run. If you are automating VSS backups, specify AWS_VSS_BACKUP. In this case, Amazon Data Lifecycle Manager automatically uses the AWSEC2-CreateVssSnapshot SSM document. If you are using a custom SSM document that you own, specify either the name or ARN of the SSM document. If you are using a custom SSM document that is shared with you, specify the ARN of the SSM document.
|
580
|
+
*/
|
581
|
+
ExecutionHandler: ExecutionHandler;
|
582
|
+
/**
|
583
|
+
* Indicates whether Amazon Data Lifecycle Manager should default to crash-consistent snapshots if the pre script fails. To default to crash consistent snapshot if the pre script fails, specify true. To skip the instance for snapshot creation if the pre script fails, specify false. This parameter is supported only if you run a pre script. If you run a post script only, omit this parameter. Default: true
|
584
|
+
*/
|
585
|
+
ExecuteOperationOnScriptFailure?: ExecuteOperationOnScriptFailure;
|
586
|
+
/**
|
587
|
+
* Specifies a timeout period, in seconds, after which Amazon Data Lifecycle Manager fails the script run attempt if it has not completed. If a script does not complete within its timeout period, Amazon Data Lifecycle Manager fails the attempt. The timeout period applies to the pre and post scripts individually. If you are automating VSS Backups, omit this parameter. Default: 10
|
588
|
+
*/
|
589
|
+
ExecutionTimeout?: ScriptExecutionTimeout;
|
590
|
+
/**
|
591
|
+
* Specifies the number of times Amazon Data Lifecycle Manager should retry scripts that fail. If the pre script fails, Amazon Data Lifecycle Manager retries the entire snapshot creation process, including running the pre and post scripts. If the post script fails, Amazon Data Lifecycle Manager retries the post script only; in this case, the pre script will have completed and the snapshot might have been created. If you do not want Amazon Data Lifecycle Manager to retry failed scripts, specify 0. Default: 0
|
592
|
+
*/
|
593
|
+
MaximumRetryCount?: ScriptMaximumRetryCount;
|
594
|
+
}
|
595
|
+
export type ScriptExecutionTimeout = number;
|
596
|
+
export type ScriptMaximumRetryCount = number;
|
597
|
+
export type ScriptsList = Script[];
|
562
598
|
export type SettablePolicyStateValues = "ENABLED"|"DISABLED"|string;
|
563
599
|
export interface ShareRule {
|
564
600
|
/**
|
@@ -577,6 +613,8 @@ declare namespace DLM {
|
|
577
613
|
export type ShareRules = ShareRule[];
|
578
614
|
export type ShareTargetAccountList = AwsAccountId[];
|
579
615
|
export type SnapshotOwnerList = AwsAccountId[];
|
616
|
+
export type StageValues = "PRE"|"POST"|string;
|
617
|
+
export type StagesList = StageValues[];
|
580
618
|
export type StandardTierRetainRuleCount = number;
|
581
619
|
export type StandardTierRetainRuleInterval = number;
|
582
620
|
export type StatusMessage = string;
|