AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Modify response logging options for AWS service requests.

Syntax

Set-AWSResponseLogging
-Level <String>

Description

Modify when to produce log entries.

Parameters

-Level <String>
When to log responses.
Required?False
Position?1
Accept pipeline input?True (ByPropertyName)

Outputs

None
This cmdlet does not produce any output.

Examples

Example 1

Set-AWSResponseLogging -Level Always
Enables logging of all service responses configured in the attached listeners. Other values for the -Level parameter are 'Never', which turns off logging and 'OnError' which logs only error responses.

Supported Version

AWS Tools for PowerShell: 2.x.y.z