PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::Inspector::CreateAssessmentTemplate; use Moose; has AssessmentTargetArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'assessmentTargetArn' , required => 1); has AssessmentTemplateName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'assessmentTemplateName' , required => 1); has DurationInSeconds => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'durationInSeconds' , required => 1); has RulesPackageArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'rulesPackageArns' , required => 1); has UserAttributesForFindings => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::Attribute]', traits => ['NameInRequest'], request_name => 'userAttributesForFindings' ); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateAssessmentTemplate'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Inspector::CreateAssessmentTemplateResponse'); class_has _result_key => (isa => 'Str', is => 'ro'); 1; ### main pod documentation begin ### =head1 NAME Paws::Inspector::CreateAssessmentTemplate - Arguments for method CreateAssessmentTemplate on L =head1 DESCRIPTION This class represents the parameters used for calling the method CreateAssessmentTemplate on the L service. Use the attributes of this class as arguments to method CreateAssessmentTemplate. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAssessmentTemplate. =head1 SYNOPSIS my $inspector = Paws->service('Inspector'); # Create assessment template # Creates an assessment template for the assessment target that is specified by # the ARN of the assessment target. my $CreateAssessmentTemplateResponse = $inspector->CreateAssessmentTemplate( 'AssessmentTargetArn' => 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX', 'AssessmentTemplateName' => 'ExampleAssessmentTemplate', 'DurationInSeconds' => 180, 'RulesPackageArns' => ['arn:aws:inspector:us-west-2:758058086616:rulespackage/0-11B9DBXp'], 'UserAttributesForFindings' => [ { 'Key' => 'Example', 'Value' => 'example' } ] ); # Results: my $assessmentTemplateArn = $CreateAssessmentTemplateResponse->assessmentTemplateArn; # Returns a L object. 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. For the AWS API documentation, see L =head1 ATTRIBUTES =head2 B AssessmentTargetArn => Str The ARN that specifies the assessment target for which you want to create the assessment template. =head2 B AssessmentTemplateName => Str The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique. =head2 B DurationInSeconds => Int The duration of the assessment run in seconds. =head2 B RulesPackageArns => ArrayRef[Str|Undef] The ARNs that specify the rules packages that you want to attach to the assessment template. =head2 UserAttributesForFindings => ArrayRef[L] The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. An attribute is a key and value pair (an Attribute object). Within an assessment template, each key must be unique. =head1 SEE ALSO This class forms part of L, documenting arguments for method CreateAssessmentTemplate in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut