@aws-sdk/client-shield 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.
@@ -1,34 +1,22 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ShieldServiceException as __BaseException } from "./ShieldServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
- export declare class AccessDeniedForDependencyException extends __BaseException {
11
- readonly name: "AccessDeniedForDependencyException";
12
- readonly $fault: "client";
13
- constructor(
14
- opts: __ExceptionOptionType<
15
- AccessDeniedForDependencyException,
16
- __BaseException
17
- >
18
- );
19
- }
1
+ import {
2
+ ApplicationLayerAutomaticResponseStatus,
3
+ AttackLayer,
4
+ AttackPropertyIdentifier,
5
+ AutoRenew,
6
+ ProactiveEngagementStatus,
7
+ ProtectedResourceType,
8
+ ProtectionGroupAggregation,
9
+ ProtectionGroupPattern,
10
+ SubResourceType,
11
+ SubscriptionState,
12
+ Unit,
13
+ } from "./enums";
20
14
  export interface BlockAction {}
21
15
  export interface CountAction {}
22
16
  export interface ResponseAction {
23
17
  Block?: BlockAction | undefined;
24
18
  Count?: CountAction | undefined;
25
19
  }
26
- export declare const ApplicationLayerAutomaticResponseStatus: {
27
- readonly DISABLED: "DISABLED";
28
- readonly ENABLED: "ENABLED";
29
- };
30
- export type ApplicationLayerAutomaticResponseStatus =
31
- (typeof ApplicationLayerAutomaticResponseStatus)[keyof typeof ApplicationLayerAutomaticResponseStatus];
32
20
  export interface ApplicationLayerAutomaticResponseConfiguration {
33
21
  Status: ApplicationLayerAutomaticResponseStatus | undefined;
34
22
  Action: ResponseAction | undefined;
@@ -37,70 +25,10 @@ export interface AssociateDRTLogBucketRequest {
37
25
  LogBucket: string | undefined;
38
26
  }
39
27
  export interface AssociateDRTLogBucketResponse {}
40
- export declare class InternalErrorException extends __BaseException {
41
- readonly name: "InternalErrorException";
42
- readonly $fault: "server";
43
- constructor(
44
- opts: __ExceptionOptionType<InternalErrorException, __BaseException>
45
- );
46
- }
47
- export declare class InvalidOperationException extends __BaseException {
48
- readonly name: "InvalidOperationException";
49
- readonly $fault: "client";
50
- constructor(
51
- opts: __ExceptionOptionType<InvalidOperationException, __BaseException>
52
- );
53
- }
54
28
  export interface ValidationExceptionField {
55
29
  name: string | undefined;
56
30
  message: string | undefined;
57
31
  }
58
- export declare const ValidationExceptionReason: {
59
- readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
60
- readonly OTHER: "OTHER";
61
- };
62
- export type ValidationExceptionReason =
63
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
64
- export declare class InvalidParameterException extends __BaseException {
65
- readonly name: "InvalidParameterException";
66
- readonly $fault: "client";
67
- reason?: ValidationExceptionReason | undefined;
68
- fields?: ValidationExceptionField[] | undefined;
69
- constructor(
70
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
71
- );
72
- }
73
- export declare class LimitsExceededException extends __BaseException {
74
- readonly name: "LimitsExceededException";
75
- readonly $fault: "client";
76
- Type?: string | undefined;
77
- Limit?: number | undefined;
78
- constructor(
79
- opts: __ExceptionOptionType<LimitsExceededException, __BaseException>
80
- );
81
- }
82
- export declare class NoAssociatedRoleException extends __BaseException {
83
- readonly name: "NoAssociatedRoleException";
84
- readonly $fault: "client";
85
- constructor(
86
- opts: __ExceptionOptionType<NoAssociatedRoleException, __BaseException>
87
- );
88
- }
89
- export declare class OptimisticLockException extends __BaseException {
90
- readonly name: "OptimisticLockException";
91
- readonly $fault: "client";
92
- constructor(
93
- opts: __ExceptionOptionType<OptimisticLockException, __BaseException>
94
- );
95
- }
96
- export declare class ResourceNotFoundException extends __BaseException {
97
- readonly name: "ResourceNotFoundException";
98
- readonly $fault: "client";
99
- resourceType?: string | undefined;
100
- constructor(
101
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
102
- );
103
- }
104
32
  export interface AssociateDRTRoleRequest {
105
33
  RoleArn: string | undefined;
106
34
  }
@@ -110,13 +38,6 @@ export interface AssociateHealthCheckRequest {
110
38
  HealthCheckArn: string | undefined;
111
39
  }
112
40
  export interface AssociateHealthCheckResponse {}
113
- export declare class InvalidResourceException extends __BaseException {
114
- readonly name: "InvalidResourceException";
115
- readonly $fault: "client";
116
- constructor(
117
- opts: __ExceptionOptionType<InvalidResourceException, __BaseException>
118
- );
119
- }
120
41
  export interface EmergencyContact {
121
42
  EmailAddress: string | undefined;
122
43
  PhoneNumber?: string | undefined;
@@ -134,34 +55,10 @@ export interface SummarizedCounter {
134
55
  N?: number | undefined;
135
56
  Unit?: string | undefined;
136
57
  }
137
- export declare const AttackLayer: {
138
- readonly APPLICATION: "APPLICATION";
139
- readonly NETWORK: "NETWORK";
140
- };
141
- export type AttackLayer = (typeof AttackLayer)[keyof typeof AttackLayer];
142
- export declare const AttackPropertyIdentifier: {
143
- readonly DESTINATION_URL: "DESTINATION_URL";
144
- readonly REFERRER: "REFERRER";
145
- readonly SOURCE_ASN: "SOURCE_ASN";
146
- readonly SOURCE_COUNTRY: "SOURCE_COUNTRY";
147
- readonly SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS";
148
- readonly SOURCE_USER_AGENT: "SOURCE_USER_AGENT";
149
- readonly WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR";
150
- readonly WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE";
151
- };
152
- export type AttackPropertyIdentifier =
153
- (typeof AttackPropertyIdentifier)[keyof typeof AttackPropertyIdentifier];
154
58
  export interface Contributor {
155
59
  Name?: string | undefined;
156
60
  Value?: number | undefined;
157
61
  }
158
- export declare const Unit: {
159
- readonly BITS: "BITS";
160
- readonly BYTES: "BYTES";
161
- readonly PACKETS: "PACKETS";
162
- readonly REQUESTS: "REQUESTS";
163
- };
164
- export type Unit = (typeof Unit)[keyof typeof Unit];
165
62
  export interface AttackProperty {
166
63
  AttackLayer?: AttackLayer | undefined;
167
64
  AttackPropertyIdentifier?: AttackPropertyIdentifier | undefined;
@@ -176,12 +73,6 @@ export interface SummarizedAttackVector {
176
73
  VectorType: string | undefined;
177
74
  VectorCounters?: SummarizedCounter[] | undefined;
178
75
  }
179
- export declare const SubResourceType: {
180
- readonly IP: "IP";
181
- readonly URL: "URL";
182
- };
183
- export type SubResourceType =
184
- (typeof SubResourceType)[keyof typeof SubResourceType];
185
76
  export interface SubResourceSummary {
186
77
  Type?: SubResourceType | undefined;
187
78
  Id?: string | undefined;
@@ -220,11 +111,6 @@ export interface AttackSummary {
220
111
  EndTime?: Date | undefined;
221
112
  AttackVectors?: AttackVectorDescription[] | undefined;
222
113
  }
223
- export declare const AutoRenew: {
224
- readonly DISABLED: "DISABLED";
225
- readonly ENABLED: "ENABLED";
226
- };
227
- export type AutoRenew = (typeof AutoRenew)[keyof typeof AutoRenew];
228
114
  export interface Tag {
229
115
  Key?: string | undefined;
230
116
  Value?: string | undefined;
@@ -237,38 +123,6 @@ export interface CreateProtectionRequest {
237
123
  export interface CreateProtectionResponse {
238
124
  ProtectionId?: string | undefined;
239
125
  }
240
- export declare class ResourceAlreadyExistsException extends __BaseException {
241
- readonly name: "ResourceAlreadyExistsException";
242
- readonly $fault: "client";
243
- resourceType?: string | undefined;
244
- constructor(
245
- opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
246
- );
247
- }
248
- export declare const ProtectionGroupAggregation: {
249
- readonly MAX: "MAX";
250
- readonly MEAN: "MEAN";
251
- readonly SUM: "SUM";
252
- };
253
- export type ProtectionGroupAggregation =
254
- (typeof ProtectionGroupAggregation)[keyof typeof ProtectionGroupAggregation];
255
- export declare const ProtectionGroupPattern: {
256
- readonly ALL: "ALL";
257
- readonly ARBITRARY: "ARBITRARY";
258
- readonly BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE";
259
- };
260
- export type ProtectionGroupPattern =
261
- (typeof ProtectionGroupPattern)[keyof typeof ProtectionGroupPattern];
262
- export declare const ProtectedResourceType: {
263
- readonly APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER";
264
- readonly CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER";
265
- readonly CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION";
266
- readonly ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION";
267
- readonly GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR";
268
- readonly ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE";
269
- };
270
- export type ProtectedResourceType =
271
- (typeof ProtectedResourceType)[keyof typeof ProtectedResourceType];
272
126
  export interface CreateProtectionGroupRequest {
273
127
  ProtectionGroupId: string | undefined;
274
128
  Aggregation: ProtectionGroupAggregation | undefined;
@@ -290,13 +144,6 @@ export interface DeleteProtectionGroupRequest {
290
144
  export interface DeleteProtectionGroupResponse {}
291
145
  export interface DeleteSubscriptionRequest {}
292
146
  export interface DeleteSubscriptionResponse {}
293
- export declare class LockedSubscriptionException extends __BaseException {
294
- readonly name: "LockedSubscriptionException";
295
- readonly $fault: "client";
296
- constructor(
297
- opts: __ExceptionOptionType<LockedSubscriptionException, __BaseException>
298
- );
299
- }
300
147
  export interface DescribeAttackRequest {
301
148
  AttackId: string | undefined;
302
149
  }
@@ -357,13 +204,6 @@ export interface Limit {
357
204
  Type?: string | undefined;
358
205
  Max?: number | undefined;
359
206
  }
360
- export declare const ProactiveEngagementStatus: {
361
- readonly DISABLED: "DISABLED";
362
- readonly ENABLED: "ENABLED";
363
- readonly PENDING: "PENDING";
364
- };
365
- export type ProactiveEngagementStatus =
366
- (typeof ProactiveEngagementStatus)[keyof typeof ProactiveEngagementStatus];
367
207
  export interface ProtectionGroupArbitraryPatternLimits {
368
208
  MaxMembers: number | undefined;
369
209
  }
@@ -419,12 +259,6 @@ export interface EnableApplicationLayerAutomaticResponseResponse {}
419
259
  export interface EnableProactiveEngagementRequest {}
420
260
  export interface EnableProactiveEngagementResponse {}
421
261
  export interface GetSubscriptionStateRequest {}
422
- export declare const SubscriptionState: {
423
- readonly ACTIVE: "ACTIVE";
424
- readonly INACTIVE: "INACTIVE";
425
- };
426
- export type SubscriptionState =
427
- (typeof SubscriptionState)[keyof typeof SubscriptionState];
428
262
  export interface GetSubscriptionStateResponse {
429
263
  SubscriptionState: SubscriptionState | undefined;
430
264
  }
@@ -439,16 +273,6 @@ export interface ListAttacksResponse {
439
273
  AttackSummaries?: AttackSummary[] | undefined;
440
274
  NextToken?: string | undefined;
441
275
  }
442
- export declare class InvalidPaginationTokenException extends __BaseException {
443
- readonly name: "InvalidPaginationTokenException";
444
- readonly $fault: "client";
445
- constructor(
446
- opts: __ExceptionOptionType<
447
- InvalidPaginationTokenException,
448
- __BaseException
449
- >
450
- );
451
- }
452
276
  export interface InclusionProtectionGroupFilters {
453
277
  ProtectionGroupIds?: string[] | undefined;
454
278
  Patterns?: ProtectionGroupPattern[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-shield",
3
3
  "description": "AWS SDK for JavaScript Shield 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-shield",
@@ -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";