@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.
- package/dist-cjs/index.js +64 -63
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +63 -0
- package/dist-es/models/errors.js +169 -0
- package/dist-es/models/models_0.js +1 -232
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +159 -0
- package/dist-types/models/errors.d.ts +191 -0
- package/dist-types/models/models_0.d.ts +1 -348
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +84 -0
- package/dist-types/ts3.4/models/errors.d.ts +107 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -189
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ShieldServiceException as __BaseException } from "./ShieldServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>Exception that indicates the specified <code>AttackId</code> does not exist, or the requester does not have the appropriate permissions to access the <code>AttackId</code>.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* <p>In order to grant the necessary access to the Shield Response Team (SRT) the user submitting the request must have the <code>iam:PassRole</code> permission. This error indicates the user did not have the appropriate permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">Granting a User Permissions to Pass a Role to an Amazon Web Services Service</a>. </p>
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export declare class AccessDeniedForDependencyException extends __BaseException {
|
|
20
|
-
readonly name: "AccessDeniedForDependencyException";
|
|
21
|
-
readonly $fault: "client";
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
*/
|
|
25
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedForDependencyException, __BaseException>);
|
|
26
|
-
}
|
|
1
|
+
import { ApplicationLayerAutomaticResponseStatus, AttackLayer, AttackPropertyIdentifier, AutoRenew, ProactiveEngagementStatus, ProtectedResourceType, ProtectionGroupAggregation, ProtectionGroupPattern, SubResourceType, SubscriptionState, Unit } from "./enums";
|
|
27
2
|
/**
|
|
28
3
|
* <p>Specifies that Shield Advanced should configure its WAF rules with the WAF <code>Block</code> action. </p>
|
|
29
4
|
* <p>This is only used in the context of the <code>ResponseAction</code> setting. </p>
|
|
@@ -62,18 +37,6 @@ export interface ResponseAction {
|
|
|
62
37
|
*/
|
|
63
38
|
Count?: CountAction | undefined;
|
|
64
39
|
}
|
|
65
|
-
/**
|
|
66
|
-
* @public
|
|
67
|
-
* @enum
|
|
68
|
-
*/
|
|
69
|
-
export declare const ApplicationLayerAutomaticResponseStatus: {
|
|
70
|
-
readonly DISABLED: "DISABLED";
|
|
71
|
-
readonly ENABLED: "ENABLED";
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
export type ApplicationLayerAutomaticResponseStatus = (typeof ApplicationLayerAutomaticResponseStatus)[keyof typeof ApplicationLayerAutomaticResponseStatus];
|
|
77
40
|
/**
|
|
78
41
|
* <p>The automatic application layer DDoS mitigation settings for a <a>Protection</a>.
|
|
79
42
|
* This configuration determines whether Shield Advanced automatically
|
|
@@ -109,30 +72,6 @@ export interface AssociateDRTLogBucketRequest {
|
|
|
109
72
|
*/
|
|
110
73
|
export interface AssociateDRTLogBucketResponse {
|
|
111
74
|
}
|
|
112
|
-
/**
|
|
113
|
-
* <p>Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.</p>
|
|
114
|
-
* @public
|
|
115
|
-
*/
|
|
116
|
-
export declare class InternalErrorException extends __BaseException {
|
|
117
|
-
readonly name: "InternalErrorException";
|
|
118
|
-
readonly $fault: "server";
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* <p>Exception that indicates that the operation would not cause any change to occur.</p>
|
|
126
|
-
* @public
|
|
127
|
-
*/
|
|
128
|
-
export declare class InvalidOperationException extends __BaseException {
|
|
129
|
-
readonly name: "InvalidOperationException";
|
|
130
|
-
readonly $fault: "client";
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
|
|
135
|
-
}
|
|
136
75
|
/**
|
|
137
76
|
* <p>Provides information about a particular parameter passed inside a request that resulted in an exception.</p>
|
|
138
77
|
* @public
|
|
@@ -149,104 +88,6 @@ export interface ValidationExceptionField {
|
|
|
149
88
|
*/
|
|
150
89
|
message: string | undefined;
|
|
151
90
|
}
|
|
152
|
-
/**
|
|
153
|
-
* @public
|
|
154
|
-
* @enum
|
|
155
|
-
*/
|
|
156
|
-
export declare const ValidationExceptionReason: {
|
|
157
|
-
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
158
|
-
readonly OTHER: "OTHER";
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* @public
|
|
162
|
-
*/
|
|
163
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
164
|
-
/**
|
|
165
|
-
* <p>Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties. </p>
|
|
166
|
-
* @public
|
|
167
|
-
*/
|
|
168
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
169
|
-
readonly name: "InvalidParameterException";
|
|
170
|
-
readonly $fault: "client";
|
|
171
|
-
/**
|
|
172
|
-
* <p>Additional information about the exception.</p>
|
|
173
|
-
* @public
|
|
174
|
-
*/
|
|
175
|
-
reason?: ValidationExceptionReason | undefined;
|
|
176
|
-
/**
|
|
177
|
-
* <p>Fields that caused the exception.</p>
|
|
178
|
-
* @public
|
|
179
|
-
*/
|
|
180
|
-
fields?: ValidationExceptionField[] | undefined;
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
*/
|
|
184
|
-
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* <p>Exception that indicates that the operation would exceed a limit.</p>
|
|
188
|
-
* @public
|
|
189
|
-
*/
|
|
190
|
-
export declare class LimitsExceededException extends __BaseException {
|
|
191
|
-
readonly name: "LimitsExceededException";
|
|
192
|
-
readonly $fault: "client";
|
|
193
|
-
/**
|
|
194
|
-
* <p>The type of limit that would be exceeded.</p>
|
|
195
|
-
* @public
|
|
196
|
-
*/
|
|
197
|
-
Type?: string | undefined;
|
|
198
|
-
/**
|
|
199
|
-
* <p>The threshold that would be exceeded.</p>
|
|
200
|
-
* @public
|
|
201
|
-
*/
|
|
202
|
-
Limit?: number | undefined;
|
|
203
|
-
/**
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
|
-
constructor(opts: __ExceptionOptionType<LimitsExceededException, __BaseException>);
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* <p>The ARN of the role that you specified does not exist.</p>
|
|
210
|
-
* @public
|
|
211
|
-
*/
|
|
212
|
-
export declare class NoAssociatedRoleException extends __BaseException {
|
|
213
|
-
readonly name: "NoAssociatedRoleException";
|
|
214
|
-
readonly $fault: "client";
|
|
215
|
-
/**
|
|
216
|
-
* @internal
|
|
217
|
-
*/
|
|
218
|
-
constructor(opts: __ExceptionOptionType<NoAssociatedRoleException, __BaseException>);
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* <p>Exception that indicates that the resource state has been modified by another
|
|
222
|
-
* client. Retrieve the resource and then retry your request.</p>
|
|
223
|
-
* @public
|
|
224
|
-
*/
|
|
225
|
-
export declare class OptimisticLockException extends __BaseException {
|
|
226
|
-
readonly name: "OptimisticLockException";
|
|
227
|
-
readonly $fault: "client";
|
|
228
|
-
/**
|
|
229
|
-
* @internal
|
|
230
|
-
*/
|
|
231
|
-
constructor(opts: __ExceptionOptionType<OptimisticLockException, __BaseException>);
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
235
|
-
* @public
|
|
236
|
-
*/
|
|
237
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
238
|
-
readonly name: "ResourceNotFoundException";
|
|
239
|
-
readonly $fault: "client";
|
|
240
|
-
/**
|
|
241
|
-
* <p>Type of resource.</p>
|
|
242
|
-
* @public
|
|
243
|
-
*/
|
|
244
|
-
resourceType?: string | undefined;
|
|
245
|
-
/**
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
248
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
249
|
-
}
|
|
250
91
|
/**
|
|
251
92
|
* @public
|
|
252
93
|
*/
|
|
@@ -283,18 +124,6 @@ export interface AssociateHealthCheckRequest {
|
|
|
283
124
|
*/
|
|
284
125
|
export interface AssociateHealthCheckResponse {
|
|
285
126
|
}
|
|
286
|
-
/**
|
|
287
|
-
* <p>Exception that indicates that the resource is invalid. You might not have access to the resource, or the resource might not exist.</p>
|
|
288
|
-
* @public
|
|
289
|
-
*/
|
|
290
|
-
export declare class InvalidResourceException extends __BaseException {
|
|
291
|
-
readonly name: "InvalidResourceException";
|
|
292
|
-
readonly $fault: "client";
|
|
293
|
-
/**
|
|
294
|
-
* @internal
|
|
295
|
-
*/
|
|
296
|
-
constructor(opts: __ExceptionOptionType<InvalidResourceException, __BaseException>);
|
|
297
|
-
}
|
|
298
127
|
/**
|
|
299
128
|
* <p>Contact information that the SRT can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.</p>
|
|
300
129
|
* @public
|
|
@@ -371,36 +200,6 @@ export interface SummarizedCounter {
|
|
|
371
200
|
*/
|
|
372
201
|
Unit?: string | undefined;
|
|
373
202
|
}
|
|
374
|
-
/**
|
|
375
|
-
* @public
|
|
376
|
-
* @enum
|
|
377
|
-
*/
|
|
378
|
-
export declare const AttackLayer: {
|
|
379
|
-
readonly APPLICATION: "APPLICATION";
|
|
380
|
-
readonly NETWORK: "NETWORK";
|
|
381
|
-
};
|
|
382
|
-
/**
|
|
383
|
-
* @public
|
|
384
|
-
*/
|
|
385
|
-
export type AttackLayer = (typeof AttackLayer)[keyof typeof AttackLayer];
|
|
386
|
-
/**
|
|
387
|
-
* @public
|
|
388
|
-
* @enum
|
|
389
|
-
*/
|
|
390
|
-
export declare const AttackPropertyIdentifier: {
|
|
391
|
-
readonly DESTINATION_URL: "DESTINATION_URL";
|
|
392
|
-
readonly REFERRER: "REFERRER";
|
|
393
|
-
readonly SOURCE_ASN: "SOURCE_ASN";
|
|
394
|
-
readonly SOURCE_COUNTRY: "SOURCE_COUNTRY";
|
|
395
|
-
readonly SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS";
|
|
396
|
-
readonly SOURCE_USER_AGENT: "SOURCE_USER_AGENT";
|
|
397
|
-
readonly WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR";
|
|
398
|
-
readonly WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE";
|
|
399
|
-
};
|
|
400
|
-
/**
|
|
401
|
-
* @public
|
|
402
|
-
*/
|
|
403
|
-
export type AttackPropertyIdentifier = (typeof AttackPropertyIdentifier)[keyof typeof AttackPropertyIdentifier];
|
|
404
203
|
/**
|
|
405
204
|
* <p>A contributor to the attack and their contribution. </p>
|
|
406
205
|
* @public
|
|
@@ -417,20 +216,6 @@ export interface Contributor {
|
|
|
417
216
|
*/
|
|
418
217
|
Value?: number | undefined;
|
|
419
218
|
}
|
|
420
|
-
/**
|
|
421
|
-
* @public
|
|
422
|
-
* @enum
|
|
423
|
-
*/
|
|
424
|
-
export declare const Unit: {
|
|
425
|
-
readonly BITS: "BITS";
|
|
426
|
-
readonly BYTES: "BYTES";
|
|
427
|
-
readonly PACKETS: "PACKETS";
|
|
428
|
-
readonly REQUESTS: "REQUESTS";
|
|
429
|
-
};
|
|
430
|
-
/**
|
|
431
|
-
* @public
|
|
432
|
-
*/
|
|
433
|
-
export type Unit = (typeof Unit)[keyof typeof Unit];
|
|
434
219
|
/**
|
|
435
220
|
* <p>Details of a Shield event. This is provided as part of an <a>AttackDetail</a>.</p>
|
|
436
221
|
* @public
|
|
@@ -497,18 +282,6 @@ export interface SummarizedAttackVector {
|
|
|
497
282
|
*/
|
|
498
283
|
VectorCounters?: SummarizedCounter[] | undefined;
|
|
499
284
|
}
|
|
500
|
-
/**
|
|
501
|
-
* @public
|
|
502
|
-
* @enum
|
|
503
|
-
*/
|
|
504
|
-
export declare const SubResourceType: {
|
|
505
|
-
readonly IP: "IP";
|
|
506
|
-
readonly URL: "URL";
|
|
507
|
-
};
|
|
508
|
-
/**
|
|
509
|
-
* @public
|
|
510
|
-
*/
|
|
511
|
-
export type SubResourceType = (typeof SubResourceType)[keyof typeof SubResourceType];
|
|
512
285
|
/**
|
|
513
286
|
* <p>The attack information for the specified SubResource.</p>
|
|
514
287
|
* @public
|
|
@@ -731,18 +504,6 @@ export interface AttackSummary {
|
|
|
731
504
|
*/
|
|
732
505
|
AttackVectors?: AttackVectorDescription[] | undefined;
|
|
733
506
|
}
|
|
734
|
-
/**
|
|
735
|
-
* @public
|
|
736
|
-
* @enum
|
|
737
|
-
*/
|
|
738
|
-
export declare const AutoRenew: {
|
|
739
|
-
readonly DISABLED: "DISABLED";
|
|
740
|
-
readonly ENABLED: "ENABLED";
|
|
741
|
-
};
|
|
742
|
-
/**
|
|
743
|
-
* @public
|
|
744
|
-
*/
|
|
745
|
-
export type AutoRenew = (typeof AutoRenew)[keyof typeof AutoRenew];
|
|
746
507
|
/**
|
|
747
508
|
* <p>A tag associated with an Amazon Web Services resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing or other management. Typically, the tag key represents a category, such as "environment", and the tag value represents a specific value within that category, such as "test," "development," or "production". Or you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.</p>
|
|
748
509
|
* @public
|
|
@@ -822,65 +583,6 @@ export interface CreateProtectionResponse {
|
|
|
822
583
|
*/
|
|
823
584
|
ProtectionId?: string | undefined;
|
|
824
585
|
}
|
|
825
|
-
/**
|
|
826
|
-
* <p>Exception indicating the specified resource already exists. If available, this exception includes details in additional properties. </p>
|
|
827
|
-
* @public
|
|
828
|
-
*/
|
|
829
|
-
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
830
|
-
readonly name: "ResourceAlreadyExistsException";
|
|
831
|
-
readonly $fault: "client";
|
|
832
|
-
/**
|
|
833
|
-
* <p>The type of resource that already exists.</p>
|
|
834
|
-
* @public
|
|
835
|
-
*/
|
|
836
|
-
resourceType?: string | undefined;
|
|
837
|
-
/**
|
|
838
|
-
* @internal
|
|
839
|
-
*/
|
|
840
|
-
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
841
|
-
}
|
|
842
|
-
/**
|
|
843
|
-
* @public
|
|
844
|
-
* @enum
|
|
845
|
-
*/
|
|
846
|
-
export declare const ProtectionGroupAggregation: {
|
|
847
|
-
readonly MAX: "MAX";
|
|
848
|
-
readonly MEAN: "MEAN";
|
|
849
|
-
readonly SUM: "SUM";
|
|
850
|
-
};
|
|
851
|
-
/**
|
|
852
|
-
* @public
|
|
853
|
-
*/
|
|
854
|
-
export type ProtectionGroupAggregation = (typeof ProtectionGroupAggregation)[keyof typeof ProtectionGroupAggregation];
|
|
855
|
-
/**
|
|
856
|
-
* @public
|
|
857
|
-
* @enum
|
|
858
|
-
*/
|
|
859
|
-
export declare const ProtectionGroupPattern: {
|
|
860
|
-
readonly ALL: "ALL";
|
|
861
|
-
readonly ARBITRARY: "ARBITRARY";
|
|
862
|
-
readonly BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE";
|
|
863
|
-
};
|
|
864
|
-
/**
|
|
865
|
-
* @public
|
|
866
|
-
*/
|
|
867
|
-
export type ProtectionGroupPattern = (typeof ProtectionGroupPattern)[keyof typeof ProtectionGroupPattern];
|
|
868
|
-
/**
|
|
869
|
-
* @public
|
|
870
|
-
* @enum
|
|
871
|
-
*/
|
|
872
|
-
export declare const ProtectedResourceType: {
|
|
873
|
-
readonly APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER";
|
|
874
|
-
readonly CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER";
|
|
875
|
-
readonly CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION";
|
|
876
|
-
readonly ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION";
|
|
877
|
-
readonly GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR";
|
|
878
|
-
readonly ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE";
|
|
879
|
-
};
|
|
880
|
-
/**
|
|
881
|
-
* @public
|
|
882
|
-
*/
|
|
883
|
-
export type ProtectedResourceType = (typeof ProtectedResourceType)[keyof typeof ProtectedResourceType];
|
|
884
586
|
/**
|
|
885
587
|
* @public
|
|
886
588
|
*/
|
|
@@ -984,18 +686,6 @@ export interface DeleteSubscriptionRequest {
|
|
|
984
686
|
*/
|
|
985
687
|
export interface DeleteSubscriptionResponse {
|
|
986
688
|
}
|
|
987
|
-
/**
|
|
988
|
-
* <p>You are trying to update a subscription that has not yet completed the 1-year commitment. You can change the <code>AutoRenew</code> parameter during the last 30 days of your subscription. This exception indicates that you are attempting to change <code>AutoRenew</code> prior to that period.</p>
|
|
989
|
-
* @public
|
|
990
|
-
*/
|
|
991
|
-
export declare class LockedSubscriptionException extends __BaseException {
|
|
992
|
-
readonly name: "LockedSubscriptionException";
|
|
993
|
-
readonly $fault: "client";
|
|
994
|
-
/**
|
|
995
|
-
* @internal
|
|
996
|
-
*/
|
|
997
|
-
constructor(opts: __ExceptionOptionType<LockedSubscriptionException, __BaseException>);
|
|
998
|
-
}
|
|
999
689
|
/**
|
|
1000
690
|
* @public
|
|
1001
691
|
*/
|
|
@@ -1241,19 +931,6 @@ export interface Limit {
|
|
|
1241
931
|
*/
|
|
1242
932
|
Max?: number | undefined;
|
|
1243
933
|
}
|
|
1244
|
-
/**
|
|
1245
|
-
* @public
|
|
1246
|
-
* @enum
|
|
1247
|
-
*/
|
|
1248
|
-
export declare const ProactiveEngagementStatus: {
|
|
1249
|
-
readonly DISABLED: "DISABLED";
|
|
1250
|
-
readonly ENABLED: "ENABLED";
|
|
1251
|
-
readonly PENDING: "PENDING";
|
|
1252
|
-
};
|
|
1253
|
-
/**
|
|
1254
|
-
* @public
|
|
1255
|
-
*/
|
|
1256
|
-
export type ProactiveEngagementStatus = (typeof ProactiveEngagementStatus)[keyof typeof ProactiveEngagementStatus];
|
|
1257
934
|
/**
|
|
1258
935
|
* <p>Limits settings on protection groups with arbitrary pattern type. </p>
|
|
1259
936
|
* @public
|
|
@@ -1485,18 +1162,6 @@ export interface EnableProactiveEngagementResponse {
|
|
|
1485
1162
|
*/
|
|
1486
1163
|
export interface GetSubscriptionStateRequest {
|
|
1487
1164
|
}
|
|
1488
|
-
/**
|
|
1489
|
-
* @public
|
|
1490
|
-
* @enum
|
|
1491
|
-
*/
|
|
1492
|
-
export declare const SubscriptionState: {
|
|
1493
|
-
readonly ACTIVE: "ACTIVE";
|
|
1494
|
-
readonly INACTIVE: "INACTIVE";
|
|
1495
|
-
};
|
|
1496
|
-
/**
|
|
1497
|
-
* @public
|
|
1498
|
-
*/
|
|
1499
|
-
export type SubscriptionState = (typeof SubscriptionState)[keyof typeof SubscriptionState];
|
|
1500
1165
|
/**
|
|
1501
1166
|
* @public
|
|
1502
1167
|
*/
|
|
@@ -1569,18 +1234,6 @@ export interface ListAttacksResponse {
|
|
|
1569
1234
|
*/
|
|
1570
1235
|
NextToken?: string | undefined;
|
|
1571
1236
|
}
|
|
1572
|
-
/**
|
|
1573
|
-
* <p>Exception that indicates that the <code>NextToken</code> specified in the request is invalid. Submit the request using the <code>NextToken</code> value that was returned in the prior response.</p>
|
|
1574
|
-
* @public
|
|
1575
|
-
*/
|
|
1576
|
-
export declare class InvalidPaginationTokenException extends __BaseException {
|
|
1577
|
-
readonly name: "InvalidPaginationTokenException";
|
|
1578
|
-
readonly $fault: "client";
|
|
1579
|
-
/**
|
|
1580
|
-
* @internal
|
|
1581
|
-
*/
|
|
1582
|
-
constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
|
|
1583
|
-
}
|
|
1584
1237
|
/**
|
|
1585
1238
|
* <p>Narrows the set of protection groups that the call retrieves. You can retrieve a single protection group by its name and you can retrieve all protection groups that are configured with a specific pattern, aggregation, or resource type. You can provide up to one criteria per filter type. Shield Advanced returns the protection groups that exactly match all of the search criteria that you provide.</p>
|
|
1586
1239
|
* @public
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { ShieldExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { ShieldServiceException } from "./models/ShieldServiceException";
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export declare const ApplicationLayerAutomaticResponseStatus: {
|
|
2
|
+
readonly DISABLED: "DISABLED";
|
|
3
|
+
readonly ENABLED: "ENABLED";
|
|
4
|
+
};
|
|
5
|
+
export type ApplicationLayerAutomaticResponseStatus =
|
|
6
|
+
(typeof ApplicationLayerAutomaticResponseStatus)[keyof typeof ApplicationLayerAutomaticResponseStatus];
|
|
7
|
+
export declare const ValidationExceptionReason: {
|
|
8
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
9
|
+
readonly OTHER: "OTHER";
|
|
10
|
+
};
|
|
11
|
+
export type ValidationExceptionReason =
|
|
12
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
13
|
+
export declare const AttackLayer: {
|
|
14
|
+
readonly APPLICATION: "APPLICATION";
|
|
15
|
+
readonly NETWORK: "NETWORK";
|
|
16
|
+
};
|
|
17
|
+
export type AttackLayer = (typeof AttackLayer)[keyof typeof AttackLayer];
|
|
18
|
+
export declare const AttackPropertyIdentifier: {
|
|
19
|
+
readonly DESTINATION_URL: "DESTINATION_URL";
|
|
20
|
+
readonly REFERRER: "REFERRER";
|
|
21
|
+
readonly SOURCE_ASN: "SOURCE_ASN";
|
|
22
|
+
readonly SOURCE_COUNTRY: "SOURCE_COUNTRY";
|
|
23
|
+
readonly SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS";
|
|
24
|
+
readonly SOURCE_USER_AGENT: "SOURCE_USER_AGENT";
|
|
25
|
+
readonly WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR";
|
|
26
|
+
readonly WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE";
|
|
27
|
+
};
|
|
28
|
+
export type AttackPropertyIdentifier =
|
|
29
|
+
(typeof AttackPropertyIdentifier)[keyof typeof AttackPropertyIdentifier];
|
|
30
|
+
export declare const Unit: {
|
|
31
|
+
readonly BITS: "BITS";
|
|
32
|
+
readonly BYTES: "BYTES";
|
|
33
|
+
readonly PACKETS: "PACKETS";
|
|
34
|
+
readonly REQUESTS: "REQUESTS";
|
|
35
|
+
};
|
|
36
|
+
export type Unit = (typeof Unit)[keyof typeof Unit];
|
|
37
|
+
export declare const SubResourceType: {
|
|
38
|
+
readonly IP: "IP";
|
|
39
|
+
readonly URL: "URL";
|
|
40
|
+
};
|
|
41
|
+
export type SubResourceType =
|
|
42
|
+
(typeof SubResourceType)[keyof typeof SubResourceType];
|
|
43
|
+
export declare const AutoRenew: {
|
|
44
|
+
readonly DISABLED: "DISABLED";
|
|
45
|
+
readonly ENABLED: "ENABLED";
|
|
46
|
+
};
|
|
47
|
+
export type AutoRenew = (typeof AutoRenew)[keyof typeof AutoRenew];
|
|
48
|
+
export declare const ProtectionGroupAggregation: {
|
|
49
|
+
readonly MAX: "MAX";
|
|
50
|
+
readonly MEAN: "MEAN";
|
|
51
|
+
readonly SUM: "SUM";
|
|
52
|
+
};
|
|
53
|
+
export type ProtectionGroupAggregation =
|
|
54
|
+
(typeof ProtectionGroupAggregation)[keyof typeof ProtectionGroupAggregation];
|
|
55
|
+
export declare const ProtectionGroupPattern: {
|
|
56
|
+
readonly ALL: "ALL";
|
|
57
|
+
readonly ARBITRARY: "ARBITRARY";
|
|
58
|
+
readonly BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE";
|
|
59
|
+
};
|
|
60
|
+
export type ProtectionGroupPattern =
|
|
61
|
+
(typeof ProtectionGroupPattern)[keyof typeof ProtectionGroupPattern];
|
|
62
|
+
export declare const ProtectedResourceType: {
|
|
63
|
+
readonly APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER";
|
|
64
|
+
readonly CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER";
|
|
65
|
+
readonly CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION";
|
|
66
|
+
readonly ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION";
|
|
67
|
+
readonly GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR";
|
|
68
|
+
readonly ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE";
|
|
69
|
+
};
|
|
70
|
+
export type ProtectedResourceType =
|
|
71
|
+
(typeof ProtectedResourceType)[keyof typeof ProtectedResourceType];
|
|
72
|
+
export declare const ProactiveEngagementStatus: {
|
|
73
|
+
readonly DISABLED: "DISABLED";
|
|
74
|
+
readonly ENABLED: "ENABLED";
|
|
75
|
+
readonly PENDING: "PENDING";
|
|
76
|
+
};
|
|
77
|
+
export type ProactiveEngagementStatus =
|
|
78
|
+
(typeof ProactiveEngagementStatus)[keyof typeof ProactiveEngagementStatus];
|
|
79
|
+
export declare const SubscriptionState: {
|
|
80
|
+
readonly ACTIVE: "ACTIVE";
|
|
81
|
+
readonly INACTIVE: "INACTIVE";
|
|
82
|
+
};
|
|
83
|
+
export type SubscriptionState =
|
|
84
|
+
(typeof SubscriptionState)[keyof typeof SubscriptionState];
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { ValidationExceptionField } from "./models_0";
|
|
4
|
+
import { ShieldServiceException as __BaseException } from "./ShieldServiceException";
|
|
5
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
readonly name: "AccessDeniedException";
|
|
7
|
+
readonly $fault: "client";
|
|
8
|
+
constructor(
|
|
9
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
export declare class AccessDeniedForDependencyException extends __BaseException {
|
|
13
|
+
readonly name: "AccessDeniedForDependencyException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<
|
|
17
|
+
AccessDeniedForDependencyException,
|
|
18
|
+
__BaseException
|
|
19
|
+
>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export declare class InternalErrorException extends __BaseException {
|
|
23
|
+
readonly name: "InternalErrorException";
|
|
24
|
+
readonly $fault: "server";
|
|
25
|
+
constructor(
|
|
26
|
+
opts: __ExceptionOptionType<InternalErrorException, __BaseException>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
export declare class InvalidOperationException extends __BaseException {
|
|
30
|
+
readonly name: "InvalidOperationException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
constructor(
|
|
33
|
+
opts: __ExceptionOptionType<InvalidOperationException, __BaseException>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
37
|
+
readonly name: "InvalidParameterException";
|
|
38
|
+
readonly $fault: "client";
|
|
39
|
+
reason?: ValidationExceptionReason | undefined;
|
|
40
|
+
fields?: ValidationExceptionField[] | undefined;
|
|
41
|
+
constructor(
|
|
42
|
+
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export declare class LimitsExceededException extends __BaseException {
|
|
46
|
+
readonly name: "LimitsExceededException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
Type?: string | undefined;
|
|
49
|
+
Limit?: number | undefined;
|
|
50
|
+
constructor(
|
|
51
|
+
opts: __ExceptionOptionType<LimitsExceededException, __BaseException>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
export declare class NoAssociatedRoleException extends __BaseException {
|
|
55
|
+
readonly name: "NoAssociatedRoleException";
|
|
56
|
+
readonly $fault: "client";
|
|
57
|
+
constructor(
|
|
58
|
+
opts: __ExceptionOptionType<NoAssociatedRoleException, __BaseException>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
export declare class OptimisticLockException extends __BaseException {
|
|
62
|
+
readonly name: "OptimisticLockException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
constructor(
|
|
65
|
+
opts: __ExceptionOptionType<OptimisticLockException, __BaseException>
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
69
|
+
readonly name: "ResourceNotFoundException";
|
|
70
|
+
readonly $fault: "client";
|
|
71
|
+
resourceType?: string | undefined;
|
|
72
|
+
constructor(
|
|
73
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
export declare class InvalidResourceException extends __BaseException {
|
|
77
|
+
readonly name: "InvalidResourceException";
|
|
78
|
+
readonly $fault: "client";
|
|
79
|
+
constructor(
|
|
80
|
+
opts: __ExceptionOptionType<InvalidResourceException, __BaseException>
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
84
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
85
|
+
readonly $fault: "client";
|
|
86
|
+
resourceType?: string | undefined;
|
|
87
|
+
constructor(
|
|
88
|
+
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
export declare class LockedSubscriptionException extends __BaseException {
|
|
92
|
+
readonly name: "LockedSubscriptionException";
|
|
93
|
+
readonly $fault: "client";
|
|
94
|
+
constructor(
|
|
95
|
+
opts: __ExceptionOptionType<LockedSubscriptionException, __BaseException>
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
export declare class InvalidPaginationTokenException extends __BaseException {
|
|
99
|
+
readonly name: "InvalidPaginationTokenException";
|
|
100
|
+
readonly $fault: "client";
|
|
101
|
+
constructor(
|
|
102
|
+
opts: __ExceptionOptionType<
|
|
103
|
+
InvalidPaginationTokenException,
|
|
104
|
+
__BaseException
|
|
105
|
+
>
|
|
106
|
+
);
|
|
107
|
+
}
|