| 1 | |||
| 2 | package Paws::EC2::CopyFpgaImage; | ||
| 3 | use Moose; | ||
| 4 | has ClientToken => (is => 'ro', isa => 'Str'); | ||
| 5 | has Description => (is => 'ro', isa => 'Str'); | ||
| 6 | has DryRun => (is => 'ro', isa => 'Bool'); | ||
| 7 | has Name => (is => 'ro', isa => 'Str'); | ||
| 8 | has SourceFpgaImageId => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has SourceRegion => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CopyFpgaImage'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::CopyFpgaImageResult'); | ||
| 15 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::EC2::CopyFpgaImage - Arguments for method CopyFpgaImage on L<Paws::EC2> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method CopyFpgaImage on the | ||
| 27 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 28 | as arguments to method CopyFpgaImage. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopyFpgaImage. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $ec2 = Paws->service('EC2'); | ||
| 35 | my $CopyFpgaImageResult = $ec2->CopyFpgaImage( | ||
| 36 | SourceFpgaImageId => 'MyString', | ||
| 37 | SourceRegion => 'MyString', | ||
| 38 | ClientToken => 'MyString', # OPTIONAL | ||
| 39 | Description => 'MyString', # OPTIONAL | ||
| 40 | DryRun => 1, # OPTIONAL | ||
| 41 | Name => 'MyString', # OPTIONAL | ||
| 42 | ); | ||
| 43 | |||
| 44 | # Results: | ||
| 45 | my $FpgaImageId = $CopyFpgaImageResult->FpgaImageId; | ||
| 46 | |||
| 47 | # Returns a L<Paws::EC2::CopyFpgaImageResult> object. | ||
| 48 | |||
| 49 | 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. | ||
| 50 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/CopyFpgaImage> | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 ClientToken => Str | ||
| 56 | |||
| 57 | Unique, case-sensitive identifier that you provide to ensure the | ||
| 58 | idempotency of the request. For more information, see Ensuring | ||
| 59 | Idempotency | ||
| 60 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 Description => Str | ||
| 65 | |||
| 66 | The description for the new AFI. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 DryRun => Bool | ||
| 71 | |||
| 72 | Checks whether you have the required permissions for the action, | ||
| 73 | without actually making the request, and provides an error response. If | ||
| 74 | you have the required permissions, the error response is | ||
| 75 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 Name => Str | ||
| 80 | |||
| 81 | The name for the new AFI. The default is the name of the source AFI. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head2 B<REQUIRED> SourceFpgaImageId => Str | ||
| 86 | |||
| 87 | The ID of the source AFI. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head2 B<REQUIRED> SourceRegion => Str | ||
| 92 | |||
| 93 | The Region that contains the source AFI. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head1 SEE ALSO | ||
| 99 | |||
| 100 | This class forms part of L<Paws>, documenting arguments for method CopyFpgaImage in L<Paws::EC2> | ||
| 101 | |||
| 102 | =head1 BUGS and CONTRIBUTIONS | ||
| 103 | |||
| 104 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 105 | |||
| 106 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 107 | |||
| 108 | =cut | ||
| 109 |