blib/lib/Paws/ES/DescribeElasticsearchInstanceTypeLimits.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ES::DescribeElasticsearchInstanceTypeLimits;
3 use Moose;
4 has DomainName => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'domainName');
5 has ElasticsearchVersion => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'ElasticsearchVersion', required => 1);
6 has InstanceType => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'InstanceType', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeElasticsearchInstanceTypeLimits');
11 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2015-01-01/es/instanceTypeLimits/{ElasticsearchVersion}/{InstanceType}');
12 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ES::DescribeElasticsearchInstanceTypeLimitsResponse');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::ES::DescribeElasticsearchInstanceTypeLimits - Arguments for method DescribeElasticsearchInstanceTypeLimits on L<Paws::ES>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DescribeElasticsearchInstanceTypeLimits on the
25 L<Amazon Elasticsearch Service|Paws::ES> service. Use the attributes of this class
26 as arguments to method DescribeElasticsearchInstanceTypeLimits.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeElasticsearchInstanceTypeLimits.
29  
30 =head1 SYNOPSIS
31  
32 my $es = Paws->service('ES');
33 my $DescribeElasticsearchInstanceTypeLimitsResponse =
34 $es->DescribeElasticsearchInstanceTypeLimits(
35 ElasticsearchVersion => 'MyElasticsearchVersionString',
36 InstanceType => 'm3.medium.elasticsearch',
37 DomainName => 'MyDomainName', # OPTIONAL
38 );
39  
40 # Results:
41 my $LimitsByRole =
42 $DescribeElasticsearchInstanceTypeLimitsResponse->LimitsByRole;
43  
44 # Returns a L<Paws::ES::DescribeElasticsearchInstanceTypeLimitsResponse> object.
45  
46 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.
47 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/es/DescribeElasticsearchInstanceTypeLimits>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 DomainName => Str
53  
54 DomainName represents the name of the Domain that we are trying to
55 modify. This should be present only if we are querying for
56 Elasticsearch C< Limits > for existing domain.
57  
58  
59  
60 =head2 B<REQUIRED> ElasticsearchVersion => Str
61  
62 Version of Elasticsearch for which C< Limits > are needed.
63  
64  
65  
66 =head2 B<REQUIRED> InstanceType => Str
67  
68 The instance type for an Elasticsearch cluster for which Elasticsearch
69 C< Limits > are needed.
70  
71 Valid values are: C<"m3.medium.elasticsearch">, C<"m3.large.elasticsearch">, C<"m3.xlarge.elasticsearch">, C<"m3.2xlarge.elasticsearch">, C<"m4.large.elasticsearch">, C<"m4.xlarge.elasticsearch">, C<"m4.2xlarge.elasticsearch">, C<"m4.4xlarge.elasticsearch">, C<"m4.10xlarge.elasticsearch">, C<"m5.large.elasticsearch">, C<"m5.xlarge.elasticsearch">, C<"m5.2xlarge.elasticsearch">, C<"m5.4xlarge.elasticsearch">, C<"m5.12xlarge.elasticsearch">, C<"r5.large.elasticsearch">, C<"r5.xlarge.elasticsearch">, C<"r5.2xlarge.elasticsearch">, C<"r5.4xlarge.elasticsearch">, C<"r5.12xlarge.elasticsearch">, C<"c5.large.elasticsearch">, C<"c5.xlarge.elasticsearch">, C<"c5.2xlarge.elasticsearch">, C<"c5.4xlarge.elasticsearch">, C<"c5.9xlarge.elasticsearch">, C<"c5.18xlarge.elasticsearch">, C<"ultrawarm1.medium.elasticsearch">, C<"ultrawarm1.large.elasticsearch">, C<"t2.micro.elasticsearch">, C<"t2.small.elasticsearch">, C<"t2.medium.elasticsearch">, C<"r3.large.elasticsearch">, C<"r3.xlarge.elasticsearch">, C<"r3.2xlarge.elasticsearch">, C<"r3.4xlarge.elasticsearch">, C<"r3.8xlarge.elasticsearch">, C<"i2.xlarge.elasticsearch">, C<"i2.2xlarge.elasticsearch">, C<"d2.xlarge.elasticsearch">, C<"d2.2xlarge.elasticsearch">, C<"d2.4xlarge.elasticsearch">, C<"d2.8xlarge.elasticsearch">, C<"c4.large.elasticsearch">, C<"c4.xlarge.elasticsearch">, C<"c4.2xlarge.elasticsearch">, C<"c4.4xlarge.elasticsearch">, C<"c4.8xlarge.elasticsearch">, C<"r4.large.elasticsearch">, C<"r4.xlarge.elasticsearch">, C<"r4.2xlarge.elasticsearch">, C<"r4.4xlarge.elasticsearch">, C<"r4.8xlarge.elasticsearch">, C<"r4.16xlarge.elasticsearch">, C<"i3.large.elasticsearch">, C<"i3.xlarge.elasticsearch">, C<"i3.2xlarge.elasticsearch">, C<"i3.4xlarge.elasticsearch">, C<"i3.8xlarge.elasticsearch">, C<"i3.16xlarge.elasticsearch">
72  
73  
74 =head1 SEE ALSO
75  
76 This class forms part of L<Paws>, documenting arguments for method DescribeElasticsearchInstanceTypeLimits in L<Paws::ES>
77  
78 =head1 BUGS and CONTRIBUTIONS
79  
80 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
81  
82 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
83  
84 =cut
85