File Coverage

blib/lib/Paws/Support/Service.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::Support::Service;
2 1     1   641 use Moose;
  1         3  
  1         15  
3             has Categories => (is => 'ro', isa => 'ArrayRef[Paws::Support::Category]', request_name => 'categories', traits => ['NameInRequest']);
4             has Code => (is => 'ro', isa => 'Str', request_name => 'code', traits => ['NameInRequest']);
5             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::Support::Service
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::Support::Service object:
24              
25             $service_obj->Method(Att1 => { Categories => $value, ..., Name => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::Support::Service object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Categories
33              
34             =head1 DESCRIPTION
35              
36             Information about an AWS service returned by the DescribeServices
37             operation.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 Categories => ArrayRef[L<Paws::Support::Category>]
43              
44             A list of categories that describe the type of support issue a case
45             describes. Categories consist of a category name and a category code.
46             Category names and codes are passed to AWS Support when you call
47             CreateCase.
48              
49              
50             =head2 Code => Str
51              
52             The code for an AWS service returned by the DescribeServices response.
53             The C<name> element contains the corresponding friendly name.
54              
55              
56             =head2 Name => Str
57              
58             The friendly name for an AWS service. The C<code> element contains the
59             corresponding code.
60              
61              
62              
63             =head1 SEE ALSO
64              
65             This class forms part of L<Paws>, describing an object used in L<Paws::Support>
66              
67             =head1 BUGS and CONTRIBUTIONS
68              
69             The source code is located here: https://github.com/pplu/aws-sdk-perl
70              
71             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
72              
73             =cut
74