@aws-sdk/client-shield 3.41.0 → 3.45.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist-cjs/Shield.js +45 -0
  3. package/dist-cjs/commands/DisableApplicationLayerAutomaticResponseCommand.js +36 -0
  4. package/dist-cjs/commands/EnableApplicationLayerAutomaticResponseCommand.js +36 -0
  5. package/dist-cjs/commands/UpdateApplicationLayerAutomaticResponseCommand.js +36 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/endpoints.js +1 -0
  8. package/dist-cjs/models/models_0.js +74 -9
  9. package/dist-cjs/protocols/Aws_json1_1.js +363 -2
  10. package/dist-es/Shield.js +45 -0
  11. package/dist-es/commands/DisableApplicationLayerAutomaticResponseCommand.js +39 -0
  12. package/dist-es/commands/EnableApplicationLayerAutomaticResponseCommand.js +39 -0
  13. package/dist-es/commands/UpdateApplicationLayerAutomaticResponseCommand.js +39 -0
  14. package/dist-es/commands/index.js +3 -0
  15. package/dist-es/endpoints.js +1 -0
  16. package/dist-es/models/models_0.js +49 -4
  17. package/dist-es/protocols/Aws_json1_1.js +430 -50
  18. package/dist-types/Shield.d.ts +50 -12
  19. package/dist-types/ShieldClient.d.ts +5 -2
  20. package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +1 -1
  21. package/dist-types/commands/AssociateDRTRoleCommand.d.ts +4 -3
  22. package/dist-types/commands/AssociateHealthCheckCommand.d.ts +2 -2
  23. package/dist-types/commands/CreateProtectionCommand.d.ts +6 -2
  24. package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +36 -0
  25. package/dist-types/commands/DisassociateDRTLogBucketCommand.d.ts +0 -1
  26. package/dist-types/commands/DisassociateDRTRoleCommand.d.ts +0 -1
  27. package/dist-types/commands/DisassociateHealthCheckCommand.d.ts +2 -2
  28. package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +48 -0
  29. package/dist-types/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +35 -0
  30. package/dist-types/commands/index.d.ts +3 -0
  31. package/dist-types/models/models_0.d.ts +260 -60
  32. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  33. package/dist-types/ts3.4/Shield.d.ts +15 -0
  34. package/dist-types/ts3.4/ShieldClient.d.ts +5 -2
  35. package/dist-types/ts3.4/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +98 -10
  40. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
  41. package/package.json +5 -5
@@ -16,10 +16,12 @@ import { DescribeEmergencyContactSettingsCommandInput, DescribeEmergencyContactS
16
16
  import { DescribeProtectionCommandInput, DescribeProtectionCommandOutput } from "./commands/DescribeProtectionCommand";
17
17
  import { DescribeProtectionGroupCommandInput, DescribeProtectionGroupCommandOutput } from "./commands/DescribeProtectionGroupCommand";
18
18
  import { DescribeSubscriptionCommandInput, DescribeSubscriptionCommandOutput } from "./commands/DescribeSubscriptionCommand";
19
+ import { DisableApplicationLayerAutomaticResponseCommandInput, DisableApplicationLayerAutomaticResponseCommandOutput } from "./commands/DisableApplicationLayerAutomaticResponseCommand";
19
20
  import { DisableProactiveEngagementCommandInput, DisableProactiveEngagementCommandOutput } from "./commands/DisableProactiveEngagementCommand";
20
21
  import { DisassociateDRTLogBucketCommandInput, DisassociateDRTLogBucketCommandOutput } from "./commands/DisassociateDRTLogBucketCommand";
21
22
  import { DisassociateDRTRoleCommandInput, DisassociateDRTRoleCommandOutput } from "./commands/DisassociateDRTRoleCommand";
22
23
  import { DisassociateHealthCheckCommandInput, DisassociateHealthCheckCommandOutput } from "./commands/DisassociateHealthCheckCommand";
24
+ import { EnableApplicationLayerAutomaticResponseCommandInput, EnableApplicationLayerAutomaticResponseCommandOutput } from "./commands/EnableApplicationLayerAutomaticResponseCommand";
23
25
  import { EnableProactiveEngagementCommandInput, EnableProactiveEngagementCommandOutput } from "./commands/EnableProactiveEngagementCommand";
24
26
  import { GetSubscriptionStateCommandInput, GetSubscriptionStateCommandOutput } from "./commands/GetSubscriptionStateCommand";
25
27
  import { ListAttacksCommandInput, ListAttacksCommandOutput } from "./commands/ListAttacksCommand";
@@ -29,6 +31,7 @@ import { ListResourcesInProtectionGroupCommandInput, ListResourcesInProtectionGr
29
31
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
30
32
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
31
33
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
34
+ import { UpdateApplicationLayerAutomaticResponseCommandInput, UpdateApplicationLayerAutomaticResponseCommandOutput } from "./commands/UpdateApplicationLayerAutomaticResponseCommand";
32
35
  import { UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSettingsCommandOutput } from "./commands/UpdateEmergencyContactSettingsCommand";
33
36
  import { UpdateProtectionGroupCommandInput, UpdateProtectionGroupCommandOutput } from "./commands/UpdateProtectionGroupCommand";
34
37
  import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "./commands/UpdateSubscriptionCommand";
@@ -104,6 +107,10 @@ export declare class Shield extends ShieldClient {
104
107
  describeSubscription(args: DescribeSubscriptionCommandInput, cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void): void;
105
108
  describeSubscription(args: DescribeSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void): void;
106
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
+
107
114
  disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, options?: __HttpHandlerOptions): Promise<DisableProactiveEngagementCommandOutput>;
108
115
  disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, cb: (err: any, data?: DisableProactiveEngagementCommandOutput) => void): void;
109
116
  disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableProactiveEngagementCommandOutput) => void): void;
