blib/lib/Paws/SMS/PutAppValidationConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SMS::PutAppValidationConfiguration;
3 use Moose;
4 has AppId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'appId' , required => 1);
5 has AppValidationConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::SMS::AppValidationConfiguration]', traits => ['NameInRequest'], request_name => 'appValidationConfigurations' );
6 has ServerGroupValidationConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::SMS::ServerGroupValidationConfiguration]', traits => ['NameInRequest'], request_name => 'serverGroupValidationConfigurations' );
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutAppValidationConfiguration');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SMS::PutAppValidationConfigurationResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::SMS::PutAppValidationConfiguration - Arguments for method PutAppValidationConfiguration on L<Paws::SMS>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method PutAppValidationConfiguration on the
24 L<AWS Server Migration Service|Paws::SMS> service. Use the attributes of this class
25 as arguments to method PutAppValidationConfiguration.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutAppValidationConfiguration.
28  
29 =head1 SYNOPSIS
30  
31 my $sms = Paws->service('SMS');
32 my $PutAppValidationConfigurationResponse =
33 $sms->PutAppValidationConfiguration(
34 AppId => 'MyAppIdWithValidation',
35 AppValidationConfigurations => [
36 {
37 AppValidationStrategy => 'SSM', # values: SSM; OPTIONAL
38 Name => 'MyNonEmptyStringWithMaxLen255', # min: 1, max: 255; OPTIONAL
39 SsmValidationParameters => {
40 Command => 'MyCommand', # min: 1, max: 64000; OPTIONAL
41 ExecutionTimeoutSeconds => 1, # min: 60, max: 28800; OPTIONAL
42 InstanceId => 'MyInstanceId', # OPTIONAL
43 OutputS3BucketName => 'MyBucketName', # OPTIONAL
44 ScriptType => 'SHELL_SCRIPT'
45 , # values: SHELL_SCRIPT, POWERSHELL_SCRIPT; OPTIONAL
46 Source => {
47 S3Location => {
48 Bucket => 'MyS3BucketName', # min: 3, max: 63; OPTIONAL
49 Key => 'MyS3KeyName', # max: 1024; OPTIONAL
50 }, # OPTIONAL
51 }, # OPTIONAL
52 }, # OPTIONAL
53 ValidationId => 'MyValidationId', # OPTIONAL
54 },
55 ...
56 ], # OPTIONAL
57 ServerGroupValidationConfigurations => [
58 {
59 ServerGroupId => 'MyServerGroupId', # OPTIONAL
60 ServerValidationConfigurations => [
61 {
62 Name =>
63 'MyNonEmptyStringWithMaxLen255', # min: 1, max: 255; OPTIONAL
64 Server => {
65 ReplicationJobId => 'MyReplicationJobId', # OPTIONAL
66 ReplicationJobTerminated => 1, # OPTIONAL
67 ServerId => 'MyServerId', # OPTIONAL
68 ServerType =>
69 'VIRTUAL_MACHINE', # values: VIRTUAL_MACHINE; OPTIONAL
70 VmServer => {
71 VmManagerName => 'MyVmManagerName', # OPTIONAL
72 VmManagerType => 'VSPHERE'
73 , # values: VSPHERE, SCVMM, HYPERV-MANAGER; OPTIONAL
74 VmName => 'MyVmName', # OPTIONAL
75 VmPath => 'MyVmPath', # OPTIONAL
76 VmServerAddress => {
77 VmId => 'MyVmId', # OPTIONAL
78 VmManagerId => 'MyVmManagerId', # OPTIONAL
79 }, # OPTIONAL
80 }, # OPTIONAL
81 }, # OPTIONAL
82 ServerValidationStrategy =>
83 'USERDATA', # values: USERDATA; OPTIONAL
84 UserDataValidationParameters => {
85 ScriptType => 'SHELL_SCRIPT'
86 , # values: SHELL_SCRIPT, POWERSHELL_SCRIPT; OPTIONAL
87 Source => {
88 S3Location => {
89 Bucket => 'MyS3BucketName', # min: 3, max: 63; OPTIONAL
90 Key => 'MyS3KeyName', # max: 1024; OPTIONAL
91 }, # OPTIONAL
92 }, # OPTIONAL
93 }, # OPTIONAL
94 ValidationId => 'MyValidationId', # OPTIONAL
95 },
96 ...
97 ], # OPTIONAL
98 },
99 ...
100 ], # OPTIONAL
101 );
102  
103 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.
104 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sms/PutAppValidationConfiguration>
105  
106 =head1 ATTRIBUTES
107  
108  
109 =head2 B<REQUIRED> AppId => Str
110  
111 The ID of the application.
112  
113  
114  
115 =head2 AppValidationConfigurations => ArrayRef[L<Paws::SMS::AppValidationConfiguration>]
116  
117 The configuration for application validation.
118  
119  
120  
121 =head2 ServerGroupValidationConfigurations => ArrayRef[L<Paws::SMS::ServerGroupValidationConfiguration>]
122  
123 The configuration for instance validation.
124  
125  
126  
127  
128 =head1 SEE ALSO
129  
130 This class forms part of L<Paws>, documenting arguments for method PutAppValidationConfiguration in L<Paws::SMS>
131  
132 =head1 BUGS and CONTRIBUTIONS
133  
134 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
135  
136 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
137  
138 =cut
139