@aws-sdk/client-synthetics 3.686.0 → 3.691.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 +9 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreateCanaryCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCanaryCommand.d.ts +3 -3
- package/dist-types/commands/DescribeCanariesCommand.d.ts +1 -0
- package/dist-types/commands/GetCanaryCommand.d.ts +1 -0
- package/dist-types/commands/UpdateCanaryCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +189 -145
- package/dist-types/ts3.4/models/models_0.d.ts +152 -143
- package/package.json +7 -7
|
@@ -30,14 +30,14 @@ export interface S3EncryptionConfig {
|
|
|
30
30
|
* </p>
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
|
-
EncryptionMode?: EncryptionMode;
|
|
33
|
+
EncryptionMode?: EncryptionMode | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* <p>The ARN of the customer-managed KMS key to use, if you specify <code>SSE-KMS</code>
|
|
36
36
|
* for <code>EncryptionMode</code>
|
|
37
37
|
* </p>
|
|
38
38
|
* @public
|
|
39
39
|
*/
|
|
40
|
-
KmsKeyArn?: string;
|
|
40
|
+
KmsKeyArn?: string | undefined;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* <p>A structure that contains the configuration for canary artifacts, including the
|
|
@@ -54,7 +54,7 @@ export interface ArtifactConfigInput {
|
|
|
54
54
|
* </p>
|
|
55
55
|
* @public
|
|
56
56
|
*/
|
|
57
|
-
S3Encryption?: S3EncryptionConfig;
|
|
57
|
+
S3Encryption?: S3EncryptionConfig | undefined;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* <p>A structure that contains the configuration for canary artifacts, including
|
|
@@ -66,7 +66,7 @@ export interface ArtifactConfigOutput {
|
|
|
66
66
|
* <p>A structure that contains the configuration of encryption settings for canary artifacts that are stored in Amazon S3. </p>
|
|
67
67
|
* @public
|
|
68
68
|
*/
|
|
69
|
-
S3Encryption?: S3EncryptionConfig;
|
|
69
|
+
S3Encryption?: S3EncryptionConfig | undefined;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* @public
|
|
@@ -96,7 +96,7 @@ export interface AssociateResourceResponse {
|
|
|
96
96
|
export declare class ConflictException extends __BaseException {
|
|
97
97
|
readonly name: "ConflictException";
|
|
98
98
|
readonly $fault: "client";
|
|
99
|
-
Message?: string;
|
|
99
|
+
Message?: string | undefined;
|
|
100
100
|
/**
|
|
101
101
|
* @internal
|
|
102
102
|
*/
|
|
@@ -109,7 +109,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
109
109
|
export declare class InternalServerException extends __BaseException {
|
|
110
110
|
readonly name: "InternalServerException";
|
|
111
111
|
readonly $fault: "server";
|
|
112
|
-
Message?: string;
|
|
112
|
+
Message?: string | undefined;
|
|
113
113
|
/**
|
|
114
114
|
* @internal
|
|
115
115
|
*/
|
|
@@ -122,7 +122,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
122
122
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
123
123
|
readonly name: "ResourceNotFoundException";
|
|
124
124
|
readonly $fault: "client";
|
|
125
|
-
Message?: string;
|
|
125
|
+
Message?: string | undefined;
|
|
126
126
|
/**
|
|
127
127
|
* @internal
|
|
128
128
|
*/
|
|
@@ -135,7 +135,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
135
135
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
136
136
|
readonly name: "ServiceQuotaExceededException";
|
|
137
137
|
readonly $fault: "client";
|
|
138
|
-
Message?: string;
|
|
138
|
+
Message?: string | undefined;
|
|
139
139
|
/**
|
|
140
140
|
* @internal
|
|
141
141
|
*/
|
|
@@ -148,7 +148,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
148
148
|
export declare class ValidationException extends __BaseException {
|
|
149
149
|
readonly name: "ValidationException";
|
|
150
150
|
readonly $fault: "client";
|
|
151
|
-
Message?: string;
|
|
151
|
+
Message?: string | undefined;
|
|
152
152
|
/**
|
|
153
153
|
* @internal
|
|
154
154
|
*/
|
|
@@ -161,7 +161,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
161
161
|
export declare class BadRequestException extends __BaseException {
|
|
162
162
|
readonly name: "BadRequestException";
|
|
163
163
|
readonly $fault: "client";
|
|
164
|
-
Message?: string;
|
|
164
|
+
Message?: string | undefined;
|
|
165
165
|
/**
|
|
166
166
|
* @internal
|
|
167
167
|
*/
|
|
@@ -187,7 +187,7 @@ export interface BaseScreenshot {
|
|
|
187
187
|
* </p>
|
|
188
188
|
* @public
|
|
189
189
|
*/
|
|
190
|
-
IgnoreCoordinates?: string[];
|
|
190
|
+
IgnoreCoordinates?: string[] | undefined;
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
193
|
* <p>This structure contains information about the canary's Lambda handler and
|
|
@@ -199,13 +199,25 @@ export interface CanaryCodeOutput {
|
|
|
199
199
|
* <p>The ARN of the Lambda layer where Synthetics stores the canary script code.</p>
|
|
200
200
|
* @public
|
|
201
201
|
*/
|
|
202
|
-
SourceLocationArn?: string;
|
|
202
|
+
SourceLocationArn?: string | undefined;
|
|
203
203
|
/**
|
|
204
204
|
* <p>The entry point to use for the source code when running the canary.</p>
|
|
205
205
|
* @public
|
|
206
206
|
*/
|
|
207
|
-
Handler?: string;
|
|
207
|
+
Handler?: string | undefined;
|
|
208
208
|
}
|
|
209
|
+
/**
|
|
210
|
+
* @public
|
|
211
|
+
* @enum
|
|
212
|
+
*/
|
|
213
|
+
export declare const ProvisionedResourceCleanupSetting: {
|
|
214
|
+
readonly AUTOMATIC: "AUTOMATIC";
|
|
215
|
+
readonly OFF: "OFF";
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export type ProvisionedResourceCleanupSetting = (typeof ProvisionedResourceCleanupSetting)[keyof typeof ProvisionedResourceCleanupSetting];
|
|
209
221
|
/**
|
|
210
222
|
* <p>A structure that contains information about a canary run.</p>
|
|
211
223
|
* @public
|
|
@@ -215,18 +227,18 @@ export interface CanaryRunConfigOutput {
|
|
|
215
227
|
* <p>How long the canary is allowed to run before it must stop.</p>
|
|
216
228
|
* @public
|
|
217
229
|
*/
|
|
218
|
-
TimeoutInSeconds?: number;
|
|
230
|
+
TimeoutInSeconds?: number | undefined;
|
|
219
231
|
/**
|
|
220
232
|
* <p>The maximum amount of memory available to the canary while it is running, in MB. This value
|
|
221
233
|
* must be a multiple of 64.</p>
|
|
222
234
|
* @public
|
|
223
235
|
*/
|
|
224
|
-
MemoryInMB?: number;
|
|
236
|
+
MemoryInMB?: number | undefined;
|
|
225
237
|
/**
|
|
226
238
|
* <p>Displays whether this canary run used active X-Ray tracing. </p>
|
|
227
239
|
* @public
|
|
228
240
|
*/
|
|
229
|
-
ActiveTracing?: boolean;
|
|
241
|
+
ActiveTracing?: boolean | undefined;
|
|
230
242
|
}
|
|
231
243
|
/**
|
|
232
244
|
* <p>How long, in seconds, for the canary to continue making regular runs according to the schedule in the
|
|
@@ -251,14 +263,14 @@ export interface CanaryScheduleOutput {
|
|
|
251
263
|
* Scheduling canary runs using cron</a>.</p>
|
|
252
264
|
* @public
|
|
253
265
|
*/
|
|
254
|
-
Expression?: string;
|
|
266
|
+
Expression?: string | undefined;
|
|
255
267
|
/**
|
|
256
268
|
* <p>How long, in seconds, for the canary to continue making regular runs after it
|
|
257
269
|
* was created. The runs are performed according to the schedule in the
|
|
258
270
|
* <code>Expression</code> value.</p>
|
|
259
271
|
* @public
|
|
260
272
|
*/
|
|
261
|
-
DurationInSeconds?: number;
|
|
273
|
+
DurationInSeconds?: number | undefined;
|
|
262
274
|
}
|
|
263
275
|
/**
|
|
264
276
|
* @public
|
|
@@ -310,17 +322,17 @@ export interface CanaryStatus {
|
|
|
310
322
|
* <p>The current state of the canary.</p>
|
|
311
323
|
* @public
|
|
312
324
|
*/
|
|
313
|
-
State?: CanaryState;
|
|
325
|
+
State?: CanaryState | undefined;
|
|
314
326
|
/**
|
|
315
327
|
* <p>If the canary has insufficient permissions to run, this field provides more details.</p>
|
|
316
328
|
* @public
|
|
317
329
|
*/
|
|
318
|
-
StateReason?: string;
|
|
330
|
+
StateReason?: string | undefined;
|
|
319
331
|
/**
|
|
320
332
|
* <p>If the canary cannot run or has failed, this field displays the reason.</p>
|
|
321
333
|
* @public
|
|
322
334
|
*/
|
|
323
|
-
StateReasonCode?: CanaryStateReasonCode;
|
|
335
|
+
StateReasonCode?: CanaryStateReasonCode | undefined;
|
|
324
336
|
}
|
|
325
337
|
/**
|
|
326
338
|
* <p>This structure contains information about when the canary was created and modified.</p>
|
|
@@ -331,22 +343,22 @@ export interface CanaryTimeline {
|
|
|
331
343
|
* <p>The date and time the canary was created.</p>
|
|
332
344
|
* @public
|
|
333
345
|
*/
|
|
334
|
-
Created?: Date;
|
|
346
|
+
Created?: Date | undefined;
|
|
335
347
|
/**
|
|
336
348
|
* <p>The date and time the canary was most recently modified.</p>
|
|
337
349
|
* @public
|
|
338
350
|
*/
|
|
339
|
-
LastModified?: Date;
|
|
351
|
+
LastModified?: Date | undefined;
|
|
340
352
|
/**
|
|
341
353
|
* <p>The date and time that the canary's most recent run started.</p>
|
|
342
354
|
* @public
|
|
343
355
|
*/
|
|
344
|
-
LastStarted?: Date;
|
|
356
|
+
LastStarted?: Date | undefined;
|
|
345
357
|
/**
|
|
346
358
|
* <p>The date and time that the canary's most recent run ended.</p>
|
|
347
359
|
* @public
|
|
348
360
|
*/
|
|
349
|
-
LastStopped?: Date;
|
|
361
|
+
LastStopped?: Date | undefined;
|
|
350
362
|
}
|
|
351
363
|
/**
|
|
352
364
|
* <p>If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run that is used as the baseline for screenshots, and the coordinates
|
|
@@ -359,13 +371,13 @@ export interface VisualReferenceOutput {
|
|
|
359
371
|
* <p>An array of screenshots that are used as the baseline for comparisons during visual monitoring.</p>
|
|
360
372
|
* @public
|
|
361
373
|
*/
|
|
362
|
-
BaseScreenshots?: BaseScreenshot[];
|
|
374
|
+
BaseScreenshots?: BaseScreenshot[] | undefined;
|
|
363
375
|
/**
|
|
364
376
|
* <p>The ID of the canary run that produced the baseline screenshots
|
|
365
377
|
* that are used for visual monitoring comparisons by this canary.</p>
|
|
366
378
|
* @public
|
|
367
379
|
*/
|
|
368
|
-
BaseCanaryRunId?: string;
|
|
380
|
+
BaseCanaryRunId?: string | undefined;
|
|
369
381
|
}
|
|
370
382
|
/**
|
|
371
383
|
* <p>If this canary is to test an endpoint in a VPC, this structure contains
|
|
@@ -379,17 +391,17 @@ export interface VpcConfigOutput {
|
|
|
379
391
|
* <p>The IDs of the VPC where this canary is to run.</p>
|
|
380
392
|
* @public
|
|
381
393
|
*/
|
|
382
|
-
VpcId?: string;
|
|
394
|
+
VpcId?: string | undefined;
|
|
383
395
|
/**
|
|
384
396
|
* <p>The IDs of the subnets where this canary is to run.</p>
|
|
385
397
|
* @public
|
|
386
398
|
*/
|
|
387
|
-
SubnetIds?: string[];
|
|
399
|
+
SubnetIds?: string[] | undefined;
|
|
388
400
|
/**
|
|
389
401
|
* <p>The IDs of the security groups for this canary.</p>
|
|
390
402
|
* @public
|
|
391
403
|
*/
|
|
392
|
-
SecurityGroupIds?: string[];
|
|
404
|
+
SecurityGroupIds?: string[] | undefined;
|
|
393
405
|
}
|
|
394
406
|
/**
|
|
395
407
|
* <p>This structure contains all information about one canary in your account.</p>
|
|
@@ -400,75 +412,75 @@ export interface Canary {
|
|
|
400
412
|
* <p>The unique ID of this canary.</p>
|
|
401
413
|
* @public
|
|
402
414
|
*/
|
|
403
|
-
Id?: string;
|
|
415
|
+
Id?: string | undefined;
|
|
404
416
|
/**
|
|
405
417
|
* <p>The name of the canary.</p>
|
|
406
418
|
* @public
|
|
407
419
|
*/
|
|
408
|
-
Name?: string;
|
|
420
|
+
Name?: string | undefined;
|
|
409
421
|
/**
|
|
410
422
|
* <p>This structure contains information about the canary's Lambda handler and
|
|
411
423
|
* where its code is stored by CloudWatch Synthetics.</p>
|
|
412
424
|
* @public
|
|
413
425
|
*/
|
|
414
|
-
Code?: CanaryCodeOutput;
|
|
426
|
+
Code?: CanaryCodeOutput | undefined;
|
|
415
427
|
/**
|
|
416
428
|
* <p>The ARN of the IAM role used to run the canary. This role must include <code>lambda.amazonaws.com</code> as a principal in the trust
|
|
417
429
|
* policy.</p>
|
|
418
430
|
* @public
|
|
419
431
|
*/
|
|
420
|
-
ExecutionRoleArn?: string;
|
|
432
|
+
ExecutionRoleArn?: string | undefined;
|
|
421
433
|
/**
|
|
422
434
|
* <p>A structure that contains information about how often the canary is to run, and when
|
|
423
435
|
* these runs are to stop.</p>
|
|
424
436
|
* @public
|
|
425
437
|
*/
|
|
426
|
-
Schedule?: CanaryScheduleOutput;
|
|
438
|
+
Schedule?: CanaryScheduleOutput | undefined;
|
|
427
439
|
/**
|
|
428
440
|
* <p>A structure that contains information about a canary run.</p>
|
|
429
441
|
* @public
|
|
430
442
|
*/
|
|
431
|
-
RunConfig?: CanaryRunConfigOutput;
|
|
443
|
+
RunConfig?: CanaryRunConfigOutput | undefined;
|
|
432
444
|
/**
|
|
433
445
|
* <p>The number of days to retain data about successful runs of this canary.</p>
|
|
434
446
|
* @public
|
|
435
447
|
*/
|
|
436
|
-
SuccessRetentionPeriodInDays?: number;
|
|
448
|
+
SuccessRetentionPeriodInDays?: number | undefined;
|
|
437
449
|
/**
|
|
438
450
|
* <p>The number of days to retain data about failed runs of this canary.</p>
|
|
439
451
|
* @public
|
|
440
452
|
*/
|
|
441
|
-
FailureRetentionPeriodInDays?: number;
|
|
453
|
+
FailureRetentionPeriodInDays?: number | undefined;
|
|
442
454
|
/**
|
|
443
455
|
* <p>A structure that contains information about the canary's status.</p>
|
|
444
456
|
* @public
|
|
445
457
|
*/
|
|
446
|
-
Status?: CanaryStatus;
|
|
458
|
+
Status?: CanaryStatus | undefined;
|
|
447
459
|
/**
|
|
448
460
|
* <p>A structure that contains information about when the canary was created, modified, and
|
|
449
461
|
* most recently run.</p>
|
|
450
462
|
* @public
|
|
451
463
|
*/
|
|
452
|
-
Timeline?: CanaryTimeline;
|
|
464
|
+
Timeline?: CanaryTimeline | undefined;
|
|
453
465
|
/**
|
|
454
466
|
* <p>The location in Amazon S3 where Synthetics stores artifacts from the runs of this
|
|
455
467
|
* canary. Artifacts include the log file, screenshots, and HAR files.</p>
|
|
456
468
|
* @public
|
|
457
469
|
*/
|
|
458
|
-
ArtifactS3Location?: string;
|
|
470
|
+
ArtifactS3Location?: string | undefined;
|
|
459
471
|
/**
|
|
460
472
|
* <p>The ARN of the Lambda function that is used as your canary's engine. For more information
|
|
461
473
|
* about Lambda ARN format, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-api-permissions-ref.html">Resources and Conditions for Lambda Actions</a>.</p>
|
|
462
474
|
* @public
|
|
463
475
|
*/
|
|
464
|
-
EngineArn?: string;
|
|
476
|
+
EngineArn?: string | undefined;
|
|
465
477
|
/**
|
|
466
478
|
* <p>Specifies the runtime version to use for the canary. For more information about
|
|
467
479
|
* runtime versions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html">
|
|
468
480
|
* Canary Runtime Versions</a>.</p>
|
|
469
481
|
* @public
|
|
470
482
|
*/
|
|
471
|
-
RuntimeVersion?: string;
|
|
483
|
+
RuntimeVersion?: string | undefined;
|
|
472
484
|
/**
|
|
473
485
|
* <p>If this canary is to test an endpoint in a VPC, this structure contains
|
|
474
486
|
* information about the subnets and security groups of the VPC endpoint.
|
|
@@ -476,24 +488,34 @@ export interface Canary {
|
|
|
476
488
|
* Running a Canary in a VPC</a>.</p>
|
|
477
489
|
* @public
|
|
478
490
|
*/
|
|
479
|
-
VpcConfig?: VpcConfigOutput;
|
|
491
|
+
VpcConfig?: VpcConfigOutput | undefined;
|
|
480
492
|
/**
|
|
481
493
|
* <p>If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates
|
|
482
494
|
* of any parts of the screen to ignore during the visual monitoring comparison.</p>
|
|
483
495
|
* @public
|
|
484
496
|
*/
|
|
485
|
-
VisualReference?: VisualReferenceOutput;
|
|
497
|
+
VisualReference?: VisualReferenceOutput | undefined;
|
|
498
|
+
/**
|
|
499
|
+
* <p>Specifies whether to also delete the Lambda functions and layers used by this canary
|
|
500
|
+
* when the canary is deleted. If it is <code>AUTOMATIC</code>, the Lambda functions and layers will be deleted
|
|
501
|
+
* when the canary is deleted.</p>
|
|
502
|
+
* <p>If the value of this parameter is <code>OFF</code>, then the value of the <code>DeleteLambda</code> parameter
|
|
503
|
+
* of the <a href="https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html">DeleteCanary</a> operation
|
|
504
|
+
* determines whether the Lambda functions and layers will be deleted.</p>
|
|
505
|
+
* @public
|
|
506
|
+
*/
|
|
507
|
+
ProvisionedResourceCleanup?: ProvisionedResourceCleanupSetting | undefined;
|
|
486
508
|
/**
|
|
487
509
|
* <p>The list of key-value pairs that are associated with the canary.</p>
|
|
488
510
|
* @public
|
|
489
511
|
*/
|
|
490
|
-
Tags?: Record<string, string
|
|
512
|
+
Tags?: Record<string, string> | undefined;
|
|
491
513
|
/**
|
|
492
514
|
* <p>A structure that contains the configuration for canary artifacts, including
|
|
493
515
|
* the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.</p>
|
|
494
516
|
* @public
|
|
495
517
|
*/
|
|
496
|
-
ArtifactConfig?: ArtifactConfigOutput;
|
|
518
|
+
ArtifactConfig?: ArtifactConfigOutput | undefined;
|
|
497
519
|
}
|
|
498
520
|
/**
|
|
499
521
|
* @public
|
|
@@ -529,19 +551,19 @@ export interface CanaryRunStatus {
|
|
|
529
551
|
* <p>The current state of the run.</p>
|
|
530
552
|
* @public
|
|
531
553
|
*/
|
|
532
|
-
State?: CanaryRunState;
|
|
554
|
+
State?: CanaryRunState | undefined;
|
|
533
555
|
/**
|
|
534
556
|
* <p>If run of the canary failed, this field contains the reason for the error.</p>
|
|
535
557
|
* @public
|
|
536
558
|
*/
|
|
537
|
-
StateReason?: string;
|
|
559
|
+
StateReason?: string | undefined;
|
|
538
560
|
/**
|
|
539
561
|
* <p>If this value is <code>CANARY_FAILURE</code>, an exception occurred in the
|
|
540
562
|
* canary code. If this value is <code>EXECUTION_FAILURE</code>, an exception occurred in
|
|
541
563
|
* CloudWatch Synthetics.</p>
|
|
542
564
|
* @public
|
|
543
565
|
*/
|
|
544
|
-
StateReasonCode?: CanaryRunStateReasonCode;
|
|
566
|
+
StateReasonCode?: CanaryRunStateReasonCode | undefined;
|
|
545
567
|
}
|
|
546
568
|
/**
|
|
547
569
|
* <p>This structure contains the start and end times of a single canary run.</p>
|
|
@@ -552,12 +574,12 @@ export interface CanaryRunTimeline {
|
|
|
552
574
|
* <p>The start time of the run.</p>
|
|
553
575
|
* @public
|
|
554
576
|
*/
|
|
555
|
-
Started?: Date;
|
|
577
|
+
Started?: Date | undefined;
|
|
556
578
|
/**
|
|
557
579
|
* <p>The end time of the run.</p>
|
|
558
580
|
* @public
|
|
559
581
|
*/
|
|
560
|
-
Completed?: Date;
|
|
582
|
+
Completed?: Date | undefined;
|
|
561
583
|
}
|
|
562
584
|
/**
|
|
563
585
|
* <p>This structure contains the details about one run of one canary.</p>
|
|
@@ -568,28 +590,28 @@ export interface CanaryRun {
|
|
|
568
590
|
* <p>A unique ID that identifies this canary run.</p>
|
|
569
591
|
* @public
|
|
570
592
|
*/
|
|
571
|
-
Id?: string;
|
|
593
|
+
Id?: string | undefined;
|
|
572
594
|
/**
|
|
573
595
|
* <p>The name of the canary.</p>
|
|
574
596
|
* @public
|
|
575
597
|
*/
|
|
576
|
-
Name?: string;
|
|
598
|
+
Name?: string | undefined;
|
|
577
599
|
/**
|
|
578
600
|
* <p>The status of this run.</p>
|
|
579
601
|
* @public
|
|
580
602
|
*/
|
|
581
|
-
Status?: CanaryRunStatus;
|
|
603
|
+
Status?: CanaryRunStatus | undefined;
|
|
582
604
|
/**
|
|
583
605
|
* <p>A structure that contains the start and end times of this run.</p>
|
|
584
606
|
* @public
|
|
585
607
|
*/
|
|
586
|
-
Timeline?: CanaryRunTimeline;
|
|
608
|
+
Timeline?: CanaryRunTimeline | undefined;
|
|
587
609
|
/**
|
|
588
610
|
* <p>The location where the canary stored artifacts from the run. Artifacts include
|
|
589
611
|
* the log file, screenshots, and HAR files.</p>
|
|
590
612
|
* @public
|
|
591
613
|
*/
|
|
592
|
-
ArtifactS3Location?: string;
|
|
614
|
+
ArtifactS3Location?: string | undefined;
|
|
593
615
|
}
|
|
594
616
|
/**
|
|
595
617
|
* <p>This structure contains information about the most recent run of a single canary.</p>
|
|
@@ -600,12 +622,12 @@ export interface CanaryLastRun {
|
|
|
600
622
|
* <p>The name of the canary.</p>
|
|
601
623
|
* @public
|
|
602
624
|
*/
|
|
603
|
-
CanaryName?: string;
|
|
625
|
+
CanaryName?: string | undefined;
|
|
604
626
|
/**
|
|
605
627
|
* <p>The results from this canary's most recent run.</p>
|
|
606
628
|
* @public
|
|
607
629
|
*/
|
|
608
|
-
LastRun?: CanaryRun;
|
|
630
|
+
LastRun?: CanaryRun | undefined;
|
|
609
631
|
}
|
|
610
632
|
/**
|
|
611
633
|
* <p>Use this structure to input your script code for the canary. This structure contains the
|
|
@@ -638,17 +660,17 @@ export interface CanaryCodeInput {
|
|
|
638
660
|
* start of the bucket name.</p>
|
|
639
661
|
* @public
|
|
640
662
|
*/
|
|
641
|
-
S3Bucket?: string;
|
|
663
|
+
S3Bucket?: string | undefined;
|
|
642
664
|
/**
|
|
643
665
|
* <p>The S3 key of your script. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingObjects.html">Working with Amazon S3 Objects</a>.</p>
|
|
644
666
|
* @public
|
|
645
667
|
*/
|
|
646
|
-
S3Key?: string;
|
|
668
|
+
S3Key?: string | undefined;
|
|
647
669
|
/**
|
|
648
670
|
* <p>The S3 version ID of your script.</p>
|
|
649
671
|
* @public
|
|
650
672
|
*/
|
|
651
|
-
S3Version?: string;
|
|
673
|
+
S3Version?: string | undefined;
|
|
652
674
|
/**
|
|
653
675
|
* <p>If you input your canary script directly into the canary instead of referring to an S3
|
|
654
676
|
* location, the value of this parameter is the base64-encoded contents of the .zip file that
|
|
@@ -657,7 +679,7 @@ export interface CanaryCodeInput {
|
|
|
657
679
|
* directly with this parameter.</p>
|
|
658
680
|
* @public
|
|
659
681
|
*/
|
|
660
|
-
ZipFile?: Uint8Array;
|
|
682
|
+
ZipFile?: Uint8Array | undefined;
|
|
661
683
|
/**
|
|
662
684
|
* <p>The entry point to use for the source code when running the canary. For canaries that use the
|
|
663
685
|
* <code>syn-python-selenium-1.0</code> runtime
|
|
@@ -688,12 +710,12 @@ export interface CanaryRunConfigInput {
|
|
|
688
710
|
* frequency of the canary is used as this value, up to a maximum of 14 minutes.</p>
|
|
689
711
|
* @public
|
|
690
712
|
*/
|
|
691
|
-
TimeoutInSeconds?: number;
|
|
713
|
+
TimeoutInSeconds?: number | undefined;
|
|
692
714
|
/**
|
|
693
715
|
* <p>The maximum amount of memory available to the canary while it is running, in MB. This value must be a multiple of 64.</p>
|
|
694
716
|
* @public
|
|
695
717
|
*/
|
|
696
|
-
MemoryInMB?: number;
|
|
718
|
+
MemoryInMB?: number | undefined;
|
|
697
719
|
/**
|
|
698
720
|
* <p>Specifies whether this canary is to use active X-Ray tracing when it runs. Active tracing
|
|
699
721
|
* enables
|
|
@@ -705,7 +727,7 @@ export interface CanaryRunConfigInput {
|
|
|
705
727
|
* or later for their canary runtime.</p>
|
|
706
728
|
* @public
|
|
707
729
|
*/
|
|
708
|
-
ActiveTracing?: boolean;
|
|
730
|
+
ActiveTracing?: boolean | undefined;
|
|
709
731
|
/**
|
|
710
732
|
* <p>Specifies the keys and values to use for any environment variables
|
|
711
733
|
* used in the canary script. Use the following format:</p>
|
|
@@ -721,7 +743,7 @@ export interface CanaryRunConfigInput {
|
|
|
721
743
|
* </important>
|
|
722
744
|
* @public
|
|
723
745
|
*/
|
|
724
|
-
EnvironmentVariables?: Record<string, string
|
|
746
|
+
EnvironmentVariables?: Record<string, string> | undefined;
|
|
725
747
|
}
|
|
726
748
|
/**
|
|
727
749
|
* <p>This structure specifies how often a canary is to make runs and the date and time
|
|
@@ -753,7 +775,7 @@ export interface CanaryScheduleInput {
|
|
|
753
775
|
* making runs until you stop it. If you omit this field, the default of 0 is used.</p>
|
|
754
776
|
* @public
|
|
755
777
|
*/
|
|
756
|
-
DurationInSeconds?: number;
|
|
778
|
+
DurationInSeconds?: number | undefined;
|
|
757
779
|
}
|
|
758
780
|
/**
|
|
759
781
|
* @public
|
|
@@ -778,12 +800,12 @@ export interface VpcConfigInput {
|
|
|
778
800
|
* <p>The IDs of the subnets where this canary is to run.</p>
|
|
779
801
|
* @public
|
|
780
802
|
*/
|
|
781
|
-
SubnetIds?: string[];
|
|
803
|
+
SubnetIds?: string[] | undefined;
|
|
782
804
|
/**
|
|
783
805
|
* <p>The IDs of the security groups for this canary.</p>
|
|
784
806
|
* @public
|
|
785
807
|
*/
|
|
786
|
-
SecurityGroupIds?: string[];
|
|
808
|
+
SecurityGroupIds?: string[] | undefined;
|
|
787
809
|
}
|
|
788
810
|
/**
|
|
789
811
|
* @public
|
|
@@ -873,19 +895,19 @@ export interface CreateCanaryRequest {
|
|
|
873
895
|
* </important>
|
|
874
896
|
* @public
|
|
875
897
|
*/
|
|
876
|
-
RunConfig?: CanaryRunConfigInput;
|
|
898
|
+
RunConfig?: CanaryRunConfigInput | undefined;
|
|
877
899
|
/**
|
|
878
900
|
* <p>The number of days to retain data about successful runs of this canary. If you omit
|
|
879
901
|
* this field, the default of 31 days is used. The valid range is 1 to 455 days.</p>
|
|
880
902
|
* @public
|
|
881
903
|
*/
|
|
882
|
-
SuccessRetentionPeriodInDays?: number;
|
|
904
|
+
SuccessRetentionPeriodInDays?: number | undefined;
|
|
883
905
|
/**
|
|
884
906
|
* <p>The number of days to retain data about failed runs of this canary. If you omit
|
|
885
907
|
* this field, the default of 31 days is used. The valid range is 1 to 455 days.</p>
|
|
886
908
|
* @public
|
|
887
909
|
*/
|
|
888
|
-
FailureRetentionPeriodInDays?: number;
|
|
910
|
+
FailureRetentionPeriodInDays?: number | undefined;
|
|
889
911
|
/**
|
|
890
912
|
* <p>Specifies the runtime version to use for the canary. For a list of valid
|
|
891
913
|
* runtime versions and more information about
|
|
@@ -901,15 +923,25 @@ export interface CreateCanaryRequest {
|
|
|
901
923
|
* Running a Canary in a VPC</a>.</p>
|
|
902
924
|
* @public
|
|
903
925
|
*/
|
|
904
|
-
VpcConfig?: VpcConfigInput;
|
|
926
|
+
VpcConfig?: VpcConfigInput | undefined;
|
|
905
927
|
/**
|
|
906
928
|
* <p>To have the tags that you apply to this canary also be applied to the Lambda function that
|
|
907
929
|
* the canary uses, specify this parameter with the value <code>lambda-function</code>.</p>
|
|
908
930
|
* <p>If you specify this parameter and don't specify any tags in the <code>Tags</code>
|
|
909
|
-
*
|
|
931
|
+
* parameter, the canary creation fails.</p>
|
|
932
|
+
* @public
|
|
933
|
+
*/
|
|
934
|
+
ResourcesToReplicateTags?: ResourceToTag[] | undefined;
|
|
935
|
+
/**
|
|
936
|
+
* <p>Specifies whether to also delete the Lambda functions and layers used by this canary
|
|
937
|
+
* when the canary is deleted. If you omit this parameter, the default of <code>AUTOMATIC</code> is used, which means
|
|
938
|
+
* that the Lambda functions and layers will be deleted when the canary is deleted.</p>
|
|
939
|
+
* <p>If the value of this parameter is <code>OFF</code>, then the value of the <code>DeleteLambda</code> parameter
|
|
940
|
+
* of the <a href="https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html">DeleteCanary</a> operation
|
|
941
|
+
* determines whether the Lambda functions and layers will be deleted.</p>
|
|
910
942
|
* @public
|
|
911
943
|
*/
|
|
912
|
-
|
|
944
|
+
ProvisionedResourceCleanup?: ProvisionedResourceCleanupSetting | undefined;
|
|
913
945
|
/**
|
|
914
946
|
* <p>A list of key-value pairs to associate with the canary.
|
|
915
947
|
* You can associate as many as 50 tags with a canary.</p>
|
|
@@ -921,13 +953,13 @@ export interface CreateCanaryRequest {
|
|
|
921
953
|
* the canary uses, specify this parameter with the value <code>lambda-function</code>.</p>
|
|
922
954
|
* @public
|
|
923
955
|
*/
|
|
924
|
-
Tags?: Record<string, string
|
|
956
|
+
Tags?: Record<string, string> | undefined;
|
|
925
957
|
/**
|
|
926
958
|
* <p>A structure that contains the configuration for canary artifacts, including
|
|
927
959
|
* the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.</p>
|
|
928
960
|
* @public
|
|
929
961
|
*/
|
|
930
|
-
ArtifactConfig?: ArtifactConfigInput;
|
|
962
|
+
ArtifactConfig?: ArtifactConfigInput | undefined;
|
|
931
963
|
}
|
|
932
964
|
/**
|
|
933
965
|
* @public
|
|
@@ -937,7 +969,7 @@ export interface CreateCanaryResponse {
|
|
|
937
969
|
* <p>The full details about the canary you have created.</p>
|
|
938
970
|
* @public
|
|
939
971
|
*/
|
|
940
|
-
Canary?: Canary;
|
|
972
|
+
Canary?: Canary | undefined;
|
|
941
973
|
}
|
|
942
974
|
/**
|
|
943
975
|
* <p>One of the input resources is larger than is allowed.</p>
|
|
@@ -946,7 +978,7 @@ export interface CreateCanaryResponse {
|
|
|
946
978
|
export declare class RequestEntityTooLargeException extends __BaseException {
|
|
947
979
|
readonly name: "RequestEntityTooLargeException";
|
|
948
980
|
readonly $fault: "client";
|
|
949
|
-
Message?: string;
|
|
981
|
+
Message?: string | undefined;
|
|
950
982
|
/**
|
|
951
983
|
* @internal
|
|
952
984
|
*/
|
|
@@ -971,7 +1003,7 @@ export interface CreateGroupRequest {
|
|
|
971
1003
|
* certain tag values.</p>
|
|
972
1004
|
* @public
|
|
973
1005
|
*/
|
|
974
|
-
Tags?: Record<string, string
|
|
1006
|
+
Tags?: Record<string, string> | undefined;
|
|
975
1007
|
}
|
|
976
1008
|
/**
|
|
977
1009
|
* <p>This structure contains information about one group.</p>
|
|
@@ -982,32 +1014,32 @@ export interface Group {
|
|
|
982
1014
|
* <p>The unique ID of the group.</p>
|
|
983
1015
|
* @public
|
|
984
1016
|
*/
|
|
985
|
-
Id?: string;
|
|
1017
|
+
Id?: string | undefined;
|
|
986
1018
|
/**
|
|
987
1019
|
* <p>The name of the group.</p>
|
|
988
1020
|
* @public
|
|
989
1021
|
*/
|
|
990
|
-
Name?: string;
|
|
1022
|
+
Name?: string | undefined;
|
|
991
1023
|
/**
|
|
992
1024
|
* <p>The ARN of the group.</p>
|
|
993
1025
|
* @public
|
|
994
1026
|
*/
|
|
995
|
-
Arn?: string;
|
|
1027
|
+
Arn?: string | undefined;
|
|
996
1028
|
/**
|
|
997
1029
|
* <p>The list of key-value pairs that are associated with the canary.</p>
|
|
998
1030
|
* @public
|
|
999
1031
|
*/
|
|
1000
|
-
Tags?: Record<string, string
|
|
1032
|
+
Tags?: Record<string, string> | undefined;
|
|
1001
1033
|
/**
|
|
1002
1034
|
* <p>The date and time that the group was created.</p>
|
|
1003
1035
|
* @public
|
|
1004
1036
|
*/
|
|
1005
|
-
CreatedTime?: Date;
|
|
1037
|
+
CreatedTime?: Date | undefined;
|
|
1006
1038
|
/**
|
|
1007
1039
|
* <p>The date and time that the group was most recently updated.</p>
|
|
1008
1040
|
* @public
|
|
1009
1041
|
*/
|
|
1010
|
-
LastModifiedTime?: Date;
|
|
1042
|
+
LastModifiedTime?: Date | undefined;
|
|
1011
1043
|
}
|
|
1012
1044
|
/**
|
|
1013
1045
|
* @public
|
|
@@ -1017,7 +1049,7 @@ export interface CreateGroupResponse {
|
|
|
1017
1049
|
* <p>A structure that contains information about the group that was just created.</p>
|
|
1018
1050
|
* @public
|
|
1019
1051
|
*/
|
|
1020
|
-
Group?: Group;
|
|
1052
|
+
Group?: Group | undefined;
|
|
1021
1053
|
}
|
|
1022
1054
|
/**
|
|
1023
1055
|
* @public
|
|
@@ -1030,11 +1062,14 @@ export interface DeleteCanaryRequest {
|
|
|
1030
1062
|
Name: string | undefined;
|
|
1031
1063
|
/**
|
|
1032
1064
|
* <p>Specifies whether to also delete the Lambda functions and layers used by this canary. The default
|
|
1033
|
-
* is false
|
|
1065
|
+
* is <code>false</code>.</p>
|
|
1066
|
+
* <p>Your setting for this parameter is used only if the canary doesn't have <code>AUTOMATIC</code> for its
|
|
1067
|
+
* <code>ProvisionedResourceCleanup</code> field. If that field is set to <code>AUTOMATIC</code>, then the
|
|
1068
|
+
* Lambda functions and layers will be deleted when this canary is deleted. </p>
|
|
1034
1069
|
* <p>Type: Boolean</p>
|
|
1035
1070
|
* @public
|
|
1036
1071
|
*/
|
|
1037
|
-
DeleteLambda?: boolean;
|
|
1072
|
+
DeleteLambda?: boolean | undefined;
|
|
1038
1073
|
}
|
|
1039
1074
|
/**
|
|
1040
1075
|
* @public
|
|
@@ -1067,13 +1102,13 @@ export interface DescribeCanariesRequest {
|
|
|
1067
1102
|
* set of results.</p>
|
|
1068
1103
|
* @public
|
|
1069
1104
|
*/
|
|
1070
|
-
NextToken?: string;
|
|
1105
|
+
NextToken?: string | undefined;
|
|
1071
1106
|
/**
|
|
1072
1107
|
* <p>Specify this parameter to limit how many canaries are returned each time you use
|
|
1073
1108
|
* the <code>DescribeCanaries</code> operation. If you omit this parameter, the default of 20 is used.</p>
|
|
1074
1109
|
* @public
|
|
1075
1110
|
*/
|
|
1076
|
-
MaxResults?: number;
|
|
1111
|
+
MaxResults?: number | undefined;
|
|
1077
1112
|
/**
|
|
1078
1113
|
* <p>Use this parameter to return only canaries that match the names that you specify here. You can
|
|
1079
1114
|
* specify as many as five canary names.</p>
|
|
@@ -1086,7 +1121,7 @@ export interface DescribeCanariesRequest {
|
|
|
1086
1121
|
* Limiting a user to viewing specific canaries</a>.</p>
|
|
1087
1122
|
* @public
|
|
1088
1123
|
*/
|
|
1089
|
-
Names?: string[];
|
|
1124
|
+
Names?: string[] | undefined;
|
|
1090
1125
|
}
|
|
1091
1126
|
/**
|
|
1092
1127
|
* @public
|
|
@@ -1097,14 +1132,14 @@ export interface DescribeCanariesResponse {
|
|
|
1097
1132
|
* one canary.</p>
|
|
1098
1133
|
* @public
|
|
1099
1134
|
*/
|
|
1100
|
-
Canaries?: Canary[];
|
|
1135
|
+
Canaries?: Canary[] | undefined;
|
|
1101
1136
|
/**
|
|
1102
1137
|
* <p>A token that indicates that there is more data
|
|
1103
1138
|
* available. You can use this token in a subsequent <code>DescribeCanaries</code> operation to retrieve the next
|
|
1104
1139
|
* set of results.</p>
|
|
1105
1140
|
* @public
|
|
1106
1141
|
*/
|
|
1107
|
-
NextToken?: string;
|
|
1142
|
+
NextToken?: string | undefined;
|
|
1108
1143
|
}
|
|
1109
1144
|
/**
|
|
1110
1145
|
* @public
|
|
@@ -1116,13 +1151,13 @@ export interface DescribeCanariesLastRunRequest {
|
|
|
1116
1151
|
* set of results.</p>
|
|
1117
1152
|
* @public
|
|
1118
1153
|
*/
|
|
1119
|
-
NextToken?: string;
|
|
1154
|
+
NextToken?: string | undefined;
|
|
1120
1155
|
/**
|
|
1121
1156
|
* <p>Specify this parameter to limit how many runs are returned each time you use
|
|
1122
1157
|
* the <code>DescribeLastRun</code> operation. If you omit this parameter, the default of 100 is used.</p>
|
|
1123
1158
|
* @public
|
|
1124
1159
|
*/
|
|
1125
|
-
MaxResults?: number;
|
|
1160
|
+
MaxResults?: number | undefined;
|
|
1126
1161
|
/**
|
|
1127
1162
|
* <p>Use this parameter to return only canaries that match the names that you specify here. You can
|
|
1128
1163
|
* specify as many as five canary names.</p>
|
|
@@ -1135,7 +1170,7 @@ export interface DescribeCanariesLastRunRequest {
|
|
|
1135
1170
|
* Limiting a user to viewing specific canaries</a>.</p>
|
|
1136
1171
|
* @public
|
|
1137
1172
|
*/
|
|
1138
|
-
Names?: string[];
|
|
1173
|
+
Names?: string[] | undefined;
|
|
1139
1174
|
}
|
|
1140
1175
|
/**
|
|
1141
1176
|
* @public
|
|
@@ -1146,14 +1181,14 @@ export interface DescribeCanariesLastRunResponse {
|
|
|
1146
1181
|
* canary.</p>
|
|
1147
1182
|
* @public
|
|
1148
1183
|
*/
|
|
1149
|
-
CanariesLastRun?: CanaryLastRun[];
|
|
1184
|
+
CanariesLastRun?: CanaryLastRun[] | undefined;
|
|
1150
1185
|
/**
|
|
1151
1186
|
* <p>A token that indicates that there is more data
|
|
1152
1187
|
* available. You can use this token in a subsequent <code>DescribeCanariesLastRun</code> operation to retrieve the next
|
|
1153
1188
|
* set of results.</p>
|
|
1154
1189
|
* @public
|
|
1155
1190
|
*/
|
|
1156
|
-
NextToken?: string;
|
|
1191
|
+
NextToken?: string | undefined;
|
|
1157
1192
|
}
|
|
1158
1193
|
/**
|
|
1159
1194
|
* @public
|
|
@@ -1165,13 +1200,13 @@ export interface DescribeRuntimeVersionsRequest {
|
|
|
1165
1200
|
* set of results.</p>
|
|
1166
1201
|
* @public
|
|
1167
1202
|
*/
|
|
1168
|
-
NextToken?: string;
|
|
1203
|
+
NextToken?: string | undefined;
|
|
1169
1204
|
/**
|
|
1170
1205
|
* <p>Specify this parameter to limit how many runs are returned each time you use
|
|
1171
1206
|
* the <code>DescribeRuntimeVersions</code> operation. If you omit this parameter, the default of 100 is used.</p>
|
|
1172
1207
|
* @public
|
|
1173
1208
|
*/
|
|
1174
|
-
MaxResults?: number;
|
|
1209
|
+
MaxResults?: number | undefined;
|
|
1175
1210
|
}
|
|
1176
1211
|
/**
|
|
1177
1212
|
* <p>This structure contains information about one canary runtime version. For more information about
|
|
@@ -1186,22 +1221,22 @@ export interface RuntimeVersion {
|
|
|
1186
1221
|
* Canary Runtime Versions</a>.</p>
|
|
1187
1222
|
* @public
|
|
1188
1223
|
*/
|
|
1189
|
-
VersionName?: string;
|
|
1224
|
+
VersionName?: string | undefined;
|
|
1190
1225
|
/**
|
|
1191
1226
|
* <p>A description of the runtime version, created by Amazon.</p>
|
|
1192
1227
|
* @public
|
|
1193
1228
|
*/
|
|
1194
|
-
Description?: string;
|
|
1229
|
+
Description?: string | undefined;
|
|
1195
1230
|
/**
|
|
1196
1231
|
* <p>The date that the runtime version was released.</p>
|
|
1197
1232
|
* @public
|
|
1198
1233
|
*/
|
|
1199
|
-
ReleaseDate?: Date;
|
|
1234
|
+
ReleaseDate?: Date | undefined;
|
|
1200
1235
|
/**
|
|
1201
1236
|
* <p>If this runtime version is deprecated, this value is the date of deprecation.</p>
|
|
1202
1237
|
* @public
|
|
1203
1238
|
*/
|
|
1204
|
-
DeprecationDate?: Date;
|
|
1239
|
+
DeprecationDate?: Date | undefined;
|
|
1205
1240
|
}
|
|
1206
1241
|
/**
|
|
1207
1242
|
* @public
|
|
@@ -1212,14 +1247,14 @@ export interface DescribeRuntimeVersionsResponse {
|
|
|
1212
1247
|
* version.</p>
|
|
1213
1248
|
* @public
|
|
1214
1249
|
*/
|
|
1215
|
-
RuntimeVersions?: RuntimeVersion[];
|
|
1250
|
+
RuntimeVersions?: RuntimeVersion[] | undefined;
|
|
1216
1251
|
/**
|
|
1217
1252
|
* <p>A token that indicates that there is more data
|
|
1218
1253
|
* available. You can use this token in a subsequent <code>DescribeRuntimeVersions</code> operation to retrieve the next
|
|
1219
1254
|
* set of results.</p>
|
|
1220
1255
|
* @public
|
|
1221
1256
|
*/
|
|
1222
|
-
NextToken?: string;
|
|
1257
|
+
NextToken?: string | undefined;
|
|
1223
1258
|
}
|
|
1224
1259
|
/**
|
|
1225
1260
|
* @public
|
|
@@ -1260,7 +1295,7 @@ export interface GetCanaryResponse {
|
|
|
1260
1295
|
* <p>A structure that contains the full information about the canary.</p>
|
|
1261
1296
|
* @public
|
|
1262
1297
|
*/
|
|
1263
|
-
Canary?: Canary;
|
|
1298
|
+
Canary?: Canary | undefined;
|
|
1264
1299
|
}
|
|
1265
1300
|
/**
|
|
1266
1301
|
* @public
|
|
@@ -1277,13 +1312,13 @@ export interface GetCanaryRunsRequest {
|
|
|
1277
1312
|
* set of results.</p>
|
|
1278
1313
|
* @public
|
|
1279
1314
|
*/
|
|
1280
|
-
NextToken?: string;
|
|
1315
|
+
NextToken?: string | undefined;
|
|
1281
1316
|
/**
|
|
1282
1317
|
* <p>Specify this parameter to limit how many runs are returned each time you use
|
|
1283
1318
|
* the <code>GetCanaryRuns</code> operation. If you omit this parameter, the default of 100 is used.</p>
|
|
1284
1319
|
* @public
|
|
1285
1320
|
*/
|
|
1286
|
-
MaxResults?: number;
|
|
1321
|
+
MaxResults?: number | undefined;
|
|
1287
1322
|
}
|
|
1288
1323
|
/**
|
|
1289
1324
|
* @public
|
|
@@ -1294,7 +1329,7 @@ export interface GetCanaryRunsResponse {
|
|
|
1294
1329
|
* retrieved canary runs.</p>
|
|
1295
1330
|
* @public
|
|
1296
1331
|
*/
|
|
1297
|
-
CanaryRuns?: CanaryRun[];
|
|
1332
|
+
CanaryRuns?: CanaryRun[] | undefined;
|
|
1298
1333
|
/**
|
|
1299
1334
|
* <p>A token that indicates that there is more data
|
|
1300
1335
|
* available. You can use this token in a subsequent <code>GetCanaryRuns</code>
|
|
@@ -1302,7 +1337,7 @@ export interface GetCanaryRunsResponse {
|
|
|
1302
1337
|
* set of results.</p>
|
|
1303
1338
|
* @public
|
|
1304
1339
|
*/
|
|
1305
|
-
NextToken?: string;
|
|
1340
|
+
NextToken?: string | undefined;
|
|
1306
1341
|
}
|
|
1307
1342
|
/**
|
|
1308
1343
|
* @public
|
|
@@ -1323,7 +1358,7 @@ export interface GetGroupResponse {
|
|
|
1323
1358
|
* <p>A structure that contains information about the group.</p>
|
|
1324
1359
|
* @public
|
|
1325
1360
|
*/
|
|
1326
|
-
Group?: Group;
|
|
1361
|
+
Group?: Group | undefined;
|
|
1327
1362
|
}
|
|
1328
1363
|
/**
|
|
1329
1364
|
* <p>A structure containing some information about a group.</p>
|
|
@@ -1334,17 +1369,17 @@ export interface GroupSummary {
|
|
|
1334
1369
|
* <p>The unique ID of the group.</p>
|
|
1335
1370
|
* @public
|
|
1336
1371
|
*/
|
|
1337
|
-
Id?: string;
|
|
1372
|
+
Id?: string | undefined;
|
|
1338
1373
|
/**
|
|
1339
1374
|
* <p>The name of the group.</p>
|
|
1340
1375
|
* @public
|
|
1341
1376
|
*/
|
|
1342
|
-
Name?: string;
|
|
1377
|
+
Name?: string | undefined;
|
|
1343
1378
|
/**
|
|
1344
1379
|
* <p>The ARN of the group.</p>
|
|
1345
1380
|
* @public
|
|
1346
1381
|
*/
|
|
1347
|
-
Arn?: string;
|
|
1382
|
+
Arn?: string | undefined;
|
|
1348
1383
|
}
|
|
1349
1384
|
/**
|
|
1350
1385
|
* <p>An internal failure occurred. Try the operation again.</p>
|
|
@@ -1353,7 +1388,7 @@ export interface GroupSummary {
|
|
|
1353
1388
|
export declare class InternalFailureException extends __BaseException {
|
|
1354
1389
|
readonly name: "InternalFailureException";
|
|
1355
1390
|
readonly $fault: "server";
|
|
1356
|
-
Message?: string;
|
|
1391
|
+
Message?: string | undefined;
|
|
1357
1392
|
/**
|
|
1358
1393
|
* @internal
|
|
1359
1394
|
*/
|
|
@@ -1369,13 +1404,13 @@ export interface ListAssociatedGroupsRequest {
|
|
|
1369
1404
|
* set of results.</p>
|
|
1370
1405
|
* @public
|
|
1371
1406
|
*/
|
|
1372
|
-
NextToken?: string;
|
|
1407
|
+
NextToken?: string | undefined;
|
|
1373
1408
|
/**
|
|
1374
1409
|
* <p>Specify this parameter to limit how many groups are returned each time you use
|
|
1375
1410
|
* the <code>ListAssociatedGroups</code> operation. If you omit this parameter, the default of 20 is used.</p>
|
|
1376
1411
|
* @public
|
|
1377
1412
|
*/
|
|
1378
|
-
MaxResults?: number;
|
|
1413
|
+
MaxResults?: number | undefined;
|
|
1379
1414
|
/**
|
|
1380
1415
|
* <p>The ARN of the canary that you want to view groups for.</p>
|
|
1381
1416
|
* @public
|
|
@@ -1390,14 +1425,14 @@ export interface ListAssociatedGroupsResponse {
|
|
|
1390
1425
|
* <p>An array of structures that contain information about the groups that this canary is associated with.</p>
|
|
1391
1426
|
* @public
|
|
1392
1427
|
*/
|
|
1393
|
-
Groups?: GroupSummary[];
|
|
1428
|
+
Groups?: GroupSummary[] | undefined;
|
|
1394
1429
|
/**
|
|
1395
1430
|
* <p>A token that indicates that there is more data
|
|
1396
1431
|
* available. You can use this token in a subsequent <code>ListAssociatedGroups</code> operation to retrieve the next
|
|
1397
1432
|
* set of results.</p>
|
|
1398
1433
|
* @public
|
|
1399
1434
|
*/
|
|
1400
|
-
NextToken?: string;
|
|
1435
|
+
NextToken?: string | undefined;
|
|
1401
1436
|
}
|
|
1402
1437
|
/**
|
|
1403
1438
|
* @public
|
|
@@ -1409,13 +1444,13 @@ export interface ListGroupResourcesRequest {
|
|
|
1409
1444
|
* set of results.</p>
|
|
1410
1445
|
* @public
|
|
1411
1446
|
*/
|
|
1412
|
-
NextToken?: string;
|
|
1447
|
+
NextToken?: string | undefined;
|
|
1413
1448
|
/**
|
|
1414
1449
|
* <p>Specify this parameter to limit how many canary ARNs are returned each time you use
|
|
1415
1450
|
* the <code>ListGroupResources</code> operation. If you omit this parameter, the default of 20 is used.</p>
|
|
1416
1451
|
* @public
|
|
1417
1452
|
*/
|
|
1418
|
-
MaxResults?: number;
|
|
1453
|
+
MaxResults?: number | undefined;
|
|
1419
1454
|
/**
|
|
1420
1455
|
* <p>Specifies the group to return information for. You can specify the group name, the ARN, or the
|
|
1421
1456
|
* group ID as the <code>GroupIdentifier</code>.</p>
|
|
@@ -1431,14 +1466,14 @@ export interface ListGroupResourcesResponse {
|
|
|
1431
1466
|
* <p>An array of ARNs. These ARNs are for the canaries that are associated with the group.</p>
|
|
1432
1467
|
* @public
|
|
1433
1468
|
*/
|
|
1434
|
-
Resources?: string[];
|
|
1469
|
+
Resources?: string[] | undefined;
|
|
1435
1470
|
/**
|
|
1436
1471
|
* <p>A token that indicates that there is more data
|
|
1437
1472
|
* available. You can use this token in a subsequent <code>ListGroupResources</code> operation to retrieve the next
|
|
1438
1473
|
* set of results.</p>
|
|
1439
1474
|
* @public
|
|
1440
1475
|
*/
|
|
1441
|
-
NextToken?: string;
|
|
1476
|
+
NextToken?: string | undefined;
|
|
1442
1477
|
}
|
|
1443
1478
|
/**
|
|
1444
1479
|
* @public
|
|
@@ -1450,13 +1485,13 @@ export interface ListGroupsRequest {
|
|
|
1450
1485
|
* set of results.</p>
|
|
1451
1486
|
* @public
|
|
1452
1487
|
*/
|
|
1453
|
-
NextToken?: string;
|
|
1488
|
+
NextToken?: string | undefined;
|
|
1454
1489
|
/**
|
|
1455
1490
|
* <p>Specify this parameter to limit how many groups are returned each time you use
|
|
1456
1491
|
* the <code>ListGroups</code> operation. If you omit this parameter, the default of 20 is used.</p>
|
|
1457
1492
|
* @public
|
|
1458
1493
|
*/
|
|
1459
|
-
MaxResults?: number;
|
|
1494
|
+
MaxResults?: number | undefined;
|
|
1460
1495
|
}
|
|
1461
1496
|
/**
|
|
1462
1497
|
* @public
|
|
@@ -1466,14 +1501,14 @@ export interface ListGroupsResponse {
|
|
|
1466
1501
|
* <p>An array of structures that each contain information about one group.</p>
|
|
1467
1502
|
* @public
|
|
1468
1503
|
*/
|
|
1469
|
-
Groups?: GroupSummary[];
|
|
1504
|
+
Groups?: GroupSummary[] | undefined;
|
|
1470
1505
|
/**
|
|
1471
1506
|
* <p>A token that indicates that there is more data
|
|
1472
1507
|
* available. You can use this token in a subsequent <code>ListGroups</code> operation to retrieve the next
|
|
1473
1508
|
* set of results.</p>
|
|
1474
1509
|
* @public
|
|
1475
1510
|
*/
|
|
1476
|
-
NextToken?: string;
|
|
1511
|
+
NextToken?: string | undefined;
|
|
1477
1512
|
}
|
|
1478
1513
|
/**
|
|
1479
1514
|
* @public
|
|
@@ -1500,7 +1535,7 @@ export interface ListTagsForResourceResponse {
|
|
|
1500
1535
|
* <p>The list of tag keys and values associated with the resource that you specified.</p>
|
|
1501
1536
|
* @public
|
|
1502
1537
|
*/
|
|
1503
|
-
Tags?: Record<string, string
|
|
1538
|
+
Tags?: Record<string, string> | undefined;
|
|
1504
1539
|
}
|
|
1505
1540
|
/**
|
|
1506
1541
|
* <p>The specified resource was not found.</p>
|
|
@@ -1509,7 +1544,7 @@ export interface ListTagsForResourceResponse {
|
|
|
1509
1544
|
export declare class NotFoundException extends __BaseException {
|
|
1510
1545
|
readonly name: "NotFoundException";
|
|
1511
1546
|
readonly $fault: "client";
|
|
1512
|
-
Message?: string;
|
|
1547
|
+
Message?: string | undefined;
|
|
1513
1548
|
/**
|
|
1514
1549
|
* @internal
|
|
1515
1550
|
*/
|
|
@@ -1522,7 +1557,7 @@ export declare class NotFoundException extends __BaseException {
|
|
|
1522
1557
|
export declare class TooManyRequestsException extends __BaseException {
|
|
1523
1558
|
readonly name: "TooManyRequestsException";
|
|
1524
1559
|
readonly $fault: "client";
|
|
1525
|
-
Message?: string;
|
|
1560
|
+
Message?: string | undefined;
|
|
1526
1561
|
/**
|
|
1527
1562
|
* @internal
|
|
1528
1563
|
*/
|
|
@@ -1630,7 +1665,7 @@ export interface VisualReferenceInput {
|
|
|
1630
1665
|
* visual monitoring, remove it from this array.</p>
|
|
1631
1666
|
* @public
|
|
1632
1667
|
*/
|
|
1633
|
-
BaseScreenshots?: BaseScreenshot[];
|
|
1668
|
+
BaseScreenshots?: BaseScreenshot[] | undefined;
|
|
1634
1669
|
/**
|
|
1635
1670
|
* <p>Specifies which canary run to use the screenshots from as the baseline for future visual monitoring with this canary. Valid values are
|
|
1636
1671
|
* <code>nextrun</code> to use the screenshots from the next run after this update is made, <code>lastrun</code> to use the screenshots from the most recent run
|
|
@@ -1658,7 +1693,7 @@ export interface UpdateCanaryRequest {
|
|
|
1658
1693
|
* </p>
|
|
1659
1694
|
* @public
|
|
1660
1695
|
*/
|
|
1661
|
-
Code?: CanaryCodeInput;
|
|
1696
|
+
Code?: CanaryCodeInput | undefined;
|
|
1662
1697
|
/**
|
|
1663
1698
|
* <p>The ARN of the IAM role to be used to run the canary. This role must already exist,
|
|
1664
1699
|
* and must include <code>lambda.amazonaws.com</code> as a principal in the trust
|
|
@@ -1702,7 +1737,7 @@ export interface UpdateCanaryRequest {
|
|
|
1702
1737
|
* </ul>
|
|
1703
1738
|
* @public
|
|
1704
1739
|
*/
|
|
1705
|
-
ExecutionRoleArn?: string;
|
|
1740
|
+
ExecutionRoleArn?: string | undefined;
|
|
1706
1741
|
/**
|
|
1707
1742
|
* <p>Specifies the runtime version to use for the canary.
|
|
1708
1743
|
* For a list of valid runtime versions and for more information about
|
|
@@ -1710,13 +1745,13 @@ export interface UpdateCanaryRequest {
|
|
|
1710
1745
|
* Canary Runtime Versions</a>.</p>
|
|
1711
1746
|
* @public
|
|
1712
1747
|
*/
|
|
1713
|
-
RuntimeVersion?: string;
|
|
1748
|
+
RuntimeVersion?: string | undefined;
|
|
1714
1749
|
/**
|
|
1715
1750
|
* <p>A structure that contains information about how often the canary is to run, and when
|
|
1716
1751
|
* these runs are to stop.</p>
|
|
1717
1752
|
* @public
|
|
1718
1753
|
*/
|
|
1719
|
-
Schedule?: CanaryScheduleInput;
|
|
1754
|
+
Schedule?: CanaryScheduleInput | undefined;
|
|
1720
1755
|
/**
|
|
1721
1756
|
* <p>A structure that contains the timeout value that is used for each individual run of the
|
|
1722
1757
|
* canary.</p>
|
|
@@ -1726,17 +1761,17 @@ export interface UpdateCanaryRequest {
|
|
|
1726
1761
|
* </important>
|
|
1727
1762
|
* @public
|
|
1728
1763
|
*/
|
|
1729
|
-
RunConfig?: CanaryRunConfigInput;
|
|
1764
|
+
RunConfig?: CanaryRunConfigInput | undefined;
|
|
1730
1765
|
/**
|
|
1731
1766
|
* <p>The number of days to retain data about successful runs of this canary.</p>
|
|
1732
1767
|
* @public
|
|
1733
1768
|
*/
|
|
1734
|
-
SuccessRetentionPeriodInDays?: number;
|
|
1769
|
+
SuccessRetentionPeriodInDays?: number | undefined;
|
|
1735
1770
|
/**
|
|
1736
1771
|
* <p>The number of days to retain data about failed runs of this canary.</p>
|
|
1737
1772
|
* @public
|
|
1738
1773
|
*/
|
|
1739
|
-
FailureRetentionPeriodInDays?: number;
|
|
1774
|
+
FailureRetentionPeriodInDays?: number | undefined;
|
|
1740
1775
|
/**
|
|
1741
1776
|
* <p>If this canary is to test an endpoint in a VPC, this structure contains
|
|
1742
1777
|
* information about the subnet and security groups of the VPC endpoint.
|
|
@@ -1744,7 +1779,7 @@ export interface UpdateCanaryRequest {
|
|
|
1744
1779
|
* Running a Canary in a VPC</a>.</p>
|
|
1745
1780
|
* @public
|
|
1746
1781
|
*/
|
|
1747
|
-
VpcConfig?: VpcConfigInput;
|
|
1782
|
+
VpcConfig?: VpcConfigInput | undefined;
|
|
1748
1783
|
/**
|
|
1749
1784
|
* <p>Defines the screenshots to use as the baseline for comparisons during visual monitoring comparisons during future runs of this canary. If you omit this
|
|
1750
1785
|
* parameter, no changes are made to any baseline screenshots that the canary might be using already.</p>
|
|
@@ -1755,21 +1790,30 @@ export interface UpdateCanaryRequest {
|
|
|
1755
1790
|
* </p>
|
|
1756
1791
|
* @public
|
|
1757
1792
|
*/
|
|
1758
|
-
VisualReference?: VisualReferenceInput;
|
|
1793
|
+
VisualReference?: VisualReferenceInput | undefined;
|
|
1759
1794
|
/**
|
|
1760
1795
|
* <p>The location in Amazon S3 where Synthetics stores artifacts from the test runs of this canary.
|
|
1761
1796
|
* Artifacts include the log file, screenshots, and HAR files. The name of the
|
|
1762
1797
|
* S3 bucket can't include a period (.).</p>
|
|
1763
1798
|
* @public
|
|
1764
1799
|
*/
|
|
1765
|
-
ArtifactS3Location?: string;
|
|
1800
|
+
ArtifactS3Location?: string | undefined;
|
|
1766
1801
|
/**
|
|
1767
1802
|
* <p>A structure that contains the configuration for canary artifacts,
|
|
1768
1803
|
* including the encryption-at-rest settings for artifacts that
|
|
1769
1804
|
* the canary uploads to Amazon S3.</p>
|
|
1770
1805
|
* @public
|
|
1771
1806
|
*/
|
|
1772
|
-
ArtifactConfig?: ArtifactConfigInput;
|
|
1807
|
+
ArtifactConfig?: ArtifactConfigInput | undefined;
|
|
1808
|
+
/**
|
|
1809
|
+
* <p>Specifies whether to also delete the Lambda functions and layers used by this canary
|
|
1810
|
+
* when the canary is deleted.</p>
|
|
1811
|
+
* <p>If the value of this parameter is <code>OFF</code>, then the value of the <code>DeleteLambda</code> parameter
|
|
1812
|
+
* of the <a href="https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html">DeleteCanary</a> operation
|
|
1813
|
+
* determines whether the Lambda functions and layers will be deleted.</p>
|
|
1814
|
+
* @public
|
|
1815
|
+
*/
|
|
1816
|
+
ProvisionedResourceCleanup?: ProvisionedResourceCleanupSetting | undefined;
|
|
1773
1817
|
}
|
|
1774
1818
|
/**
|
|
1775
1819
|
* @public
|