« blib/lib/Paws/FraudDetector/CreateDetectorVersionResult.pm
↑ Summary
blib/lib/Paws/FraudDetector/CreateModelResult.pm »
| 1 | |||
| 2 | package Paws::FraudDetector::CreateModel; | ||
| 3 | use Moose; | ||
| 4 | has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' ); | ||
| 5 | has EventTypeName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'eventTypeName' , required => 1); | ||
| 6 | has ModelId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'modelId' , required => 1); | ||
| 7 | has ModelType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'modelType' , required => 1); | ||
| 8 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::FraudDetector::Tag]', traits => ['NameInRequest'], request_name => 'tags' ); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateModel'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::FraudDetector::CreateModelResult'); | ||
| 14 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::FraudDetector::CreateModel - Arguments for method CreateModel on L<Paws::FraudDetector> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method CreateModel on the | ||
| 26 | L<Amazon Fraud Detector|Paws::FraudDetector> service. Use the attributes of this class | ||
| 27 | as arguments to method CreateModel. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateModel. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $frauddetector = Paws->service('FraudDetector'); | ||
| 34 | my $CreateModelResult = $frauddetector->CreateModel( | ||
| 35 | EventTypeName => 'Mystring', | ||
| 36 | ModelId => 'MymodelIdentifier', | ||
| 37 | ModelType => 'ONLINE_FRAUD_INSIGHTS', | ||
| 38 | Description => 'Mydescription', # OPTIONAL | ||
| 39 | Tags => [ | ||
| 40 | { | ||
| 41 | Key => 'MytagKey', # min: 1, max: 128 | ||
| 42 | Value => 'MytagValue', # max: 256 | ||
| 43 | |||
| 44 | }, | ||
| 45 | ... | ||
| 46 | ], # OPTIONAL | ||
| 47 | ); | ||
| 48 | |||
| 49 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 50 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/frauddetector/CreateModel> | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 Description => Str | ||
| 56 | |||
| 57 | The model description. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> EventTypeName => Str | ||
| 62 | |||
| 63 | The name of the event type. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> ModelId => Str | ||
| 68 | |||
| 69 | The model ID. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> ModelType => Str | ||
| 74 | |||
| 75 | The model type. | ||
| 76 | |||
| 77 | Valid values are: C<"ONLINE_FRAUD_INSIGHTS"> | ||
| 78 | |||
| 79 | =head2 Tags => ArrayRef[L<Paws::FraudDetector::Tag>] | ||
| 80 | |||
| 81 | A collection of key and value pairs. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head1 SEE ALSO | ||
| 87 | |||
| 88 | This class forms part of L<Paws>, documenting arguments for method CreateModel in L<Paws::FraudDetector> | ||
| 89 | |||
| 90 | =head1 BUGS and CONTRIBUTIONS | ||
| 91 | |||
| 92 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 93 | |||
| 94 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 95 | |||
| 96 | =cut | ||
| 97 |