« blib/lib/Paws/CloudSearch/TextOptions.pm
↑ Summary
blib/lib/Paws/CloudSearch/UpdateAvailabilityOptionsResponse.pm »
| 1 | |||
| 2 | package Paws::CloudSearch::UpdateAvailabilityOptions; | ||
| 3 | use Moose; | ||
| 4 | has DomainName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has MultiAZ => (is => 'ro', isa => 'Bool', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAvailabilityOptions'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudSearch::UpdateAvailabilityOptionsResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'UpdateAvailabilityOptionsResult'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::CloudSearch::UpdateAvailabilityOptions - Arguments for method UpdateAvailabilityOptions on L<Paws::CloudSearch> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method UpdateAvailabilityOptions on the | ||
| 23 | L<Amazon CloudSearch|Paws::CloudSearch> service. Use the attributes of this class | ||
| 24 | as arguments to method UpdateAvailabilityOptions. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAvailabilityOptions. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $cloudsearch = Paws->service('CloudSearch'); | ||
| 31 | my $UpdateAvailabilityOptionsResponse = | ||
| 32 | $cloudsearch->UpdateAvailabilityOptions( | ||
| 33 | DomainName => 'MyDomainName', | ||
| 34 | MultiAZ => 1, | ||
| 35 | |||
| 36 | ); | ||
| 37 | |||
| 38 | # Results: | ||
| 39 | my $AvailabilityOptions = | ||
| 40 | $UpdateAvailabilityOptionsResponse->AvailabilityOptions; | ||
| 41 | |||
| 42 | # Returns a L<Paws::CloudSearch::UpdateAvailabilityOptionsResponse> object. | ||
| 43 | |||
| 44 | 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. | ||
| 45 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudsearch/UpdateAvailabilityOptions> | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> DomainName => Str | ||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> MultiAZ => Bool | ||
| 57 | |||
| 58 | You expand an existing search domain to a second Availability Zone by | ||
| 59 | setting the Multi-AZ option to true. Similarly, you can turn off the | ||
| 60 | Multi-AZ option to downgrade the domain to a single Availability Zone | ||
| 61 | by setting the Multi-AZ option to C<false>. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head1 SEE ALSO | ||
| 67 | |||
| 68 | This class forms part of L<Paws>, documenting arguments for method UpdateAvailabilityOptions in L<Paws::CloudSearch> | ||
| 69 | |||
| 70 | =head1 BUGS and CONTRIBUTIONS | ||
| 71 | |||
| 72 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 73 | |||
| 74 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 75 | |||
| 76 | =cut | ||
| 77 |