@aws-sdk/client-wafv2 3.342.0 → 3.345.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/README.md +16 -0
- package/dist-cjs/WAFV2.js +4 -0
- package/dist-cjs/commands/DescribeAllManagedProductsCommand.js +46 -0
- package/dist-cjs/commands/DescribeManagedProductsByVendorCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +92 -3
- package/dist-es/WAFV2.js +4 -0
- package/dist-es/commands/DescribeAllManagedProductsCommand.js +42 -0
- package/dist-es/commands/DescribeManagedProductsByVendorCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +85 -0
- package/dist-types/WAFV2.d.ts +14 -0
- package/dist-types/WAFV2Client.d.ts +4 -2
- package/dist-types/commands/DescribeAllManagedProductsCommand.d.ts +92 -0
- package/dist-types/commands/DescribeManagedProductsByVendorCommand.d.ts +114 -0
- package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +112 -8
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/WAFV2.d.ts +34 -0
- package/dist-types/ts3.4/WAFV2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +24 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +9 -9
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DescribeAllManagedProductsRequest, DescribeAllManagedProductsResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeAllManagedProductsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeAllManagedProductsCommandInput extends DescribeAllManagedProductsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeAllManagedProductsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeAllManagedProductsCommandOutput extends DescribeAllManagedProductsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Provides high-level information for the Amazon Web Services Managed Rules rule groups and Amazon Web Services Marketplace managed rule groups. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WAFV2Client, DescribeAllManagedProductsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
31
|
+
* // const { WAFV2Client, DescribeAllManagedProductsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
32
|
+
* const client = new WAFV2Client(config);
|
|
33
|
+
* const input = { // DescribeAllManagedProductsRequest
|
|
34
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DescribeAllManagedProductsCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // DescribeAllManagedProductsResponse
|
|
39
|
+
* // ManagedProducts: [ // ManagedProductDescriptors
|
|
40
|
+
* // { // ManagedProductDescriptor
|
|
41
|
+
* // VendorName: "STRING_VALUE",
|
|
42
|
+
* // ManagedRuleSetName: "STRING_VALUE",
|
|
43
|
+
* // ProductId: "STRING_VALUE",
|
|
44
|
+
* // ProductLink: "STRING_VALUE",
|
|
45
|
+
* // ProductTitle: "STRING_VALUE",
|
|
46
|
+
* // ProductDescription: "STRING_VALUE",
|
|
47
|
+
* // SnsTopicArn: "STRING_VALUE",
|
|
48
|
+
* // IsVersioningSupported: true || false,
|
|
49
|
+
* // IsAdvancedManagedRuleSet: true || false,
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param DescribeAllManagedProductsCommandInput - {@link DescribeAllManagedProductsCommandInput}
|
|
57
|
+
* @returns {@link DescribeAllManagedProductsCommandOutput}
|
|
58
|
+
* @see {@link DescribeAllManagedProductsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link DescribeAllManagedProductsCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
63
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
64
|
+
* problem. Retry your request. </p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
67
|
+
* <p>The operation isn't valid. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link WAFV2ServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class DescribeAllManagedProductsCommand extends $Command<DescribeAllManagedProductsCommandInput, DescribeAllManagedProductsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
74
|
+
readonly input: DescribeAllManagedProductsCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: DescribeAllManagedProductsCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAllManagedProductsCommandInput, DescribeAllManagedProductsCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DescribeManagedProductsByVendorRequest, DescribeManagedProductsByVendorResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeManagedProductsByVendorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeManagedProductsByVendorCommandInput extends DescribeManagedProductsByVendorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeManagedProductsByVendorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeManagedProductsByVendorCommandOutput extends DescribeManagedProductsByVendorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Provides high-level information for the managed rule groups owned by a specific vendor. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WAFV2Client, DescribeManagedProductsByVendorCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
31
|
+
* // const { WAFV2Client, DescribeManagedProductsByVendorCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
32
|
+
* const client = new WAFV2Client(config);
|
|
33
|
+
* const input = { // DescribeManagedProductsByVendorRequest
|
|
34
|
+
* VendorName: "STRING_VALUE", // required
|
|
35
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DescribeManagedProductsByVendorCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeManagedProductsByVendorResponse
|
|
40
|
+
* // ManagedProducts: [ // ManagedProductDescriptors
|
|
41
|
+
* // { // ManagedProductDescriptor
|
|
42
|
+
* // VendorName: "STRING_VALUE",
|
|
43
|
+
* // ManagedRuleSetName: "STRING_VALUE",
|
|
44
|
+
* // ProductId: "STRING_VALUE",
|
|
45
|
+
* // ProductLink: "STRING_VALUE",
|
|
46
|
+
* // ProductTitle: "STRING_VALUE",
|
|
47
|
+
* // ProductDescription: "STRING_VALUE",
|
|
48
|
+
* // SnsTopicArn: "STRING_VALUE",
|
|
49
|
+
* // IsVersioningSupported: true || false,
|
|
50
|
+
* // IsAdvancedManagedRuleSet: true || false,
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param DescribeManagedProductsByVendorCommandInput - {@link DescribeManagedProductsByVendorCommandInput}
|
|
58
|
+
* @returns {@link DescribeManagedProductsByVendorCommandOutput}
|
|
59
|
+
* @see {@link DescribeManagedProductsByVendorCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link DescribeManagedProductsByVendorCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
64
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
65
|
+
* problem. Retry your request. </p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
68
|
+
* <p>The operation isn't valid. </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
71
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
72
|
+
* example: </p>
|
|
73
|
+
* <ul>
|
|
74
|
+
* <li>
|
|
75
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
79
|
+
* can’t be nested. </p>
|
|
80
|
+
* </li>
|
|
81
|
+
* <li>
|
|
82
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
83
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
84
|
+
* </li>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
87
|
+
* with which a web ACL can't be associated.</p>
|
|
88
|
+
* </li>
|
|
89
|
+
* </ul>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link WAFV2ServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
export declare class DescribeManagedProductsByVendorCommand extends $Command<DescribeManagedProductsByVendorCommandInput, DescribeManagedProductsByVendorCommandOutput, WAFV2ClientResolvedConfig> {
|
|
96
|
+
readonly input: DescribeManagedProductsByVendorCommandInput;
|
|
97
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
constructor(input: DescribeManagedProductsByVendorCommandInput);
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeManagedProductsByVendorCommandInput, DescribeManagedProductsByVendorCommandOutput>;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
private serialize;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
private deserialize;
|
|
114
|
+
}
|
|
@@ -23,8 +23,7 @@ export interface DescribeManagedRuleGroupCommandOutput extends DescribeManagedRu
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Provides high-level information for a managed rule group, including descriptions of the
|
|
27
|
-
* rules. </p>
|
|
26
|
+
* <p>Provides high-level information for a managed rule group, including descriptions of the rules. </p>
|
|
28
27
|
* @example
|
|
29
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
29
|
* ```javascript
|
|
@@ -12,6 +12,8 @@ export * from "./DeletePermissionPolicyCommand";
|
|
|
12
12
|
export * from "./DeleteRegexPatternSetCommand";
|
|
13
13
|
export * from "./DeleteRuleGroupCommand";
|
|
14
14
|
export * from "./DeleteWebACLCommand";
|
|
15
|
+
export * from "./DescribeAllManagedProductsCommand";
|
|
16
|
+
export * from "./DescribeManagedProductsByVendorCommand";
|
|
15
17
|
export * from "./DescribeManagedRuleGroupCommand";
|
|
16
18
|
export * from "./DisassociateWebACLCommand";
|
|
17
19
|
export * from "./GenerateMobileSdkReleaseUrlCommand";
|
|
@@ -2737,12 +2737,12 @@ export interface Label {
|
|
|
2737
2737
|
*/
|
|
2738
2738
|
export interface VisibilityConfig {
|
|
2739
2739
|
/**
|
|
2740
|
-
* <p>
|
|
2740
|
+
* <p>Indicates whether WAF should store a sampling of the web requests that
|
|
2741
2741
|
* match the rules. You can view the sampled requests through the WAF console. </p>
|
|
2742
2742
|
*/
|
|
2743
2743
|
SampledRequestsEnabled: boolean | undefined;
|
|
2744
2744
|
/**
|
|
2745
|
-
* <p>
|
|
2745
|
+
* <p>Indicates whether the associated resource sends metrics to Amazon CloudWatch. For the
|
|
2746
2746
|
* list of available metrics, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics">WAF
|
|
2747
2747
|
* Metrics</a> in the <i>WAF Developer Guide</i>.</p>
|
|
2748
2748
|
* <p>For web ACLs, the metrics are for web requests that have the web ACL default action applied.
|
|
@@ -3503,12 +3503,116 @@ export interface DeleteWebACLRequest {
|
|
|
3503
3503
|
*/
|
|
3504
3504
|
export interface DeleteWebACLResponse {
|
|
3505
3505
|
}
|
|
3506
|
+
/**
|
|
3507
|
+
* @public
|
|
3508
|
+
*/
|
|
3509
|
+
export interface DescribeAllManagedProductsRequest {
|
|
3510
|
+
/**
|
|
3511
|
+
* <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance. </p>
|
|
3512
|
+
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3513
|
+
* <ul>
|
|
3514
|
+
* <li>
|
|
3515
|
+
* <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>
|
|
3516
|
+
* </li>
|
|
3517
|
+
* <li>
|
|
3518
|
+
* <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>
|
|
3519
|
+
* </li>
|
|
3520
|
+
* </ul>
|
|
3521
|
+
*/
|
|
3522
|
+
Scope: Scope | string | undefined;
|
|
3523
|
+
}
|
|
3524
|
+
/**
|
|
3525
|
+
* @public
|
|
3526
|
+
* <p>The properties of a managed product, such as an Amazon Web Services Managed Rules rule group or an Amazon Web Services Marketplace managed rule group. </p>
|
|
3527
|
+
*/
|
|
3528
|
+
export interface ManagedProductDescriptor {
|
|
3529
|
+
/**
|
|
3530
|
+
* <p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.</p>
|
|
3531
|
+
*/
|
|
3532
|
+
VendorName?: string;
|
|
3533
|
+
/**
|
|
3534
|
+
* <p>The name of the managed rule group. For example, <code>AWSManagedRulesAnonymousIpList</code> or <code>AWSManagedRulesATPRuleSet</code>.</p>
|
|
3535
|
+
*/
|
|
3536
|
+
ManagedRuleSetName?: string;
|
|
3537
|
+
/**
|
|
3538
|
+
* <p>A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
|
|
3539
|
+
*/
|
|
3540
|
+
ProductId?: string;
|
|
3541
|
+
/**
|
|
3542
|
+
* <p>For Amazon Web Services Marketplace managed rule groups only, the link to the rule group product page. </p>
|
|
3543
|
+
*/
|
|
3544
|
+
ProductLink?: string;
|
|
3545
|
+
/**
|
|
3546
|
+
* <p>The display name for the managed rule group. For example, <code>Anonymous IP list</code> or <code>Account takeover prevention</code>.</p>
|
|
3547
|
+
*/
|
|
3548
|
+
ProductTitle?: string;
|
|
3549
|
+
/**
|
|
3550
|
+
* <p>A short description of the managed rule group.</p>
|
|
3551
|
+
*/
|
|
3552
|
+
ProductDescription?: string;
|
|
3553
|
+
/**
|
|
3554
|
+
* <p>The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide notification of changes
|
|
3555
|
+
* to the managed rule group. You can subscribe to the SNS topic to receive notifications when
|
|
3556
|
+
* the managed rule group is modified, such as for new versions and for version expiration.
|
|
3557
|
+
* For more information, see the <a href="https://docs.aws.amazon.com/sns/latest/dg/welcome.html">Amazon Simple Notification Service Developer Guide</a>.</p>
|
|
3558
|
+
*/
|
|
3559
|
+
SnsTopicArn?: string;
|
|
3560
|
+
/**
|
|
3561
|
+
* <p>Indicates whether the rule group is versioned. </p>
|
|
3562
|
+
*/
|
|
3563
|
+
IsVersioningSupported?: boolean;
|
|
3564
|
+
/**
|
|
3565
|
+
* <p>Indicates whether the rule group provides an advanced set of protections, such as the the Amazon Web Services Managed Rules rule groups that
|
|
3566
|
+
* are used for WAF intelligent threat mitigation. </p>
|
|
3567
|
+
*/
|
|
3568
|
+
IsAdvancedManagedRuleSet?: boolean;
|
|
3569
|
+
}
|
|
3570
|
+
/**
|
|
3571
|
+
* @public
|
|
3572
|
+
*/
|
|
3573
|
+
export interface DescribeAllManagedProductsResponse {
|
|
3574
|
+
/**
|
|
3575
|
+
* <p>High-level information for the Amazon Web Services Managed Rules rule groups and Amazon Web Services Marketplace managed rule groups. </p>
|
|
3576
|
+
*/
|
|
3577
|
+
ManagedProducts?: ManagedProductDescriptor[];
|
|
3578
|
+
}
|
|
3579
|
+
/**
|
|
3580
|
+
* @public
|
|
3581
|
+
*/
|
|
3582
|
+
export interface DescribeManagedProductsByVendorRequest {
|
|
3583
|
+
/**
|
|
3584
|
+
* <p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.</p>
|
|
3585
|
+
*/
|
|
3586
|
+
VendorName: string | undefined;
|
|
3587
|
+
/**
|
|
3588
|
+
* <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance. </p>
|
|
3589
|
+
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3590
|
+
* <ul>
|
|
3591
|
+
* <li>
|
|
3592
|
+
* <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>
|
|
3593
|
+
* </li>
|
|
3594
|
+
* <li>
|
|
3595
|
+
* <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>
|
|
3596
|
+
* </li>
|
|
3597
|
+
* </ul>
|
|
3598
|
+
*/
|
|
3599
|
+
Scope: Scope | string | undefined;
|
|
3600
|
+
}
|
|
3601
|
+
/**
|
|
3602
|
+
* @public
|
|
3603
|
+
*/
|
|
3604
|
+
export interface DescribeManagedProductsByVendorResponse {
|
|
3605
|
+
/**
|
|
3606
|
+
* <p>High-level information for the managed rule groups owned by the specified vendor. </p>
|
|
3607
|
+
*/
|
|
3608
|
+
ManagedProducts?: ManagedProductDescriptor[];
|
|
3609
|
+
}
|
|
3506
3610
|
/**
|
|
3507
3611
|
* @public
|
|
3508
3612
|
*/
|
|
3509
3613
|
export interface DescribeManagedRuleGroupRequest {
|
|
3510
3614
|
/**
|
|
3511
|
-
* <p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify
|
|
3615
|
+
* <p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.</p>
|
|
3512
3616
|
*/
|
|
3513
3617
|
VendorName: string | undefined;
|
|
3514
3618
|
/**
|
|
@@ -3581,7 +3685,7 @@ export interface DescribeManagedRuleGroupResponse {
|
|
|
3581
3685
|
*/
|
|
3582
3686
|
VersionName?: string;
|
|
3583
3687
|
/**
|
|
3584
|
-
* <p>The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to
|
|
3688
|
+
* <p>The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide notification of changes
|
|
3585
3689
|
* to the managed rule group. You can subscribe to the SNS topic to receive notifications when
|
|
3586
3690
|
* the managed rule group is modified, such as for new versions and for version expiration.
|
|
3587
3691
|
* For more information, see the <a href="https://docs.aws.amazon.com/sns/latest/dg/welcome.html">Amazon Simple Notification Service Developer Guide</a>.</p>
|
|
@@ -4856,11 +4960,11 @@ export interface ListAvailableManagedRuleGroupsRequest {
|
|
|
4856
4960
|
}
|
|
4857
4961
|
/**
|
|
4858
4962
|
* @public
|
|
4859
|
-
* <p>High-level information about a managed rule group, returned by <a>ListAvailableManagedRuleGroups</a>. This provides information like the name and vendor name, that you provide when you add a <a>ManagedRuleGroupStatement</a> to a web ACL. Managed rule groups include Amazon Web Services Managed Rules rule groups
|
|
4963
|
+
* <p>High-level information about a managed rule group, returned by <a>ListAvailableManagedRuleGroups</a>. This provides information like the name and vendor name, that you provide when you add a <a>ManagedRuleGroupStatement</a> to a web ACL. Managed rule groups include Amazon Web Services Managed Rules rule groups and Amazon Web Services Marketplace managed rule groups. To use any Amazon Web Services Marketplace managed rule group, first subscribe to the rule group through Amazon Web Services Marketplace. </p>
|
|
4860
4964
|
*/
|
|
4861
4965
|
export interface ManagedRuleGroupSummary {
|
|
4862
4966
|
/**
|
|
4863
|
-
* <p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify
|
|
4967
|
+
* <p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.</p>
|
|
4864
4968
|
*/
|
|
4865
4969
|
VendorName?: string;
|
|
4866
4970
|
/**
|
|
@@ -4897,7 +5001,7 @@ export interface ListAvailableManagedRuleGroupsResponse {
|
|
|
4897
5001
|
*/
|
|
4898
5002
|
export interface ListAvailableManagedRuleGroupVersionsRequest {
|
|
4899
5003
|
/**
|
|
4900
|
-
* <p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify
|
|
5004
|
+
* <p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.</p>
|
|
4901
5005
|
*/
|
|
4902
5006
|
VendorName: string | undefined;
|
|
4903
5007
|
/**
|
|
@@ -6045,7 +6149,7 @@ export interface Statement {
|
|
|
6045
6149
|
*/
|
|
6046
6150
|
export interface ManagedRuleGroupStatement {
|
|
6047
6151
|
/**
|
|
6048
|
-
* <p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify
|
|
6152
|
+
* <p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.</p>
|
|
6049
6153
|
*/
|
|
6050
6154
|
VendorName: string | undefined;
|
|
6051
6155
|
/**
|
|
@@ -14,6 +14,8 @@ import { DeletePermissionPolicyCommandInput, DeletePermissionPolicyCommandOutput
|
|
|
14
14
|
import { DeleteRegexPatternSetCommandInput, DeleteRegexPatternSetCommandOutput } from "../commands/DeleteRegexPatternSetCommand";
|
|
15
15
|
import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "../commands/DeleteRuleGroupCommand";
|
|
16
16
|
import { DeleteWebACLCommandInput, DeleteWebACLCommandOutput } from "../commands/DeleteWebACLCommand";
|
|
17
|
+
import { DescribeAllManagedProductsCommandInput, DescribeAllManagedProductsCommandOutput } from "../commands/DescribeAllManagedProductsCommand";
|
|
18
|
+
import { DescribeManagedProductsByVendorCommandInput, DescribeManagedProductsByVendorCommandOutput } from "../commands/DescribeManagedProductsByVendorCommand";
|
|
17
19
|
import { DescribeManagedRuleGroupCommandInput, DescribeManagedRuleGroupCommandOutput } from "../commands/DescribeManagedRuleGroupCommand";
|
|
18
20
|
import { DisassociateWebACLCommandInput, DisassociateWebACLCommandOutput } from "../commands/DisassociateWebACLCommand";
|
|
19
21
|
import { GenerateMobileSdkReleaseUrlCommandInput, GenerateMobileSdkReleaseUrlCommandOutput } from "../commands/GenerateMobileSdkReleaseUrlCommand";
|
|
@@ -107,6 +109,14 @@ export declare const se_DeleteRuleGroupCommand: (input: DeleteRuleGroupCommandIn
|
|
|
107
109
|
* serializeAws_json1_1DeleteWebACLCommand
|
|
108
110
|
*/
|
|
109
111
|
export declare const se_DeleteWebACLCommand: (input: DeleteWebACLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
112
|
+
/**
|
|
113
|
+
* serializeAws_json1_1DescribeAllManagedProductsCommand
|
|
114
|
+
*/
|
|
115
|
+
export declare const se_DescribeAllManagedProductsCommand: (input: DescribeAllManagedProductsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
116
|
+
/**
|
|
117
|
+
* serializeAws_json1_1DescribeManagedProductsByVendorCommand
|
|
118
|
+
*/
|
|
119
|
+
export declare const se_DescribeManagedProductsByVendorCommand: (input: DescribeManagedProductsByVendorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
110
120
|
/**
|
|
111
121
|
* serializeAws_json1_1DescribeManagedRuleGroupCommand
|
|
112
122
|
*/
|
|
@@ -311,6 +321,14 @@ export declare const de_DeleteRuleGroupCommand: (output: __HttpResponse, context
|
|
|
311
321
|
* deserializeAws_json1_1DeleteWebACLCommand
|
|
312
322
|
*/
|
|
313
323
|
export declare const de_DeleteWebACLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWebACLCommandOutput>;
|
|
324
|
+
/**
|
|
325
|
+
* deserializeAws_json1_1DescribeAllManagedProductsCommand
|
|
326
|
+
*/
|
|
327
|
+
export declare const de_DescribeAllManagedProductsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAllManagedProductsCommandOutput>;
|
|
328
|
+
/**
|
|
329
|
+
* deserializeAws_json1_1DescribeManagedProductsByVendorCommand
|
|
330
|
+
*/
|
|
331
|
+
export declare const de_DescribeManagedProductsByVendorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeManagedProductsByVendorCommandOutput>;
|
|
314
332
|
/**
|
|
315
333
|
* deserializeAws_json1_1DescribeManagedRuleGroupCommand
|
|
316
334
|
*/
|
|
@@ -55,6 +55,14 @@ import {
|
|
|
55
55
|
DeleteWebACLCommandInput,
|
|
56
56
|
DeleteWebACLCommandOutput,
|
|
57
57
|
} from "./commands/DeleteWebACLCommand";
|
|
58
|
+
import {
|
|
59
|
+
DescribeAllManagedProductsCommandInput,
|
|
60
|
+
DescribeAllManagedProductsCommandOutput,
|
|
61
|
+
} from "./commands/DescribeAllManagedProductsCommand";
|
|
62
|
+
import {
|
|
63
|
+
DescribeManagedProductsByVendorCommandInput,
|
|
64
|
+
DescribeManagedProductsByVendorCommandOutput,
|
|
65
|
+
} from "./commands/DescribeManagedProductsByVendorCommand";
|
|
58
66
|
import {
|
|
59
67
|
DescribeManagedRuleGroupCommandInput,
|
|
60
68
|
DescribeManagedRuleGroupCommandOutput,
|
|
@@ -387,6 +395,32 @@ export interface WAFV2 {
|
|
|
387
395
|
options: __HttpHandlerOptions,
|
|
388
396
|
cb: (err: any, data?: DeleteWebACLCommandOutput) => void
|
|
389
397
|
): void;
|
|
398
|
+
describeAllManagedProducts(
|
|
399
|
+
args: DescribeAllManagedProductsCommandInput,
|
|
400
|
+
options?: __HttpHandlerOptions
|
|
401
|
+
): Promise<DescribeAllManagedProductsCommandOutput>;
|
|
402
|
+
describeAllManagedProducts(
|
|
403
|
+
args: DescribeAllManagedProductsCommandInput,
|
|
404
|
+
cb: (err: any, data?: DescribeAllManagedProductsCommandOutput) => void
|
|
405
|
+
): void;
|
|
406
|
+
describeAllManagedProducts(
|
|
407
|
+
args: DescribeAllManagedProductsCommandInput,
|
|
408
|
+
options: __HttpHandlerOptions,
|
|
409
|
+
cb: (err: any, data?: DescribeAllManagedProductsCommandOutput) => void
|
|
410
|
+
): void;
|
|
411
|
+
describeManagedProductsByVendor(
|
|
412
|
+
args: DescribeManagedProductsByVendorCommandInput,
|
|
413
|
+
options?: __HttpHandlerOptions
|
|
414
|
+
): Promise<DescribeManagedProductsByVendorCommandOutput>;
|
|
415
|
+
describeManagedProductsByVendor(
|
|
416
|
+
args: DescribeManagedProductsByVendorCommandInput,
|
|
417
|
+
cb: (err: any, data?: DescribeManagedProductsByVendorCommandOutput) => void
|
|
418
|
+
): void;
|
|
419
|
+
describeManagedProductsByVendor(
|
|
420
|
+
args: DescribeManagedProductsByVendorCommandInput,
|
|
421
|
+
options: __HttpHandlerOptions,
|
|
422
|
+
cb: (err: any, data?: DescribeManagedProductsByVendorCommandOutput) => void
|
|
423
|
+
): void;
|
|
390
424
|
describeManagedRuleGroup(
|
|
391
425
|
args: DescribeManagedRuleGroupCommandInput,
|
|
392
426
|
options?: __HttpHandlerOptions
|
|
@@ -102,6 +102,14 @@ import {
|
|
|
102
102
|
DeleteWebACLCommandInput,
|
|
103
103
|
DeleteWebACLCommandOutput,
|
|
104
104
|
} from "./commands/DeleteWebACLCommand";
|
|
105
|
+
import {
|
|
106
|
+
DescribeAllManagedProductsCommandInput,
|
|
107
|
+
DescribeAllManagedProductsCommandOutput,
|
|
108
|
+
} from "./commands/DescribeAllManagedProductsCommand";
|
|
109
|
+
import {
|
|
110
|
+
DescribeManagedProductsByVendorCommandInput,
|
|
111
|
+
DescribeManagedProductsByVendorCommandOutput,
|
|
112
|
+
} from "./commands/DescribeManagedProductsByVendorCommand";
|
|
105
113
|
import {
|
|
106
114
|
DescribeManagedRuleGroupCommandInput,
|
|
107
115
|
DescribeManagedRuleGroupCommandOutput,
|
|
@@ -271,6 +279,8 @@ export type ServiceInputTypes =
|
|
|
271
279
|
| DeleteRegexPatternSetCommandInput
|
|
272
280
|
| DeleteRuleGroupCommandInput
|
|
273
281
|
| DeleteWebACLCommandInput
|
|
282
|
+
| DescribeAllManagedProductsCommandInput
|
|
283
|
+
| DescribeManagedProductsByVendorCommandInput
|
|
274
284
|
| DescribeManagedRuleGroupCommandInput
|
|
275
285
|
| DisassociateWebACLCommandInput
|
|
276
286
|
| GenerateMobileSdkReleaseUrlCommandInput
|
|
@@ -323,6 +333,8 @@ export type ServiceOutputTypes =
|
|
|
323
333
|
| DeleteRegexPatternSetCommandOutput
|
|
324
334
|
| DeleteRuleGroupCommandOutput
|
|
325
335
|
| DeleteWebACLCommandOutput
|
|
336
|
+
| DescribeAllManagedProductsCommandOutput
|
|
337
|
+
| DescribeManagedProductsByVendorCommandOutput
|
|
326
338
|
| DescribeManagedRuleGroupCommandOutput
|
|
327
339
|
| DisassociateWebACLCommandOutput
|
|
328
340
|
| GenerateMobileSdkReleaseUrlCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
DescribeAllManagedProductsRequest,
|
|
11
|
+
DescribeAllManagedProductsResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
WAFV2ClientResolvedConfig,
|
|
17
|
+
} from "../WAFV2Client";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface DescribeAllManagedProductsCommandInput
|
|
20
|
+
extends DescribeAllManagedProductsRequest {}
|
|
21
|
+
export interface DescribeAllManagedProductsCommandOutput
|
|
22
|
+
extends DescribeAllManagedProductsResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class DescribeAllManagedProductsCommand extends $Command<
|
|
25
|
+
DescribeAllManagedProductsCommandInput,
|
|
26
|
+
DescribeAllManagedProductsCommandOutput,
|
|
27
|
+
WAFV2ClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: DescribeAllManagedProductsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DescribeAllManagedProductsCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: WAFV2ClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
DescribeAllManagedProductsCommandInput,
|
|
38
|
+
DescribeAllManagedProductsCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
DescribeManagedProductsByVendorRequest,
|
|
11
|
+
DescribeManagedProductsByVendorResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
WAFV2ClientResolvedConfig,
|
|
17
|
+
} from "../WAFV2Client";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface DescribeManagedProductsByVendorCommandInput
|
|
20
|
+
extends DescribeManagedProductsByVendorRequest {}
|
|
21
|
+
export interface DescribeManagedProductsByVendorCommandOutput
|
|
22
|
+
extends DescribeManagedProductsByVendorResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class DescribeManagedProductsByVendorCommand extends $Command<
|
|
25
|
+
DescribeManagedProductsByVendorCommandInput,
|
|
26
|
+
DescribeManagedProductsByVendorCommandOutput,
|
|
27
|
+
WAFV2ClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: DescribeManagedProductsByVendorCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DescribeManagedProductsByVendorCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: WAFV2ClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
DescribeManagedProductsByVendorCommandInput,
|
|
38
|
+
DescribeManagedProductsByVendorCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -12,6 +12,8 @@ export * from "./DeletePermissionPolicyCommand";
|
|
|
12
12
|
export * from "./DeleteRegexPatternSetCommand";
|
|
13
13
|
export * from "./DeleteRuleGroupCommand";
|
|
14
14
|
export * from "./DeleteWebACLCommand";
|
|
15
|
+
export * from "./DescribeAllManagedProductsCommand";
|
|
16
|
+
export * from "./DescribeManagedProductsByVendorCommand";
|
|
15
17
|
export * from "./DescribeManagedRuleGroupCommand";
|
|
16
18
|
export * from "./DisassociateWebACLCommand";
|
|
17
19
|
export * from "./GenerateMobileSdkReleaseUrlCommand";
|
|
@@ -1024,6 +1024,30 @@ export interface DeleteWebACLRequest {
|
|
|
1024
1024
|
LockToken: string | undefined;
|
|
1025
1025
|
}
|
|
1026
1026
|
export interface DeleteWebACLResponse {}
|
|
1027
|
+
export interface DescribeAllManagedProductsRequest {
|
|
1028
|
+
Scope: Scope | string | undefined;
|
|
1029
|
+
}
|
|
1030
|
+
export interface ManagedProductDescriptor {
|
|
1031
|
+
VendorName?: string;
|
|
1032
|
+
ManagedRuleSetName?: string;
|
|
1033
|
+
ProductId?: string;
|
|
1034
|
+
ProductLink?: string;
|
|
1035
|
+
ProductTitle?: string;
|
|
1036
|
+
ProductDescription?: string;
|
|
1037
|
+
SnsTopicArn?: string;
|
|
1038
|
+
IsVersioningSupported?: boolean;
|
|
1039
|
+
IsAdvancedManagedRuleSet?: boolean;
|
|
1040
|
+
}
|
|
1041
|
+
export interface DescribeAllManagedProductsResponse {
|
|
1042
|
+
ManagedProducts?: ManagedProductDescriptor[];
|
|
1043
|
+
}
|
|
1044
|
+
export interface DescribeManagedProductsByVendorRequest {
|
|
1045
|
+
VendorName: string | undefined;
|
|
1046
|
+
Scope: Scope | string | undefined;
|
|
1047
|
+
}
|
|
1048
|
+
export interface DescribeManagedProductsByVendorResponse {
|
|
1049
|
+
ManagedProducts?: ManagedProductDescriptor[];
|
|
1050
|
+
}
|
|
1027
1051
|
export interface DescribeManagedRuleGroupRequest {
|
|
1028
1052
|
VendorName: string | undefined;
|
|
1029
1053
|
Name: string | undefined;
|