blib/lib/Paws/ApplicationMigration/UpdateLaunchConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ApplicationMigration::UpdateLaunchConfiguration;
3 use Moose;
4 has CopyPrivateIp => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'copyPrivateIp');
5 has CopyTags => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'copyTags');
6 has LaunchDisposition => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'launchDisposition');
7 has Licensing => (is => 'ro', isa => 'Paws::ApplicationMigration::Licensing', traits => ['NameInRequest'], request_name => 'licensing');
8 has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name');
9 has SourceServerID => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sourceServerID', required => 1);
10 has TargetInstanceTypeRightSizingMethod => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'targetInstanceTypeRightSizingMethod');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateLaunchConfiguration');
15 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/UpdateLaunchConfiguration');
16 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApplicationMigration::LaunchConfiguration');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::ApplicationMigration::UpdateLaunchConfiguration - Arguments for method UpdateLaunchConfiguration on L<Paws::ApplicationMigration>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method UpdateLaunchConfiguration on the
29 L<Application Migration Service|Paws::ApplicationMigration> service. Use the attributes of this class
30 as arguments to method UpdateLaunchConfiguration.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateLaunchConfiguration.
33  
34 =head1 SYNOPSIS
35  
36 my $mgn = Paws->service('ApplicationMigration');
37 my $LaunchConfiguration = $mgn->UpdateLaunchConfiguration(
38 SourceServerID => 'MySourceServerID',
39 CopyPrivateIp => 1, # OPTIONAL
40 CopyTags => 1, # OPTIONAL
41 LaunchDisposition => 'STOPPED', # OPTIONAL
42 Licensing => { OsByol => 1, }, # OPTIONAL
43 Name => 'MySmallBoundedString', # OPTIONAL
44 TargetInstanceTypeRightSizingMethod => 'NONE', # OPTIONAL
45 );
46  
47 # Results:
48 my $CopyPrivateIp = $LaunchConfiguration->CopyPrivateIp;
49 my $CopyTags = $LaunchConfiguration->CopyTags;
50 my $Ec2LaunchTemplateID = $LaunchConfiguration->Ec2LaunchTemplateID;
51 my $LaunchDisposition = $LaunchConfiguration->LaunchDisposition;
52 my $Licensing = $LaunchConfiguration->Licensing;
53 my $Name = $LaunchConfiguration->Name;
54 my $SourceServerID = $LaunchConfiguration->SourceServerID;
55 my $TargetInstanceTypeRightSizingMethod =
56 $LaunchConfiguration->TargetInstanceTypeRightSizingMethod;
57  
58 # Returns a L<Paws::ApplicationMigration::LaunchConfiguration> object.
59  
60 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.
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mgn/UpdateLaunchConfiguration>
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 CopyPrivateIp => Bool
67  
68 Update Launch configuration copy Private IP request.
69  
70  
71  
72 =head2 CopyTags => Bool
73  
74 Update Launch configuration copy Tags request.
75  
76  
77  
78 =head2 LaunchDisposition => Str
79  
80 Update Launch configuration launch disposition request.
81  
82 Valid values are: C<"STOPPED">, C<"STARTED">
83  
84 =head2 Licensing => L<Paws::ApplicationMigration::Licensing>
85  
86 Update Launch configuration licensing request.
87  
88  
89  
90 =head2 Name => Str
91  
92 Update Launch configuration name request.
93  
94  
95  
96 =head2 B<REQUIRED> SourceServerID => Str
97  
98 Update Launch configuration by Source Server ID request.
99  
100  
101  
102 =head2 TargetInstanceTypeRightSizingMethod => Str
103  
104 Update Launch configuration Target instance right sizing request.
105  
106 Valid values are: C<"NONE">, C<"BASIC">
107  
108  
109 =head1 SEE ALSO
110  
111 This class forms part of L<Paws>, documenting arguments for method UpdateLaunchConfiguration in L<Paws::ApplicationMigration>
112  
113 =head1 BUGS and CONTRIBUTIONS
114  
115 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
116  
117 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
118  
119 =cut
120