1 2package Paws::StorageGateway::CreateTapes { 3 use Moose; 4 has ClientToken => (is => 'ro', isa => 'Str', required => 1); 5 has GatewayARN => (is => 'ro', isa => 'Str', required => 1); 6 has NumTapesToCreate => (is => 'ro', isa => 'Int', required => 1); 7 has TapeBarcodePrefix => (is => 'ro', isa => 'Str', required => 1); 8 has TapeSizeInBytes => (is => 'ro', isa => 'Int', required => 1); 9 10 use MooseX::ClassAttribute; 11 12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateTapes'); 13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::StorageGateway::CreateTapesOutput'); 14 class_has _result_key => (isa => 'Str', is => 'ro'); 15} 161; 17 18### main pod documentation begin ### 19 20=head1 NAME 21 22Paws::StorageGateway::CreateTapes - Arguments for method CreateTapes on Paws::StorageGateway 23 24=head1 DESCRIPTION 25 26This class represents the parameters used for calling the method CreateTapes on the 27AWS Storage Gateway service. Use the attributes of this class 28as arguments to method CreateTapes. 29 30You shouln't make instances of this class. Each attribute should be used as a named argument in the call to CreateTapes. 31 32As an example: 33 34 $service_obj->CreateTapes(Att1 => $value1, Att2 => $value2, ...); 35 36Values 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. 37 38=head1 ATTRIBUTES 39 40=head2 B<REQUIRED> ClientToken => Str 41 42 43 44A unique identifier that you use to retry a request. If you retry a 45request, use the same C<ClientToken> you specified in the initial 46request. 47 48Using the same C<ClientToken> prevents creating the tape multiple 49times. 50 51 52 53 54 55 56 57 58 59 60=head2 B<REQUIRED> GatewayARN => Str 61 62 63 64The unique Amazon Resource Name(ARN) that represents the gateway to 65associate the virtual tapes with. Use the ListGateways operation to 66return a list of gateways for your account and region. 67 68 69 70 71 72 73 74 75 76 77=head2 B<REQUIRED> NumTapesToCreate => Int 78 79 80 81The number of virtual tapes you want to create. 82 83 84 85 86 87 88 89 90 91 92=head2 B<REQUIRED> TapeBarcodePrefix => Str 93 94 95 96A prefix you append to the barcode of the virtual tape you are 97creating. This makes a barcode unique. 98 99The prefix must be 1 to 4 characters in length and must be upper-case 100letters A-Z. 101 102 103 104 105 106 107 108 109 110 111=head2 B<REQUIRED> TapeSizeInBytes => Int 112 113 114 115The size, in bytes, of the virtual tapes you want to create. 116 117The size must be gigabyte (1024*1024*1024 byte) aligned. 118 119 120 121 122 123 124 125 126 127 128 129 130=head1 SEE ALSO 131 132This class forms part of L<Paws>, documenting arguments for method CreateTapes in L<Paws::StorageGateway> 133 134=head1 BUGS and CONTRIBUTIONS 135 136The source code is located here: https://github.com/pplu/aws-sdk-perl 137 138Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues 139 140=cut 141 142