@aws-sdk/client-synthetics 3.296.0 → 3.297.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-types/Synthetics.d.ts +22 -0
- package/dist-types/SyntheticsClient.d.ts +24 -4
- package/dist-types/commands/AssociateResourceCommand.d.ts +16 -0
- package/dist-types/commands/CreateCanaryCommand.d.ts +16 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +16 -0
- package/dist-types/commands/DeleteCanaryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +16 -0
- package/dist-types/commands/DescribeCanariesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeCanariesLastRunCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRuntimeVersionsCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateResourceCommand.d.ts +16 -0
- package/dist-types/commands/GetCanaryCommand.d.ts +16 -0
- package/dist-types/commands/GetCanaryRunsCommand.d.ts +16 -0
- package/dist-types/commands/GetGroupCommand.d.ts +16 -0
- package/dist-types/commands/ListAssociatedGroupsCommand.d.ts +16 -0
- package/dist-types/commands/ListGroupResourcesCommand.d.ts +16 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/StartCanaryCommand.d.ts +16 -0
- package/dist-types/commands/StopCanaryCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateCanaryCommand.d.ts +16 -0
- package/dist-types/models/SyntheticsServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +176 -1
- package/dist-types/pagination/DescribeCanariesLastRunPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeCanariesPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeRuntimeVersionsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetCanaryRunsPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAssociatedGroupsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListGroupResourcesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListGroupsPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Synthetics service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class SyntheticsServiceException extends __ServiceException {
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { SyntheticsServiceException as __BaseException } from "./SyntheticsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export declare enum EncryptionMode {
|
|
4
7
|
SSE_KMS = "SSE_KMS",
|
|
5
8
|
SSE_S3 = "SSE_S3"
|
|
6
9
|
}
|
|
7
10
|
/**
|
|
11
|
+
* @public
|
|
8
12
|
* <p>A structure that contains the configuration of encryption-at-rest settings for canary artifacts that the canary
|
|
9
13
|
* uploads to Amazon S3. </p>
|
|
10
14
|
* <p>For more information, see
|
|
@@ -29,6 +33,7 @@ export interface S3EncryptionConfig {
|
|
|
29
33
|
KmsKeyArn?: string;
|
|
30
34
|
}
|
|
31
35
|
/**
|
|
36
|
+
* @public
|
|
32
37
|
* <p>A structure that contains the configuration for canary artifacts, including the
|
|
33
38
|
* encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.</p>
|
|
34
39
|
*/
|
|
@@ -44,6 +49,7 @@ export interface ArtifactConfigInput {
|
|
|
44
49
|
S3Encryption?: S3EncryptionConfig;
|
|
45
50
|
}
|
|
46
51
|
/**
|
|
52
|
+
* @public
|
|
47
53
|
* <p>A structure that contains the configuration for canary artifacts, including
|
|
48
54
|
* the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.</p>
|
|
49
55
|
*/
|
|
@@ -53,6 +59,9 @@ export interface ArtifactConfigOutput {
|
|
|
53
59
|
*/
|
|
54
60
|
S3Encryption?: S3EncryptionConfig;
|
|
55
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
56
65
|
export interface AssociateResourceRequest {
|
|
57
66
|
/**
|
|
58
67
|
* <p>Specifies the group. You can specify the group name, the ARN, or the
|
|
@@ -64,9 +73,13 @@ export interface AssociateResourceRequest {
|
|
|
64
73
|
*/
|
|
65
74
|
ResourceArn: string | undefined;
|
|
66
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
67
79
|
export interface AssociateResourceResponse {
|
|
68
80
|
}
|
|
69
81
|
/**
|
|
82
|
+
* @public
|
|
70
83
|
* <p>A conflicting operation is already in progress.</p>
|
|
71
84
|
*/
|
|
72
85
|
export declare class ConflictException extends __BaseException {
|
|
@@ -79,6 +92,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
79
92
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
80
93
|
}
|
|
81
94
|
/**
|
|
95
|
+
* @public
|
|
82
96
|
* <p>An unknown internal error occurred.</p>
|
|
83
97
|
*/
|
|
84
98
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -91,6 +105,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
91
105
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
92
106
|
}
|
|
93
107
|
/**
|
|
108
|
+
* @public
|
|
94
109
|
* <p>One of the specified resources was not found.</p>
|
|
95
110
|
*/
|
|
96
111
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -103,6 +118,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
103
118
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
104
119
|
}
|
|
105
120
|
/**
|
|
121
|
+
* @public
|
|
106
122
|
* <p>The request exceeded a service quota value.</p>
|
|
107
123
|
*/
|
|
108
124
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -115,6 +131,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
115
131
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
116
132
|
}
|
|
117
133
|
/**
|
|
134
|
+
* @public
|
|
118
135
|
* <p>A parameter could not be validated.</p>
|
|
119
136
|
*/
|
|
120
137
|
export declare class ValidationException extends __BaseException {
|
|
@@ -127,6 +144,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
127
144
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
128
145
|
}
|
|
129
146
|
/**
|
|
147
|
+
* @public
|
|
130
148
|
* <p>The request was not valid.</p>
|
|
131
149
|
*/
|
|
132
150
|
export declare class BadRequestException extends __BaseException {
|
|
@@ -139,6 +157,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
139
157
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
140
158
|
}
|
|
141
159
|
/**
|
|
160
|
+
* @public
|
|
142
161
|
* <p>A structure representing a screenshot that is used as a baseline during visual monitoring comparisons made by the canary.</p>
|
|
143
162
|
*/
|
|
144
163
|
export interface BaseScreenshot {
|
|
@@ -158,6 +177,7 @@ export interface BaseScreenshot {
|
|
|
158
177
|
IgnoreCoordinates?: string[];
|
|
159
178
|
}
|
|
160
179
|
/**
|
|
180
|
+
* @public
|
|
161
181
|
* <p>This structure contains information about the canary's Lambda handler and
|
|
162
182
|
* where its code is stored by CloudWatch Synthetics.</p>
|
|
163
183
|
*/
|
|
@@ -172,6 +192,7 @@ export interface CanaryCodeOutput {
|
|
|
172
192
|
Handler?: string;
|
|
173
193
|
}
|
|
174
194
|
/**
|
|
195
|
+
* @public
|
|
175
196
|
* <p>A structure that contains information about a canary run.</p>
|
|
176
197
|
*/
|
|
177
198
|
export interface CanaryRunConfigOutput {
|
|
@@ -190,6 +211,7 @@ export interface CanaryRunConfigOutput {
|
|
|
190
211
|
ActiveTracing?: boolean;
|
|
191
212
|
}
|
|
192
213
|
/**
|
|
214
|
+
* @public
|
|
193
215
|
* <p>How long, in seconds, for the canary to continue making regular runs according to the schedule in the
|
|
194
216
|
* <code>Expression</code> value.</p>
|
|
195
217
|
*/
|
|
@@ -218,6 +240,9 @@ export interface CanaryScheduleOutput {
|
|
|
218
240
|
*/
|
|
219
241
|
DurationInSeconds?: number;
|
|
220
242
|
}
|
|
243
|
+
/**
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
221
246
|
export declare enum CanaryState {
|
|
222
247
|
CREATING = "CREATING",
|
|
223
248
|
DELETING = "DELETING",
|
|
@@ -229,6 +254,9 @@ export declare enum CanaryState {
|
|
|
229
254
|
STOPPING = "STOPPING",
|
|
230
255
|
UPDATING = "UPDATING"
|
|
231
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
232
260
|
export declare enum CanaryStateReasonCode {
|
|
233
261
|
CREATE_FAILED = "CREATE_FAILED",
|
|
234
262
|
CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
|
|
@@ -244,6 +272,7 @@ export declare enum CanaryStateReasonCode {
|
|
|
244
272
|
UPDATE_PENDING = "UPDATE_PENDING"
|
|
245
273
|
}
|
|
246
274
|
/**
|
|
275
|
+
* @public
|
|
247
276
|
* <p>A structure that contains the current state of the canary.</p>
|
|
248
277
|
*/
|
|
249
278
|
export interface CanaryStatus {
|
|
@@ -261,6 +290,7 @@ export interface CanaryStatus {
|
|
|
261
290
|
StateReasonCode?: CanaryStateReasonCode | string;
|
|
262
291
|
}
|
|
263
292
|
/**
|
|
293
|
+
* @public
|
|
264
294
|
* <p>This structure contains information about when the canary was created and modified.</p>
|
|
265
295
|
*/
|
|
266
296
|
export interface CanaryTimeline {
|
|
@@ -282,6 +312,7 @@ export interface CanaryTimeline {
|
|
|
282
312
|
LastStopped?: Date;
|
|
283
313
|
}
|
|
284
314
|
/**
|
|
315
|
+
* @public
|
|
285
316
|
* <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
|
|
286
317
|
* of any parts of those screenshots that are ignored during visual monitoring comparison.</p>
|
|
287
318
|
* <p>Visual monitoring is supported only on canaries running the <b>syn-puppeteer-node-3.2</b> runtime or later.</p>
|
|
@@ -298,6 +329,7 @@ export interface VisualReferenceOutput {
|
|
|
298
329
|
BaseCanaryRunId?: string;
|
|
299
330
|
}
|
|
300
331
|
/**
|
|
332
|
+
* @public
|
|
301
333
|
* <p>If this canary is to test an endpoint in a VPC, this structure contains
|
|
302
334
|
* information about the subnets and security groups of the VPC endpoint.
|
|
303
335
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html">
|
|
@@ -318,6 +350,7 @@ export interface VpcConfigOutput {
|
|
|
318
350
|
SecurityGroupIds?: string[];
|
|
319
351
|
}
|
|
320
352
|
/**
|
|
353
|
+
* @public
|
|
321
354
|
* <p>This structure contains all information about one canary in your account.</p>
|
|
322
355
|
*/
|
|
323
356
|
export interface Canary {
|
|
@@ -403,16 +436,23 @@ export interface Canary {
|
|
|
403
436
|
*/
|
|
404
437
|
ArtifactConfig?: ArtifactConfigOutput;
|
|
405
438
|
}
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
406
442
|
export declare enum CanaryRunState {
|
|
407
443
|
FAILED = "FAILED",
|
|
408
444
|
PASSED = "PASSED",
|
|
409
445
|
RUNNING = "RUNNING"
|
|
410
446
|
}
|
|
447
|
+
/**
|
|
448
|
+
* @public
|
|
449
|
+
*/
|
|
411
450
|
export declare enum CanaryRunStateReasonCode {
|
|
412
451
|
CANARY_FAILURE = "CANARY_FAILURE",
|
|
413
452
|
EXECUTION_FAILURE = "EXECUTION_FAILURE"
|
|
414
453
|
}
|
|
415
454
|
/**
|
|
455
|
+
* @public
|
|
416
456
|
* <p>This structure contains the status information about a canary run.</p>
|
|
417
457
|
*/
|
|
418
458
|
export interface CanaryRunStatus {
|
|
@@ -432,6 +472,7 @@ export interface CanaryRunStatus {
|
|
|
432
472
|
StateReasonCode?: CanaryRunStateReasonCode | string;
|
|
433
473
|
}
|
|
434
474
|
/**
|
|
475
|
+
* @public
|
|
435
476
|
* <p>This structure contains the start and end times of a single canary run.</p>
|
|
436
477
|
*/
|
|
437
478
|
export interface CanaryRunTimeline {
|
|
@@ -445,6 +486,7 @@ export interface CanaryRunTimeline {
|
|
|
445
486
|
Completed?: Date;
|
|
446
487
|
}
|
|
447
488
|
/**
|
|
489
|
+
* @public
|
|
448
490
|
* <p>This structure contains the details about one run of one canary.</p>
|
|
449
491
|
*/
|
|
450
492
|
export interface CanaryRun {
|
|
@@ -471,6 +513,7 @@ export interface CanaryRun {
|
|
|
471
513
|
ArtifactS3Location?: string;
|
|
472
514
|
}
|
|
473
515
|
/**
|
|
516
|
+
* @public
|
|
474
517
|
* <p>This structure contains information about the most recent run of a single canary.</p>
|
|
475
518
|
*/
|
|
476
519
|
export interface CanaryLastRun {
|
|
@@ -484,6 +527,7 @@ export interface CanaryLastRun {
|
|
|
484
527
|
LastRun?: CanaryRun;
|
|
485
528
|
}
|
|
486
529
|
/**
|
|
530
|
+
* @public
|
|
487
531
|
* <p>Use this structure to input your script code for the canary. This structure contains the
|
|
488
532
|
* Lambda handler with the location where the canary should start running the script. If the
|
|
489
533
|
* script is stored in an S3 bucket, the bucket name, key, and version are also included. If
|
|
@@ -530,6 +574,7 @@ export interface CanaryCodeInput {
|
|
|
530
574
|
Handler: string | undefined;
|
|
531
575
|
}
|
|
532
576
|
/**
|
|
577
|
+
* @public
|
|
533
578
|
* <p>A structure that contains input information for a canary run.</p>
|
|
534
579
|
*/
|
|
535
580
|
export interface CanaryRunConfigInput {
|
|
@@ -558,7 +603,7 @@ export interface CanaryRunConfigInput {
|
|
|
558
603
|
/**
|
|
559
604
|
* <p>Specifies the keys and values to use for any environment variables
|
|
560
605
|
* used in the canary script. Use the following format:</p>
|
|
561
|
-
* <p
|
|
606
|
+
* <p>\{ "key1" : "value1", "key2" : "value2", ...\}</p>
|
|
562
607
|
* <p>Keys must start with a letter and be at least two characters. The total size
|
|
563
608
|
* of your environment variables cannot exceed 4 KB. You can't specify any Lambda
|
|
564
609
|
* reserved environment variables as the keys for your environment variables. For
|
|
@@ -572,6 +617,7 @@ export interface CanaryRunConfigInput {
|
|
|
572
617
|
EnvironmentVariables?: Record<string, string>;
|
|
573
618
|
}
|
|
574
619
|
/**
|
|
620
|
+
* @public
|
|
575
621
|
* <p>This structure specifies how often a canary is to make runs and the date and time
|
|
576
622
|
* when it should stop making runs.</p>
|
|
577
623
|
*/
|
|
@@ -601,6 +647,7 @@ export interface CanaryScheduleInput {
|
|
|
601
647
|
DurationInSeconds?: number;
|
|
602
648
|
}
|
|
603
649
|
/**
|
|
650
|
+
* @public
|
|
604
651
|
* <p>If this canary is to test an endpoint in a VPC, this structure contains
|
|
605
652
|
* information about the subnets and security groups of the VPC endpoint.
|
|
606
653
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html">
|
|
@@ -616,6 +663,9 @@ export interface VpcConfigInput {
|
|
|
616
663
|
*/
|
|
617
664
|
SecurityGroupIds?: string[];
|
|
618
665
|
}
|
|
666
|
+
/**
|
|
667
|
+
* @public
|
|
668
|
+
*/
|
|
619
669
|
export interface CreateCanaryRequest {
|
|
620
670
|
/**
|
|
621
671
|
* <p>The name for this canary. Be sure to give it a descriptive name
|
|
@@ -735,6 +785,9 @@ export interface CreateCanaryRequest {
|
|
|
735
785
|
*/
|
|
736
786
|
ArtifactConfig?: ArtifactConfigInput;
|
|
737
787
|
}
|
|
788
|
+
/**
|
|
789
|
+
* @public
|
|
790
|
+
*/
|
|
738
791
|
export interface CreateCanaryResponse {
|
|
739
792
|
/**
|
|
740
793
|
* <p>The full details about the canary you have created.</p>
|
|
@@ -742,6 +795,7 @@ export interface CreateCanaryResponse {
|
|
|
742
795
|
Canary?: Canary;
|
|
743
796
|
}
|
|
744
797
|
/**
|
|
798
|
+
* @public
|
|
745
799
|
* <p>One of the input resources is larger than is allowed.</p>
|
|
746
800
|
*/
|
|
747
801
|
export declare class RequestEntityTooLargeException extends __BaseException {
|
|
@@ -753,6 +807,9 @@ export declare class RequestEntityTooLargeException extends __BaseException {
|
|
|
753
807
|
*/
|
|
754
808
|
constructor(opts: __ExceptionOptionType<RequestEntityTooLargeException, __BaseException>);
|
|
755
809
|
}
|
|
810
|
+
/**
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
756
813
|
export interface CreateGroupRequest {
|
|
757
814
|
/**
|
|
758
815
|
* <p>The name for the group. It can include any Unicode characters.</p>
|
|
@@ -770,6 +827,7 @@ export interface CreateGroupRequest {
|
|
|
770
827
|
Tags?: Record<string, string>;
|
|
771
828
|
}
|
|
772
829
|
/**
|
|
830
|
+
* @public
|
|
773
831
|
* <p>This structure contains information about one group.</p>
|
|
774
832
|
*/
|
|
775
833
|
export interface Group {
|
|
@@ -798,12 +856,18 @@ export interface Group {
|
|
|
798
856
|
*/
|
|
799
857
|
LastModifiedTime?: Date;
|
|
800
858
|
}
|
|
859
|
+
/**
|
|
860
|
+
* @public
|
|
861
|
+
*/
|
|
801
862
|
export interface CreateGroupResponse {
|
|
802
863
|
/**
|
|
803
864
|
* <p>A structure that contains information about the group that was just created.</p>
|
|
804
865
|
*/
|
|
805
866
|
Group?: Group;
|
|
806
867
|
}
|
|
868
|
+
/**
|
|
869
|
+
* @public
|
|
870
|
+
*/
|
|
807
871
|
export interface DeleteCanaryRequest {
|
|
808
872
|
/**
|
|
809
873
|
* <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>
|
|
@@ -816,8 +880,14 @@ export interface DeleteCanaryRequest {
|
|
|
816
880
|
*/
|
|
817
881
|
DeleteLambda?: boolean;
|
|
818
882
|
}
|
|
883
|
+
/**
|
|
884
|
+
* @public
|
|
885
|
+
*/
|
|
819
886
|
export interface DeleteCanaryResponse {
|
|
820
887
|
}
|
|
888
|
+
/**
|
|
889
|
+
* @public
|
|
890
|
+
*/
|
|
821
891
|
export interface DeleteGroupRequest {
|
|
822
892
|
/**
|
|
823
893
|
* <p>Specifies which group to delete. You can specify the group name, the ARN, or the
|
|
@@ -825,8 +895,14 @@ export interface DeleteGroupRequest {
|
|
|
825
895
|
*/
|
|
826
896
|
GroupIdentifier: string | undefined;
|
|
827
897
|
}
|
|
898
|
+
/**
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
828
901
|
export interface DeleteGroupResponse {
|
|
829
902
|
}
|
|
903
|
+
/**
|
|
904
|
+
* @public
|
|
905
|
+
*/
|
|
830
906
|
export interface DescribeCanariesRequest {
|
|
831
907
|
/**
|
|
832
908
|
* <p>A token that indicates that there is more data
|
|
@@ -852,6 +928,9 @@ export interface DescribeCanariesRequest {
|
|
|
852
928
|
*/
|
|
853
929
|
Names?: string[];
|
|
854
930
|
}
|
|
931
|
+
/**
|
|
932
|
+
* @public
|
|
933
|
+
*/
|
|
855
934
|
export interface DescribeCanariesResponse {
|
|
856
935
|
/**
|
|
857
936
|
* <p>Returns an array. Each item in the array contains the full information about
|
|
@@ -865,6 +944,9 @@ export interface DescribeCanariesResponse {
|
|
|
865
944
|
*/
|
|
866
945
|
NextToken?: string;
|
|
867
946
|
}
|
|
947
|
+
/**
|
|
948
|
+
* @public
|
|
949
|
+
*/
|
|
868
950
|
export interface DescribeCanariesLastRunRequest {
|
|
869
951
|
/**
|
|
870
952
|
* <p>A token that indicates that there is more data
|
|
@@ -890,6 +972,9 @@ export interface DescribeCanariesLastRunRequest {
|
|
|
890
972
|
*/
|
|
891
973
|
Names?: string[];
|
|
892
974
|
}
|
|
975
|
+
/**
|
|
976
|
+
* @public
|
|
977
|
+
*/
|
|
893
978
|
export interface DescribeCanariesLastRunResponse {
|
|
894
979
|
/**
|
|
895
980
|
* <p>An array that contains the information from the most recent run of each
|
|
@@ -903,6 +988,9 @@ export interface DescribeCanariesLastRunResponse {
|
|
|
903
988
|
*/
|
|
904
989
|
NextToken?: string;
|
|
905
990
|
}
|
|
991
|
+
/**
|
|
992
|
+
* @public
|
|
993
|
+
*/
|
|
906
994
|
export interface DescribeRuntimeVersionsRequest {
|
|
907
995
|
/**
|
|
908
996
|
* <p>A token that indicates that there is more data
|
|
@@ -917,6 +1005,7 @@ export interface DescribeRuntimeVersionsRequest {
|
|
|
917
1005
|
MaxResults?: number;
|
|
918
1006
|
}
|
|
919
1007
|
/**
|
|
1008
|
+
* @public
|
|
920
1009
|
* <p>This structure contains information about one canary runtime version. For more information about
|
|
921
1010
|
* runtime versions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html">
|
|
922
1011
|
* Canary Runtime Versions</a>.</p>
|
|
@@ -941,6 +1030,9 @@ export interface RuntimeVersion {
|
|
|
941
1030
|
*/
|
|
942
1031
|
DeprecationDate?: Date;
|
|
943
1032
|
}
|
|
1033
|
+
/**
|
|
1034
|
+
* @public
|
|
1035
|
+
*/
|
|
944
1036
|
export interface DescribeRuntimeVersionsResponse {
|
|
945
1037
|
/**
|
|
946
1038
|
* <p>An array of objects that display the details about each Synthetics canary runtime
|
|
@@ -954,6 +1046,9 @@ export interface DescribeRuntimeVersionsResponse {
|
|
|
954
1046
|
*/
|
|
955
1047
|
NextToken?: string;
|
|
956
1048
|
}
|
|
1049
|
+
/**
|
|
1050
|
+
* @public
|
|
1051
|
+
*/
|
|
957
1052
|
export interface DisassociateResourceRequest {
|
|
958
1053
|
/**
|
|
959
1054
|
* <p>Specifies the group. You can specify the group name, the ARN, or the
|
|
@@ -965,20 +1060,32 @@ export interface DisassociateResourceRequest {
|
|
|
965
1060
|
*/
|
|
966
1061
|
ResourceArn: string | undefined;
|
|
967
1062
|
}
|
|
1063
|
+
/**
|
|
1064
|
+
* @public
|
|
1065
|
+
*/
|
|
968
1066
|
export interface DisassociateResourceResponse {
|
|
969
1067
|
}
|
|
1068
|
+
/**
|
|
1069
|
+
* @public
|
|
1070
|
+
*/
|
|
970
1071
|
export interface GetCanaryRequest {
|
|
971
1072
|
/**
|
|
972
1073
|
* <p>The name of the canary that you want details for.</p>
|
|
973
1074
|
*/
|
|
974
1075
|
Name: string | undefined;
|
|
975
1076
|
}
|
|
1077
|
+
/**
|
|
1078
|
+
* @public
|
|
1079
|
+
*/
|
|
976
1080
|
export interface GetCanaryResponse {
|
|
977
1081
|
/**
|
|
978
1082
|
* <p>A structure that contains the full information about the canary.</p>
|
|
979
1083
|
*/
|
|
980
1084
|
Canary?: Canary;
|
|
981
1085
|
}
|
|
1086
|
+
/**
|
|
1087
|
+
* @public
|
|
1088
|
+
*/
|
|
982
1089
|
export interface GetCanaryRunsRequest {
|
|
983
1090
|
/**
|
|
984
1091
|
* <p>The name of the canary that you want to see runs for.</p>
|
|
@@ -996,6 +1103,9 @@ export interface GetCanaryRunsRequest {
|
|
|
996
1103
|
*/
|
|
997
1104
|
MaxResults?: number;
|
|
998
1105
|
}
|
|
1106
|
+
/**
|
|
1107
|
+
* @public
|
|
1108
|
+
*/
|
|
999
1109
|
export interface GetCanaryRunsResponse {
|
|
1000
1110
|
/**
|
|
1001
1111
|
* <p>An array of structures. Each structure contains the details of one of the
|
|
@@ -1010,6 +1120,9 @@ export interface GetCanaryRunsResponse {
|
|
|
1010
1120
|
*/
|
|
1011
1121
|
NextToken?: string;
|
|
1012
1122
|
}
|
|
1123
|
+
/**
|
|
1124
|
+
* @public
|
|
1125
|
+
*/
|
|
1013
1126
|
export interface GetGroupRequest {
|
|
1014
1127
|
/**
|
|
1015
1128
|
* <p>Specifies the group to return information for. You can specify the group name, the ARN, or the
|
|
@@ -1017,6 +1130,9 @@ export interface GetGroupRequest {
|
|
|
1017
1130
|
*/
|
|
1018
1131
|
GroupIdentifier: string | undefined;
|
|
1019
1132
|
}
|
|
1133
|
+
/**
|
|
1134
|
+
* @public
|
|
1135
|
+
*/
|
|
1020
1136
|
export interface GetGroupResponse {
|
|
1021
1137
|
/**
|
|
1022
1138
|
* <p>A structure that contains information about the group.</p>
|
|
@@ -1024,6 +1140,7 @@ export interface GetGroupResponse {
|
|
|
1024
1140
|
Group?: Group;
|
|
1025
1141
|
}
|
|
1026
1142
|
/**
|
|
1143
|
+
* @public
|
|
1027
1144
|
* <p>A structure containing some information about a group.</p>
|
|
1028
1145
|
*/
|
|
1029
1146
|
export interface GroupSummary {
|
|
@@ -1041,6 +1158,7 @@ export interface GroupSummary {
|
|
|
1041
1158
|
Arn?: string;
|
|
1042
1159
|
}
|
|
1043
1160
|
/**
|
|
1161
|
+
* @public
|
|
1044
1162
|
* <p>An internal failure occurred. Try the operation again.</p>
|
|
1045
1163
|
*/
|
|
1046
1164
|
export declare class InternalFailureException extends __BaseException {
|
|
@@ -1052,6 +1170,9 @@ export declare class InternalFailureException extends __BaseException {
|
|
|
1052
1170
|
*/
|
|
1053
1171
|
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
1054
1172
|
}
|
|
1173
|
+
/**
|
|
1174
|
+
* @public
|
|
1175
|
+
*/
|
|
1055
1176
|
export interface ListAssociatedGroupsRequest {
|
|
1056
1177
|
/**
|
|
1057
1178
|
* <p>A token that indicates that there is more data
|
|
@@ -1069,6 +1190,9 @@ export interface ListAssociatedGroupsRequest {
|
|
|
1069
1190
|
*/
|
|
1070
1191
|
ResourceArn: string | undefined;
|
|
1071
1192
|
}
|
|
1193
|
+
/**
|
|
1194
|
+
* @public
|
|
1195
|
+
*/
|
|
1072
1196
|
export interface ListAssociatedGroupsResponse {
|
|
1073
1197
|
/**
|
|
1074
1198
|
* <p>An array of structures that contain information about the groups that this canary is associated with.</p>
|
|
@@ -1081,6 +1205,9 @@ export interface ListAssociatedGroupsResponse {
|
|
|
1081
1205
|
*/
|
|
1082
1206
|
NextToken?: string;
|
|
1083
1207
|
}
|
|
1208
|
+
/**
|
|
1209
|
+
* @public
|
|
1210
|
+
*/
|
|
1084
1211
|
export interface ListGroupResourcesRequest {
|
|
1085
1212
|
/**
|
|
1086
1213
|
* <p>A token that indicates that there is more data
|
|
@@ -1099,6 +1226,9 @@ export interface ListGroupResourcesRequest {
|
|
|
1099
1226
|
*/
|
|
1100
1227
|
GroupIdentifier: string | undefined;
|
|
1101
1228
|
}
|
|
1229
|
+
/**
|
|
1230
|
+
* @public
|
|
1231
|
+
*/
|
|
1102
1232
|
export interface ListGroupResourcesResponse {
|
|
1103
1233
|
/**
|
|
1104
1234
|
* <p>An array of ARNs. These ARNs are for the canaries that are associated with the group.</p>
|
|
@@ -1111,6 +1241,9 @@ export interface ListGroupResourcesResponse {
|
|
|
1111
1241
|
*/
|
|
1112
1242
|
NextToken?: string;
|
|
1113
1243
|
}
|
|
1244
|
+
/**
|
|
1245
|
+
* @public
|
|
1246
|
+
*/
|
|
1114
1247
|
export interface ListGroupsRequest {
|
|
1115
1248
|
/**
|
|
1116
1249
|
* <p>A token that indicates that there is more data
|
|
@@ -1124,6 +1257,9 @@ export interface ListGroupsRequest {
|
|
|
1124
1257
|
*/
|
|
1125
1258
|
MaxResults?: number;
|
|
1126
1259
|
}
|
|
1260
|
+
/**
|
|
1261
|
+
* @public
|
|
1262
|
+
*/
|
|
1127
1263
|
export interface ListGroupsResponse {
|
|
1128
1264
|
/**
|
|
1129
1265
|
* <p>An array of structures that each contain information about one group.</p>
|
|
@@ -1136,6 +1272,9 @@ export interface ListGroupsResponse {
|
|
|
1136
1272
|
*/
|
|
1137
1273
|
NextToken?: string;
|
|
1138
1274
|
}
|
|
1275
|
+
/**
|
|
1276
|
+
* @public
|
|
1277
|
+
*/
|
|
1139
1278
|
export interface ListTagsForResourceRequest {
|
|
1140
1279
|
/**
|
|
1141
1280
|
* <p>The ARN of the canary or group that you want to view tags for.</p>
|
|
@@ -1149,6 +1288,9 @@ export interface ListTagsForResourceRequest {
|
|
|
1149
1288
|
*/
|
|
1150
1289
|
ResourceArn: string | undefined;
|
|
1151
1290
|
}
|
|
1291
|
+
/**
|
|
1292
|
+
* @public
|
|
1293
|
+
*/
|
|
1152
1294
|
export interface ListTagsForResourceResponse {
|
|
1153
1295
|
/**
|
|
1154
1296
|
* <p>The list of tag keys and values associated with the resource that you specified.</p>
|
|
@@ -1156,6 +1298,7 @@ export interface ListTagsForResourceResponse {
|
|
|
1156
1298
|
Tags?: Record<string, string>;
|
|
1157
1299
|
}
|
|
1158
1300
|
/**
|
|
1301
|
+
* @public
|
|
1159
1302
|
* <p>The specified resource was not found.</p>
|
|
1160
1303
|
*/
|
|
1161
1304
|
export declare class NotFoundException extends __BaseException {
|
|
@@ -1168,6 +1311,7 @@ export declare class NotFoundException extends __BaseException {
|
|
|
1168
1311
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
1169
1312
|
}
|
|
1170
1313
|
/**
|
|
1314
|
+
* @public
|
|
1171
1315
|
* <p>There were too many simultaneous requests. Try the operation again.</p>
|
|
1172
1316
|
*/
|
|
1173
1317
|
export declare class TooManyRequestsException extends __BaseException {
|
|
@@ -1179,6 +1323,9 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
1179
1323
|
*/
|
|
1180
1324
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
1181
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
* @public
|
|
1328
|
+
*/
|
|
1182
1329
|
export interface StartCanaryRequest {
|
|
1183
1330
|
/**
|
|
1184
1331
|
* <p>The name of the canary that you want to run. To find
|
|
@@ -1186,8 +1333,14 @@ export interface StartCanaryRequest {
|
|
|
1186
1333
|
*/
|
|
1187
1334
|
Name: string | undefined;
|
|
1188
1335
|
}
|
|
1336
|
+
/**
|
|
1337
|
+
* @public
|
|
1338
|
+
*/
|
|
1189
1339
|
export interface StartCanaryResponse {
|
|
1190
1340
|
}
|
|
1341
|
+
/**
|
|
1342
|
+
* @public
|
|
1343
|
+
*/
|
|
1191
1344
|
export interface StopCanaryRequest {
|
|
1192
1345
|
/**
|
|
1193
1346
|
* <p>The name of the canary that you want to stop. To find the names of your
|
|
@@ -1195,8 +1348,14 @@ export interface StopCanaryRequest {
|
|
|
1195
1348
|
*/
|
|
1196
1349
|
Name: string | undefined;
|
|
1197
1350
|
}
|
|
1351
|
+
/**
|
|
1352
|
+
* @public
|
|
1353
|
+
*/
|
|
1198
1354
|
export interface StopCanaryResponse {
|
|
1199
1355
|
}
|
|
1356
|
+
/**
|
|
1357
|
+
* @public
|
|
1358
|
+
*/
|
|
1200
1359
|
export interface TagResourceRequest {
|
|
1201
1360
|
/**
|
|
1202
1361
|
* <p>The ARN of the canary or group that you're adding tags to.</p>
|
|
@@ -1214,8 +1373,14 @@ export interface TagResourceRequest {
|
|
|
1214
1373
|
*/
|
|
1215
1374
|
Tags: Record<string, string> | undefined;
|
|
1216
1375
|
}
|
|
1376
|
+
/**
|
|
1377
|
+
* @public
|
|
1378
|
+
*/
|
|
1217
1379
|
export interface TagResourceResponse {
|
|
1218
1380
|
}
|
|
1381
|
+
/**
|
|
1382
|
+
* @public
|
|
1383
|
+
*/
|
|
1219
1384
|
export interface UntagResourceRequest {
|
|
1220
1385
|
/**
|
|
1221
1386
|
* <p>The ARN of the canary or group that you're removing tags from.</p>
|
|
@@ -1233,9 +1398,13 @@ export interface UntagResourceRequest {
|
|
|
1233
1398
|
*/
|
|
1234
1399
|
TagKeys: string[] | undefined;
|
|
1235
1400
|
}
|
|
1401
|
+
/**
|
|
1402
|
+
* @public
|
|
1403
|
+
*/
|
|
1236
1404
|
export interface UntagResourceResponse {
|
|
1237
1405
|
}
|
|
1238
1406
|
/**
|
|
1407
|
+
* @public
|
|
1239
1408
|
* <p>An object that specifies what screenshots to use as a baseline for visual monitoring by this canary. It can
|
|
1240
1409
|
* optionally also specify parts of the screenshots to ignore during the visual monitoring comparison.</p>
|
|
1241
1410
|
*
|
|
@@ -1259,6 +1428,9 @@ export interface VisualReferenceInput {
|
|
|
1259
1428
|
*/
|
|
1260
1429
|
BaseCanaryRunId: string | undefined;
|
|
1261
1430
|
}
|
|
1431
|
+
/**
|
|
1432
|
+
* @public
|
|
1433
|
+
*/
|
|
1262
1434
|
export interface UpdateCanaryRequest {
|
|
1263
1435
|
/**
|
|
1264
1436
|
* <p>The name of the canary that you want to update. To find the names of your
|
|
@@ -1375,6 +1547,9 @@ export interface UpdateCanaryRequest {
|
|
|
1375
1547
|
*/
|
|
1376
1548
|
ArtifactConfig?: ArtifactConfigInput;
|
|
1377
1549
|
}
|
|
1550
|
+
/**
|
|
1551
|
+
* @public
|
|
1552
|
+
*/
|
|
1378
1553
|
export interface UpdateCanaryResponse {
|
|
1379
1554
|
}
|
|
1380
1555
|
/**
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { DescribeCanariesLastRunCommandInput, DescribeCanariesLastRunCommandOutput } from "../commands/DescribeCanariesLastRunCommand";
|
|
3
3
|
import { SyntheticsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateDescribeCanariesLastRun(config: SyntheticsPaginationConfiguration, input: DescribeCanariesLastRunCommandInput, ...additionalArguments: any): Paginator<DescribeCanariesLastRunCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { DescribeCanariesCommandInput, DescribeCanariesCommandOutput } from "../commands/DescribeCanariesCommand";
|
|
3
3
|
import { SyntheticsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateDescribeCanaries(config: SyntheticsPaginationConfiguration, input: DescribeCanariesCommandInput, ...additionalArguments: any): Paginator<DescribeCanariesCommandOutput>;
|