« blib/lib/Paws/Route53Domains/RejectDomainTransferFromAnotherAwsAccountResponse.pm
↑ Summary
blib/lib/Paws/Route53Domains/RenewDomainResponse.pm »
| 1 | |||
| 2 | package Paws::Route53Domains::RenewDomain; | ||
| 3 | use Moose; | ||
| 4 | has CurrentExpiryYear => (is => 'ro', isa => 'Int', required => 1); | ||
| 5 | has DomainName => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has DurationInYears => (is => 'ro', isa => 'Int'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'RenewDomain'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Domains::RenewDomainResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Route53Domains::RenewDomain - Arguments for method RenewDomain on L<Paws::Route53Domains> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method RenewDomain on the | ||
| 24 | L<Amazon Route 53 Domains|Paws::Route53Domains> service. Use the attributes of this class | ||
| 25 | as arguments to method RenewDomain. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RenewDomain. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $route53domains = Paws->service('Route53Domains'); | ||
| 32 | my $RenewDomainResponse = $route53domains->RenewDomain( | ||
| 33 | CurrentExpiryYear => 1, | ||
| 34 | DomainName => 'MyDomainName', | ||
| 35 | DurationInYears => 1, # OPTIONAL | ||
| 36 | ); | ||
| 37 | |||
| 38 | # Results: | ||
| 39 | my $OperationId = $RenewDomainResponse->OperationId; | ||
| 40 | |||
| 41 | # Returns a L<Paws::Route53Domains::RenewDomainResponse> object. | ||
| 42 | |||
| 43 | 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. | ||
| 44 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53domains/RenewDomain> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 B<REQUIRED> CurrentExpiryYear => Int | ||
| 50 | |||
| 51 | The year when the registration for the domain is set to expire. This | ||
| 52 | value must match the current expiration date for the domain. | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> DomainName => Str | ||
| 57 | |||
| 58 | The name of the domain that you want to renew. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 DurationInYears => Int | ||
| 63 | |||
| 64 | The number of years that you want to renew the domain for. The maximum | ||
| 65 | number of years depends on the top-level domain. For the range of valid | ||
| 66 | values for your domain, see Domains that You Can Register with Amazon | ||
| 67 | Route 53 | ||
| 68 | (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) | ||
| 69 | in the I<Amazon Route 53 Developer Guide>. | ||
| 70 | |||
| 71 | Default: 1 | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, documenting arguments for method RenewDomain in L<Paws::Route53Domains> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |