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