| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AppConfig::Validator; | ||
| 3 | use Moose; | ||
| 4 | has Content => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Type => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::AppConfig::Validator | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::AppConfig::Validator object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Content => $value, ..., Type => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::AppConfig::Validator object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Content | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | A validator provides a syntactic or semantic check to ensure the | ||
| 38 | configuration you want to deploy functions as intended. To validate | ||
| 39 | your application configuration data, you provide a schema or a Lambda | ||
| 40 | function that runs against the configuration. The configuration | ||
| 41 | deployment or update can only proceed when the configuration data is | ||
| 42 | valid. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 B<REQUIRED> Content => Str | ||
| 48 | |||
| 49 | Either the JSON Schema content or the Amazon Resource Name (ARN) of an | ||
| 50 | AWS Lambda function. | ||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> Type => Str | ||
| 54 | |||
| 55 | AppConfig supports validators of type C<JSON_SCHEMA> and C<LAMBDA> | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head1 SEE ALSO | ||
| 60 | |||
| 61 | This class forms part of L<Paws>, describing an object used in L<Paws::AppConfig> | ||
| 62 | |||
| 63 | =head1 BUGS and CONTRIBUTIONS | ||
| 64 | |||
| 65 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 66 | |||
| 67 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 68 | |||
| 69 | =cut | ||
| 70 |