@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
|
@@ -7,14 +7,14 @@ export declare const EncryptionMode: {
|
|
|
7
7
|
export type EncryptionMode =
|
|
8
8
|
(typeof EncryptionMode)[keyof typeof EncryptionMode];
|
|
9
9
|
export interface S3EncryptionConfig {
|
|
10
|
-
EncryptionMode?: EncryptionMode;
|
|
11
|
-
KmsKeyArn?: string;
|
|
10
|
+
EncryptionMode?: EncryptionMode | undefined;
|
|
11
|
+
KmsKeyArn?: string | undefined;
|
|
12
12
|
}
|
|
13
13
|
export interface ArtifactConfigInput {
|
|
14
|
-
S3Encryption?: S3EncryptionConfig;
|
|
14
|
+
S3Encryption?: S3EncryptionConfig | undefined;
|
|
15
15
|
}
|
|
16
16
|
export interface ArtifactConfigOutput {
|
|
17
|
-
S3Encryption?: S3EncryptionConfig;
|
|
17
|
+
S3Encryption?: S3EncryptionConfig | undefined;
|
|
18
18
|
}
|
|
19
19
|
export interface AssociateResourceRequest {
|
|
20
20
|
GroupIdentifier: string | undefined;
|
|
@@ -24,13 +24,13 @@ export interface AssociateResourceResponse {}
|
|
|
24
24
|
export declare class ConflictException extends __BaseException {
|
|
25
25
|
readonly name: "ConflictException";
|
|
26
26
|
readonly $fault: "client";
|
|
27
|
-
Message?: string;
|
|
27
|
+
Message?: string | undefined;
|
|
28
28
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
29
29
|
}
|
|
30
30
|
export declare class InternalServerException extends __BaseException {
|
|
31
31
|
readonly name: "InternalServerException";
|
|
32
32
|
readonly $fault: "server";
|
|
33
|
-
Message?: string;
|
|
33
|
+
Message?: string | undefined;
|
|
34
34
|
constructor(
|
|
35
35
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
36
36
|
);
|
|
@@ -38,7 +38,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
38
38
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
39
39
|
readonly name: "ResourceNotFoundException";
|
|
40
40
|
readonly $fault: "client";
|
|
41
|
-
Message?: string;
|
|
41
|
+
Message?: string | undefined;
|
|
42
42
|
constructor(
|
|
43
43
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
44
44
|
);
|
|
@@ -46,7 +46,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
46
46
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
47
47
|
readonly name: "ServiceQuotaExceededException";
|
|
48
48
|
readonly $fault: "client";
|
|
49
|
-
Message?: string;
|
|
49
|
+
Message?: string | undefined;
|
|
50
50
|
constructor(
|
|
51
51
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
52
52
|
);
|
|
@@ -54,7 +54,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
54
54
|
export declare class ValidationException extends __BaseException {
|
|
55
55
|
readonly name: "ValidationException";
|
|
56
56
|
readonly $fault: "client";
|
|
57
|
-
Message?: string;
|
|
57
|
+
Message?: string | undefined;
|
|
58
58
|
constructor(
|
|
59
59
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
60
60
|
);
|
|
@@ -62,27 +62,33 @@ export declare class ValidationException extends __BaseException {
|
|
|
62
62
|
export declare class BadRequestException extends __BaseException {
|
|
63
63
|
readonly name: "BadRequestException";
|
|
64
64
|
readonly $fault: "client";
|
|
65
|
-
Message?: string;
|
|
65
|
+
Message?: string | undefined;
|
|
66
66
|
constructor(
|
|
67
67
|
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
68
68
|
);
|
|
69
69
|
}
|
|
70
70
|
export interface BaseScreenshot {
|
|
71
71
|
ScreenshotName: string | undefined;
|
|
72
|
-
IgnoreCoordinates?: string[];
|
|
72
|
+
IgnoreCoordinates?: string[] | undefined;
|
|
73
73
|
}
|
|
74
74
|
export interface CanaryCodeOutput {
|
|
75
|
-
SourceLocationArn?: string;
|
|
76
|
-
Handler?: string;
|
|
75
|
+
SourceLocationArn?: string | undefined;
|
|
76
|
+
Handler?: string | undefined;
|
|
77
77
|
}
|
|
78
|
+
export declare const ProvisionedResourceCleanupSetting: {
|
|
79
|
+
readonly AUTOMATIC: "AUTOMATIC";
|
|
80
|
+
readonly OFF: "OFF";
|
|
81
|
+
};
|
|
82
|
+
export type ProvisionedResourceCleanupSetting =
|
|
83
|
+
(typeof ProvisionedResourceCleanupSetting)[keyof typeof ProvisionedResourceCleanupSetting];
|
|
78
84
|
export interface CanaryRunConfigOutput {
|
|
79
|
-
TimeoutInSeconds?: number;
|
|
80
|
-
MemoryInMB?: number;
|
|
81
|
-
ActiveTracing?: boolean;
|
|
85
|
+
TimeoutInSeconds?: number | undefined;
|
|
86
|
+
MemoryInMB?: number | undefined;
|
|
87
|
+
ActiveTracing?: boolean | undefined;
|
|
82
88
|
}
|
|
83
89
|
export interface CanaryScheduleOutput {
|
|
84
|
-
Expression?: string;
|
|
85
|
-
DurationInSeconds?: number;
|
|
90
|
+
Expression?: string | undefined;
|
|
91
|
+
DurationInSeconds?: number | undefined;
|
|
86
92
|
}
|
|
87
93
|
export declare const CanaryState: {
|
|
88
94
|
readonly CREATING: "CREATING";
|
|
@@ -113,43 +119,44 @@ export declare const CanaryStateReasonCode: {
|
|
|
113
119
|
export type CanaryStateReasonCode =
|
|
114
120
|
(typeof CanaryStateReasonCode)[keyof typeof CanaryStateReasonCode];
|
|
115
121
|
export interface CanaryStatus {
|
|
116
|
-
State?: CanaryState;
|
|
117
|
-
StateReason?: string;
|
|
118
|
-
StateReasonCode?: CanaryStateReasonCode;
|
|
122
|
+
State?: CanaryState | undefined;
|
|
123
|
+
StateReason?: string | undefined;
|
|
124
|
+
StateReasonCode?: CanaryStateReasonCode | undefined;
|
|
119
125
|
}
|
|
120
126
|
export interface CanaryTimeline {
|
|
121
|
-
Created?: Date;
|
|
122
|
-
LastModified?: Date;
|
|
123
|
-
LastStarted?: Date;
|
|
124
|
-
LastStopped?: Date;
|
|
127
|
+
Created?: Date | undefined;
|
|
128
|
+
LastModified?: Date | undefined;
|
|
129
|
+
LastStarted?: Date | undefined;
|
|
130
|
+
LastStopped?: Date | undefined;
|
|
125
131
|
}
|
|
126
132
|
export interface VisualReferenceOutput {
|
|
127
|
-
BaseScreenshots?: BaseScreenshot[];
|
|
128
|
-
BaseCanaryRunId?: string;
|
|
133
|
+
BaseScreenshots?: BaseScreenshot[] | undefined;
|
|
134
|
+
BaseCanaryRunId?: string | undefined;
|
|
129
135
|
}
|
|
130
136
|
export interface VpcConfigOutput {
|
|
131
|
-
VpcId?: string;
|
|
132
|
-
SubnetIds?: string[];
|
|
133
|
-
SecurityGroupIds?: string[];
|
|
137
|
+
VpcId?: string | undefined;
|
|
138
|
+
SubnetIds?: string[] | undefined;
|
|
139
|
+
SecurityGroupIds?: string[] | undefined;
|
|
134
140
|
}
|
|
135
141
|
export interface Canary {
|
|
136
|
-
Id?: string;
|
|
137
|
-
Name?: string;
|
|
138
|
-
Code?: CanaryCodeOutput;
|
|
139
|
-
ExecutionRoleArn?: string;
|
|
140
|
-
Schedule?: CanaryScheduleOutput;
|
|
141
|
-
RunConfig?: CanaryRunConfigOutput;
|
|
142
|
-
SuccessRetentionPeriodInDays?: number;
|
|
143
|
-
FailureRetentionPeriodInDays?: number;
|
|
144
|
-
Status?: CanaryStatus;
|
|
145
|
-
Timeline?: CanaryTimeline;
|
|
146
|
-
ArtifactS3Location?: string;
|
|
147
|
-
EngineArn?: string;
|
|
148
|
-
RuntimeVersion?: string;
|
|
149
|
-
VpcConfig?: VpcConfigOutput;
|
|
150
|
-
VisualReference?: VisualReferenceOutput;
|
|
151
|
-
|
|
152
|
-
|
|
142
|
+
Id?: string | undefined;
|
|
143
|
+
Name?: string | undefined;
|
|
144
|
+
Code?: CanaryCodeOutput | undefined;
|
|
145
|
+
ExecutionRoleArn?: string | undefined;
|
|
146
|
+
Schedule?: CanaryScheduleOutput | undefined;
|
|
147
|
+
RunConfig?: CanaryRunConfigOutput | undefined;
|
|
148
|
+
SuccessRetentionPeriodInDays?: number | undefined;
|
|
149
|
+
FailureRetentionPeriodInDays?: number | undefined;
|
|
150
|
+
Status?: CanaryStatus | undefined;
|
|
151
|
+
Timeline?: CanaryTimeline | undefined;
|
|
152
|
+
ArtifactS3Location?: string | undefined;
|
|
153
|
+
EngineArn?: string | undefined;
|
|
154
|
+
RuntimeVersion?: string | undefined;
|
|
155
|
+
VpcConfig?: VpcConfigOutput | undefined;
|
|
156
|
+
VisualReference?: VisualReferenceOutput | undefined;
|
|
157
|
+
ProvisionedResourceCleanup?: ProvisionedResourceCleanupSetting | undefined;
|
|
158
|
+
Tags?: Record<string, string> | undefined;
|
|
159
|
+
ArtifactConfig?: ArtifactConfigOutput | undefined;
|
|
153
160
|
}
|
|
154
161
|
export declare const CanaryRunState: {
|
|
155
162
|
readonly FAILED: "FAILED";
|
|
@@ -165,49 +172,49 @@ export declare const CanaryRunStateReasonCode: {
|
|
|
165
172
|
export type CanaryRunStateReasonCode =
|
|
166
173
|
(typeof CanaryRunStateReasonCode)[keyof typeof CanaryRunStateReasonCode];
|
|
167
174
|
export interface CanaryRunStatus {
|
|
168
|
-
State?: CanaryRunState;
|
|
169
|
-
StateReason?: string;
|
|
170
|
-
StateReasonCode?: CanaryRunStateReasonCode;
|
|
175
|
+
State?: CanaryRunState | undefined;
|
|
176
|
+
StateReason?: string | undefined;
|
|
177
|
+
StateReasonCode?: CanaryRunStateReasonCode | undefined;
|
|
171
178
|
}
|
|
172
179
|
export interface CanaryRunTimeline {
|
|
173
|
-
Started?: Date;
|
|
174
|
-
Completed?: Date;
|
|
180
|
+
Started?: Date | undefined;
|
|
181
|
+
Completed?: Date | undefined;
|
|
175
182
|
}
|
|
176
183
|
export interface CanaryRun {
|
|
177
|
-
Id?: string;
|
|
178
|
-
Name?: string;
|
|
179
|
-
Status?: CanaryRunStatus;
|
|
180
|
-
Timeline?: CanaryRunTimeline;
|
|
181
|
-
ArtifactS3Location?: string;
|
|
184
|
+
Id?: string | undefined;
|
|
185
|
+
Name?: string | undefined;
|
|
186
|
+
Status?: CanaryRunStatus | undefined;
|
|
187
|
+
Timeline?: CanaryRunTimeline | undefined;
|
|
188
|
+
ArtifactS3Location?: string | undefined;
|
|
182
189
|
}
|
|
183
190
|
export interface CanaryLastRun {
|
|
184
|
-
CanaryName?: string;
|
|
185
|
-
LastRun?: CanaryRun;
|
|
191
|
+
CanaryName?: string | undefined;
|
|
192
|
+
LastRun?: CanaryRun | undefined;
|
|
186
193
|
}
|
|
187
194
|
export interface CanaryCodeInput {
|
|
188
|
-
S3Bucket?: string;
|
|
189
|
-
S3Key?: string;
|
|
190
|
-
S3Version?: string;
|
|
191
|
-
ZipFile?: Uint8Array;
|
|
195
|
+
S3Bucket?: string | undefined;
|
|
196
|
+
S3Key?: string | undefined;
|
|
197
|
+
S3Version?: string | undefined;
|
|
198
|
+
ZipFile?: Uint8Array | undefined;
|
|
192
199
|
Handler: string | undefined;
|
|
193
200
|
}
|
|
194
201
|
export interface CanaryRunConfigInput {
|
|
195
|
-
TimeoutInSeconds?: number;
|
|
196
|
-
MemoryInMB?: number;
|
|
197
|
-
ActiveTracing?: boolean;
|
|
198
|
-
EnvironmentVariables?: Record<string, string
|
|
202
|
+
TimeoutInSeconds?: number | undefined;
|
|
203
|
+
MemoryInMB?: number | undefined;
|
|
204
|
+
ActiveTracing?: boolean | undefined;
|
|
205
|
+
EnvironmentVariables?: Record<string, string> | undefined;
|
|
199
206
|
}
|
|
200
207
|
export interface CanaryScheduleInput {
|
|
201
208
|
Expression: string | undefined;
|
|
202
|
-
DurationInSeconds?: number;
|
|
209
|
+
DurationInSeconds?: number | undefined;
|
|
203
210
|
}
|
|
204
211
|
export declare const ResourceToTag: {
|
|
205
212
|
readonly LAMBDA_FUNCTION: "lambda-function";
|
|
206
213
|
};
|
|
207
214
|
export type ResourceToTag = (typeof ResourceToTag)[keyof typeof ResourceToTag];
|
|
208
215
|
export interface VpcConfigInput {
|
|
209
|
-
SubnetIds?: string[];
|
|
210
|
-
SecurityGroupIds?: string[];
|
|
216
|
+
SubnetIds?: string[] | undefined;
|
|
217
|
+
SecurityGroupIds?: string[] | undefined;
|
|
211
218
|
}
|
|
212
219
|
export interface CreateCanaryRequest {
|
|
213
220
|
Name: string | undefined;
|
|
@@ -215,44 +222,45 @@ export interface CreateCanaryRequest {
|
|
|
215
222
|
ArtifactS3Location: string | undefined;
|
|
216
223
|
ExecutionRoleArn: string | undefined;
|
|
217
224
|
Schedule: CanaryScheduleInput | undefined;
|
|
218
|
-
RunConfig?: CanaryRunConfigInput;
|
|
219
|
-
SuccessRetentionPeriodInDays?: number;
|
|
220
|
-
FailureRetentionPeriodInDays?: number;
|
|
225
|
+
RunConfig?: CanaryRunConfigInput | undefined;
|
|
226
|
+
SuccessRetentionPeriodInDays?: number | undefined;
|
|
227
|
+
FailureRetentionPeriodInDays?: number | undefined;
|
|
221
228
|
RuntimeVersion: string | undefined;
|
|
222
|
-
VpcConfig?: VpcConfigInput;
|
|
223
|
-
ResourcesToReplicateTags?: ResourceToTag[];
|
|
224
|
-
|
|
225
|
-
|
|
229
|
+
VpcConfig?: VpcConfigInput | undefined;
|
|
230
|
+
ResourcesToReplicateTags?: ResourceToTag[] | undefined;
|
|
231
|
+
ProvisionedResourceCleanup?: ProvisionedResourceCleanupSetting | undefined;
|
|
232
|
+
Tags?: Record<string, string> | undefined;
|
|
233
|
+
ArtifactConfig?: ArtifactConfigInput | undefined;
|
|
226
234
|
}
|
|
227
235
|
export interface CreateCanaryResponse {
|
|
228
|
-
Canary?: Canary;
|
|
236
|
+
Canary?: Canary | undefined;
|
|
229
237
|
}
|
|
230
238
|
export declare class RequestEntityTooLargeException extends __BaseException {
|
|
231
239
|
readonly name: "RequestEntityTooLargeException";
|
|
232
240
|
readonly $fault: "client";
|
|
233
|
-
Message?: string;
|
|
241
|
+
Message?: string | undefined;
|
|
234
242
|
constructor(
|
|
235
243
|
opts: __ExceptionOptionType<RequestEntityTooLargeException, __BaseException>
|
|
236
244
|
);
|
|
237
245
|
}
|
|
238
246
|
export interface CreateGroupRequest {
|
|
239
247
|
Name: string | undefined;
|
|
240
|
-
Tags?: Record<string, string
|
|
248
|
+
Tags?: Record<string, string> | undefined;
|
|
241
249
|
}
|
|
242
250
|
export interface Group {
|
|
243
|
-
Id?: string;
|
|
244
|
-
Name?: string;
|
|
245
|
-
Arn?: string;
|
|
246
|
-
Tags?: Record<string, string
|
|
247
|
-
CreatedTime?: Date;
|
|
248
|
-
LastModifiedTime?: Date;
|
|
251
|
+
Id?: string | undefined;
|
|
252
|
+
Name?: string | undefined;
|
|
253
|
+
Arn?: string | undefined;
|
|
254
|
+
Tags?: Record<string, string> | undefined;
|
|
255
|
+
CreatedTime?: Date | undefined;
|
|
256
|
+
LastModifiedTime?: Date | undefined;
|
|
249
257
|
}
|
|
250
258
|
export interface CreateGroupResponse {
|
|
251
|
-
Group?: Group;
|
|
259
|
+
Group?: Group | undefined;
|
|
252
260
|
}
|
|
253
261
|
export interface DeleteCanaryRequest {
|
|
254
262
|
Name: string | undefined;
|
|
255
|
-
DeleteLambda?: boolean;
|
|
263
|
+
DeleteLambda?: boolean | undefined;
|
|
256
264
|
}
|
|
257
265
|
export interface DeleteCanaryResponse {}
|
|
258
266
|
export interface DeleteGroupRequest {
|
|
@@ -260,36 +268,36 @@ export interface DeleteGroupRequest {
|
|
|
260
268
|
}
|
|
261
269
|
export interface DeleteGroupResponse {}
|
|
262
270
|
export interface DescribeCanariesRequest {
|
|
263
|
-
NextToken?: string;
|
|
264
|
-
MaxResults?: number;
|
|
265
|
-
Names?: string[];
|
|
271
|
+
NextToken?: string | undefined;
|
|
272
|
+
MaxResults?: number | undefined;
|
|
273
|
+
Names?: string[] | undefined;
|
|
266
274
|
}
|
|
267
275
|
export interface DescribeCanariesResponse {
|
|
268
|
-
Canaries?: Canary[];
|
|
269
|
-
NextToken?: string;
|
|
276
|
+
Canaries?: Canary[] | undefined;
|
|
277
|
+
NextToken?: string | undefined;
|
|
270
278
|
}
|
|
271
279
|
export interface DescribeCanariesLastRunRequest {
|
|
272
|
-
NextToken?: string;
|
|
273
|
-
MaxResults?: number;
|
|
274
|
-
Names?: string[];
|
|
280
|
+
NextToken?: string | undefined;
|
|
281
|
+
MaxResults?: number | undefined;
|
|
282
|
+
Names?: string[] | undefined;
|
|
275
283
|
}
|
|
276
284
|
export interface DescribeCanariesLastRunResponse {
|
|
277
|
-
CanariesLastRun?: CanaryLastRun[];
|
|
278
|
-
NextToken?: string;
|
|
285
|
+
CanariesLastRun?: CanaryLastRun[] | undefined;
|
|
286
|
+
NextToken?: string | undefined;
|
|
279
287
|
}
|
|
280
288
|
export interface DescribeRuntimeVersionsRequest {
|
|
281
|
-
NextToken?: string;
|
|
282
|
-
MaxResults?: number;
|
|
289
|
+
NextToken?: string | undefined;
|
|
290
|
+
MaxResults?: number | undefined;
|
|
283
291
|
}
|
|
284
292
|
export interface RuntimeVersion {
|
|
285
|
-
VersionName?: string;
|
|
286
|
-
Description?: string;
|
|
287
|
-
ReleaseDate?: Date;
|
|
288
|
-
DeprecationDate?: Date;
|
|
293
|
+
VersionName?: string | undefined;
|
|
294
|
+
Description?: string | undefined;
|
|
295
|
+
ReleaseDate?: Date | undefined;
|
|
296
|
+
DeprecationDate?: Date | undefined;
|
|
289
297
|
}
|
|
290
298
|
export interface DescribeRuntimeVersionsResponse {
|
|
291
|
-
RuntimeVersions?: RuntimeVersion[];
|
|
292
|
-
NextToken?: string;
|
|
299
|
+
RuntimeVersions?: RuntimeVersion[] | undefined;
|
|
300
|
+
NextToken?: string | undefined;
|
|
293
301
|
}
|
|
294
302
|
export interface DisassociateResourceRequest {
|
|
295
303
|
GroupIdentifier: string | undefined;
|
|
@@ -300,78 +308,78 @@ export interface GetCanaryRequest {
|
|
|
300
308
|
Name: string | undefined;
|
|
301
309
|
}
|
|
302
310
|
export interface GetCanaryResponse {
|
|
303
|
-
Canary?: Canary;
|
|
311
|
+
Canary?: Canary | undefined;
|
|
304
312
|
}
|
|
305
313
|
export interface GetCanaryRunsRequest {
|
|
306
314
|
Name: string | undefined;
|
|
307
|
-
NextToken?: string;
|
|
308
|
-
MaxResults?: number;
|
|
315
|
+
NextToken?: string | undefined;
|
|
316
|
+
MaxResults?: number | undefined;
|
|
309
317
|
}
|
|
310
318
|
export interface GetCanaryRunsResponse {
|
|
311
|
-
CanaryRuns?: CanaryRun[];
|
|
312
|
-
NextToken?: string;
|
|
319
|
+
CanaryRuns?: CanaryRun[] | undefined;
|
|
320
|
+
NextToken?: string | undefined;
|
|
313
321
|
}
|
|
314
322
|
export interface GetGroupRequest {
|
|
315
323
|
GroupIdentifier: string | undefined;
|
|
316
324
|
}
|
|
317
325
|
export interface GetGroupResponse {
|
|
318
|
-
Group?: Group;
|
|
326
|
+
Group?: Group | undefined;
|
|
319
327
|
}
|
|
320
328
|
export interface GroupSummary {
|
|
321
|
-
Id?: string;
|
|
322
|
-
Name?: string;
|
|
323
|
-
Arn?: string;
|
|
329
|
+
Id?: string | undefined;
|
|
330
|
+
Name?: string | undefined;
|
|
331
|
+
Arn?: string | undefined;
|
|
324
332
|
}
|
|
325
333
|
export declare class InternalFailureException extends __BaseException {
|
|
326
334
|
readonly name: "InternalFailureException";
|
|
327
335
|
readonly $fault: "server";
|
|
328
|
-
Message?: string;
|
|
336
|
+
Message?: string | undefined;
|
|
329
337
|
constructor(
|
|
330
338
|
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
331
339
|
);
|
|
332
340
|
}
|
|
333
341
|
export interface ListAssociatedGroupsRequest {
|
|
334
|
-
NextToken?: string;
|
|
335
|
-
MaxResults?: number;
|
|
342
|
+
NextToken?: string | undefined;
|
|
343
|
+
MaxResults?: number | undefined;
|
|
336
344
|
ResourceArn: string | undefined;
|
|
337
345
|
}
|
|
338
346
|
export interface ListAssociatedGroupsResponse {
|
|
339
|
-
Groups?: GroupSummary[];
|
|
340
|
-
NextToken?: string;
|
|
347
|
+
Groups?: GroupSummary[] | undefined;
|
|
348
|
+
NextToken?: string | undefined;
|
|
341
349
|
}
|
|
342
350
|
export interface ListGroupResourcesRequest {
|
|
343
|
-
NextToken?: string;
|
|
344
|
-
MaxResults?: number;
|
|
351
|
+
NextToken?: string | undefined;
|
|
352
|
+
MaxResults?: number | undefined;
|
|
345
353
|
GroupIdentifier: string | undefined;
|
|
346
354
|
}
|
|
347
355
|
export interface ListGroupResourcesResponse {
|
|
348
|
-
Resources?: string[];
|
|
349
|
-
NextToken?: string;
|
|
356
|
+
Resources?: string[] | undefined;
|
|
357
|
+
NextToken?: string | undefined;
|
|
350
358
|
}
|
|
351
359
|
export interface ListGroupsRequest {
|
|
352
|
-
NextToken?: string;
|
|
353
|
-
MaxResults?: number;
|
|
360
|
+
NextToken?: string | undefined;
|
|
361
|
+
MaxResults?: number | undefined;
|
|
354
362
|
}
|
|
355
363
|
export interface ListGroupsResponse {
|
|
356
|
-
Groups?: GroupSummary[];
|
|
357
|
-
NextToken?: string;
|
|
364
|
+
Groups?: GroupSummary[] | undefined;
|
|
365
|
+
NextToken?: string | undefined;
|
|
358
366
|
}
|
|
359
367
|
export interface ListTagsForResourceRequest {
|
|
360
368
|
ResourceArn: string | undefined;
|
|
361
369
|
}
|
|
362
370
|
export interface ListTagsForResourceResponse {
|
|
363
|
-
Tags?: Record<string, string
|
|
371
|
+
Tags?: Record<string, string> | undefined;
|
|
364
372
|
}
|
|
365
373
|
export declare class NotFoundException extends __BaseException {
|
|
366
374
|
readonly name: "NotFoundException";
|
|
367
375
|
readonly $fault: "client";
|
|
368
|
-
Message?: string;
|
|
376
|
+
Message?: string | undefined;
|
|
369
377
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
370
378
|
}
|
|
371
379
|
export declare class TooManyRequestsException extends __BaseException {
|
|
372
380
|
readonly name: "TooManyRequestsException";
|
|
373
381
|
readonly $fault: "client";
|
|
374
|
-
Message?: string;
|
|
382
|
+
Message?: string | undefined;
|
|
375
383
|
constructor(
|
|
376
384
|
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
377
385
|
);
|
|
@@ -395,21 +403,22 @@ export interface UntagResourceRequest {
|
|
|
395
403
|
}
|
|
396
404
|
export interface UntagResourceResponse {}
|
|
397
405
|
export interface VisualReferenceInput {
|
|
398
|
-
BaseScreenshots?: BaseScreenshot[];
|
|
406
|
+
BaseScreenshots?: BaseScreenshot[] | undefined;
|
|
399
407
|
BaseCanaryRunId: string | undefined;
|
|
400
408
|
}
|
|
401
409
|
export interface UpdateCanaryRequest {
|
|
402
410
|
Name: string | undefined;
|
|
403
|
-
Code?: CanaryCodeInput;
|
|
404
|
-
ExecutionRoleArn?: string;
|
|
405
|
-
RuntimeVersion?: string;
|
|
406
|
-
Schedule?: CanaryScheduleInput;
|
|
407
|
-
RunConfig?: CanaryRunConfigInput;
|
|
408
|
-
SuccessRetentionPeriodInDays?: number;
|
|
409
|
-
FailureRetentionPeriodInDays?: number;
|
|
410
|
-
VpcConfig?: VpcConfigInput;
|
|
411
|
-
VisualReference?: VisualReferenceInput;
|
|
412
|
-
ArtifactS3Location?: string;
|
|
413
|
-
ArtifactConfig?: ArtifactConfigInput;
|
|
411
|
+
Code?: CanaryCodeInput | undefined;
|
|
412
|
+
ExecutionRoleArn?: string | undefined;
|
|
413
|
+
RuntimeVersion?: string | undefined;
|
|
414
|
+
Schedule?: CanaryScheduleInput | undefined;
|
|
415
|
+
RunConfig?: CanaryRunConfigInput | undefined;
|
|
416
|
+
SuccessRetentionPeriodInDays?: number | undefined;
|
|
417
|
+
FailureRetentionPeriodInDays?: number | undefined;
|
|
418
|
+
VpcConfig?: VpcConfigInput | undefined;
|
|
419
|
+
VisualReference?: VisualReferenceInput | undefined;
|
|
420
|
+
ArtifactS3Location?: string | undefined;
|
|
421
|
+
ArtifactConfig?: ArtifactConfigInput | undefined;
|
|
422
|
+
ProvisionedResourceCleanup?: ProvisionedResourceCleanupSetting | undefined;
|
|
414
423
|
}
|
|
415
424
|
export interface UpdateCanaryResponse {}
|
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.691.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-synthetics",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|