@aws-sdk/client-shield 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ShieldServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +179 -3
- package/dist-cjs/protocols/Aws_json1_1.js +365 -1296
- package/dist-es/index.js +1 -0
- package/dist-es/models/ShieldServiceException.js +12 -0
- package/dist-es/models/models_0.js +164 -1
- package/dist-es/protocols/Aws_json1_1.js +796 -1415
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ShieldServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +93 -53
- package/dist-types/ts3.4/Shield.d.ts +185 -0
- package/dist-types/ts3.4/ShieldClient.d.ts +109 -0
- package/dist-types/ts3.4/commands/AssociateDRTLogBucketCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociateDRTRoleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociateHealthCheckCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociateProactiveEngagementDetailsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateProtectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateProtectionGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteProtectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteProtectionGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSubscriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAttackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAttackStatisticsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDRTAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeEmergencyContactSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeProtectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeProtectionGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSubscriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableProactiveEngagementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateDRTLogBucketCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateDRTRoleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateHealthCheckCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableProactiveEngagementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSubscriptionStateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAttacksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListProtectionGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListProtectionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResourcesInProtectionGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEmergencyContactSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateProtectionGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +36 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/ShieldServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1111 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAttacksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListProtectionGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListProtectionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListResourcesInProtectionGroupPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +110 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Shield service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ShieldServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ShieldServiceException as __BaseException } from "./ShieldServiceException";
|
|
2
3
|
/**
|
|
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>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
13
|
}
|
|
10
14
|
/**
|
|
11
15
|
* <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>
|
|
12
16
|
*/
|
|
13
|
-
export
|
|
14
|
-
name: "AccessDeniedForDependencyException";
|
|
15
|
-
$fault: "client";
|
|
16
|
-
|
|
17
|
+
export declare class AccessDeniedForDependencyException extends __BaseException {
|
|
18
|
+
readonly name: "AccessDeniedForDependencyException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedForDependencyException, __BaseException>);
|
|
17
24
|
}
|
|
18
25
|
/**
|
|
19
26
|
* <p>Specifies that Shield Advanced should configure its WAF rules with the WAF <code>Block</code> action. </p>
|
|
@@ -116,18 +123,24 @@ export declare namespace AssociateDRTLogBucketResponse {
|
|
|
116
123
|
/**
|
|
117
124
|
* <p>Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.</p>
|
|
118
125
|
*/
|
|
119
|
-
export
|
|
120
|
-
name: "InternalErrorException";
|
|
121
|
-
$fault: "server";
|
|
122
|
-
|
|
126
|
+
export declare class InternalErrorException extends __BaseException {
|
|
127
|
+
readonly name: "InternalErrorException";
|
|
128
|
+
readonly $fault: "server";
|
|
129
|
+
/**
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
132
|
+
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
123
133
|
}
|
|
124
134
|
/**
|
|
125
135
|
* <p>Exception that indicates that the operation would not cause any change to occur.</p>
|
|
126
136
|
*/
|
|
127
|
-
export
|
|
128
|
-
name: "InvalidOperationException";
|
|
129
|
-
$fault: "client";
|
|
130
|
-
|
|
137
|
+
export declare class InvalidOperationException extends __BaseException {
|
|
138
|
+
readonly name: "InvalidOperationException";
|
|
139
|
+
readonly $fault: "client";
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
|
|
131
144
|
}
|
|
132
145
|
/**
|
|
133
146
|
* <p>Provides information about a particular parameter passed inside a request that resulted in an exception.</p>
|
|
@@ -155,10 +168,9 @@ export declare enum ValidationExceptionReason {
|
|
|
155
168
|
/**
|
|
156
169
|
* <p>Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties. </p>
|
|
157
170
|
*/
|
|
158
|
-
export
|
|
159
|
-
name: "InvalidParameterException";
|
|
160
|
-
$fault: "client";
|
|
161
|
-
message?: string;
|
|
171
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
172
|
+
readonly name: "InvalidParameterException";
|
|
173
|
+
readonly $fault: "client";
|
|
162
174
|
/**
|
|
163
175
|
* <p>Additional information about the exception.</p>
|
|
164
176
|
*/
|
|
@@ -167,14 +179,17 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
167
179
|
* <p>Fields that caused the exception.</p>
|
|
168
180
|
*/
|
|
169
181
|
fields?: ValidationExceptionField[];
|
|
182
|
+
/**
|
|
183
|
+
* @internal
|
|
184
|
+
*/
|
|
185
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
170
186
|
}
|
|
171
187
|
/**
|
|
172
188
|
* <p>Exception that indicates that the operation would exceed a limit.</p>
|
|
173
189
|
*/
|
|
174
|
-
export
|
|
175
|
-
name: "LimitsExceededException";
|
|
176
|
-
$fault: "client";
|
|
177
|
-
message?: string;
|
|
190
|
+
export declare class LimitsExceededException extends __BaseException {
|
|
191
|
+
readonly name: "LimitsExceededException";
|
|
192
|
+
readonly $fault: "client";
|
|
178
193
|
/**
|
|
179
194
|
* <p>The type of limit that would be exceeded.</p>
|
|
180
195
|
*/
|
|
@@ -183,35 +198,48 @@ export interface LimitsExceededException extends __SmithyException, $MetadataBea
|
|
|
183
198
|
* <p>The threshold that would be exceeded.</p>
|
|
184
199
|
*/
|
|
185
200
|
Limit?: number;
|
|
201
|
+
/**
|
|
202
|
+
* @internal
|
|
203
|
+
*/
|
|
204
|
+
constructor(opts: __ExceptionOptionType<LimitsExceededException, __BaseException>);
|
|
186
205
|
}
|
|
187
206
|
/**
|
|
188
207
|
* <p>The ARN of the role that you specifed does not exist.</p>
|
|
189
208
|
*/
|
|
190
|
-
export
|
|
191
|
-
name: "NoAssociatedRoleException";
|
|
192
|
-
$fault: "client";
|
|
193
|
-
|
|
209
|
+
export declare class NoAssociatedRoleException extends __BaseException {
|
|
210
|
+
readonly name: "NoAssociatedRoleException";
|
|
211
|
+
readonly $fault: "client";
|
|
212
|
+
/**
|
|
213
|
+
* @internal
|
|
214
|
+
*/
|
|
215
|
+
constructor(opts: __ExceptionOptionType<NoAssociatedRoleException, __BaseException>);
|
|
194
216
|
}
|
|
195
217
|
/**
|
|
196
218
|
* <p>Exception that indicates that the resource state has been modified by another
|
|
197
219
|
* client. Retrieve the resource and then retry your request.</p>
|
|
198
220
|
*/
|
|
199
|
-
export
|
|
200
|
-
name: "OptimisticLockException";
|
|
201
|
-
$fault: "client";
|
|
202
|
-
|
|
221
|
+
export declare class OptimisticLockException extends __BaseException {
|
|
222
|
+
readonly name: "OptimisticLockException";
|
|
223
|
+
readonly $fault: "client";
|
|
224
|
+
/**
|
|
225
|
+
* @internal
|
|
226
|
+
*/
|
|
227
|
+
constructor(opts: __ExceptionOptionType<OptimisticLockException, __BaseException>);
|
|
203
228
|
}
|
|
204
229
|
/**
|
|
205
230
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
206
231
|
*/
|
|
207
|
-
export
|
|
208
|
-
name: "ResourceNotFoundException";
|
|
209
|
-
$fault: "client";
|
|
210
|
-
message?: string;
|
|
232
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
233
|
+
readonly name: "ResourceNotFoundException";
|
|
234
|
+
readonly $fault: "client";
|
|
211
235
|
/**
|
|
212
236
|
* <p>Type of resource.</p>
|
|
213
237
|
*/
|
|
214
238
|
resourceType?: string;
|
|
239
|
+
/**
|
|
240
|
+
* @internal
|
|
241
|
+
*/
|
|
242
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
215
243
|
}
|
|
216
244
|
export interface AssociateDRTRoleRequest {
|
|
217
245
|
/**
|
|
@@ -261,10 +289,13 @@ export declare namespace AssociateHealthCheckResponse {
|
|
|
261
289
|
/**
|
|
262
290
|
* <p>Exception that indicates that the resource is invalid. You might not have access to the resource, or the resource might not exist.</p>
|
|
263
291
|
*/
|
|
264
|
-
export
|
|
265
|
-
name: "InvalidResourceException";
|
|
266
|
-
$fault: "client";
|
|
267
|
-
|
|
292
|
+
export declare class InvalidResourceException extends __BaseException {
|
|
293
|
+
readonly name: "InvalidResourceException";
|
|
294
|
+
readonly $fault: "client";
|
|
295
|
+
/**
|
|
296
|
+
* @internal
|
|
297
|
+
*/
|
|
298
|
+
constructor(opts: __ExceptionOptionType<InvalidResourceException, __BaseException>);
|
|
268
299
|
}
|
|
269
300
|
/**
|
|
270
301
|
* <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>
|
|
@@ -788,14 +819,17 @@ export declare namespace CreateProtectionResponse {
|
|
|
788
819
|
/**
|
|
789
820
|
* <p>Exception indicating the specified resource already exists. If available, this exception includes details in additional properties. </p>
|
|
790
821
|
*/
|
|
791
|
-
export
|
|
792
|
-
name: "ResourceAlreadyExistsException";
|
|
793
|
-
$fault: "client";
|
|
794
|
-
message?: string;
|
|
822
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
823
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
824
|
+
readonly $fault: "client";
|
|
795
825
|
/**
|
|
796
826
|
* <p>The type of resource that already exists.</p>
|
|
797
827
|
*/
|
|
798
828
|
resourceType?: string;
|
|
829
|
+
/**
|
|
830
|
+
* @internal
|
|
831
|
+
*/
|
|
832
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
799
833
|
}
|
|
800
834
|
export declare enum ProtectionGroupAggregation {
|
|
801
835
|
MAX = "MAX",
|
|
@@ -943,10 +977,13 @@ export declare namespace DeleteSubscriptionResponse {
|
|
|
943
977
|
/**
|
|
944
978
|
* <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>
|
|
945
979
|
*/
|
|
946
|
-
export
|
|
947
|
-
name: "LockedSubscriptionException";
|
|
948
|
-
$fault: "client";
|
|
949
|
-
|
|
980
|
+
export declare class LockedSubscriptionException extends __BaseException {
|
|
981
|
+
readonly name: "LockedSubscriptionException";
|
|
982
|
+
readonly $fault: "client";
|
|
983
|
+
/**
|
|
984
|
+
* @internal
|
|
985
|
+
*/
|
|
986
|
+
constructor(opts: __ExceptionOptionType<LockedSubscriptionException, __BaseException>);
|
|
950
987
|
}
|
|
951
988
|
export interface DescribeAttackRequest {
|
|
952
989
|
/**
|
|
@@ -1596,10 +1633,13 @@ export declare namespace ListAttacksResponse {
|
|
|
1596
1633
|
/**
|
|
1597
1634
|
* <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>
|
|
1598
1635
|
*/
|
|
1599
|
-
export
|
|
1600
|
-
name: "InvalidPaginationTokenException";
|
|
1601
|
-
$fault: "client";
|
|
1602
|
-
|
|
1636
|
+
export declare class InvalidPaginationTokenException extends __BaseException {
|
|
1637
|
+
readonly name: "InvalidPaginationTokenException";
|
|
1638
|
+
readonly $fault: "client";
|
|
1639
|
+
/**
|
|
1640
|
+
* @internal
|
|
1641
|
+
*/
|
|
1642
|
+
constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
|
|
1603
1643
|
}
|
|
1604
1644
|
export interface ListProtectionGroupsRequest {
|
|
1605
1645
|
/**
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput } from "./commands/AssociateDRTLogBucketCommand";
|
|
3
|
+
import { AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput } from "./commands/AssociateDRTRoleCommand";
|
|
4
|
+
import { AssociateHealthCheckCommandInput, AssociateHealthCheckCommandOutput } from "./commands/AssociateHealthCheckCommand";
|
|
5
|
+
import { AssociateProactiveEngagementDetailsCommandInput, AssociateProactiveEngagementDetailsCommandOutput } from "./commands/AssociateProactiveEngagementDetailsCommand";
|
|
6
|
+
import { CreateProtectionCommandInput, CreateProtectionCommandOutput } from "./commands/CreateProtectionCommand";
|
|
7
|
+
import { CreateProtectionGroupCommandInput, CreateProtectionGroupCommandOutput } from "./commands/CreateProtectionGroupCommand";
|
|
8
|
+
import { CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput } from "./commands/CreateSubscriptionCommand";
|
|
9
|
+
import { DeleteProtectionCommandInput, DeleteProtectionCommandOutput } from "./commands/DeleteProtectionCommand";
|
|
10
|
+
import { DeleteProtectionGroupCommandInput, DeleteProtectionGroupCommandOutput } from "./commands/DeleteProtectionGroupCommand";
|
|
11
|
+
import { DeleteSubscriptionCommandInput, DeleteSubscriptionCommandOutput } from "./commands/DeleteSubscriptionCommand";
|
|
12
|
+
import { DescribeAttackCommandInput, DescribeAttackCommandOutput } from "./commands/DescribeAttackCommand";
|
|
13
|
+
import { DescribeAttackStatisticsCommandInput, DescribeAttackStatisticsCommandOutput } from "./commands/DescribeAttackStatisticsCommand";
|
|
14
|
+
import { DescribeDRTAccessCommandInput, DescribeDRTAccessCommandOutput } from "./commands/DescribeDRTAccessCommand";
|
|
15
|
+
import { DescribeEmergencyContactSettingsCommandInput, DescribeEmergencyContactSettingsCommandOutput } from "./commands/DescribeEmergencyContactSettingsCommand";
|
|
16
|
+
import { DescribeProtectionCommandInput, DescribeProtectionCommandOutput } from "./commands/DescribeProtectionCommand";
|
|
17
|
+
import { DescribeProtectionGroupCommandInput, DescribeProtectionGroupCommandOutput } from "./commands/DescribeProtectionGroupCommand";
|
|
18
|
+
import { DescribeSubscriptionCommandInput, DescribeSubscriptionCommandOutput } from "./commands/DescribeSubscriptionCommand";
|
|
19
|
+
import { DisableApplicationLayerAutomaticResponseCommandInput, DisableApplicationLayerAutomaticResponseCommandOutput } from "./commands/DisableApplicationLayerAutomaticResponseCommand";
|
|
20
|
+
import { DisableProactiveEngagementCommandInput, DisableProactiveEngagementCommandOutput } from "./commands/DisableProactiveEngagementCommand";
|
|
21
|
+
import { DisassociateDRTLogBucketCommandInput, DisassociateDRTLogBucketCommandOutput } from "./commands/DisassociateDRTLogBucketCommand";
|
|
22
|
+
import { DisassociateDRTRoleCommandInput, DisassociateDRTRoleCommandOutput } from "./commands/DisassociateDRTRoleCommand";
|
|
23
|
+
import { DisassociateHealthCheckCommandInput, DisassociateHealthCheckCommandOutput } from "./commands/DisassociateHealthCheckCommand";
|
|
24
|
+
import { EnableApplicationLayerAutomaticResponseCommandInput, EnableApplicationLayerAutomaticResponseCommandOutput } from "./commands/EnableApplicationLayerAutomaticResponseCommand";
|
|
25
|
+
import { EnableProactiveEngagementCommandInput, EnableProactiveEngagementCommandOutput } from "./commands/EnableProactiveEngagementCommand";
|
|
26
|
+
import { GetSubscriptionStateCommandInput, GetSubscriptionStateCommandOutput } from "./commands/GetSubscriptionStateCommand";
|
|
27
|
+
import { ListAttacksCommandInput, ListAttacksCommandOutput } from "./commands/ListAttacksCommand";
|
|
28
|
+
import { ListProtectionGroupsCommandInput, ListProtectionGroupsCommandOutput } from "./commands/ListProtectionGroupsCommand";
|
|
29
|
+
import { ListProtectionsCommandInput, ListProtectionsCommandOutput } from "./commands/ListProtectionsCommand";
|
|
30
|
+
import { ListResourcesInProtectionGroupCommandInput, ListResourcesInProtectionGroupCommandOutput } from "./commands/ListResourcesInProtectionGroupCommand";
|
|
31
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
32
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
33
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
34
|
+
import { UpdateApplicationLayerAutomaticResponseCommandInput, UpdateApplicationLayerAutomaticResponseCommandOutput } from "./commands/UpdateApplicationLayerAutomaticResponseCommand";
|
|
35
|
+
import { UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSettingsCommandOutput } from "./commands/UpdateEmergencyContactSettingsCommand";
|
|
36
|
+
import { UpdateProtectionGroupCommandInput, UpdateProtectionGroupCommandOutput } from "./commands/UpdateProtectionGroupCommand";
|
|
37
|
+
import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "./commands/UpdateSubscriptionCommand";
|
|
38
|
+
import { ShieldClient } from "./ShieldClient";
|
|
39
|
+
|
|
40
|
+
export declare class Shield extends ShieldClient {
|
|
41
|
+
|
|
42
|
+
associateDRTLogBucket(args: AssociateDRTLogBucketCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDRTLogBucketCommandOutput>;
|
|
43
|
+
associateDRTLogBucket(args: AssociateDRTLogBucketCommandInput, cb: (err: any, data?: AssociateDRTLogBucketCommandOutput) => void): void;
|
|
44
|
+
associateDRTLogBucket(args: AssociateDRTLogBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDRTLogBucketCommandOutput) => void): void;
|
|
45
|
+
|
|
46
|
+
associateDRTRole(args: AssociateDRTRoleCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDRTRoleCommandOutput>;
|
|
47
|
+
associateDRTRole(args: AssociateDRTRoleCommandInput, cb: (err: any, data?: AssociateDRTRoleCommandOutput) => void): void;
|
|
48
|
+
associateDRTRole(args: AssociateDRTRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDRTRoleCommandOutput) => void): void;
|
|
49
|
+
|
|
50
|
+
associateHealthCheck(args: AssociateHealthCheckCommandInput, options?: __HttpHandlerOptions): Promise<AssociateHealthCheckCommandOutput>;
|
|
51
|
+
associateHealthCheck(args: AssociateHealthCheckCommandInput, cb: (err: any, data?: AssociateHealthCheckCommandOutput) => void): void;
|
|
52
|
+
associateHealthCheck(args: AssociateHealthCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateHealthCheckCommandOutput) => void): void;
|
|
53
|
+
|
|
54
|
+
associateProactiveEngagementDetails(args: AssociateProactiveEngagementDetailsCommandInput, options?: __HttpHandlerOptions): Promise<AssociateProactiveEngagementDetailsCommandOutput>;
|
|
55
|
+
associateProactiveEngagementDetails(args: AssociateProactiveEngagementDetailsCommandInput, cb: (err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void): void;
|
|
56
|
+
associateProactiveEngagementDetails(args: AssociateProactiveEngagementDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void): void;
|
|
57
|
+
|
|
58
|
+
createProtection(args: CreateProtectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateProtectionCommandOutput>;
|
|
59
|
+
createProtection(args: CreateProtectionCommandInput, cb: (err: any, data?: CreateProtectionCommandOutput) => void): void;
|
|
60
|
+
createProtection(args: CreateProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProtectionCommandOutput) => void): void;
|
|
61
|
+
|
|
62
|
+
createProtectionGroup(args: CreateProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateProtectionGroupCommandOutput>;
|
|
63
|
+
createProtectionGroup(args: CreateProtectionGroupCommandInput, cb: (err: any, data?: CreateProtectionGroupCommandOutput) => void): void;
|
|
64
|
+
createProtectionGroup(args: CreateProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProtectionGroupCommandOutput) => void): void;
|
|
65
|
+
|
|
66
|
+
createSubscription(args: CreateSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSubscriptionCommandOutput>;
|
|
67
|
+
createSubscription(args: CreateSubscriptionCommandInput, cb: (err: any, data?: CreateSubscriptionCommandOutput) => void): void;
|
|
68
|
+
createSubscription(args: CreateSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSubscriptionCommandOutput) => void): void;
|
|
69
|
+
|
|
70
|
+
deleteProtection(args: DeleteProtectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProtectionCommandOutput>;
|
|
71
|
+
deleteProtection(args: DeleteProtectionCommandInput, cb: (err: any, data?: DeleteProtectionCommandOutput) => void): void;
|
|
72
|
+
deleteProtection(args: DeleteProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProtectionCommandOutput) => void): void;
|
|
73
|
+
|
|
74
|
+
deleteProtectionGroup(args: DeleteProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProtectionGroupCommandOutput>;
|
|
75
|
+
deleteProtectionGroup(args: DeleteProtectionGroupCommandInput, cb: (err: any, data?: DeleteProtectionGroupCommandOutput) => void): void;
|
|
76
|
+
deleteProtectionGroup(args: DeleteProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProtectionGroupCommandOutput) => void): void;
|
|
77
|
+
|
|
78
|
+
deleteSubscription(args: DeleteSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubscriptionCommandOutput>;
|
|
79
|
+
deleteSubscription(args: DeleteSubscriptionCommandInput, cb: (err: any, data?: DeleteSubscriptionCommandOutput) => void): void;
|
|
80
|
+
deleteSubscription(args: DeleteSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubscriptionCommandOutput) => void): void;
|
|
81
|
+
|
|
82
|
+
describeAttack(args: DescribeAttackCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAttackCommandOutput>;
|
|
83
|
+
describeAttack(args: DescribeAttackCommandInput, cb: (err: any, data?: DescribeAttackCommandOutput) => void): void;
|
|
84
|
+
describeAttack(args: DescribeAttackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAttackCommandOutput) => void): void;
|
|
85
|
+
|
|
86
|
+
describeAttackStatistics(args: DescribeAttackStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAttackStatisticsCommandOutput>;
|
|
87
|
+
describeAttackStatistics(args: DescribeAttackStatisticsCommandInput, cb: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void): void;
|
|
88
|
+
describeAttackStatistics(args: DescribeAttackStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void): void;
|
|
89
|
+
|
|
90
|
+
describeDRTAccess(args: DescribeDRTAccessCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDRTAccessCommandOutput>;
|
|
91
|
+
describeDRTAccess(args: DescribeDRTAccessCommandInput, cb: (err: any, data?: DescribeDRTAccessCommandOutput) => void): void;
|
|
92
|
+
describeDRTAccess(args: DescribeDRTAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDRTAccessCommandOutput) => void): void;
|
|
93
|
+
|
|
94
|
+
describeEmergencyContactSettings(args: DescribeEmergencyContactSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEmergencyContactSettingsCommandOutput>;
|
|
95
|
+
describeEmergencyContactSettings(args: DescribeEmergencyContactSettingsCommandInput, cb: (err: any, data?: DescribeEmergencyContactSettingsCommandOutput) => void): void;
|
|
96
|
+
describeEmergencyContactSettings(args: DescribeEmergencyContactSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEmergencyContactSettingsCommandOutput) => void): void;
|
|
97
|
+
|
|
98
|
+
describeProtection(args: DescribeProtectionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProtectionCommandOutput>;
|
|
99
|
+
describeProtection(args: DescribeProtectionCommandInput, cb: (err: any, data?: DescribeProtectionCommandOutput) => void): void;
|
|
100
|
+
describeProtection(args: DescribeProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProtectionCommandOutput) => void): void;
|
|
101
|
+
|
|
102
|
+
describeProtectionGroup(args: DescribeProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProtectionGroupCommandOutput>;
|
|
103
|
+
describeProtectionGroup(args: DescribeProtectionGroupCommandInput, cb: (err: any, data?: DescribeProtectionGroupCommandOutput) => void): void;
|
|
104
|
+
describeProtectionGroup(args: DescribeProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProtectionGroupCommandOutput) => void): void;
|
|
105
|
+
|
|
106
|
+
describeSubscription(args: DescribeSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSubscriptionCommandOutput>;
|
|
107
|
+
describeSubscription(args: DescribeSubscriptionCommandInput, cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void): void;
|
|
108
|
+
describeSubscription(args: DescribeSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void): void;
|
|
109
|
+
|
|
110
|
+
disableApplicationLayerAutomaticResponse(args: DisableApplicationLayerAutomaticResponseCommandInput, options?: __HttpHandlerOptions): Promise<DisableApplicationLayerAutomaticResponseCommandOutput>;
|
|
111
|
+
disableApplicationLayerAutomaticResponse(args: DisableApplicationLayerAutomaticResponseCommandInput, cb: (err: any, data?: DisableApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
112
|
+
disableApplicationLayerAutomaticResponse(args: DisableApplicationLayerAutomaticResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
113
|
+
|
|
114
|
+
disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, options?: __HttpHandlerOptions): Promise<DisableProactiveEngagementCommandOutput>;
|
|
115
|
+
disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, cb: (err: any, data?: DisableProactiveEngagementCommandOutput) => void): void;
|
|
116
|
+
disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableProactiveEngagementCommandOutput) => void): void;
|
|
117
|
+
|
|
118
|
+
disassociateDRTLogBucket(args: DisassociateDRTLogBucketCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDRTLogBucketCommandOutput>;
|
|
119
|
+
disassociateDRTLogBucket(args: DisassociateDRTLogBucketCommandInput, cb: (err: any, data?: DisassociateDRTLogBucketCommandOutput) => void): void;
|
|
120
|
+
disassociateDRTLogBucket(args: DisassociateDRTLogBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateDRTLogBucketCommandOutput) => void): void;
|
|
121
|
+
|
|
122
|
+
disassociateDRTRole(args: DisassociateDRTRoleCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDRTRoleCommandOutput>;
|
|
123
|
+
disassociateDRTRole(args: DisassociateDRTRoleCommandInput, cb: (err: any, data?: DisassociateDRTRoleCommandOutput) => void): void;
|
|
124
|
+
disassociateDRTRole(args: DisassociateDRTRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateDRTRoleCommandOutput) => void): void;
|
|
125
|
+
|
|
126
|
+
disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateHealthCheckCommandOutput>;
|
|
127
|
+
disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void): void;
|
|
128
|
+
disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void): void;
|
|
129
|
+
|
|
130
|
+
enableApplicationLayerAutomaticResponse(args: EnableApplicationLayerAutomaticResponseCommandInput, options?: __HttpHandlerOptions): Promise<EnableApplicationLayerAutomaticResponseCommandOutput>;
|
|
131
|
+
enableApplicationLayerAutomaticResponse(args: EnableApplicationLayerAutomaticResponseCommandInput, cb: (err: any, data?: EnableApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
132
|
+
enableApplicationLayerAutomaticResponse(args: EnableApplicationLayerAutomaticResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
133
|
+
|
|
134
|
+
enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, options?: __HttpHandlerOptions): Promise<EnableProactiveEngagementCommandOutput>;
|
|
135
|
+
enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, cb: (err: any, data?: EnableProactiveEngagementCommandOutput) => void): void;
|
|
136
|
+
enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableProactiveEngagementCommandOutput) => void): void;
|
|
137
|
+
|
|
138
|
+
getSubscriptionState(args: GetSubscriptionStateCommandInput, options?: __HttpHandlerOptions): Promise<GetSubscriptionStateCommandOutput>;
|
|
139
|
+
getSubscriptionState(args: GetSubscriptionStateCommandInput, cb: (err: any, data?: GetSubscriptionStateCommandOutput) => void): void;
|
|
140
|
+
getSubscriptionState(args: GetSubscriptionStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSubscriptionStateCommandOutput) => void): void;
|
|
141
|
+
|
|
142
|
+
listAttacks(args: ListAttacksCommandInput, options?: __HttpHandlerOptions): Promise<ListAttacksCommandOutput>;
|
|
143
|
+
listAttacks(args: ListAttacksCommandInput, cb: (err: any, data?: ListAttacksCommandOutput) => void): void;
|
|
144
|
+
listAttacks(args: ListAttacksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAttacksCommandOutput) => void): void;
|
|
145
|
+
|
|
146
|
+
listProtectionGroups(args: ListProtectionGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListProtectionGroupsCommandOutput>;
|
|
147
|
+
listProtectionGroups(args: ListProtectionGroupsCommandInput, cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void): void;
|
|
148
|
+
listProtectionGroups(args: ListProtectionGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void): void;
|
|
149
|
+
|
|
150
|
+
listProtections(args: ListProtectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListProtectionsCommandOutput>;
|
|
151
|
+
listProtections(args: ListProtectionsCommandInput, cb: (err: any, data?: ListProtectionsCommandOutput) => void): void;
|
|
152
|
+
listProtections(args: ListProtectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtectionsCommandOutput) => void): void;
|
|
153
|
+
|
|
154
|
+
listResourcesInProtectionGroup(args: ListResourcesInProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesInProtectionGroupCommandOutput>;
|
|
155
|
+
listResourcesInProtectionGroup(args: ListResourcesInProtectionGroupCommandInput, cb: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void): void;
|
|
156
|
+
listResourcesInProtectionGroup(args: ListResourcesInProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void): void;
|
|
157
|
+
|
|
158
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
159
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
160
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
161
|
+
|
|
162
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
163
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
164
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
165
|
+
|
|
166
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
167
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
168
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
169
|
+
|
|
170
|
+
updateApplicationLayerAutomaticResponse(args: UpdateApplicationLayerAutomaticResponseCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationLayerAutomaticResponseCommandOutput>;
|
|
171
|
+
updateApplicationLayerAutomaticResponse(args: UpdateApplicationLayerAutomaticResponseCommandInput, cb: (err: any, data?: UpdateApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
172
|
+
updateApplicationLayerAutomaticResponse(args: UpdateApplicationLayerAutomaticResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
173
|
+
|
|
174
|
+
updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEmergencyContactSettingsCommandOutput>;
|
|
175
|
+
updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, cb: (err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void): void;
|
|
176
|
+
updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void): void;
|
|
177
|
+
|
|
178
|
+
updateProtectionGroup(args: UpdateProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProtectionGroupCommandOutput>;
|
|
179
|
+
updateProtectionGroup(args: UpdateProtectionGroupCommandInput, cb: (err: any, data?: UpdateProtectionGroupCommandOutput) => void): void;
|
|
180
|
+
updateProtectionGroup(args: UpdateProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProtectionGroupCommandOutput) => void): void;
|
|
181
|
+
|
|
182
|
+
updateSubscription(args: UpdateSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSubscriptionCommandOutput>;
|
|
183
|
+
updateSubscription(args: UpdateSubscriptionCommandInput, cb: (err: any, data?: UpdateSubscriptionCommandOutput) => void): void;
|
|
184
|
+
updateSubscription(args: UpdateSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSubscriptionCommandOutput) => void): void;
|
|
185
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput } from "./commands/AssociateDRTLogBucketCommand";
|
|
10
|
+
import { AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput } from "./commands/AssociateDRTRoleCommand";
|
|
11
|
+
import { AssociateHealthCheckCommandInput, AssociateHealthCheckCommandOutput } from "./commands/AssociateHealthCheckCommand";
|
|
12
|
+
import { AssociateProactiveEngagementDetailsCommandInput, AssociateProactiveEngagementDetailsCommandOutput } from "./commands/AssociateProactiveEngagementDetailsCommand";
|
|
13
|
+
import { CreateProtectionCommandInput, CreateProtectionCommandOutput } from "./commands/CreateProtectionCommand";
|
|
14
|
+
import { CreateProtectionGroupCommandInput, CreateProtectionGroupCommandOutput } from "./commands/CreateProtectionGroupCommand";
|
|
15
|
+
import { CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput } from "./commands/CreateSubscriptionCommand";
|
|
16
|
+
import { DeleteProtectionCommandInput, DeleteProtectionCommandOutput } from "./commands/DeleteProtectionCommand";
|
|
17
|
+
import { DeleteProtectionGroupCommandInput, DeleteProtectionGroupCommandOutput } from "./commands/DeleteProtectionGroupCommand";
|
|
18
|
+
import { DeleteSubscriptionCommandInput, DeleteSubscriptionCommandOutput } from "./commands/DeleteSubscriptionCommand";
|
|
19
|
+
import { DescribeAttackCommandInput, DescribeAttackCommandOutput } from "./commands/DescribeAttackCommand";
|
|
20
|
+
import { DescribeAttackStatisticsCommandInput, DescribeAttackStatisticsCommandOutput } from "./commands/DescribeAttackStatisticsCommand";
|
|
21
|
+
import { DescribeDRTAccessCommandInput, DescribeDRTAccessCommandOutput } from "./commands/DescribeDRTAccessCommand";
|
|
22
|
+
import { DescribeEmergencyContactSettingsCommandInput, DescribeEmergencyContactSettingsCommandOutput } from "./commands/DescribeEmergencyContactSettingsCommand";
|
|
23
|
+
import { DescribeProtectionCommandInput, DescribeProtectionCommandOutput } from "./commands/DescribeProtectionCommand";
|
|
24
|
+
import { DescribeProtectionGroupCommandInput, DescribeProtectionGroupCommandOutput } from "./commands/DescribeProtectionGroupCommand";
|
|
25
|
+
import { DescribeSubscriptionCommandInput, DescribeSubscriptionCommandOutput } from "./commands/DescribeSubscriptionCommand";
|
|
26
|
+
import { DisableApplicationLayerAutomaticResponseCommandInput, DisableApplicationLayerAutomaticResponseCommandOutput } from "./commands/DisableApplicationLayerAutomaticResponseCommand";
|
|
27
|
+
import { DisableProactiveEngagementCommandInput, DisableProactiveEngagementCommandOutput } from "./commands/DisableProactiveEngagementCommand";
|
|
28
|
+
import { DisassociateDRTLogBucketCommandInput, DisassociateDRTLogBucketCommandOutput } from "./commands/DisassociateDRTLogBucketCommand";
|
|
29
|
+
import { DisassociateDRTRoleCommandInput, DisassociateDRTRoleCommandOutput } from "./commands/DisassociateDRTRoleCommand";
|
|
30
|
+
import { DisassociateHealthCheckCommandInput, DisassociateHealthCheckCommandOutput } from "./commands/DisassociateHealthCheckCommand";
|
|
31
|
+
import { EnableApplicationLayerAutomaticResponseCommandInput, EnableApplicationLayerAutomaticResponseCommandOutput } from "./commands/EnableApplicationLayerAutomaticResponseCommand";
|
|
32
|
+
import { EnableProactiveEngagementCommandInput, EnableProactiveEngagementCommandOutput } from "./commands/EnableProactiveEngagementCommand";
|
|
33
|
+
import { GetSubscriptionStateCommandInput, GetSubscriptionStateCommandOutput } from "./commands/GetSubscriptionStateCommand";
|
|
34
|
+
import { ListAttacksCommandInput, ListAttacksCommandOutput } from "./commands/ListAttacksCommand";
|
|
35
|
+
import { ListProtectionGroupsCommandInput, ListProtectionGroupsCommandOutput } from "./commands/ListProtectionGroupsCommand";
|
|
36
|
+
import { ListProtectionsCommandInput, ListProtectionsCommandOutput } from "./commands/ListProtectionsCommand";
|
|
37
|
+
import { ListResourcesInProtectionGroupCommandInput, ListResourcesInProtectionGroupCommandOutput } from "./commands/ListResourcesInProtectionGroupCommand";
|
|
38
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
39
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
40
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
41
|
+
import { UpdateApplicationLayerAutomaticResponseCommandInput, UpdateApplicationLayerAutomaticResponseCommandOutput } from "./commands/UpdateApplicationLayerAutomaticResponseCommand";
|
|
42
|
+
import { UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSettingsCommandOutput } from "./commands/UpdateEmergencyContactSettingsCommand";
|
|
43
|
+
import { UpdateProtectionGroupCommandInput, UpdateProtectionGroupCommandOutput } from "./commands/UpdateProtectionGroupCommand";
|
|
44
|
+
import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "./commands/UpdateSubscriptionCommand";
|
|
45
|
+
export declare type ServiceInputTypes = AssociateDRTLogBucketCommandInput | AssociateDRTRoleCommandInput | AssociateHealthCheckCommandInput | AssociateProactiveEngagementDetailsCommandInput | CreateProtectionCommandInput | CreateProtectionGroupCommandInput | CreateSubscriptionCommandInput | DeleteProtectionCommandInput | DeleteProtectionGroupCommandInput | DeleteSubscriptionCommandInput | DescribeAttackCommandInput | DescribeAttackStatisticsCommandInput | DescribeDRTAccessCommandInput | DescribeEmergencyContactSettingsCommandInput | DescribeProtectionCommandInput | DescribeProtectionGroupCommandInput | DescribeSubscriptionCommandInput | DisableApplicationLayerAutomaticResponseCommandInput | DisableProactiveEngagementCommandInput | DisassociateDRTLogBucketCommandInput | DisassociateDRTRoleCommandInput | DisassociateHealthCheckCommandInput | EnableApplicationLayerAutomaticResponseCommandInput | EnableProactiveEngagementCommandInput | GetSubscriptionStateCommandInput | ListAttacksCommandInput | ListProtectionGroupsCommandInput | ListProtectionsCommandInput | ListResourcesInProtectionGroupCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationLayerAutomaticResponseCommandInput | UpdateEmergencyContactSettingsCommandInput | UpdateProtectionGroupCommandInput | UpdateSubscriptionCommandInput;
|
|
46
|
+
export declare type ServiceOutputTypes = AssociateDRTLogBucketCommandOutput | AssociateDRTRoleCommandOutput | AssociateHealthCheckCommandOutput | AssociateProactiveEngagementDetailsCommandOutput | CreateProtectionCommandOutput | CreateProtectionGroupCommandOutput | CreateSubscriptionCommandOutput | DeleteProtectionCommandOutput | DeleteProtectionGroupCommandOutput | DeleteSubscriptionCommandOutput | DescribeAttackCommandOutput | DescribeAttackStatisticsCommandOutput | DescribeDRTAccessCommandOutput | DescribeEmergencyContactSettingsCommandOutput | DescribeProtectionCommandOutput | DescribeProtectionGroupCommandOutput | DescribeSubscriptionCommandOutput | DisableApplicationLayerAutomaticResponseCommandOutput | DisableProactiveEngagementCommandOutput | DisassociateDRTLogBucketCommandOutput | DisassociateDRTRoleCommandOutput | DisassociateHealthCheckCommandOutput | EnableApplicationLayerAutomaticResponseCommandOutput | EnableProactiveEngagementCommandOutput | GetSubscriptionStateCommandOutput | ListAttacksCommandOutput | ListProtectionGroupsCommandOutput | ListProtectionsCommandOutput | ListResourcesInProtectionGroupCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationLayerAutomaticResponseCommandOutput | UpdateEmergencyContactSettingsCommandOutput | UpdateProtectionGroupCommandOutput | UpdateSubscriptionCommandOutput;
|
|
47
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
48
|
+
|
|
49
|
+
requestHandler?: __HttpHandler;
|
|
50
|
+
|
|
51
|
+
sha256?: __HashConstructor;
|
|
52
|
+
|
|
53
|
+
urlParser?: __UrlParser;
|
|
54
|
+
|
|
55
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
56
|
+
|
|
57
|
+
streamCollector?: __StreamCollector;
|
|
58
|
+
|
|
59
|
+
base64Decoder?: __Decoder;
|
|
60
|
+
|
|
61
|
+
base64Encoder?: __Encoder;
|
|
62
|
+
|
|
63
|
+
utf8Decoder?: __Decoder;
|
|
64
|
+
|
|
65
|
+
utf8Encoder?: __Encoder;
|
|
66
|
+
|
|
67
|
+
runtime?: string;
|
|
68
|
+
|
|
69
|
+
disableHostPrefix?: boolean;
|
|
70
|
+
|
|
71
|
+
maxAttempts?: number | __Provider<number>;
|
|
72
|
+
|
|
73
|
+
retryMode?: string | __Provider<string>;
|
|
74
|
+
|
|
75
|
+
logger?: __Logger;
|
|
76
|
+
|
|
77
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
78
|
+
|
|
79
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
80
|
+
|
|
81
|
+
serviceId?: string;
|
|
82
|
+
|
|
83
|
+
region?: string | __Provider<string>;
|
|
84
|
+
|
|
85
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
86
|
+
|
|
87
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
88
|
+
|
|
89
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
90
|
+
|
|
91
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
92
|
+
}
|
|
93
|
+
declare type ShieldClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
94
|
+
|
|
95
|
+
export interface ShieldClientConfig extends ShieldClientConfigType {
|
|
96
|
+
}
|
|
97
|
+
declare type ShieldClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
98
|
+
|
|
99
|
+
export interface ShieldClientResolvedConfig extends ShieldClientResolvedConfigType {
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export declare class ShieldClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig> {
|
|
103
|
+
|
|
104
|
+
readonly config: ShieldClientResolvedConfig;
|
|
105
|
+
constructor(configuration: ShieldClientConfig);
|
|
106
|
+
|
|
107
|
+
destroy(): void;
|
|
108
|
+
}
|
|
109
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AssociateDRTLogBucketRequest, AssociateDRTLogBucketResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
5
|
+
export interface AssociateDRTLogBucketCommandInput extends AssociateDRTLogBucketRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucketResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class AssociateDRTLogBucketCommand extends $Command<AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput, ShieldClientResolvedConfig> {
|
|
11
|
+
readonly input: AssociateDRTLogBucketCommandInput;
|
|
12
|
+
constructor(input: AssociateDRTLogBucketCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AssociateDRTRoleRequest, AssociateDRTRoleResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
5
|
+
export interface AssociateDRTRoleCommandInput extends AssociateDRTRoleRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class AssociateDRTRoleCommand extends $Command<AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput, ShieldClientResolvedConfig> {
|
|
11
|
+
readonly input: AssociateDRTRoleCommandInput;
|
|
12
|
+
constructor(input: AssociateDRTRoleCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AssociateHealthCheckRequest, AssociateHealthCheckResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
5
|
+
export interface AssociateHealthCheckCommandInput extends AssociateHealthCheckRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface AssociateHealthCheckCommandOutput extends AssociateHealthCheckResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class AssociateHealthCheckCommand extends $Command<AssociateHealthCheckCommandInput, AssociateHealthCheckCommandOutput, ShieldClientResolvedConfig> {
|
|
11
|
+
readonly input: AssociateHealthCheckCommandInput;
|
|
12
|
+
constructor(input: AssociateHealthCheckCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateHealthCheckCommandInput, AssociateHealthCheckCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|