File Coverage

blib/lib/Paws/Lightsail/Domain.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Lightsail::Domain;
2 1     1   501 use Moose;
  1         3  
  1         9  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
5             has DomainEntries => (is => 'ro', isa => 'ArrayRef[Paws::Lightsail::DomainEntry]', request_name => 'domainEntries', traits => ['NameInRequest']);
6             has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']);
7             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
8             has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']);
9             has SupportCode => (is => 'ro', isa => 'Str', request_name => 'supportCode', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::Lightsail::Domain
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::Lightsail::Domain object:
28              
29             $service_obj->Method(Att1 => { Arn => $value, ..., SupportCode => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::Domain object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->Arn
37              
38             =head1 DESCRIPTION
39              
40             Describes a domain where you are storing recordsets in Lightsail.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Arn => Str
46              
47             The Amazon Resource Name (ARN) of the domain recordset (e.g.,
48             C<arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE>).
49              
50              
51             =head2 CreatedAt => Str
52              
53             The date when the domain recordset was created.
54              
55              
56             =head2 DomainEntries => ArrayRef[L<Paws::Lightsail::DomainEntry>]
57              
58             An array of key-value pairs containing information about the domain
59             entries.
60              
61              
62             =head2 Location => L<Paws::Lightsail::ResourceLocation>
63              
64             The AWS Region and Availability Zones where the domain recordset was
65             created.
66              
67              
68             =head2 Name => Str
69              
70             The name of the domain.
71              
72              
73             =head2 ResourceType => Str
74              
75             The resource type.
76              
77              
78             =head2 SupportCode => Str
79              
80             The support code. Include this code in your email to support when you
81             have questions about an instance or another resource in Lightsail. This
82             code enables our support team to look up your Lightsail information
83             more easily.
84              
85              
86              
87             =head1 SEE ALSO
88              
89             This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
90              
91             =head1 BUGS and CONTRIBUTIONS
92              
93             The source code is located here: https://github.com/pplu/aws-sdk-perl
94              
95             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
96              
97             =cut
98