| 1 | |||
| 2 | package Paws::EC2::ProvisionByoipCidr; | ||
| 3 | use Moose; | ||
| 4 | has Cidr => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has CidrAuthorizationContext => (is => 'ro', isa => 'Paws::EC2::CidrAuthorizationContext'); | ||
| 6 | has Description => (is => 'ro', isa => 'Str'); | ||
| 7 | has DryRun => (is => 'ro', isa => 'Bool'); | ||
| 8 | has MultiRegion => (is => 'ro', isa => 'Bool'); | ||
| 9 | has PoolTagSpecifications => (is => 'ro', isa => 'ArrayRef[Paws::EC2::TagSpecification]', traits => ['NameInRequest'], request_name => 'PoolTagSpecification' ); | ||
| 10 | has PubliclyAdvertisable => (is => 'ro', isa => 'Bool'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ProvisionByoipCidr'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::ProvisionByoipCidrResult'); | ||
| 16 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::EC2::ProvisionByoipCidr - Arguments for method ProvisionByoipCidr on L<Paws::EC2> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method ProvisionByoipCidr on the | ||
| 28 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 29 | as arguments to method ProvisionByoipCidr. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ProvisionByoipCidr. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $ec2 = Paws->service('EC2'); | ||
| 36 | my $ProvisionByoipCidrResult = $ec2->ProvisionByoipCidr( | ||
| 37 | Cidr => 'MyString', | ||
| 38 | CidrAuthorizationContext => { | ||
| 39 | Message => 'MyString', | ||
| 40 | Signature => 'MyString', | ||
| 41 | |||
| 42 | }, # OPTIONAL | ||
| 43 | Description => 'MyString', # OPTIONAL | ||
| 44 | DryRun => 1, # OPTIONAL | ||
| 45 | MultiRegion => 1, # OPTIONAL | ||
| 46 | PoolTagSpecifications => [ | ||
| 47 | { | ||
| 48 | ResourceType => 'client-vpn-endpoint' | ||
| 49 | , # values: client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log; OPTIONAL | ||
| 50 | Tags => [ | ||
| 51 | { | ||
| 52 | Key => 'MyString', | ||
| 53 | Value => 'MyString', | ||
| 54 | }, | ||
| 55 | ... | ||
| 56 | ], # OPTIONAL | ||
| 57 | }, | ||
| 58 | ... | ||
| 59 | ], # OPTIONAL | ||
| 60 | PubliclyAdvertisable => 1, # OPTIONAL | ||
| 61 | ); | ||
| 62 | |||
| 63 | # Results: | ||
| 64 | my $ByoipCidr = $ProvisionByoipCidrResult->ByoipCidr; | ||
| 65 | |||
| 66 | # Returns a L<Paws::EC2::ProvisionByoipCidrResult> object. | ||
| 67 | |||
| 68 | 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. | ||
| 69 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/ProvisionByoipCidr> | ||
| 70 | |||
| 71 | =head1 ATTRIBUTES | ||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> Cidr => Str | ||
| 75 | |||
| 76 | The public IPv4 or IPv6 address range, in CIDR notation. The most | ||
| 77 | specific IPv4 prefix that you can specify is /24. The most specific | ||
| 78 | IPv6 prefix you can specify is /56. The address range cannot overlap | ||
| 79 | with another address range that you've brought to this or another | ||
| 80 | Region. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 CidrAuthorizationContext => L<Paws::EC2::CidrAuthorizationContext> | ||
| 85 | |||
| 86 | A signed document that proves that you are authorized to bring the | ||
| 87 | specified IP address range to Amazon using BYOIP. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head2 Description => Str | ||
| 92 | |||
| 93 | A description for the address range and the address pool. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head2 DryRun => Bool | ||
| 98 | |||
| 99 | Checks whether you have the required permissions for the action, | ||
| 100 | without actually making the request, and provides an error response. If | ||
| 101 | you have the required permissions, the error response is | ||
| 102 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | =head2 MultiRegion => Bool | ||
| 107 | |||
| 108 | Reserved. | ||
| 109 | |||
| 110 | |||
| 111 | |||
| 112 | =head2 PoolTagSpecifications => ArrayRef[L<Paws::EC2::TagSpecification>] | ||
| 113 | |||
| 114 | The tags to apply to the address pool. | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | =head2 PubliclyAdvertisable => Bool | ||
| 119 | |||
| 120 | (IPv6 only) Indicate whether the address range will be publicly | ||
| 121 | advertised to the internet. | ||
| 122 | |||
| 123 | Default: true | ||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | =head1 SEE ALSO | ||
| 129 | |||
| 130 | This class forms part of L<Paws>, documenting arguments for method ProvisionByoipCidr in L<Paws::EC2> | ||
| 131 | |||
| 132 | =head1 BUGS and CONTRIBUTIONS | ||
| 133 | |||
| 134 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 135 | |||
| 136 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 137 | |||
| 138 | =cut | ||
| 139 |