@@ -120,6 +127,10 @@ export declare class Shield extends ShieldClient {
120
127
  disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void): void;
121
128
  disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void): void;
122
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
+
123
134
  enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, options?: __HttpHandlerOptions): Promise<EnableProactiveEngagementCommandOutput>;
124
135
  enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, cb: (err: any, data?: EnableProactiveEngagementCommandOutput) => void): void;
125
136
  enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableProactiveEngagementCommandOutput) => void): void;
@@ -156,6 +167,10 @@ export declare class Shield extends ShieldClient {
156
167
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
157
168
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
158
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
+
159
174
  updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEmergencyContactSettingsCommandOutput>;
160
175
  updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, cb: (err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void): void;
161
176
  updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void): void;
@@ -23,10 +23,12 @@ import { DescribeEmergencyContactSettingsCommandInput, DescribeEmergencyContactS
23
23
  import { DescribeProtectionCommandInput, DescribeProtectionCommandOutput } from "./commands/DescribeProtectionCommand";
24
24
  import { DescribeProtectionGroupCommandInput, DescribeProtectionGroupCommandOutput } from "./commands/DescribeProtectionGroupCommand";
25
25
  import { DescribeSubscriptionCommandInput, DescribeSubscriptionCommandOutput } from "./commands/DescribeSubscriptionCommand";
26
+ import { DisableApplicationLayerAutomaticResponseCommandInput, DisableApplicationLayerAutomaticResponseCommandOutput } from "./commands/DisableApplicationLayerAutomaticResponseCommand";
26
27
  import { DisableProactiveEngagementCommandInput, DisableProactiveEngagementCommandOutput } from "./commands/DisableProactiveEngagementCommand";
27
28
  import { DisassociateDRTLogBucketCommandInput, DisassociateDRTLogBucketCommandOutput } from "./commands/DisassociateDRTLogBucketCommand";
28
29
  import { DisassociateDRTRoleCommandInput, DisassociateDRTRoleCommandOutput } from "./commands/DisassociateDRTRoleCommand";
29
30
  import { DisassociateHealthCheckCommandInput, DisassociateHealthCheckCommandOutput } from "./commands/DisassociateHealthCheckCommand";
31
+ import { EnableApplicationLayerAutomaticResponseCommandInput, EnableApplicationLayerAutomaticResponseCommandOutput } from "./commands/EnableApplicationLayerAutomaticResponseCommand";
30
32
  import { EnableProactiveEngagementCommandInput, EnableProactiveEngagementCommandOutput } from "./commands/EnableProactiveEngagementCommand";
31
33
  import { GetSubscriptionStateCommandInput, GetSubscriptionStateCommandOutput } from "./commands/GetSubscriptionStateCommand";
32
34
  import { ListAttacksCommandInput, ListAttacksCommandOutput } from "./commands/ListAttacksCommand";
@@ -36,11 +38,12 @@ import { ListResourcesInProtectionGroupCommandInput, ListResourcesInProtectionGr
36
38
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
37
39
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
38
40
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
41
+ import { UpdateApplicationLayerAutomaticResponseCommandInput, UpdateApplicationLayerAutomaticResponseCommandOutput } from "./commands/UpdateApplicationLayerAutomaticResponseCommand";
39
42
  import { UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSettingsCommandOutput } from "./commands/UpdateEmergencyContactSettingsCommand";
40
43
  import { UpdateProtectionGroupCommandInput, UpdateProtectionGroupCommandOutput } from "./commands/UpdateProtectionGroupCommand";
41
44
  import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "./commands/UpdateSubscriptionCommand";
42
- export declare type ServiceInputTypes = AssociateDRTLogBucketCommandInput | AssociateDRTRoleCommandInput | AssociateHealthCheckCommandInput | AssociateProactiveEngagementDetailsCommandInput | CreateProtectionCommandInput | CreateProtectionGroupCommandInput | CreateSubscriptionCommandInput | DeleteProtectionCommandInput | DeleteProtectionGroupCommandInput | DeleteSubscriptionCommandInput | DescribeAttackCommandInput | DescribeAttackStatisticsCommandInput | DescribeDRTAccessCommandInput | DescribeEmergencyContactSettingsCommandInput | DescribeProtectionCommandInput | DescribeProtectionGroupCommandInput | DescribeSubscriptionCommandInput | DisableProactiveEngagementCommandInput | DisassociateDRTLogBucketCommandInput | DisassociateDRTRoleCommandInput | DisassociateHealthCheckCommandInput | EnableProactiveEngagementCommandInput | GetSubscriptionStateCommandInput | ListAttacksCommandInput | ListProtectionGroupsCommandInput | ListProtectionsCommandInput | ListResourcesInProtectionGroupCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEmergencyContactSettingsCommandInput | UpdateProtectionGroupCommandInput | UpdateSubscriptionCommandInput;
43
- export declare type ServiceOutputTypes = AssociateDRTLogBucketCommandOutput | AssociateDRTRoleCommandOutput | AssociateHealthCheckCommandOutput | AssociateProactiveEngagementDetailsCommandOutput | CreateProtectionCommandOutput | CreateProtectionGroupCommandOutput | CreateSubscriptionCommandOutput | DeleteProtectionCommandOutput | DeleteProtectionGroupCommandOutput | DeleteSubscriptionCommandOutput | DescribeAttackCommandOutput | DescribeAttackStatisticsCommandOutput | DescribeDRTAccessCommandOutput | DescribeEmergencyContactSettingsCommandOutput | DescribeProtectionCommandOutput | DescribeProtectionGroupCommandOutput | DescribeSubscriptionCommandOutput | DisableProactiveEngagementCommandOutput | DisassociateDRTLogBucketCommandOutput | DisassociateDRTRoleCommandOutput | DisassociateHealthCheckCommandOutput | EnableProactiveEngagementCommandOutput | GetSubscriptionStateCommandOutput | ListAttacksCommandOutput | ListProtectionGroupsCommandOutput | ListProtectionsCommandOutput | ListResourcesInProtectionGroupCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEmergencyContactSettingsCommandOutput | UpdateProtectionGroupCommandOutput | UpdateSubscriptionCommandOutput;
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;
44
47
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
45
48
 
46
49
  requestHandler?: __HttpHandler;
@@ -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 { DisableApplicationLayerAutomaticResponseRequest, DisableApplicationLayerAutomaticResponseResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
+ export interface DisableApplicationLayerAutomaticResponseCommandInput extends DisableApplicationLayerAutomaticResponseRequest {
6
+ }
7
+ export interface DisableApplicationLayerAutomaticResponseCommandOutput extends DisableApplicationLayerAutomaticResponseResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DisableApplicationLayerAutomaticResponseCommand extends $Command<DisableApplicationLayerAutomaticResponseCommandInput, DisableApplicationLayerAutomaticResponseCommandOutput, ShieldClientResolvedConfig> {
11
+ readonly input: DisableApplicationLayerAutomaticResponseCommandInput;
12
+ constructor(input: DisableApplicationLayerAutomaticResponseCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableApplicationLayerAutomaticResponseCommandInput, DisableApplicationLayerAutomaticResponseCommandOutput>;
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 { EnableApplicationLayerAutomaticResponseRequest, EnableApplicationLayerAutomaticResponseResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
+ export interface EnableApplicationLayerAutomaticResponseCommandInput extends EnableApplicationLayerAutomaticResponseRequest {
6
+ }
7
+ export interface EnableApplicationLayerAutomaticResponseCommandOutput extends EnableApplicationLayerAutomaticResponseResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class EnableApplicationLayerAutomaticResponseCommand extends $Command<EnableApplicationLayerAutomaticResponseCommandInput, EnableApplicationLayerAutomaticResponseCommandOutput, ShieldClientResolvedConfig> {
11
+ readonly input: EnableApplicationLayerAutomaticResponseCommandInput;
12
+ constructor(input: EnableApplicationLayerAutomaticResponseCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableApplicationLayerAutomaticResponseCommandInput, EnableApplicationLayerAutomaticResponseCommandOutput>;
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 { UpdateApplicationLayerAutomaticResponseRequest, UpdateApplicationLayerAutomaticResponseResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
+ export interface UpdateApplicationLayerAutomaticResponseCommandInput extends UpdateApplicationLayerAutomaticResponseRequest {
6
+ }
7
+ export interface UpdateApplicationLayerAutomaticResponseCommandOutput extends UpdateApplicationLayerAutomaticResponseResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateApplicationLayerAutomaticResponseCommand extends $Command<UpdateApplicationLayerAutomaticResponseCommandInput, UpdateApplicationLayerAutomaticResponseCommandOutput, ShieldClientResolvedConfig> {
11
+ readonly input: UpdateApplicationLayerAutomaticResponseCommandInput;
12
+ constructor(input: UpdateApplicationLayerAutomaticResponseCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateApplicationLayerAutomaticResponseCommandInput, UpdateApplicationLayerAutomaticResponseCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -15,10 +15,12 @@ export * from "./DescribeEmergencyContactSettingsCommand";
15
15
  export * from "./DescribeProtectionCommand";
16
16
  export * from "./DescribeProtectionGroupCommand";
17
17
  export * from "./DescribeSubscriptionCommand";
18
+ export * from "./DisableApplicationLayerAutomaticResponseCommand";
18
19
  export * from "./DisableProactiveEngagementCommand";
19
20
  export * from "./DisassociateDRTLogBucketCommand";
20
21
  export * from "./DisassociateDRTRoleCommand";
21
22
  export * from "./DisassociateHealthCheckCommand";
23
+ export * from "./EnableApplicationLayerAutomaticResponseCommand";
22
24
  export * from "./EnableProactiveEngagementCommand";
23
25
  export * from "./GetSubscriptionStateCommand";
24
26
  export * from "./ListAttacksCommand";
@@ -28,6 +30,7 @@ export * from "./ListResourcesInProtectionGroupCommand";
28
30
  export * from "./ListTagsForResourceCommand";
29
31
  export * from "./TagResourceCommand";
30
32
  export * from "./UntagResourceCommand";
33
+ export * from "./UpdateApplicationLayerAutomaticResponseCommand";
31
34
  export * from "./UpdateEmergencyContactSettingsCommand";
32
35
  export * from "./UpdateProtectionGroupCommand";
33
36
  export * from "./UpdateSubscriptionCommand";
@@ -19,6 +19,46 @@ export declare namespace AccessDeniedForDependencyException {
19
19
 
20
20
  const filterSensitiveLog: (obj: AccessDeniedForDependencyException) => any;
21
21
  }
22
+
23
+ export interface BlockAction {
24
+ }
25
+ export declare namespace BlockAction {
26
+
27
+ const filterSensitiveLog: (obj: BlockAction) => any;
28
+ }
29
+
30
+ export interface CountAction {
31
+ }
32
+ export declare namespace CountAction {
33
+
34
+ const filterSensitiveLog: (obj: CountAction) => any;
35
+ }
36
+
37
+ export interface ResponseAction {
38
+
39
+ Block?: BlockAction;
40
+
41
+ Count?: CountAction;
42
+ }
43
+ export declare namespace ResponseAction {
44
+
45
+ const filterSensitiveLog: (obj: ResponseAction) => any;
46
+ }
47
+ export declare enum ApplicationLayerAutomaticResponseStatus {
48
+ DISABLED = "DISABLED",
49
+ ENABLED = "ENABLED"
50
+ }
51
+
52
+ export interface ApplicationLayerAutomaticResponseConfiguration {
53
+
54
+ Status: ApplicationLayerAutomaticResponseStatus | string | undefined;
55
+
56
+ Action: ResponseAction | undefined;
57
+ }
58
+ export declare namespace ApplicationLayerAutomaticResponseConfiguration {
59
+
60
+ const filterSensitiveLog: (obj: ApplicationLayerAutomaticResponseConfiguration) => any;
61
+ }
22
62
  export interface AssociateDRTLogBucketRequest {
23
63
 
24
64
  LogBucket: string | undefined;
@@ -159,6 +199,16 @@ export declare namespace AssociateHealthCheckResponse {
159
199
  const filterSensitiveLog: (obj: AssociateHealthCheckResponse) => any;
160
200
  }
161
201
 
202
+ export interface InvalidResourceException extends __SmithyException, $MetadataBearer {
203
+ name: "InvalidResourceException";
204
+ $fault: "client";
205
+ message?: string;
206
+ }
207
+ export declare namespace InvalidResourceException {
208
+
209
+ const filterSensitiveLog: (obj: InvalidResourceException) => any;
210
+ }
211
+
162
212
  export interface EmergencyContact {
163
213
 
164
214
  EmailAddress: string | undefined;
@@ -409,16 +459,6 @@ export declare namespace CreateProtectionResponse {
409
459
  const filterSensitiveLog: (obj: CreateProtectionResponse) => any;
410
460
  }
411
461
 
412
- export interface InvalidResourceException extends __SmithyException, $MetadataBearer {
413
- name: "InvalidResourceException";
414
- $fault: "client";
415
- message?: string;
416
- }
417
- export declare namespace InvalidResourceException {
418
-
419
- const filterSensitiveLog: (obj: InvalidResourceException) => any;
420
- }
421
-
422
462
  export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
423
463
  name: "ResourceAlreadyExistsException";
424
464
  $fault: "client";
@@ -629,6 +669,8 @@ export interface Protection {
629
669
  HealthCheckIds?: string[];
630
670
 
631
671
  ProtectionArn?: string;
672
+
673
+ ApplicationLayerAutomaticResponseConfiguration?: ApplicationLayerAutomaticResponseConfiguration;
632
674
  }
633
675
  export declare namespace Protection {
634
676
 
@@ -779,6 +821,20 @@ export declare namespace DescribeSubscriptionResponse {
779
821
 
780
822
  const filterSensitiveLog: (obj: DescribeSubscriptionResponse) => any;
781
823
  }
824
+ export interface DisableApplicationLayerAutomaticResponseRequest {
825
+
826
+ ResourceArn: string | undefined;
827
+ }
828
+ export declare namespace DisableApplicationLayerAutomaticResponseRequest {
829
+
830
+ const filterSensitiveLog: (obj: DisableApplicationLayerAutomaticResponseRequest) => any;
831
+ }
832
+ export interface DisableApplicationLayerAutomaticResponseResponse {
833
+ }
834
+ export declare namespace DisableApplicationLayerAutomaticResponseResponse {
835
+
836
+ const filterSensitiveLog: (obj: DisableApplicationLayerAutomaticResponseResponse) => any;
837
+ }
782
838
  export interface DisableProactiveEngagementRequest {
783
839
  }
784
840
  export declare namespace DisableProactiveEngagementRequest {
@@ -833,6 +889,22 @@ export declare namespace DisassociateHealthCheckResponse {
833
889
 
834
890
  const filterSensitiveLog: (obj: DisassociateHealthCheckResponse) => any;
835
891
  }
892
+ export interface EnableApplicationLayerAutomaticResponseRequest {
893
+
894
+ ResourceArn: string | undefined;
895
+
896
+ Action: ResponseAction | undefined;
897
+ }
898
+ export declare namespace EnableApplicationLayerAutomaticResponseRequest {
899
+
900
+ const filterSensitiveLog: (obj: EnableApplicationLayerAutomaticResponseRequest) => any;
901
+ }
902
+ export interface EnableApplicationLayerAutomaticResponseResponse {
903
+ }
904
+ export declare namespace EnableApplicationLayerAutomaticResponseResponse {
905
+
906
+ const filterSensitiveLog: (obj: EnableApplicationLayerAutomaticResponseResponse) => any;
907
+ }
836
908
  export interface EnableProactiveEngagementRequest {
837
909
  }
838
910
  export declare namespace EnableProactiveEngagementRequest {
@@ -1009,6 +1081,22 @@ export declare namespace UntagResourceResponse {
1009
1081
 
1010
1082
  const filterSensitiveLog: (obj: UntagResourceResponse) => any;
1011
1083
  }
1084
+ export interface UpdateApplicationLayerAutomaticResponseRequest {
1085
+
1086
+ ResourceArn: string | undefined;
1087
+
1088
+ Action: ResponseAction | undefined;
1089
+ }
1090
+ export declare namespace UpdateApplicationLayerAutomaticResponseRequest {
1091
+
1092
+ const filterSensitiveLog: (obj: UpdateApplicationLayerAutomaticResponseRequest) => any;
1093
+ }
1094
+ export interface UpdateApplicationLayerAutomaticResponseResponse {
1095
+ }
1096
+ export declare namespace UpdateApplicationLayerAutomaticResponseResponse {
1097
+
1098
+ const filterSensitiveLog: (obj: UpdateApplicationLayerAutomaticResponseResponse) => any;
1099
+ }
1012
1100
  export interface UpdateEmergencyContactSettingsRequest {
1013
1101
 
1014
1102
  EmergencyContactList?: EmergencyContact[];
@@ -17,10 +17,12 @@ import { DescribeEmergencyContactSettingsCommandInput, DescribeEmergencyContactS
17
17
  import { DescribeProtectionCommandInput, DescribeProtectionCommandOutput } from "../commands/DescribeProtectionCommand";
18
18
  import { DescribeProtectionGroupCommandInput, DescribeProtectionGroupCommandOutput } from "../commands/DescribeProtectionGroupCommand";
19
19
  import { DescribeSubscriptionCommandInput, DescribeSubscriptionCommandOutput } from "../commands/DescribeSubscriptionCommand";
20
+ import { DisableApplicationLayerAutomaticResponseCommandInput, DisableApplicationLayerAutomaticResponseCommandOutput } from "../commands/DisableApplicationLayerAutomaticResponseCommand";
20
21
  import { DisableProactiveEngagementCommandInput, DisableProactiveEngagementCommandOutput } from "../commands/DisableProactiveEngagementCommand";
21
22
  import { DisassociateDRTLogBucketCommandInput, DisassociateDRTLogBucketCommandOutput } from "../commands/DisassociateDRTLogBucketCommand";
22
23
  import { DisassociateDRTRoleCommandInput, DisassociateDRTRoleCommandOutput } from "../commands/DisassociateDRTRoleCommand";
23
24
  import { DisassociateHealthCheckCommandInput, DisassociateHealthCheckCommandOutput } from "../commands/DisassociateHealthCheckCommand";
25
+ import { EnableApplicationLayerAutomaticResponseCommandInput, EnableApplicationLayerAutomaticResponseCommandOutput } from "../commands/EnableApplicationLayerAutomaticResponseCommand";
24
26
  import { EnableProactiveEngagementCommandInput, EnableProactiveEngagementCommandOutput } from "../commands/EnableProactiveEngagementCommand";
25
27
  import { GetSubscriptionStateCommandInput, GetSubscriptionStateCommandOutput } from "../commands/GetSubscriptionStateCommand";
26
28
  import { ListAttacksCommandInput, ListAttacksCommandOutput } from "../commands/ListAttacksCommand";
@@ -30,6 +32,7 @@ import { ListResourcesInProtectionGroupCommandInput, ListResourcesInProtectionGr
30
32
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
31
33
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
32
34
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
35
+ import { UpdateApplicationLayerAutomaticResponseCommandInput, UpdateApplicationLayerAutomaticResponseCommandOutput } from "../commands/UpdateApplicationLayerAutomaticResponseCommand";
33
36
  import { UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSettingsCommandOutput } from "../commands/UpdateEmergencyContactSettingsCommand";
34
37
  import { UpdateProtectionGroupCommandInput, UpdateProtectionGroupCommandOutput } from "../commands/UpdateProtectionGroupCommand";
35
38
  import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "../commands/UpdateSubscriptionCommand";
@@ -50,10 +53,12 @@ export declare const serializeAws_json1_1DescribeEmergencyContactSettingsCommand
50
53
  export declare const serializeAws_json1_1DescribeProtectionCommand: (input: DescribeProtectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
54
  export declare const serializeAws_json1_1DescribeProtectionGroupCommand: (input: DescribeProtectionGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
55
  export declare const serializeAws_json1_1DescribeSubscriptionCommand: (input: DescribeSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
+ export declare const serializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand: (input: DisableApplicationLayerAutomaticResponseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
57
  export declare const serializeAws_json1_1DisableProactiveEngagementCommand: (input: DisableProactiveEngagementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
58
  export declare const serializeAws_json1_1DisassociateDRTLogBucketCommand: (input: DisassociateDRTLogBucketCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
59
  export declare const serializeAws_json1_1DisassociateDRTRoleCommand: (input: DisassociateDRTRoleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
60
  export declare const serializeAws_json1_1DisassociateHealthCheckCommand: (input: DisassociateHealthCheckCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
+ export declare const serializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand: (input: EnableApplicationLayerAutomaticResponseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
62
  export declare const serializeAws_json1_1EnableProactiveEngagementCommand: (input: EnableProactiveEngagementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
63
  export declare const serializeAws_json1_1GetSubscriptionStateCommand: (input: GetSubscriptionStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
64
  export declare const serializeAws_json1_1ListAttacksCommand: (input: ListAttacksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -63,6 +68,7 @@ export declare const serializeAws_json1_1ListResourcesInProtectionGroupCommand:
63
68
  export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
69
  export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
70
  export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
+ export declare const serializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand: (input: UpdateApplicationLayerAutomaticResponseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
72
  export declare const serializeAws_json1_1UpdateEmergencyContactSettingsCommand: (input: UpdateEmergencyContactSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
73
  export declare const serializeAws_json1_1UpdateProtectionGroupCommand: (input: UpdateProtectionGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
74
  export declare const serializeAws_json1_1UpdateSubscriptionCommand: (input: UpdateSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -83,10 +89,12 @@ export declare const deserializeAws_json1_1DescribeEmergencyContactSettingsComma
83
89
  export declare const deserializeAws_json1_1DescribeProtectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeProtectionCommandOutput>;
84
90
  export declare const deserializeAws_json1_1DescribeProtectionGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeProtectionGroupCommandOutput>;
85
91
  export declare const deserializeAws_json1_1DescribeSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeSubscriptionCommandOutput>;
92
+ export declare const deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableApplicationLayerAutomaticResponseCommandOutput>;
86
93
  export declare const deserializeAws_json1_1DisableProactiveEngagementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableProactiveEngagementCommandOutput>;
87
94
  export declare const deserializeAws_json1_1DisassociateDRTLogBucketCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateDRTLogBucketCommandOutput>;
88
95
  export declare const deserializeAws_json1_1DisassociateDRTRoleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateDRTRoleCommandOutput>;
89
96
  export declare const deserializeAws_json1_1DisassociateHealthCheckCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateHealthCheckCommandOutput>;
97
+ export declare const deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableApplicationLayerAutomaticResponseCommandOutput>;
90
98
  export declare const deserializeAws_json1_1EnableProactiveEngagementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableProactiveEngagementCommandOutput>;
91
99
  export declare const deserializeAws_json1_1GetSubscriptionStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSubscriptionStateCommandOutput>;
92
100
  export declare const deserializeAws_json1_1ListAttacksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAttacksCommandOutput>;
@@ -96,6 +104,7 @@ export declare const deserializeAws_json1_1ListResourcesInProtectionGroupCommand
96
104
  export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
97
105
  export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
98
106
  export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
107
+ export declare const deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateApplicationLayerAutomaticResponseCommandOutput>;
99
108
  export declare const deserializeAws_json1_1UpdateEmergencyContactSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEmergencyContactSettingsCommandOutput>;
100
109
  export declare const deserializeAws_json1_1UpdateProtectionGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateProtectionGroupCommandOutput>;
101
110
  export declare const deserializeAws_json1_1UpdateSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSubscriptionCommandOutput>;
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.41.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.41.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -32,7 +32,7 @@
32
32
  "@aws-sdk/middleware-logger": "3.40.0",
33
33
  "@aws-sdk/middleware-retry": "3.40.0",
34
34
  "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.45.0",
36
36
  "@aws-sdk/middleware-stack": "3.40.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.40.0",
38
38
  "@aws-sdk/node-config-provider": "3.40.0",