@aws-sdk/client-synthetics 3.934.0 → 3.935.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.
@@ -0,0 +1,79 @@
1
+ export declare const EncryptionMode: {
2
+ readonly SSE_KMS: "SSE_KMS";
3
+ readonly SSE_S3: "SSE_S3";
4
+ };
5
+ export type EncryptionMode =
6
+ (typeof EncryptionMode)[keyof typeof EncryptionMode];
7
+ export declare const BrowserType: {
8
+ readonly CHROME: "CHROME";
9
+ readonly FIREFOX: "FIREFOX";
10
+ };
11
+ export type BrowserType = (typeof BrowserType)[keyof typeof BrowserType];
12
+ export declare const DependencyType: {
13
+ readonly LambdaLayer: "LambdaLayer";
14
+ };
15
+ export type DependencyType =
16
+ (typeof DependencyType)[keyof typeof DependencyType];
17
+ export declare const ProvisionedResourceCleanupSetting: {
18
+ readonly AUTOMATIC: "AUTOMATIC";
19
+ readonly OFF: "OFF";
20
+ };
21
+ export type ProvisionedResourceCleanupSetting =
22
+ (typeof ProvisionedResourceCleanupSetting)[keyof typeof ProvisionedResourceCleanupSetting];
23
+ export declare const CanaryState: {
24
+ readonly CREATING: "CREATING";
25
+ readonly DELETING: "DELETING";
26
+ readonly ERROR: "ERROR";
27
+ readonly READY: "READY";
28
+ readonly RUNNING: "RUNNING";
29
+ readonly STARTING: "STARTING";
30
+ readonly STOPPED: "STOPPED";
31
+ readonly STOPPING: "STOPPING";
32
+ readonly UPDATING: "UPDATING";
33
+ };
34
+ export type CanaryState = (typeof CanaryState)[keyof typeof CanaryState];
35
+ export declare const CanaryStateReasonCode: {
36
+ readonly CREATE_FAILED: "CREATE_FAILED";
37
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
38
+ readonly CREATE_PENDING: "CREATE_PENDING";
39
+ readonly DELETE_FAILED: "DELETE_FAILED";
40
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
41
+ readonly INVALID_PERMISSIONS: "INVALID_PERMISSIONS";
42
+ readonly ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE";
43
+ readonly ROLLBACK_FAILED: "ROLLBACK_FAILED";
44
+ readonly SYNC_DELETE_IN_PROGRESS: "SYNC_DELETE_IN_PROGRESS";
45
+ readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
46
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
47
+ readonly UPDATE_PENDING: "UPDATE_PENDING";
48
+ };
49
+ export type CanaryStateReasonCode =
50
+ (typeof CanaryStateReasonCode)[keyof typeof CanaryStateReasonCode];
51
+ export declare const CanaryRunState: {
52
+ readonly FAILED: "FAILED";
53
+ readonly PASSED: "PASSED";
54
+ readonly RUNNING: "RUNNING";
55
+ };
56
+ export type CanaryRunState =
57
+ (typeof CanaryRunState)[keyof typeof CanaryRunState];
58
+ export declare const CanaryRunStateReasonCode: {
59
+ readonly CANARY_FAILURE: "CANARY_FAILURE";
60
+ readonly EXECUTION_FAILURE: "EXECUTION_FAILURE";
61
+ };
62
+ export type CanaryRunStateReasonCode =
63
+ (typeof CanaryRunStateReasonCode)[keyof typeof CanaryRunStateReasonCode];
64
+ export declare const CanaryRunTestResult: {
65
+ readonly FAILED: "FAILED";
66
+ readonly PASSED: "PASSED";
67
+ readonly UNKNOWN: "UNKNOWN";
68
+ };
69
+ export type CanaryRunTestResult =
70
+ (typeof CanaryRunTestResult)[keyof typeof CanaryRunTestResult];
71
+ export declare const ResourceToTag: {
72
+ readonly LAMBDA_FUNCTION: "lambda-function";
73
+ };
74
+ export type ResourceToTag = (typeof ResourceToTag)[keyof typeof ResourceToTag];
75
+ export declare const RunType: {
76
+ readonly CANARY_RUN: "CANARY_RUN";
77
+ readonly DRY_RUN: "DRY_RUN";
78
+ };
79
+ export type RunType = (typeof RunType)[keyof typeof RunType];
@@ -0,0 +1,86 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SyntheticsServiceException as __BaseException } from "./SyntheticsServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare class ConflictException extends __BaseException {
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+ Message?: string | undefined;
15
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
+ }
17
+ export declare class InternalServerException extends __BaseException {
18
+ readonly name: "InternalServerException";
19
+ readonly $fault: "server";
20
+ Message?: string | undefined;
21
+ constructor(
22
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
23
+ );
24
+ }
25
+ export declare class ResourceNotFoundException extends __BaseException {
26
+ readonly name: "ResourceNotFoundException";
27
+ readonly $fault: "client";
28
+ Message?: string | undefined;
29
+ constructor(
30
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
31
+ );
32
+ }
33
+ export declare class ServiceQuotaExceededException extends __BaseException {
34
+ readonly name: "ServiceQuotaExceededException";
35
+ readonly $fault: "client";
36
+ Message?: string | undefined;
37
+ constructor(
38
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
39
+ );
40
+ }
41
+ export declare class ValidationException extends __BaseException {
42
+ readonly name: "ValidationException";
43
+ readonly $fault: "client";
44
+ Message?: string | undefined;
45
+ constructor(
46
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
47
+ );
48
+ }
49
+ export declare class BadRequestException extends __BaseException {
50
+ readonly name: "BadRequestException";
51
+ readonly $fault: "client";
52
+ Message?: string | undefined;
53
+ constructor(
54
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
55
+ );
56
+ }
57
+ export declare class RequestEntityTooLargeException extends __BaseException {
58
+ readonly name: "RequestEntityTooLargeException";
59
+ readonly $fault: "client";
60
+ Message?: string | undefined;
61
+ constructor(
62
+ opts: __ExceptionOptionType<RequestEntityTooLargeException, __BaseException>
63
+ );
64
+ }
65
+ export declare class InternalFailureException extends __BaseException {
66
+ readonly name: "InternalFailureException";
67
+ readonly $fault: "server";
68
+ Message?: string | undefined;
69
+ constructor(
70
+ opts: __ExceptionOptionType<InternalFailureException, __BaseException>
71
+ );
72
+ }
73
+ export declare class NotFoundException extends __BaseException {
74
+ readonly name: "NotFoundException";
75
+ readonly $fault: "client";
76
+ Message?: string | undefined;
77
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
78
+ }
79
+ export declare class TooManyRequestsException extends __BaseException {
80
+ readonly name: "TooManyRequestsException";
81
+ readonly $fault: "client";
82
+ Message?: string | undefined;
83
+ constructor(
84
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
85
+ );
86
+ }
@@ -1,19 +1,16 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SyntheticsServiceException as __BaseException } from "./SyntheticsServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
- export declare const EncryptionMode: {
12
- readonly SSE_KMS: "SSE_KMS";
13
- readonly SSE_S3: "SSE_S3";
14
- };
15
- export type EncryptionMode =
16
- (typeof EncryptionMode)[keyof typeof EncryptionMode];
1
+ import {
2
+ BrowserType,
3
+ CanaryRunState,
4
+ CanaryRunStateReasonCode,
5
+ CanaryRunTestResult,
6
+ CanaryState,
7
+ CanaryStateReasonCode,
8
+ DependencyType,
9
+ EncryptionMode,
10
+ ProvisionedResourceCleanupSetting,
11
+ ResourceToTag,
12
+ RunType,
13
+ } from "./enums";
17
14
  export interface S3EncryptionConfig {
18
15
  EncryptionMode?: EncryptionMode | undefined;
19
16
  KmsKeyArn?: string | undefined;
@@ -29,69 +26,13 @@ export interface AssociateResourceRequest {
29
26
  ResourceArn: string | undefined;
30
27
  }
31
28
  export interface AssociateResourceResponse {}
32
- export declare class ConflictException extends __BaseException {
33
- readonly name: "ConflictException";
34
- readonly $fault: "client";
35
- Message?: string | undefined;
36
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
37
- }
38
- export declare class InternalServerException extends __BaseException {
39
- readonly name: "InternalServerException";
40
- readonly $fault: "server";
41
- Message?: string | undefined;
42
- constructor(
43
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
44
- );
45
- }
46
- export declare class ResourceNotFoundException extends __BaseException {
47
- readonly name: "ResourceNotFoundException";
48
- readonly $fault: "client";
49
- Message?: string | undefined;
50
- constructor(
51
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
52
- );
53
- }
54
- export declare class ServiceQuotaExceededException extends __BaseException {
55
- readonly name: "ServiceQuotaExceededException";
56
- readonly $fault: "client";
57
- Message?: string | undefined;
58
- constructor(
59
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
60
- );
61
- }
62
- export declare class ValidationException extends __BaseException {
63
- readonly name: "ValidationException";
64
- readonly $fault: "client";
65
- Message?: string | undefined;
66
- constructor(
67
- opts: __ExceptionOptionType<ValidationException, __BaseException>
68
- );
69
- }
70
- export declare class BadRequestException extends __BaseException {
71
- readonly name: "BadRequestException";
72
- readonly $fault: "client";
73
- Message?: string | undefined;
74
- constructor(
75
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
76
- );
77
- }
78
29
  export interface BaseScreenshot {
79
30
  ScreenshotName: string | undefined;
80
31
  IgnoreCoordinates?: string[] | undefined;
81
32
  }
82
- export declare const BrowserType: {
83
- readonly CHROME: "CHROME";
84
- readonly FIREFOX: "FIREFOX";
85
- };
86
- export type BrowserType = (typeof BrowserType)[keyof typeof BrowserType];
87
33
  export interface BrowserConfig {
88
34
  BrowserType?: BrowserType | undefined;
89
35
  }
90
- export declare const DependencyType: {
91
- readonly LambdaLayer: "LambdaLayer";
92
- };
93
- export type DependencyType =
94
- (typeof DependencyType)[keyof typeof DependencyType];
95
36
  export interface Dependency {
96
37
  Type?: DependencyType | undefined;
97
38
  Reference: string | undefined;
@@ -110,12 +51,6 @@ export interface EngineConfig {
110
51
  EngineArn?: string | undefined;
111
52
  BrowserType?: BrowserType | undefined;
112
53
  }
113
- export declare const ProvisionedResourceCleanupSetting: {
114
- readonly AUTOMATIC: "AUTOMATIC";
115
- readonly OFF: "OFF";
116
- };
117
- export type ProvisionedResourceCleanupSetting =
118
- (typeof ProvisionedResourceCleanupSetting)[keyof typeof ProvisionedResourceCleanupSetting];
119
54
  export interface CanaryRunConfigOutput {
120
55
  TimeoutInSeconds?: number | undefined;
121
56
  MemoryInMB?: number | undefined;
@@ -130,34 +65,6 @@ export interface CanaryScheduleOutput {
130
65
  DurationInSeconds?: number | undefined;
131
66
  RetryConfig?: RetryConfigOutput | undefined;
132
67
  }
133
- export declare const CanaryState: {
134
- readonly CREATING: "CREATING";
135
- readonly DELETING: "DELETING";
136
- readonly ERROR: "ERROR";
137
- readonly READY: "READY";
138
- readonly RUNNING: "RUNNING";
139
- readonly STARTING: "STARTING";
140
- readonly STOPPED: "STOPPED";
141
- readonly STOPPING: "STOPPING";
142
- readonly UPDATING: "UPDATING";
143
- };
144
- export type CanaryState = (typeof CanaryState)[keyof typeof CanaryState];
145
- export declare const CanaryStateReasonCode: {
146
- readonly CREATE_FAILED: "CREATE_FAILED";
147
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
148
- readonly CREATE_PENDING: "CREATE_PENDING";
149
- readonly DELETE_FAILED: "DELETE_FAILED";
150
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
151
- readonly INVALID_PERMISSIONS: "INVALID_PERMISSIONS";
152
- readonly ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE";
153
- readonly ROLLBACK_FAILED: "ROLLBACK_FAILED";
154
- readonly SYNC_DELETE_IN_PROGRESS: "SYNC_DELETE_IN_PROGRESS";
155
- readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
156
- readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
157
- readonly UPDATE_PENDING: "UPDATE_PENDING";
158
- };
159
- export type CanaryStateReasonCode =
160
- (typeof CanaryStateReasonCode)[keyof typeof CanaryStateReasonCode];
161
68
  export interface CanaryStatus {
162
69
  State?: CanaryState | undefined;
163
70
  StateReason?: string | undefined;
@@ -207,26 +114,6 @@ export interface Canary {
207
114
  export interface CanaryDryRunConfigOutput {
208
115
  DryRunId?: string | undefined;
209
116
  }
210
- export declare const CanaryRunState: {
211
- readonly FAILED: "FAILED";
212
- readonly PASSED: "PASSED";
213
- readonly RUNNING: "RUNNING";
214
- };
215
- export type CanaryRunState =
216
- (typeof CanaryRunState)[keyof typeof CanaryRunState];
217
- export declare const CanaryRunStateReasonCode: {
218
- readonly CANARY_FAILURE: "CANARY_FAILURE";
219
- readonly EXECUTION_FAILURE: "EXECUTION_FAILURE";
220
- };
221
- export type CanaryRunStateReasonCode =
222
- (typeof CanaryRunStateReasonCode)[keyof typeof CanaryRunStateReasonCode];
223
- export declare const CanaryRunTestResult: {
224
- readonly FAILED: "FAILED";
225
- readonly PASSED: "PASSED";
226
- readonly UNKNOWN: "UNKNOWN";
227
- };
228
- export type CanaryRunTestResult =
229
- (typeof CanaryRunTestResult)[keyof typeof CanaryRunTestResult];
230
117
  export interface CanaryRunStatus {
231
118
  State?: CanaryRunState | undefined;
232
119
  StateReason?: string | undefined;
@@ -277,10 +164,6 @@ export interface CanaryScheduleInput {
277
164
  DurationInSeconds?: number | undefined;
278
165
  RetryConfig?: RetryConfigInput | undefined;
279
166
  }
280
- export declare const ResourceToTag: {
281
- readonly LAMBDA_FUNCTION: "lambda-function";
282
- };
283
- export type ResourceToTag = (typeof ResourceToTag)[keyof typeof ResourceToTag];
284
167
  export interface VpcConfigInput {
285
168
  SubnetIds?: string[] | undefined;
286
169
  SecurityGroupIds?: string[] | undefined;
@@ -306,14 +189,6 @@ export interface CreateCanaryRequest {
306
189
  export interface CreateCanaryResponse {
307
190
  Canary?: Canary | undefined;
308
191
  }
309
- export declare class RequestEntityTooLargeException extends __BaseException {
310
- readonly name: "RequestEntityTooLargeException";
311
- readonly $fault: "client";
312
- Message?: string | undefined;
313
- constructor(
314
- opts: __ExceptionOptionType<RequestEntityTooLargeException, __BaseException>
315
- );
316
- }
317
192
  export interface CreateGroupRequest {
318
193
  Name: string | undefined;
319
194
  Tags?: Record<string, string> | undefined;
@@ -383,11 +258,6 @@ export interface GetCanaryRequest {
383
258
  export interface GetCanaryResponse {
384
259
  Canary?: Canary | undefined;
385
260
  }
386
- export declare const RunType: {
387
- readonly CANARY_RUN: "CANARY_RUN";
388
- readonly DRY_RUN: "DRY_RUN";
389
- };
390
- export type RunType = (typeof RunType)[keyof typeof RunType];
391
261
  export interface GetCanaryRunsRequest {
392
262
  Name: string | undefined;
393
263
  NextToken?: string | undefined;
@@ -410,14 +280,6 @@ export interface GroupSummary {
410
280
  Name?: string | undefined;
411
281
  Arn?: string | undefined;
412
282
  }
413
- export declare class InternalFailureException extends __BaseException {
414
- readonly name: "InternalFailureException";
415
- readonly $fault: "server";
416
- Message?: string | undefined;
417
- constructor(
418
- opts: __ExceptionOptionType<InternalFailureException, __BaseException>
419
- );
420
- }
421
283
  export interface ListAssociatedGroupsRequest {
422
284
  NextToken?: string | undefined;
423
285
  MaxResults?: number | undefined;
@@ -450,20 +312,6 @@ export interface ListTagsForResourceRequest {
450
312
  export interface ListTagsForResourceResponse {
451
313
  Tags?: Record<string, string> | undefined;
452
314
  }
453
- export declare class NotFoundException extends __BaseException {
454
- readonly name: "NotFoundException";
455
- readonly $fault: "client";
456
- Message?: string | undefined;
457
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
458
- }
459
- export declare class TooManyRequestsException extends __BaseException {
460
- readonly name: "TooManyRequestsException";
461
- readonly $fault: "client";
462
- Message?: string | undefined;
463
- constructor(
464
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
465
- );
466
- }
467
315
  export interface StartCanaryRequest {
468
316
  Name: string | undefined;
469
317
  }
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.934.0",
4
+ "version": "3.935.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,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";