File Coverage

blib/lib/Paws/ES/CreateElasticsearchDomain.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::ES::CreateElasticsearchDomain;
3 1     1   572 use Moose;
  1         3  
  1         10  
4             has AccessPolicies => (is => 'ro', isa => 'Str');
5             has AdvancedOptions => (is => 'ro', isa => 'Paws::ES::AdvancedOptions');
6             has DomainName => (is => 'ro', isa => 'Str', required => 1);
7             has EBSOptions => (is => 'ro', isa => 'Paws::ES::EBSOptions');
8             has ElasticsearchClusterConfig => (is => 'ro', isa => 'Paws::ES::ElasticsearchClusterConfig');
9             has ElasticsearchVersion => (is => 'ro', isa => 'Str');
10             has SnapshotOptions => (is => 'ro', isa => 'Paws::ES::SnapshotOptions');
11              
12 1     1   6885 use MooseX::ClassAttribute;
  1         3  
  1         9  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateElasticsearchDomain');
15             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2015-01-01/es/domain');
16             class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ES::CreateElasticsearchDomainResponse');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::ES::CreateElasticsearchDomain - Arguments for method CreateElasticsearchDomain on Paws::ES
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method CreateElasticsearchDomain on the
30             Amazon Elasticsearch Service service. Use the attributes of this class
31             as arguments to method CreateElasticsearchDomain.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateElasticsearchDomain.
34              
35             As an example:
36              
37             $service_obj->CreateElasticsearchDomain(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 AccessPolicies => Str
45              
46             IAM access policy as a JSON-formatted string.
47              
48              
49              
50             =head2 AdvancedOptions => L<Paws::ES::AdvancedOptions>
51              
52             Option to allow references to indices in an HTTP request body. Must be
53             C<false> when configuring access to individual sub-resources. By
54             default, the value is C<true>. See Configuration Advanced Options for
55             more information.
56              
57              
58              
59             =head2 B<REQUIRED> DomainName => Str
60              
61             The name of the Elasticsearch domain that you are creating. Domain
62             names are unique across the domains owned by an account within an AWS
63             region. Domain names must start with a letter or number and can contain
64             the following characters: a-z (lowercase), 0-9, and - (hyphen).
65              
66              
67              
68             =head2 EBSOptions => L<Paws::ES::EBSOptions>
69              
70             Options to enable, disable and specify the type and size of EBS storage
71             volumes.
72              
73              
74              
75             =head2 ElasticsearchClusterConfig => L<Paws::ES::ElasticsearchClusterConfig>
76              
77             Configuration options for an Elasticsearch domain. Specifies the
78             instance type and number of instances in the domain cluster.
79              
80              
81              
82             =head2 ElasticsearchVersion => Str
83              
84             String of format X.Y to specify version for the Elasticsearch domain
85             eg. "1.5" or "2.3". For more information, see Creating Elasticsearch
86             Domains in the I<Amazon Elasticsearch Service Developer Guide>.
87              
88              
89              
90             =head2 SnapshotOptions => L<Paws::ES::SnapshotOptions>
91              
92             Option to set time, in UTC format, of the daily automated snapshot.
93             Default value is 0 hours.
94              
95              
96              
97              
98             =head1 SEE ALSO
99              
100             This class forms part of L<Paws>, documenting arguments for method CreateElasticsearchDomain in L<Paws::ES>
101              
102             =head1 BUGS and CONTRIBUTIONS
103              
104             The source code is located here: https://github.com/pplu/aws-sdk-perl
105              
106             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
107              
108             =cut
109