|
628 | 628 | {"shape":"WAFServiceLinkedRoleErrorException"},
|
629 | 629 | {"shape":"WAFInvalidParameterException"},
|
630 | 630 | {"shape":"WAFInvalidOperationException"},
|
631 |
| - {"shape":"WAFLimitsExceededException"} |
| 631 | + {"shape":"WAFLimitsExceededException"}, |
| 632 | + {"shape":"WAFLogDestinationPermissionIssueException"} |
632 | 633 | ],
|
633 |
| - "documentation":"<p>Enables the specified <a>LoggingConfiguration</a>, to start logging from a web ACL, according to the configuration provided.</p> <p>You can access information about all traffic that WAF inspects using the following steps:</p> <ol> <li> <p>Create an Amazon Kinesis Data Firehose. </p> <p>Create the data firehose with a PUT source and in the Region that you are operating. If you are capturing logs for Amazon CloudFront, always create the firehose in US East (N. Virginia). </p> <p>Give the data firehose a name that starts with the prefix <code>aws-waf-logs-</code>. For example, <code>aws-waf-logs-us-east-2-analytics</code>.</p> <note> <p>Do not create the data firehose using a <code>Kinesis stream</code> as your source.</p> </note> </li> <li> <p>Associate that firehose to your web ACL using a <code>PutLoggingConfiguration</code> request.</p> </li> </ol> <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code> request, WAF will create a service linked role with the necessary permissions to write logs to the Amazon Kinesis Data Firehose. For more information, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/logging.html\">Logging Web ACL Traffic Information</a> in the <i>WAF Developer Guide</i>.</p> <note> <p>This operation completely replaces the mutable specifications that you already have for the logging configuration with the ones that you provide to this call. To modify the logging configuration, retrieve it by calling <a>GetLoggingConfiguration</a>, update the settings as needed, and then provide the complete logging configuration specification to this call.</p> </note>" |
| 634 | + "documentation":"<p>Enables the specified <a>LoggingConfiguration</a>, to start logging from a web ACL, according to the configuration provided.</p> <p>You can access information about all traffic that WAF inspects using the following steps:</p> <ol> <li> <p>Create your logging destination. You can use an Amazon CloudWatch Logs log group, an Amazon Simple Storage Service (Amazon S3) bucket, or an Amazon Kinesis Data Firehose. For information about configuring logging destinations and the permissions that are required for each, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/logging.html\">Logging web ACL traffic information</a> in the <i>WAF Developer Guide</i>.</p> </li> <li> <p>Associate your logging destination to your web ACL using a <code>PutLoggingConfiguration</code> request.</p> </li> </ol> <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code> request, WAF creates an additional role or policy that is required to write logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group. For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.</p> <note> <p>This operation completely replaces the mutable specifications that you already have for the logging configuration with the ones that you provide to this call. To modify the logging configuration, retrieve it by calling <a>GetLoggingConfiguration</a>, update the settings as needed, and then provide the complete logging configuration specification to this call.</p> </note>" |
634 | 635 | },
|
635 | 636 | "PutManagedRuleSetVersions":{
|
636 | 637 | "name":"PutManagedRuleSetVersions",
|
|
2480 | 2481 | },
|
2481 | 2482 | "IPAddresses":{
|
2482 | 2483 | "type":"list",
|
2483 |
| - "member":{"shape":"IPAddress"}, |
2484 |
| - "min":1 |
| 2484 | + "member":{"shape":"IPAddress"} |
2485 | 2485 | },
|
2486 | 2486 | "IPSet":{
|
2487 | 2487 | "type":"structure",
|
|
3076 | 3076 | },
|
3077 | 3077 | "LogDestinationConfigs":{
|
3078 | 3078 | "shape":"LogDestinationConfigs",
|
3079 |
| - "documentation":"<p>The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.</p>" |
| 3079 | + "documentation":"<p>The Amazon Resource Names (ARNs) of the logging destinations that you want to associate with the web ACL.</p>" |
3080 | 3080 | },
|
3081 | 3081 | "RedactedFields":{
|
3082 | 3082 | "shape":"RedactedFields",
|
3083 |
| - "documentation":"<p>The parts of the request that you want to keep out of the logs. For example, if you redact the <code>SingleHeader</code> field, the <code>HEADER</code> field in the firehose will be <code>xxx</code>. </p> <note> <p>You can specify only the following fields for redaction: <code>UriPath</code>, <code>QueryString</code>, <code>SingleHeader</code>, <code>Method</code>, and <code>JsonBody</code>.</p> </note>" |
| 3083 | + "documentation":"<p>The parts of the request that you want to keep out of the logs. For example, if you redact the <code>SingleHeader</code> field, the <code>HEADER</code> field in the logs will be <code>xxx</code>. </p> <note> <p>You can specify only the following fields for redaction: <code>UriPath</code>, <code>QueryString</code>, <code>SingleHeader</code>, <code>Method</code>, and <code>JsonBody</code>.</p> </note>" |
3084 | 3084 | },
|
3085 | 3085 | "ManagedByFirewallManager":{
|
3086 | 3086 | "shape":"Boolean",
|
|
3091 | 3091 | "documentation":"<p>Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation. </p>"
|
3092 | 3092 | }
|
3093 | 3093 | },
|
3094 |
| - "documentation":"<p>Defines an association between Amazon Kinesis Data Firehose destinations and a web ACL resource, for logging from WAF. As part of the association, you can specify parts of the standard logging fields to keep out of the logs and you can specify filters so that you log only a subset of the logging records. </p>" |
| 3094 | + "documentation":"<p>Defines an association between logging destinations and a web ACL resource, for logging from WAF. As part of the association, you can specify parts of the standard logging fields to keep out of the logs and you can specify filters so that you log only a subset of the logging records. </p> <p>For information about configuring web ACL logging destinations, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/logging.html\">Logging web ACL traffic information</a> in the <i>WAF Developer Guide</i>.</p>" |
3095 | 3095 | },
|
3096 | 3096 | "LoggingConfigurations":{
|
3097 | 3097 | "type":"list",
|
|
3411 | 3411 | "FILTER_CONDITION",
|
3412 | 3412 | "EXPIRE_TIMESTAMP",
|
3413 | 3413 | "CHANGE_PROPAGATION_STATUS",
|
3414 |
| - "ASSOCIABLE_RESOURCE" |
| 3414 | + "ASSOCIABLE_RESOURCE", |
| 3415 | + "LOG_DESTINATION" |
3415 | 3416 | ]
|
3416 | 3417 | },
|
3417 | 3418 | "ParameterExceptionParameter":{
|
|
4732 | 4733 | "documentation":"<p>WAF couldn’t perform the operation because you exceeded your resource limit. For example, the maximum number of <code>WebACL</code> objects that you can create for an Amazon Web Services account. For more information, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">WAF quotas</a> in the <i>WAF Developer Guide</i>.</p>",
|
4733 | 4734 | "exception":true
|
4734 | 4735 | },
|
| 4736 | + "WAFLogDestinationPermissionIssueException":{ |
| 4737 | + "type":"structure", |
| 4738 | + "members":{ |
| 4739 | + "Message":{"shape":"ErrorMessage"} |
| 4740 | + }, |
| 4741 | + "documentation":"<p>The operation failed because you don't have the permissions that your logging configuration requires. For information, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/logging.html\">Logging web ACL traffic information</a> in the <i>WAF Developer Guide</i>.</p>", |
| 4742 | + "exception":true |
| 4743 | + }, |
4735 | 4744 | "WAFNonexistentItemException":{
|
4736 | 4745 | "type":"structure",
|
4737 | 4746 | "members":{
|
|
0 commit comments