« blib/lib/Paws/AppSync/ListTypesResponse.pm
↑ Summary
blib/lib/Paws/AppSync/MapOfStringToString.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AppSync::LogConfig; | ||
| 3 | use Moose; | ||
| 4 | has CloudWatchLogsRoleArn => (is => 'ro', isa => 'Str', request_name => 'cloudWatchLogsRoleArn', traits => ['NameInRequest'], required => 1); | ||
| 5 | has ExcludeVerboseContent => (is => 'ro', isa => 'Bool', request_name => 'excludeVerboseContent', traits => ['NameInRequest']); | ||
| 6 | has FieldLogLevel => (is => 'ro', isa => 'Str', request_name => 'fieldLogLevel', traits => ['NameInRequest'], required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::AppSync::LogConfig | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::AppSync::LogConfig object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { CloudWatchLogsRoleArn => $value, ..., FieldLogLevel => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::AppSync::LogConfig object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->CloudWatchLogsRoleArn | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | The CloudWatch Logs configuration. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 B<REQUIRED> CloudWatchLogsRoleArn => Str | ||
| 44 | |||
| 45 | The service role that AWS AppSync will assume to publish to Amazon | ||
| 46 | CloudWatch logs in your account. | ||
| 47 | |||
| 48 | |||
| 49 | =head2 ExcludeVerboseContent => Bool | ||
| 50 | |||
| 51 | Set to TRUE to exclude sections that contain information such as | ||
| 52 | headers, context, and evaluated mapping templates, regardless of | ||
| 53 | logging level. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> FieldLogLevel => Str | ||
| 57 | |||
| 58 | The field logging level. Values can be NONE, ERROR, or ALL. | ||
| 59 | |||
| 60 | =over | ||
| 61 | |||
| 62 | =item * | ||
| 63 | |||
| 64 | B<NONE>: No field-level logs are captured. | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | B<ERROR>: Logs the following information only for the fields that are | ||
| 69 | in error: | ||
| 70 | |||
| 71 | =over | ||
| 72 | |||
| 73 | =item * | ||
| 74 | |||
| 75 | The error section in the server response. | ||
| 76 | |||
| 77 | =item * | ||
| 78 | |||
| 79 | Field-level errors. | ||
| 80 | |||
| 81 | =item * | ||
| 82 | |||
| 83 | The generated request/response functions that got resolved for error | ||
| 84 | fields. | ||
| 85 | |||
| 86 | =back | ||
| 87 | |||
| 88 | =item * | ||
| 89 | |||
| 90 | B<ALL>: The following information is logged for all fields in the | ||
| 91 | query: | ||
| 92 | |||
| 93 | =over | ||
| 94 | |||
| 95 | =item * | ||
| 96 | |||
| 97 | Field-level tracing information. | ||
| 98 | |||
| 99 | =item * | ||
| 100 | |||
| 101 | The generated request/response functions that got resolved for each | ||
| 102 | field. | ||
| 103 | |||
| 104 | =back | ||
| 105 | |||
| 106 | =back | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | =head1 SEE ALSO | ||
| 112 | |||
| 113 | This class forms part of L<Paws>, describing an object used in L<Paws::AppSync> | ||
| 114 | |||
| 115 | =head1 BUGS and CONTRIBUTIONS | ||
| 116 | |||
| 117 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 118 | |||
| 119 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 120 | |||
| 121 | =cut | ||
| 122 |