« blib/lib/Paws/CloudSearch/UpdateDomainEndpointOptionsResponse.pm
↑ Summary
blib/lib/Paws/CloudSearch/UpdateScalingParametersResponse.pm »
| 1 | |||
| 2 | package Paws::CloudSearch::UpdateScalingParameters; | ||
| 3 | use Moose; | ||
| 4 | has DomainName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ScalingParameters => (is => 'ro', isa => 'Paws::CloudSearch::ScalingParameters', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateScalingParameters'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudSearch::UpdateScalingParametersResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'UpdateScalingParametersResult'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::CloudSearch::UpdateScalingParameters - Arguments for method UpdateScalingParameters on L<Paws::CloudSearch> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method UpdateScalingParameters on the | ||
| 23 | L<Amazon CloudSearch|Paws::CloudSearch> service. Use the attributes of this class | ||
| 24 | as arguments to method UpdateScalingParameters. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateScalingParameters. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $cloudsearch = Paws->service('CloudSearch'); | ||
| 31 | my $UpdateScalingParametersResponse = $cloudsearch->UpdateScalingParameters( | ||
| 32 | DomainName => 'MyDomainName', | ||
| 33 | ScalingParameters => { | ||
| 34 | DesiredInstanceType => 'search.m1.small' | ||
| 35 | , # values: search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge, search.m3.medium, search.m3.large, search.m3.xlarge, search.m3.2xlarge, search.small, search.medium, search.large, search.xlarge, search.2xlarge, search.previousgeneration.small, search.previousgeneration.large, search.previousgeneration.xlarge, search.previousgeneration.2xlarge; OPTIONAL | ||
| 36 | DesiredPartitionCount => 1, # OPTIONAL | ||
| 37 | DesiredReplicationCount => 1, # OPTIONAL | ||
| 38 | }, | ||
| 39 | |||
| 40 | ); | ||
| 41 | |||
| 42 | # Results: | ||
| 43 | my $ScalingParameters = $UpdateScalingParametersResponse->ScalingParameters; | ||
| 44 | |||
| 45 | # Returns a L<Paws::CloudSearch::UpdateScalingParametersResponse> object. | ||
| 46 | |||
| 47 | 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. | ||
| 48 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudsearch/UpdateScalingParameters> | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> DomainName => Str | ||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 B<REQUIRED> ScalingParameters => L<Paws::CloudSearch::ScalingParameters> | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head1 SEE ALSO | ||
| 67 | |||
| 68 | This class forms part of L<Paws>, documenting arguments for method UpdateScalingParameters 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 |