@aws-sdk/client-synthetics 3.378.0 → 3.382.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.
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export type EncryptionMode = (typeof EncryptionMode)[keyof typeof EncryptionMode
|
|
|
22
22
|
*/
|
|
23
23
|
export interface S3EncryptionConfig {
|
|
24
24
|
/**
|
|
25
|
+
* @public
|
|
25
26
|
* <p> The encryption method to use for artifacts created by this canary. Specify <code>SSE_S3</code> to use
|
|
26
27
|
* server-side encryption (SSE) with an Amazon S3-managed
|
|
27
28
|
* key. Specify <code>SSE-KMS</code> to use server-side encryption with a customer-managed KMS key.</p>
|
|
@@ -31,6 +32,7 @@ export interface S3EncryptionConfig {
|
|
|
31
32
|
*/
|
|
32
33
|
EncryptionMode?: EncryptionMode | string;
|
|
33
34
|
/**
|
|
35
|
+
* @public
|
|
34
36
|
* <p>The ARN of the customer-managed KMS key to use, if you specify <code>SSE-KMS</code>
|
|
35
37
|
* for <code>EncryptionMode</code>
|
|
36
38
|
* </p>
|
|
@@ -44,6 +46,7 @@ export interface S3EncryptionConfig {
|
|
|
44
46
|
*/
|
|
45
47
|
export interface ArtifactConfigInput {
|
|
46
48
|
/**
|
|
49
|
+
* @public
|
|
47
50
|
* <p>A structure that contains the configuration of the encryption-at-rest settings for artifacts that the canary uploads
|
|
48
51
|
* to Amazon S3.
|
|
49
52
|
* Artifact encryption functionality is available only for canaries that use Synthetics runtime version
|
|
@@ -60,6 +63,7 @@ export interface ArtifactConfigInput {
|
|
|
60
63
|
*/
|
|
61
64
|
export interface ArtifactConfigOutput {
|
|
62
65
|
/**
|
|
66
|
+
* @public
|
|
63
67
|
* <p>A structure that contains the configuration of encryption settings for canary artifacts that are stored in Amazon S3. </p>
|
|
64
68
|
*/
|
|
65
69
|
S3Encryption?: S3EncryptionConfig;
|
|
@@ -69,11 +73,13 @@ export interface ArtifactConfigOutput {
|
|
|
69
73
|
*/
|
|
70
74
|
export interface AssociateResourceRequest {
|
|
71
75
|
/**
|
|
76
|
+
* @public
|
|
72
77
|
* <p>Specifies the group. You can specify the group name, the ARN, or the
|
|
73
78
|
* group ID as the <code>GroupIdentifier</code>.</p>
|
|
74
79
|
*/
|
|
75
80
|
GroupIdentifier: string | undefined;
|
|
76
81
|
/**
|
|
82
|
+
* @public
|
|
77
83
|
* <p>The ARN of the canary that you want to associate with the specified group.</p>
|
|
78
84
|
*/
|
|
79
85
|
ResourceArn: string | undefined;
|
|
@@ -167,11 +173,13 @@ export declare class BadRequestException extends __BaseException {
|
|
|
167
173
|
*/
|
|
168
174
|
export interface BaseScreenshot {
|
|
169
175
|
/**
|
|
176
|
+
* @public
|
|
170
177
|
* <p>The name of the screenshot. This is generated the first time the canary is run after the <code>UpdateCanary</code> operation that
|
|
171
178
|
* specified for this canary to perform visual monitoring.</p>
|
|
172
179
|
*/
|
|
173
180
|
ScreenshotName: string | undefined;
|
|
174
181
|
/**
|
|
182
|
+
* @public
|
|
175
183
|
* <p>Coordinates that define the part of a screen to ignore during screenshot comparisons. To obtain the
|
|
176
184
|
* coordinates to use here, use the
|
|
177
185
|
* CloudWatch console to draw the boundaries on the screen. For more information, see
|
|
@@ -188,10 +196,12 @@ export interface BaseScreenshot {
|
|
|
188
196
|
*/
|
|
189
197
|
export interface CanaryCodeOutput {
|
|
190
198
|
/**
|
|
199
|
+
* @public
|
|
191
200
|
* <p>The ARN of the Lambda layer where Synthetics stores the canary script code.</p>
|
|
192
201
|
*/
|
|
193
202
|
SourceLocationArn?: string;
|
|
194
203
|
/**
|
|
204
|
+
* @public
|
|
195
205
|
* <p>The entry point to use for the source code when running the canary.</p>
|
|
196
206
|
*/
|
|
197
207
|
Handler?: string;
|
|
@@ -202,15 +212,18 @@ export interface CanaryCodeOutput {
|
|
|
202
212
|
*/
|
|
203
213
|
export interface CanaryRunConfigOutput {
|
|
204
214
|
/**
|
|
215
|
+
* @public
|
|
205
216
|
* <p>How long the canary is allowed to run before it must stop.</p>
|
|
206
217
|
*/
|
|
207
218
|
TimeoutInSeconds?: number;
|
|
208
219
|
/**
|
|
220
|
+
* @public
|
|
209
221
|
* <p>The maximum amount of memory available to the canary while it is running, in MB. This value
|
|
210
222
|
* must be a multiple of 64.</p>
|
|
211
223
|
*/
|
|
212
224
|
MemoryInMB?: number;
|
|
213
225
|
/**
|
|
226
|
+
* @public
|
|
214
227
|
* <p>Displays whether this canary run used active X-Ray tracing. </p>
|
|
215
228
|
*/
|
|
216
229
|
ActiveTracing?: boolean;
|
|
@@ -222,6 +235,7 @@ export interface CanaryRunConfigOutput {
|
|
|
222
235
|
*/
|
|
223
236
|
export interface CanaryScheduleOutput {
|
|
224
237
|
/**
|
|
238
|
+
* @public
|
|
225
239
|
* <p>A <code>rate</code> expression or a <code>cron</code> expression that defines how often the canary is to run.</p>
|
|
226
240
|
* <p>For a rate expression, The syntax is
|
|
227
241
|
* <code>rate(<i>number unit</i>)</code>. <i>unit</i>
|
|
@@ -239,6 +253,7 @@ export interface CanaryScheduleOutput {
|
|
|
239
253
|
*/
|
|
240
254
|
Expression?: string;
|
|
241
255
|
/**
|
|
256
|
+
* @public
|
|
242
257
|
* <p>How long, in seconds, for the canary to continue making regular runs after it
|
|
243
258
|
* was created. The runs are performed according to the schedule in the
|
|
244
259
|
* <code>Expression</code> value.</p>
|
|
@@ -292,14 +307,17 @@ export type CanaryStateReasonCode = (typeof CanaryStateReasonCode)[keyof typeof
|
|
|
292
307
|
*/
|
|
293
308
|
export interface CanaryStatus {
|
|
294
309
|
/**
|
|
310
|
+
* @public
|
|
295
311
|
* <p>The current state of the canary.</p>
|
|
296
312
|
*/
|
|
297
313
|
State?: CanaryState | string;
|
|
298
314
|
/**
|
|
315
|
+
* @public
|
|
299
316
|
* <p>If the canary has insufficient permissions to run, this field provides more details.</p>
|
|
300
317
|
*/
|
|
301
318
|
StateReason?: string;
|
|
302
319
|
/**
|
|
320
|
+
* @public
|
|
303
321
|
* <p>If the canary cannot run or has failed, this field displays the reason.</p>
|
|
304
322
|
*/
|
|
305
323
|
StateReasonCode?: CanaryStateReasonCode | string;
|
|
@@ -310,18 +328,22 @@ export interface CanaryStatus {
|
|
|
310
328
|
*/
|
|
311
329
|
export interface CanaryTimeline {
|
|
312
330
|
/**
|
|
331
|
+
* @public
|
|
313
332
|
* <p>The date and time the canary was created.</p>
|
|
314
333
|
*/
|
|
315
334
|
Created?: Date;
|
|
316
335
|
/**
|
|
336
|
+
* @public
|
|
317
337
|
* <p>The date and time the canary was most recently modified.</p>
|
|
318
338
|
*/
|
|
319
339
|
LastModified?: Date;
|
|
320
340
|
/**
|
|
341
|
+
* @public
|
|
321
342
|
* <p>The date and time that the canary's most recent run started.</p>
|
|
322
343
|
*/
|
|
323
344
|
LastStarted?: Date;
|
|
324
345
|
/**
|
|
346
|
+
* @public
|
|
325
347
|
* <p>The date and time that the canary's most recent run ended.</p>
|
|
326
348
|
*/
|
|
327
349
|
LastStopped?: Date;
|
|
@@ -334,10 +356,12 @@ export interface CanaryTimeline {
|
|
|
334
356
|
*/
|
|
335
357
|
export interface VisualReferenceOutput {
|
|
336
358
|
/**
|
|
359
|
+
* @public
|
|
337
360
|
* <p>An array of screenshots that are used as the baseline for comparisons during visual monitoring.</p>
|
|
338
361
|
*/
|
|
339
362
|
BaseScreenshots?: BaseScreenshot[];
|
|
340
363
|
/**
|
|
364
|
+
* @public
|
|
341
365
|
* <p>The ID of the canary run that produced the baseline screenshots
|
|
342
366
|
* that are used for visual monitoring comparisons by this canary.</p>
|
|
343
367
|
*/
|
|
@@ -352,14 +376,17 @@ export interface VisualReferenceOutput {
|
|
|
352
376
|
*/
|
|
353
377
|
export interface VpcConfigOutput {
|
|
354
378
|
/**
|
|
379
|
+
* @public
|
|
355
380
|
* <p>The IDs of the VPC where this canary is to run.</p>
|
|
356
381
|
*/
|
|
357
382
|
VpcId?: string;
|
|
358
383
|
/**
|
|
384
|
+
* @public
|
|
359
385
|
* <p>The IDs of the subnets where this canary is to run.</p>
|
|
360
386
|
*/
|
|
361
387
|
SubnetIds?: string[];
|
|
362
388
|
/**
|
|
389
|
+
* @public
|
|
363
390
|
* <p>The IDs of the security groups for this canary.</p>
|
|
364
391
|
*/
|
|
365
392
|
SecurityGroupIds?: string[];
|
|
@@ -370,66 +397,80 @@ export interface VpcConfigOutput {
|
|
|
370
397
|
*/
|
|
371
398
|
export interface Canary {
|
|
372
399
|
/**
|
|
400
|
+
* @public
|
|
373
401
|
* <p>The unique ID of this canary.</p>
|
|
374
402
|
*/
|
|
375
403
|
Id?: string;
|
|
376
404
|
/**
|
|
405
|
+
* @public
|
|
377
406
|
* <p>The name of the canary.</p>
|
|
378
407
|
*/
|
|
379
408
|
Name?: string;
|
|
380
409
|
/**
|
|
410
|
+
* @public
|
|
381
411
|
* <p>This structure contains information about the canary's Lambda handler and
|
|
382
412
|
* where its code is stored by CloudWatch Synthetics.</p>
|
|
383
413
|
*/
|
|
384
414
|
Code?: CanaryCodeOutput;
|
|
385
415
|
/**
|
|
416
|
+
* @public
|
|
386
417
|
* <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
|
|
387
418
|
* policy.</p>
|
|
388
419
|
*/
|
|
389
420
|
ExecutionRoleArn?: string;
|
|
390
421
|
/**
|
|
422
|
+
* @public
|
|
391
423
|
* <p>A structure that contains information about how often the canary is to run, and when
|
|
392
424
|
* these runs are to stop.</p>
|
|
393
425
|
*/
|
|
394
426
|
Schedule?: CanaryScheduleOutput;
|
|
395
427
|
/**
|
|
428
|
+
* @public
|
|
396
429
|
* <p>A structure that contains information about a canary run.</p>
|
|
397
430
|
*/
|
|
398
431
|
RunConfig?: CanaryRunConfigOutput;
|
|
399
432
|
/**
|
|
433
|
+
* @public
|
|
400
434
|
* <p>The number of days to retain data about successful runs of this canary.</p>
|
|
401
435
|
*/
|
|
402
436
|
SuccessRetentionPeriodInDays?: number;
|
|
403
437
|
/**
|
|
438
|
+
* @public
|
|
404
439
|
* <p>The number of days to retain data about failed runs of this canary.</p>
|
|
405
440
|
*/
|
|
406
441
|
FailureRetentionPeriodInDays?: number;
|
|
407
442
|
/**
|
|
443
|
+
* @public
|
|
408
444
|
* <p>A structure that contains information about the canary's status.</p>
|
|
409
445
|
*/
|
|
410
446
|
Status?: CanaryStatus;
|
|
411
447
|
/**
|
|
448
|
+
* @public
|
|
412
449
|
* <p>A structure that contains information about when the canary was created, modified, and
|
|
413
450
|
* most recently run.</p>
|
|
414
451
|
*/
|
|
415
452
|
Timeline?: CanaryTimeline;
|
|
416
453
|
/**
|
|
454
|
+
* @public
|
|
417
455
|
* <p>The location in Amazon S3 where Synthetics stores artifacts from the runs of this
|
|
418
456
|
* canary. Artifacts include the log file, screenshots, and HAR files.</p>
|
|
419
457
|
*/
|
|
420
458
|
ArtifactS3Location?: string;
|
|
421
459
|
/**
|
|
460
|
+
* @public
|
|
422
461
|
* <p>The ARN of the Lambda function that is used as your canary's engine. For more information
|
|
423
462
|
* 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>
|
|
424
463
|
*/
|
|
425
464
|
EngineArn?: string;
|
|
426
465
|
/**
|
|
466
|
+
* @public
|
|
427
467
|
* <p>Specifies the runtime version to use for the canary. For more information about
|
|
428
468
|
* runtime versions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html">
|
|
429
469
|
* Canary Runtime Versions</a>.</p>
|
|
430
470
|
*/
|
|
431
471
|
RuntimeVersion?: string;
|
|
432
472
|
/**
|
|
473
|
+
* @public
|
|
433
474
|
* <p>If this canary is to test an endpoint in a VPC, this structure contains
|
|
434
475
|
* information about the subnets and security groups of the VPC endpoint.
|
|
435
476
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html">
|
|
@@ -437,15 +478,18 @@ export interface Canary {
|
|
|
437
478
|
*/
|
|
438
479
|
VpcConfig?: VpcConfigOutput;
|
|
439
480
|
/**
|
|
481
|
+
* @public
|
|
440
482
|
* <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
|
|
441
483
|
* of any parts of the screen to ignore during the visual monitoring comparison.</p>
|
|
442
484
|
*/
|
|
443
485
|
VisualReference?: VisualReferenceOutput;
|
|
444
486
|
/**
|
|
487
|
+
* @public
|
|
445
488
|
* <p>The list of key-value pairs that are associated with the canary.</p>
|
|
446
489
|
*/
|
|
447
490
|
Tags?: Record<string, string>;
|
|
448
491
|
/**
|
|
492
|
+
* @public
|
|
449
493
|
* <p>A structure that contains the configuration for canary artifacts, including
|
|
450
494
|
* the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.</p>
|
|
451
495
|
*/
|
|
@@ -482,14 +526,17 @@ export type CanaryRunStateReasonCode = (typeof CanaryRunStateReasonCode)[keyof t
|
|
|
482
526
|
*/
|
|
483
527
|
export interface CanaryRunStatus {
|
|
484
528
|
/**
|
|
529
|
+
* @public
|
|
485
530
|
* <p>The current state of the run.</p>
|
|
486
531
|
*/
|
|
487
532
|
State?: CanaryRunState | string;
|
|
488
533
|
/**
|
|
534
|
+
* @public
|
|
489
535
|
* <p>If run of the canary failed, this field contains the reason for the error.</p>
|
|
490
536
|
*/
|
|
491
537
|
StateReason?: string;
|
|
492
538
|
/**
|
|
539
|
+
* @public
|
|
493
540
|
* <p>If this value is <code>CANARY_FAILURE</code>, an exception occurred in the
|
|
494
541
|
* canary code. If this value is <code>EXECUTION_FAILURE</code>, an exception occurred in
|
|
495
542
|
* CloudWatch Synthetics.</p>
|
|
@@ -502,10 +549,12 @@ export interface CanaryRunStatus {
|
|
|
502
549
|
*/
|
|
503
550
|
export interface CanaryRunTimeline {
|
|
504
551
|
/**
|
|
552
|
+
* @public
|
|
505
553
|
* <p>The start time of the run.</p>
|
|
506
554
|
*/
|
|
507
555
|
Started?: Date;
|
|
508
556
|
/**
|
|
557
|
+
* @public
|
|
509
558
|
* <p>The end time of the run.</p>
|
|
510
559
|
*/
|
|
511
560
|
Completed?: Date;
|
|
@@ -516,22 +565,27 @@ export interface CanaryRunTimeline {
|
|
|
516
565
|
*/
|
|
517
566
|
export interface CanaryRun {
|
|
518
567
|
/**
|
|
568
|
+
* @public
|
|
519
569
|
* <p>A unique ID that identifies this canary run.</p>
|
|
520
570
|
*/
|
|
521
571
|
Id?: string;
|
|
522
572
|
/**
|
|
573
|
+
* @public
|
|
523
574
|
* <p>The name of the canary.</p>
|
|
524
575
|
*/
|
|
525
576
|
Name?: string;
|
|
526
577
|
/**
|
|
578
|
+
* @public
|
|
527
579
|
* <p>The status of this run.</p>
|
|
528
580
|
*/
|
|
529
581
|
Status?: CanaryRunStatus;
|
|
530
582
|
/**
|
|
583
|
+
* @public
|
|
531
584
|
* <p>A structure that contains the start and end times of this run.</p>
|
|
532
585
|
*/
|
|
533
586
|
Timeline?: CanaryRunTimeline;
|
|
534
587
|
/**
|
|
588
|
+
* @public
|
|
535
589
|
* <p>The location where the canary stored artifacts from the run. Artifacts include
|
|
536
590
|
* the log file, screenshots, and HAR files.</p>
|
|
537
591
|
*/
|
|
@@ -543,10 +597,12 @@ export interface CanaryRun {
|
|
|
543
597
|
*/
|
|
544
598
|
export interface CanaryLastRun {
|
|
545
599
|
/**
|
|
600
|
+
* @public
|
|
546
601
|
* <p>The name of the canary.</p>
|
|
547
602
|
*/
|
|
548
603
|
CanaryName?: string;
|
|
549
604
|
/**
|
|
605
|
+
* @public
|
|
550
606
|
* <p>The results from this canary's most recent run.</p>
|
|
551
607
|
*/
|
|
552
608
|
LastRun?: CanaryRun;
|
|
@@ -561,19 +617,23 @@ export interface CanaryLastRun {
|
|
|
561
617
|
*/
|
|
562
618
|
export interface CanaryCodeInput {
|
|
563
619
|
/**
|
|
620
|
+
* @public
|
|
564
621
|
* <p>If your canary script is located in S3, specify the bucket name here. Do not include <code>s3://</code> as the
|
|
565
622
|
* start of the bucket name.</p>
|
|
566
623
|
*/
|
|
567
624
|
S3Bucket?: string;
|
|
568
625
|
/**
|
|
626
|
+
* @public
|
|
569
627
|
* <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>
|
|
570
628
|
*/
|
|
571
629
|
S3Key?: string;
|
|
572
630
|
/**
|
|
631
|
+
* @public
|
|
573
632
|
* <p>The S3 version ID of your script.</p>
|
|
574
633
|
*/
|
|
575
634
|
S3Version?: string;
|
|
576
635
|
/**
|
|
636
|
+
* @public
|
|
577
637
|
* <p>If you input your canary script directly into the canary instead of referring to an S3
|
|
578
638
|
* location, the value of this parameter is the base64-encoded contents of the .zip file that
|
|
579
639
|
* contains the script. It must be smaller than 225 Kb.</p>
|
|
@@ -582,6 +642,7 @@ export interface CanaryCodeInput {
|
|
|
582
642
|
*/
|
|
583
643
|
ZipFile?: Uint8Array;
|
|
584
644
|
/**
|
|
645
|
+
* @public
|
|
585
646
|
* <p>The entry point to use for the source code when running the canary. For canaries that use the
|
|
586
647
|
* <code>syn-python-selenium-1.0</code> runtime
|
|
587
648
|
* or a <code>syn-nodejs.puppeteer</code> runtime earlier than <code>syn-nodejs.puppeteer-3.4</code>,
|
|
@@ -604,6 +665,7 @@ export interface CanaryCodeInput {
|
|
|
604
665
|
*/
|
|
605
666
|
export interface CanaryRunConfigInput {
|
|
606
667
|
/**
|
|
668
|
+
* @public
|
|
607
669
|
* <p>How long the canary is allowed to run before it must stop. You can't set this time to be longer
|
|
608
670
|
* than the frequency of the runs of this canary.</p>
|
|
609
671
|
* <p>If you omit this field, the
|
|
@@ -611,10 +673,12 @@ export interface CanaryRunConfigInput {
|
|
|
611
673
|
*/
|
|
612
674
|
TimeoutInSeconds?: number;
|
|
613
675
|
/**
|
|
676
|
+
* @public
|
|
614
677
|
* <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>
|
|
615
678
|
*/
|
|
616
679
|
MemoryInMB?: number;
|
|
617
680
|
/**
|
|
681
|
+
* @public
|
|
618
682
|
* <p>Specifies whether this canary is to use active X-Ray tracing when it runs. Active tracing
|
|
619
683
|
* enables
|
|
620
684
|
* this canary run to be displayed in the ServiceLens and X-Ray service maps even if the canary does
|
|
@@ -626,6 +690,7 @@ export interface CanaryRunConfigInput {
|
|
|
626
690
|
*/
|
|
627
691
|
ActiveTracing?: boolean;
|
|
628
692
|
/**
|
|
693
|
+
* @public
|
|
629
694
|
* <p>Specifies the keys and values to use for any environment variables
|
|
630
695
|
* used in the canary script. Use the following format:</p>
|
|
631
696
|
* <p>\{ "key1" : "value1", "key2" : "value2", ...\}</p>
|
|
@@ -648,6 +713,7 @@ export interface CanaryRunConfigInput {
|
|
|
648
713
|
*/
|
|
649
714
|
export interface CanaryScheduleInput {
|
|
650
715
|
/**
|
|
716
|
+
* @public
|
|
651
717
|
* <p>A <code>rate</code> expression or a <code>cron</code> expression that defines how often the canary is to run.</p>
|
|
652
718
|
* <p>For a rate expression, The syntax is
|
|
653
719
|
* <code>rate(<i>number unit</i>)</code>. <i>unit</i>
|
|
@@ -665,6 +731,7 @@ export interface CanaryScheduleInput {
|
|
|
665
731
|
*/
|
|
666
732
|
Expression: string | undefined;
|
|
667
733
|
/**
|
|
734
|
+
* @public
|
|
668
735
|
* <p>How long, in seconds, for the canary to continue making regular runs according to
|
|
669
736
|
* the schedule in the <code>Expression</code> value. If you specify 0, the canary continues
|
|
670
737
|
* making runs until you stop it. If you omit this field, the default of 0 is used.</p>
|
|
@@ -680,10 +747,12 @@ export interface CanaryScheduleInput {
|
|
|
680
747
|
*/
|
|
681
748
|
export interface VpcConfigInput {
|
|
682
749
|
/**
|
|
750
|
+
* @public
|
|
683
751
|
* <p>The IDs of the subnets where this canary is to run.</p>
|
|
684
752
|
*/
|
|
685
753
|
SubnetIds?: string[];
|
|
686
754
|
/**
|
|
755
|
+
* @public
|
|
687
756
|
* <p>The IDs of the security groups for this canary.</p>
|
|
688
757
|
*/
|
|
689
758
|
SecurityGroupIds?: string[];
|
|
@@ -693,6 +762,7 @@ export interface VpcConfigInput {
|
|
|
693
762
|
*/
|
|
694
763
|
export interface CreateCanaryRequest {
|
|
695
764
|
/**
|
|
765
|
+
* @public
|
|
696
766
|
* <p>The name for this canary. Be sure to give it a descriptive name
|
|
697
767
|
* that distinguishes it from other canaries in your account.</p>
|
|
698
768
|
* <p>Do not include secrets or proprietary information in your canary names. The canary name
|
|
@@ -702,6 +772,7 @@ export interface CreateCanaryRequest {
|
|
|
702
772
|
*/
|
|
703
773
|
Name: string | undefined;
|
|
704
774
|
/**
|
|
775
|
+
* @public
|
|
705
776
|
* <p>A structure that includes the entry point from which the canary should start
|
|
706
777
|
* running your script. If the script is stored in
|
|
707
778
|
* an S3 bucket, the bucket name, key, and version are also included.
|
|
@@ -709,12 +780,14 @@ export interface CreateCanaryRequest {
|
|
|
709
780
|
*/
|
|
710
781
|
Code: CanaryCodeInput | undefined;
|
|
711
782
|
/**
|
|
783
|
+
* @public
|
|
712
784
|
* <p>The location in Amazon S3 where Synthetics stores artifacts from the test runs of this
|
|
713
785
|
* canary. Artifacts include the log file, screenshots, and HAR files. The name of the
|
|
714
786
|
* S3 bucket can't include a period (.).</p>
|
|
715
787
|
*/
|
|
716
788
|
ArtifactS3Location: string | undefined;
|
|
717
789
|
/**
|
|
790
|
+
* @public
|
|
718
791
|
* <p>The ARN of the IAM role to be used to run the canary. This role must already exist,
|
|
719
792
|
* and must include <code>lambda.amazonaws.com</code> as a principal in the trust
|
|
720
793
|
* policy. The role must also have the following permissions:</p>
|
|
@@ -758,11 +831,13 @@ export interface CreateCanaryRequest {
|
|
|
758
831
|
*/
|
|
759
832
|
ExecutionRoleArn: string | undefined;
|
|
760
833
|
/**
|
|
834
|
+
* @public
|
|
761
835
|
* <p>A structure that contains information about how often the canary is to run and when
|
|
762
836
|
* these test runs are to stop.</p>
|
|
763
837
|
*/
|
|
764
838
|
Schedule: CanaryScheduleInput | undefined;
|
|
765
839
|
/**
|
|
840
|
+
* @public
|
|
766
841
|
* <p>A structure that contains the configuration for individual canary runs,
|
|
767
842
|
* such as timeout value and environment variables.</p>
|
|
768
843
|
* <important>
|
|
@@ -772,16 +847,19 @@ export interface CreateCanaryRequest {
|
|
|
772
847
|
*/
|
|
773
848
|
RunConfig?: CanaryRunConfigInput;
|
|
774
849
|
/**
|
|
850
|
+
* @public
|
|
775
851
|
* <p>The number of days to retain data about successful runs of this canary. If you omit
|
|
776
852
|
* this field, the default of 31 days is used. The valid range is 1 to 455 days.</p>
|
|
777
853
|
*/
|
|
778
854
|
SuccessRetentionPeriodInDays?: number;
|
|
779
855
|
/**
|
|
856
|
+
* @public
|
|
780
857
|
* <p>The number of days to retain data about failed runs of this canary. If you omit
|
|
781
858
|
* this field, the default of 31 days is used. The valid range is 1 to 455 days.</p>
|
|
782
859
|
*/
|
|
783
860
|
FailureRetentionPeriodInDays?: number;
|
|
784
861
|
/**
|
|
862
|
+
* @public
|
|
785
863
|
* <p>Specifies the runtime version to use for the canary. For a list of valid
|
|
786
864
|
* runtime versions and more information about
|
|
787
865
|
* runtime versions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html">
|
|
@@ -789,6 +867,7 @@ export interface CreateCanaryRequest {
|
|
|
789
867
|
*/
|
|
790
868
|
RuntimeVersion: string | undefined;
|
|
791
869
|
/**
|
|
870
|
+
* @public
|
|
792
871
|
* <p>If this canary is to test an endpoint in a VPC, this structure contains
|
|
793
872
|
* information about the subnet and security groups of the VPC endpoint.
|
|
794
873
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html">
|
|
@@ -796,6 +875,7 @@ export interface CreateCanaryRequest {
|
|
|
796
875
|
*/
|
|
797
876
|
VpcConfig?: VpcConfigInput;
|
|
798
877
|
/**
|
|
878
|
+
* @public
|
|
799
879
|
* <p>A list of key-value pairs to associate with the canary.
|
|
800
880
|
* You can associate as many as 50 tags with a canary.</p>
|
|
801
881
|
* <p>Tags can help you organize and categorize your
|
|
@@ -805,6 +885,7 @@ export interface CreateCanaryRequest {
|
|
|
805
885
|
*/
|
|
806
886
|
Tags?: Record<string, string>;
|
|
807
887
|
/**
|
|
888
|
+
* @public
|
|
808
889
|
* <p>A structure that contains the configuration for canary artifacts, including
|
|
809
890
|
* the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.</p>
|
|
810
891
|
*/
|
|
@@ -815,6 +896,7 @@ export interface CreateCanaryRequest {
|
|
|
815
896
|
*/
|
|
816
897
|
export interface CreateCanaryResponse {
|
|
817
898
|
/**
|
|
899
|
+
* @public
|
|
818
900
|
* <p>The full details about the canary you have created.</p>
|
|
819
901
|
*/
|
|
820
902
|
Canary?: Canary;
|
|
@@ -837,11 +919,13 @@ export declare class RequestEntityTooLargeException extends __BaseException {
|
|
|
837
919
|
*/
|
|
838
920
|
export interface CreateGroupRequest {
|
|
839
921
|
/**
|
|
922
|
+
* @public
|
|
840
923
|
* <p>The name for the group. It can include any Unicode characters.</p>
|
|
841
924
|
* <p>The names for all groups in your account, across all Regions, must be unique.</p>
|
|
842
925
|
*/
|
|
843
926
|
Name: string | undefined;
|
|
844
927
|
/**
|
|
928
|
+
* @public
|
|
845
929
|
* <p>A list of key-value pairs to associate with the group.
|
|
846
930
|
* You can associate as many as 50 tags with a group.</p>
|
|
847
931
|
* <p>Tags can help you organize and categorize your
|
|
@@ -857,26 +941,32 @@ export interface CreateGroupRequest {
|
|
|
857
941
|
*/
|
|
858
942
|
export interface Group {
|
|
859
943
|
/**
|
|
944
|
+
* @public
|
|
860
945
|
* <p>The unique ID of the group.</p>
|
|
861
946
|
*/
|
|
862
947
|
Id?: string;
|
|
863
948
|
/**
|
|
949
|
+
* @public
|
|
864
950
|
* <p>The name of the group.</p>
|
|
865
951
|
*/
|
|
866
952
|
Name?: string;
|
|
867
953
|
/**
|
|
954
|
+
* @public
|
|
868
955
|
* <p>The ARN of the group.</p>
|
|
869
956
|
*/
|
|
870
957
|
Arn?: string;
|
|
871
958
|
/**
|
|
959
|
+
* @public
|
|
872
960
|
* <p>The list of key-value pairs that are associated with the canary.</p>
|
|
873
961
|
*/
|
|
874
962
|
Tags?: Record<string, string>;
|
|
875
963
|
/**
|
|
964
|
+
* @public
|
|
876
965
|
* <p>The date and time that the group was created.</p>
|
|
877
966
|
*/
|
|
878
967
|
CreatedTime?: Date;
|
|
879
968
|
/**
|
|
969
|
+
* @public
|
|
880
970
|
* <p>The date and time that the group was most recently updated.</p>
|
|
881
971
|
*/
|
|
882
972
|
LastModifiedTime?: Date;
|
|
@@ -886,6 +976,7 @@ export interface Group {
|
|
|
886
976
|
*/
|
|
887
977
|
export interface CreateGroupResponse {
|
|
888
978
|
/**
|
|
979
|
+
* @public
|
|
889
980
|
* <p>A structure that contains information about the group that was just created.</p>
|
|
890
981
|
*/
|
|
891
982
|
Group?: Group;
|
|
@@ -895,10 +986,12 @@ export interface CreateGroupResponse {
|
|
|
895
986
|
*/
|
|
896
987
|
export interface DeleteCanaryRequest {
|
|
897
988
|
/**
|
|
989
|
+
* @public
|
|
898
990
|
* <p>The name of the canary that you want to delete. To find the names of your canaries, use <a href="https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html">DescribeCanaries</a>.</p>
|
|
899
991
|
*/
|
|
900
992
|
Name: string | undefined;
|
|
901
993
|
/**
|
|
994
|
+
* @public
|
|
902
995
|
* <p>Specifies whether to also delete the Lambda functions and layers used by this canary. The default
|
|
903
996
|
* is false.</p>
|
|
904
997
|
* <p>Type: Boolean</p>
|
|
@@ -915,6 +1008,7 @@ export interface DeleteCanaryResponse {
|
|
|
915
1008
|
*/
|
|
916
1009
|
export interface DeleteGroupRequest {
|
|
917
1010
|
/**
|
|
1011
|
+
* @public
|
|
918
1012
|
* <p>Specifies which group to delete. You can specify the group name, the ARN, or the
|
|
919
1013
|
* group ID as the <code>GroupIdentifier</code>.</p>
|
|
920
1014
|
*/
|
|
@@ -930,17 +1024,20 @@ export interface DeleteGroupResponse {
|
|
|
930
1024
|
*/
|
|
931
1025
|
export interface DescribeCanariesRequest {
|
|
932
1026
|
/**
|
|
1027
|
+
* @public
|
|
933
1028
|
* <p>A token that indicates that there is more data
|
|
934
1029
|
* available. You can use this token in a subsequent operation to retrieve the next
|
|
935
1030
|
* set of results.</p>
|
|
936
1031
|
*/
|
|
937
1032
|
NextToken?: string;
|
|
938
1033
|
/**
|
|
1034
|
+
* @public
|
|
939
1035
|
* <p>Specify this parameter to limit how many canaries are returned each time you use
|
|
940
1036
|
* the <code>DescribeCanaries</code> operation. If you omit this parameter, the default of 100 is used.</p>
|
|
941
1037
|
*/
|
|
942
1038
|
MaxResults?: number;
|
|
943
1039
|
/**
|
|
1040
|
+
* @public
|
|
944
1041
|
* <p>Use this parameter to return only canaries that match the names that you specify here. You can
|
|
945
1042
|
* specify as many as five canary names.</p>
|
|
946
1043
|
* <p>If you specify this parameter, the operation is successful only if you have authorization to view
|
|
@@ -958,11 +1055,13 @@ export interface DescribeCanariesRequest {
|
|
|
958
1055
|
*/
|
|
959
1056
|
export interface DescribeCanariesResponse {
|
|
960
1057
|
/**
|
|
1058
|
+
* @public
|
|
961
1059
|
* <p>Returns an array. Each item in the array contains the full information about
|
|
962
1060
|
* one canary.</p>
|
|
963
1061
|
*/
|
|
964
1062
|
Canaries?: Canary[];
|
|
965
1063
|
/**
|
|
1064
|
+
* @public
|
|
966
1065
|
* <p>A token that indicates that there is more data
|
|
967
1066
|
* available. You can use this token in a subsequent <code>DescribeCanaries</code> operation to retrieve the next
|
|
968
1067
|
* set of results.</p>
|
|
@@ -974,17 +1073,20 @@ export interface DescribeCanariesResponse {
|
|
|
974
1073
|
*/
|
|
975
1074
|
export interface DescribeCanariesLastRunRequest {
|
|
976
1075
|
/**
|
|
1076
|
+
* @public
|
|
977
1077
|
* <p>A token that indicates that there is more data
|
|
978
1078
|
* available. You can use this token in a subsequent <code>DescribeCanariesLastRun</code> operation to retrieve the next
|
|
979
1079
|
* set of results.</p>
|
|
980
1080
|
*/
|
|
981
1081
|
NextToken?: string;
|
|
982
1082
|
/**
|
|
1083
|
+
* @public
|
|
983
1084
|
* <p>Specify this parameter to limit how many runs are returned each time you use
|
|
984
1085
|
* the <code>DescribeLastRun</code> operation. If you omit this parameter, the default of 100 is used.</p>
|
|
985
1086
|
*/
|
|
986
1087
|
MaxResults?: number;
|
|
987
1088
|
/**
|
|
1089
|
+
* @public
|
|
988
1090
|
* <p>Use this parameter to return only canaries that match the names that you specify here. You can
|
|
989
1091
|
* specify as many as five canary names.</p>
|
|
990
1092
|
* <p>If you specify this parameter, the operation is successful only if you have authorization to view
|
|
@@ -1002,11 +1104,13 @@ export interface DescribeCanariesLastRunRequest {
|
|
|
1002
1104
|
*/
|
|
1003
1105
|
export interface DescribeCanariesLastRunResponse {
|
|
1004
1106
|
/**
|
|
1107
|
+
* @public
|
|
1005
1108
|
* <p>An array that contains the information from the most recent run of each
|
|
1006
1109
|
* canary.</p>
|
|
1007
1110
|
*/
|
|
1008
1111
|
CanariesLastRun?: CanaryLastRun[];
|
|
1009
1112
|
/**
|
|
1113
|
+
* @public
|
|
1010
1114
|
* <p>A token that indicates that there is more data
|
|
1011
1115
|
* available. You can use this token in a subsequent <code>DescribeCanariesLastRun</code> operation to retrieve the next
|
|
1012
1116
|
* set of results.</p>
|
|
@@ -1018,12 +1122,14 @@ export interface DescribeCanariesLastRunResponse {
|
|
|
1018
1122
|
*/
|
|
1019
1123
|
export interface DescribeRuntimeVersionsRequest {
|
|
1020
1124
|
/**
|
|
1125
|
+
* @public
|
|
1021
1126
|
* <p>A token that indicates that there is more data
|
|
1022
1127
|
* available. You can use this token in a subsequent <code>DescribeRuntimeVersions</code> operation to retrieve the next
|
|
1023
1128
|
* set of results.</p>
|
|
1024
1129
|
*/
|
|
1025
1130
|
NextToken?: string;
|
|
1026
1131
|
/**
|
|
1132
|
+
* @public
|
|
1027
1133
|
* <p>Specify this parameter to limit how many runs are returned each time you use
|
|
1028
1134
|
* the <code>DescribeRuntimeVersions</code> operation. If you omit this parameter, the default of 100 is used.</p>
|
|
1029
1135
|
*/
|
|
@@ -1037,20 +1143,24 @@ export interface DescribeRuntimeVersionsRequest {
|
|
|
1037
1143
|
*/
|
|
1038
1144
|
export interface RuntimeVersion {
|
|
1039
1145
|
/**
|
|
1146
|
+
* @public
|
|
1040
1147
|
* <p>The name of the runtime version. For a list of valid runtime versions,
|
|
1041
1148
|
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html">
|
|
1042
1149
|
* Canary Runtime Versions</a>.</p>
|
|
1043
1150
|
*/
|
|
1044
1151
|
VersionName?: string;
|
|
1045
1152
|
/**
|
|
1153
|
+
* @public
|
|
1046
1154
|
* <p>A description of the runtime version, created by Amazon.</p>
|
|
1047
1155
|
*/
|
|
1048
1156
|
Description?: string;
|
|
1049
1157
|
/**
|
|
1158
|
+
* @public
|
|
1050
1159
|
* <p>The date that the runtime version was released.</p>
|
|
1051
1160
|
*/
|
|
1052
1161
|
ReleaseDate?: Date;
|
|
1053
1162
|
/**
|
|
1163
|
+
* @public
|
|
1054
1164
|
* <p>If this runtime version is deprecated, this value is the date of deprecation.</p>
|
|
1055
1165
|
*/
|
|
1056
1166
|
DeprecationDate?: Date;
|
|
@@ -1060,11 +1170,13 @@ export interface RuntimeVersion {
|
|
|
1060
1170
|
*/
|
|
1061
1171
|
export interface DescribeRuntimeVersionsResponse {
|
|
1062
1172
|
/**
|
|
1173
|
+
* @public
|
|
1063
1174
|
* <p>An array of objects that display the details about each Synthetics canary runtime
|
|
1064
1175
|
* version.</p>
|
|
1065
1176
|
*/
|
|
1066
1177
|
RuntimeVersions?: RuntimeVersion[];
|
|
1067
1178
|
/**
|
|
1179
|
+
* @public
|
|
1068
1180
|
* <p>A token that indicates that there is more data
|
|
1069
1181
|
* available. You can use this token in a subsequent <code>DescribeRuntimeVersions</code> operation to retrieve the next
|
|
1070
1182
|
* set of results.</p>
|
|
@@ -1076,11 +1188,13 @@ export interface DescribeRuntimeVersionsResponse {
|
|
|
1076
1188
|
*/
|
|
1077
1189
|
export interface DisassociateResourceRequest {
|
|
1078
1190
|
/**
|
|
1191
|
+
* @public
|
|
1079
1192
|
* <p>Specifies the group. You can specify the group name, the ARN, or the
|
|
1080
1193
|
* group ID as the <code>GroupIdentifier</code>.</p>
|
|
1081
1194
|
*/
|
|
1082
1195
|
GroupIdentifier: string | undefined;
|
|
1083
1196
|
/**
|
|
1197
|
+
* @public
|
|
1084
1198
|
* <p>The ARN of the canary that you want to remove from the specified group.</p>
|
|
1085
1199
|
*/
|
|
1086
1200
|
ResourceArn: string | undefined;
|
|
@@ -1095,6 +1209,7 @@ export interface DisassociateResourceResponse {
|
|
|
1095
1209
|
*/
|
|
1096
1210
|
export interface GetCanaryRequest {
|
|
1097
1211
|
/**
|
|
1212
|
+
* @public
|
|
1098
1213
|
* <p>The name of the canary that you want details for.</p>
|
|
1099
1214
|
*/
|
|
1100
1215
|
Name: string | undefined;
|
|
@@ -1104,6 +1219,7 @@ export interface GetCanaryRequest {
|
|
|
1104
1219
|
*/
|
|
1105
1220
|
export interface GetCanaryResponse {
|
|
1106
1221
|
/**
|
|
1222
|
+
* @public
|
|
1107
1223
|
* <p>A structure that contains the full information about the canary.</p>
|
|
1108
1224
|
*/
|
|
1109
1225
|
Canary?: Canary;
|
|
@@ -1113,16 +1229,19 @@ export interface GetCanaryResponse {
|
|
|
1113
1229
|
*/
|
|
1114
1230
|
export interface GetCanaryRunsRequest {
|
|
1115
1231
|
/**
|
|
1232
|
+
* @public
|
|
1116
1233
|
* <p>The name of the canary that you want to see runs for.</p>
|
|
1117
1234
|
*/
|
|
1118
1235
|
Name: string | undefined;
|
|
1119
1236
|
/**
|
|
1237
|
+
* @public
|
|
1120
1238
|
* <p>A token that indicates that there is more data
|
|
1121
1239
|
* available. You can use this token in a subsequent <code>GetCanaryRuns</code> operation to retrieve the next
|
|
1122
1240
|
* set of results.</p>
|
|
1123
1241
|
*/
|
|
1124
1242
|
NextToken?: string;
|
|
1125
1243
|
/**
|
|
1244
|
+
* @public
|
|
1126
1245
|
* <p>Specify this parameter to limit how many runs are returned each time you use
|
|
1127
1246
|
* the <code>GetCanaryRuns</code> operation. If you omit this parameter, the default of 100 is used.</p>
|
|
1128
1247
|
*/
|
|
@@ -1133,11 +1252,13 @@ export interface GetCanaryRunsRequest {
|
|
|
1133
1252
|
*/
|
|
1134
1253
|
export interface GetCanaryRunsResponse {
|
|
1135
1254
|
/**
|
|
1255
|
+
* @public
|
|
1136
1256
|
* <p>An array of structures. Each structure contains the details of one of the
|
|
1137
1257
|
* retrieved canary runs.</p>
|
|
1138
1258
|
*/
|
|
1139
1259
|
CanaryRuns?: CanaryRun[];
|
|
1140
1260
|
/**
|
|
1261
|
+
* @public
|
|
1141
1262
|
* <p>A token that indicates that there is more data
|
|
1142
1263
|
* available. You can use this token in a subsequent <code>GetCanaryRuns</code>
|
|
1143
1264
|
* operation to retrieve the next
|
|
@@ -1150,6 +1271,7 @@ export interface GetCanaryRunsResponse {
|
|
|
1150
1271
|
*/
|
|
1151
1272
|
export interface GetGroupRequest {
|
|
1152
1273
|
/**
|
|
1274
|
+
* @public
|
|
1153
1275
|
* <p>Specifies the group to return information for. You can specify the group name, the ARN, or the
|
|
1154
1276
|
* group ID as the <code>GroupIdentifier</code>.</p>
|
|
1155
1277
|
*/
|
|
@@ -1160,6 +1282,7 @@ export interface GetGroupRequest {
|
|
|
1160
1282
|
*/
|
|
1161
1283
|
export interface GetGroupResponse {
|
|
1162
1284
|
/**
|
|
1285
|
+
* @public
|
|
1163
1286
|
* <p>A structure that contains information about the group.</p>
|
|
1164
1287
|
*/
|
|
1165
1288
|
Group?: Group;
|
|
@@ -1170,14 +1293,17 @@ export interface GetGroupResponse {
|
|
|
1170
1293
|
*/
|
|
1171
1294
|
export interface GroupSummary {
|
|
1172
1295
|
/**
|
|
1296
|
+
* @public
|
|
1173
1297
|
* <p>The unique ID of the group.</p>
|
|
1174
1298
|
*/
|
|
1175
1299
|
Id?: string;
|
|
1176
1300
|
/**
|
|
1301
|
+
* @public
|
|
1177
1302
|
* <p>The name of the group.</p>
|
|
1178
1303
|
*/
|
|
1179
1304
|
Name?: string;
|
|
1180
1305
|
/**
|
|
1306
|
+
* @public
|
|
1181
1307
|
* <p>The ARN of the group.</p>
|
|
1182
1308
|
*/
|
|
1183
1309
|
Arn?: string;
|
|
@@ -1200,17 +1326,20 @@ export declare class InternalFailureException extends __BaseException {
|
|
|
1200
1326
|
*/
|
|
1201
1327
|
export interface ListAssociatedGroupsRequest {
|
|
1202
1328
|
/**
|
|
1329
|
+
* @public
|
|
1203
1330
|
* <p>A token that indicates that there is more data
|
|
1204
1331
|
* available. You can use this token in a subsequent operation to retrieve the next
|
|
1205
1332
|
* set of results.</p>
|
|
1206
1333
|
*/
|
|
1207
1334
|
NextToken?: string;
|
|
1208
1335
|
/**
|
|
1336
|
+
* @public
|
|
1209
1337
|
* <p>Specify this parameter to limit how many groups are returned each time you use
|
|
1210
1338
|
* the <code>ListAssociatedGroups</code> operation. If you omit this parameter, the default of 20 is used.</p>
|
|
1211
1339
|
*/
|
|
1212
1340
|
MaxResults?: number;
|
|
1213
1341
|
/**
|
|
1342
|
+
* @public
|
|
1214
1343
|
* <p>The ARN of the canary that you want to view groups for.</p>
|
|
1215
1344
|
*/
|
|
1216
1345
|
ResourceArn: string | undefined;
|
|
@@ -1220,10 +1349,12 @@ export interface ListAssociatedGroupsRequest {
|
|
|
1220
1349
|
*/
|
|
1221
1350
|
export interface ListAssociatedGroupsResponse {
|
|
1222
1351
|
/**
|
|
1352
|
+
* @public
|
|
1223
1353
|
* <p>An array of structures that contain information about the groups that this canary is associated with.</p>
|
|
1224
1354
|
*/
|
|
1225
1355
|
Groups?: GroupSummary[];
|
|
1226
1356
|
/**
|
|
1357
|
+
* @public
|
|
1227
1358
|
* <p>A token that indicates that there is more data
|
|
1228
1359
|
* available. You can use this token in a subsequent <code>ListAssociatedGroups</code> operation to retrieve the next
|
|
1229
1360
|
* set of results.</p>
|
|
@@ -1235,17 +1366,20 @@ export interface ListAssociatedGroupsResponse {
|
|
|
1235
1366
|
*/
|
|
1236
1367
|
export interface ListGroupResourcesRequest {
|
|
1237
1368
|
/**
|
|
1369
|
+
* @public
|
|
1238
1370
|
* <p>A token that indicates that there is more data
|
|
1239
1371
|
* available. You can use this token in a subsequent operation to retrieve the next
|
|
1240
1372
|
* set of results.</p>
|
|
1241
1373
|
*/
|
|
1242
1374
|
NextToken?: string;
|
|
1243
1375
|
/**
|
|
1376
|
+
* @public
|
|
1244
1377
|
* <p>Specify this parameter to limit how many canary ARNs are returned each time you use
|
|
1245
1378
|
* the <code>ListGroupResources</code> operation. If you omit this parameter, the default of 20 is used.</p>
|
|
1246
1379
|
*/
|
|
1247
1380
|
MaxResults?: number;
|
|
1248
1381
|
/**
|
|
1382
|
+
* @public
|
|
1249
1383
|
* <p>Specifies the group to return information for. You can specify the group name, the ARN, or the
|
|
1250
1384
|
* group ID as the <code>GroupIdentifier</code>.</p>
|
|
1251
1385
|
*/
|
|
@@ -1256,10 +1390,12 @@ export interface ListGroupResourcesRequest {
|
|
|
1256
1390
|
*/
|
|
1257
1391
|
export interface ListGroupResourcesResponse {
|
|
1258
1392
|
/**
|
|
1393
|
+
* @public
|
|
1259
1394
|
* <p>An array of ARNs. These ARNs are for the canaries that are associated with the group.</p>
|
|
1260
1395
|
*/
|
|
1261
1396
|
Resources?: string[];
|
|
1262
1397
|
/**
|
|
1398
|
+
* @public
|
|
1263
1399
|
* <p>A token that indicates that there is more data
|
|
1264
1400
|
* available. You can use this token in a subsequent <code>ListGroupResources</code> operation to retrieve the next
|
|
1265
1401
|
* set of results.</p>
|
|
@@ -1271,12 +1407,14 @@ export interface ListGroupResourcesResponse {
|
|
|
1271
1407
|
*/
|
|
1272
1408
|
export interface ListGroupsRequest {
|
|
1273
1409
|
/**
|
|
1410
|
+
* @public
|
|
1274
1411
|
* <p>A token that indicates that there is more data
|
|
1275
1412
|
* available. You can use this token in a subsequent operation to retrieve the next
|
|
1276
1413
|
* set of results.</p>
|
|
1277
1414
|
*/
|
|
1278
1415
|
NextToken?: string;
|
|
1279
1416
|
/**
|
|
1417
|
+
* @public
|
|
1280
1418
|
* <p>Specify this parameter to limit how many groups are returned each time you use
|
|
1281
1419
|
* the <code>ListGroups</code> operation. If you omit this parameter, the default of 20 is used.</p>
|
|
1282
1420
|
*/
|
|
@@ -1287,10 +1425,12 @@ export interface ListGroupsRequest {
|
|
|
1287
1425
|
*/
|
|
1288
1426
|
export interface ListGroupsResponse {
|
|
1289
1427
|
/**
|
|
1428
|
+
* @public
|
|
1290
1429
|
* <p>An array of structures that each contain information about one group.</p>
|
|
1291
1430
|
*/
|
|
1292
1431
|
Groups?: GroupSummary[];
|
|
1293
1432
|
/**
|
|
1433
|
+
* @public
|
|
1294
1434
|
* <p>A token that indicates that there is more data
|
|
1295
1435
|
* available. You can use this token in a subsequent <code>ListGroups</code> operation to retrieve the next
|
|
1296
1436
|
* set of results.</p>
|
|
@@ -1302,6 +1442,7 @@ export interface ListGroupsResponse {
|
|
|
1302
1442
|
*/
|
|
1303
1443
|
export interface ListTagsForResourceRequest {
|
|
1304
1444
|
/**
|
|
1445
|
+
* @public
|
|
1305
1446
|
* <p>The ARN of the canary or group that you want to view tags for.</p>
|
|
1306
1447
|
* <p>The ARN format of a canary is
|
|
1307
1448
|
* <code>arn:aws:synthetics:<i>Region</i>:<i>account-id</i>:canary:<i>canary-name</i>
|
|
@@ -1318,6 +1459,7 @@ export interface ListTagsForResourceRequest {
|
|
|
1318
1459
|
*/
|
|
1319
1460
|
export interface ListTagsForResourceResponse {
|
|
1320
1461
|
/**
|
|
1462
|
+
* @public
|
|
1321
1463
|
* <p>The list of tag keys and values associated with the resource that you specified.</p>
|
|
1322
1464
|
*/
|
|
1323
1465
|
Tags?: Record<string, string>;
|
|
@@ -1353,6 +1495,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
1353
1495
|
*/
|
|
1354
1496
|
export interface StartCanaryRequest {
|
|
1355
1497
|
/**
|
|
1498
|
+
* @public
|
|
1356
1499
|
* <p>The name of the canary that you want to run. To find
|
|
1357
1500
|
* canary names, use <a href="https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html">DescribeCanaries</a>.</p>
|
|
1358
1501
|
*/
|
|
@@ -1368,6 +1511,7 @@ export interface StartCanaryResponse {
|
|
|
1368
1511
|
*/
|
|
1369
1512
|
export interface StopCanaryRequest {
|
|
1370
1513
|
/**
|
|
1514
|
+
* @public
|
|
1371
1515
|
* <p>The name of the canary that you want to stop. To find the names of your
|
|
1372
1516
|
* canaries, use <a href="https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html">ListCanaries</a>.</p>
|
|
1373
1517
|
*/
|
|
@@ -1383,6 +1527,7 @@ export interface StopCanaryResponse {
|
|
|
1383
1527
|
*/
|
|
1384
1528
|
export interface TagResourceRequest {
|
|
1385
1529
|
/**
|
|
1530
|
+
* @public
|
|
1386
1531
|
* <p>The ARN of the canary or group that you're adding tags to.</p>
|
|
1387
1532
|
* <p>The ARN format of a canary is
|
|
1388
1533
|
* <code>arn:aws:synthetics:<i>Region</i>:<i>account-id</i>:canary:<i>canary-name</i>
|
|
@@ -1394,6 +1539,7 @@ export interface TagResourceRequest {
|
|
|
1394
1539
|
*/
|
|
1395
1540
|
ResourceArn: string | undefined;
|
|
1396
1541
|
/**
|
|
1542
|
+
* @public
|
|
1397
1543
|
* <p>The list of key-value pairs to associate with the resource.</p>
|
|
1398
1544
|
*/
|
|
1399
1545
|
Tags: Record<string, string> | undefined;
|
|
@@ -1408,6 +1554,7 @@ export interface TagResourceResponse {
|
|
|
1408
1554
|
*/
|
|
1409
1555
|
export interface UntagResourceRequest {
|
|
1410
1556
|
/**
|
|
1557
|
+
* @public
|
|
1411
1558
|
* <p>The ARN of the canary or group that you're removing tags from.</p>
|
|
1412
1559
|
* <p>The ARN format of a canary is
|
|
1413
1560
|
* <code>arn:aws:synthetics:<i>Region</i>:<i>account-id</i>:canary:<i>canary-name</i>
|
|
@@ -1419,6 +1566,7 @@ export interface UntagResourceRequest {
|
|
|
1419
1566
|
*/
|
|
1420
1567
|
ResourceArn: string | undefined;
|
|
1421
1568
|
/**
|
|
1569
|
+
* @public
|
|
1422
1570
|
* <p>The list of tag keys to remove from the resource.</p>
|
|
1423
1571
|
*/
|
|
1424
1572
|
TagKeys: string[] | undefined;
|
|
@@ -1441,11 +1589,13 @@ export interface UntagResourceResponse {
|
|
|
1441
1589
|
*/
|
|
1442
1590
|
export interface VisualReferenceInput {
|
|
1443
1591
|
/**
|
|
1592
|
+
* @public
|
|
1444
1593
|
* <p>An array of screenshots that will be used as the baseline for visual monitoring in future runs of this canary. If there is a screenshot that you don't want to be used for
|
|
1445
1594
|
* visual monitoring, remove it from this array.</p>
|
|
1446
1595
|
*/
|
|
1447
1596
|
BaseScreenshots?: BaseScreenshot[];
|
|
1448
1597
|
/**
|
|
1598
|
+
* @public
|
|
1449
1599
|
* <p>Specifies which canary run to use the screenshots from as the baseline for future visual monitoring with this canary. Valid values are
|
|
1450
1600
|
* <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
|
|
1451
1601
|
* before this update was made, or the value of <code>Id</code> in the <a href="https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_CanaryRun.html">
|
|
@@ -1458,12 +1608,14 @@ export interface VisualReferenceInput {
|
|
|
1458
1608
|
*/
|
|
1459
1609
|
export interface UpdateCanaryRequest {
|
|
1460
1610
|
/**
|
|
1611
|
+
* @public
|
|
1461
1612
|
* <p>The name of the canary that you want to update. To find the names of your
|
|
1462
1613
|
* canaries, use <a href="https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html">DescribeCanaries</a>.</p>
|
|
1463
1614
|
* <p>You cannot change the name of a canary that has already been created.</p>
|
|
1464
1615
|
*/
|
|
1465
1616
|
Name: string | undefined;
|
|
1466
1617
|
/**
|
|
1618
|
+
* @public
|
|
1467
1619
|
* <p>A structure that includes the entry point from which the canary should start
|
|
1468
1620
|
* running your script. If the script is stored in
|
|
1469
1621
|
* an S3 bucket, the bucket name, key, and version are also included.
|
|
@@ -1471,6 +1623,7 @@ export interface UpdateCanaryRequest {
|
|
|
1471
1623
|
*/
|
|
1472
1624
|
Code?: CanaryCodeInput;
|
|
1473
1625
|
/**
|
|
1626
|
+
* @public
|
|
1474
1627
|
* <p>The ARN of the IAM role to be used to run the canary. This role must already exist,
|
|
1475
1628
|
* and must include <code>lambda.amazonaws.com</code> as a principal in the trust
|
|
1476
1629
|
* policy. The role must also have the following permissions:</p>
|
|
@@ -1514,6 +1667,7 @@ export interface UpdateCanaryRequest {
|
|
|
1514
1667
|
*/
|
|
1515
1668
|
ExecutionRoleArn?: string;
|
|
1516
1669
|
/**
|
|
1670
|
+
* @public
|
|
1517
1671
|
* <p>Specifies the runtime version to use for the canary.
|
|
1518
1672
|
* For a list of valid runtime versions and for more information about
|
|
1519
1673
|
* runtime versions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html">
|
|
@@ -1521,11 +1675,13 @@ export interface UpdateCanaryRequest {
|
|
|
1521
1675
|
*/
|
|
1522
1676
|
RuntimeVersion?: string;
|
|
1523
1677
|
/**
|
|
1678
|
+
* @public
|
|
1524
1679
|
* <p>A structure that contains information about how often the canary is to run, and when
|
|
1525
1680
|
* these runs are to stop.</p>
|
|
1526
1681
|
*/
|
|
1527
1682
|
Schedule?: CanaryScheduleInput;
|
|
1528
1683
|
/**
|
|
1684
|
+
* @public
|
|
1529
1685
|
* <p>A structure that contains the timeout value that is used for each individual run of the
|
|
1530
1686
|
* canary.</p>
|
|
1531
1687
|
* <important>
|
|
@@ -1535,14 +1691,17 @@ export interface UpdateCanaryRequest {
|
|
|
1535
1691
|
*/
|
|
1536
1692
|
RunConfig?: CanaryRunConfigInput;
|
|
1537
1693
|
/**
|
|
1694
|
+
* @public
|
|
1538
1695
|
* <p>The number of days to retain data about successful runs of this canary.</p>
|
|
1539
1696
|
*/
|
|
1540
1697
|
SuccessRetentionPeriodInDays?: number;
|
|
1541
1698
|
/**
|
|
1699
|
+
* @public
|
|
1542
1700
|
* <p>The number of days to retain data about failed runs of this canary.</p>
|
|
1543
1701
|
*/
|
|
1544
1702
|
FailureRetentionPeriodInDays?: number;
|
|
1545
1703
|
/**
|
|
1704
|
+
* @public
|
|
1546
1705
|
* <p>If this canary is to test an endpoint in a VPC, this structure contains
|
|
1547
1706
|
* information about the subnet and security groups of the VPC endpoint.
|
|
1548
1707
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html">
|
|
@@ -1550,6 +1709,7 @@ export interface UpdateCanaryRequest {
|
|
|
1550
1709
|
*/
|
|
1551
1710
|
VpcConfig?: VpcConfigInput;
|
|
1552
1711
|
/**
|
|
1712
|
+
* @public
|
|
1553
1713
|
* <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
|
|
1554
1714
|
* parameter, no changes are made to any baseline screenshots that the canary might be using already.</p>
|
|
1555
1715
|
* <p>Visual monitoring is supported only on canaries running the <b>syn-puppeteer-node-3.2</b>
|
|
@@ -1560,12 +1720,14 @@ export interface UpdateCanaryRequest {
|
|
|
1560
1720
|
*/
|
|
1561
1721
|
VisualReference?: VisualReferenceInput;
|
|
1562
1722
|
/**
|
|
1723
|
+
* @public
|
|
1563
1724
|
* <p>The location in Amazon S3 where Synthetics stores artifacts from the test runs of this canary.
|
|
1564
1725
|
* Artifacts include the log file, screenshots, and HAR files. The name of the
|
|
1565
1726
|
* S3 bucket can't include a period (.).</p>
|
|
1566
1727
|
*/
|
|
1567
1728
|
ArtifactS3Location?: string;
|
|
1568
1729
|
/**
|
|
1730
|
+
* @public
|
|
1569
1731
|
* <p>A structure that contains the configuration for canary artifacts,
|
|
1570
1732
|
* including the encryption-at-rest settings for artifacts that
|
|
1571
1733
|
* the canary uploads to Amazon S3.</p>
|
|
@@ -36,7 +36,9 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
|
|
|
36
36
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
37
37
|
signingEscapePath?: boolean | undefined;
|
|
38
38
|
systemClockOffset?: number | undefined;
|
|
39
|
-
signingRegion?: string | undefined;
|
|
39
|
+
signingRegion?: string | undefined; /**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
40
42
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
41
43
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
42
44
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-synthetics",
|
|
3
3
|
"description": "AWS SDK for JavaScript Synthetics Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.382.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|