File Coverage

blib/lib/Paws/GameLift/CreateBuild.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::GameLift::CreateBuild;
3 1     1   416 use Moose;
  1         3  
  1         6  
4             has Name => (is => 'ro', isa => 'Str');
5             has OperatingSystem => (is => 'ro', isa => 'Str');
6             has StorageLocation => (is => 'ro', isa => 'Paws::GameLift::S3Location');
7             has Version => (is => 'ro', isa => 'Str');
8              
9 1     1   6221 use MooseX::ClassAttribute;
  1         2  
  1         9  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateBuild');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::GameLift::CreateBuildOutput');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::GameLift::CreateBuild - Arguments for method CreateBuild on Paws::GameLift
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method CreateBuild on the
25             Amazon GameLift service. Use the attributes of this class
26             as arguments to method CreateBuild.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateBuild.
29              
30             As an example:
31              
32             $service_obj->CreateBuild(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 Name => Str
40              
41             Descriptive label that is associated with a build. Build names do not
42             need to be unique. You can use UpdateBuild to change this value later.
43              
44              
45              
46             =head2 OperatingSystem => Str
47              
48             Operating system that the game server binaries are built to run on.
49             This value determines the type of fleet resources that you can use for
50             this build. If your game build contains multiple executables, they all
51             must run on the same operating system.
52              
53             Valid values are: C<"WINDOWS_2012">, C<"AMAZON_LINUX">
54              
55             =head2 StorageLocation => L<Paws::GameLift::S3Location>
56              
57             Amazon S3 location of the game build files to be uploaded. The S3
58             bucket must be owned by the same AWS account that you're using to
59             manage Amazon GameLift. It also must in the same region that you want
60             to create a new build in. Before calling C<CreateBuild> with this
61             location, you must allow Amazon GameLift to access your Amazon S3
62             bucket (see Create a Build with Files in Amazon S3).
63              
64              
65              
66             =head2 Version => Str
67              
68             Version that is associated with this build. Version strings do not need
69             to be unique. You can use UpdateBuild to change this value later.
70              
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, documenting arguments for method CreateBuild in L<Paws::GameLift>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85