File Coverage

blib/lib/Paws/Support/CreateCase.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::Support::CreateCase;
3 1     1   649 use Moose;
  1         3  
  1         9  
4             has AttachmentSetId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'attachmentSetId' );
5             has CategoryCode => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'categoryCode' );
6             has CcEmailAddresses => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ccEmailAddresses' );
7             has CommunicationBody => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'communicationBody' , required => 1);
8             has IssueType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'issueType' );
9             has Language => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'language' );
10             has ServiceCode => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'serviceCode' );
11             has SeverityCode => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'severityCode' );
12             has Subject => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'subject' , required => 1);
13              
14 1     1   7093 use MooseX::ClassAttribute;
  1         4  
  1         10  
15              
16             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateCase');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Support::CreateCaseResponse');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::Support::CreateCase - Arguments for method CreateCase on Paws::Support
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method CreateCase on the
30             AWS Support service. Use the attributes of this class
31             as arguments to method CreateCase.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCase.
34              
35             As an example:
36              
37             $service_obj->CreateCase(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 AttachmentSetId => Str
45              
46             The ID of a set of one or more attachments for the case. Create the set
47             by using AddAttachmentsToSet.
48              
49              
50              
51             =head2 CategoryCode => Str
52              
53             The category of problem for the AWS Support case.
54              
55              
56              
57             =head2 CcEmailAddresses => ArrayRef[Str|Undef]
58              
59             A list of email addresses that AWS Support copies on case
60             correspondence.
61              
62              
63              
64             =head2 B<REQUIRED> CommunicationBody => Str
65              
66             The communication body text when you create an AWS Support case by
67             calling CreateCase.
68              
69              
70              
71             =head2 IssueType => Str
72              
73             The type of issue for the case. You can specify either
74             "customer-service" or "technical." If you do not indicate a value, the
75             default is "technical."
76              
77              
78              
79             =head2 Language => Str
80              
81             The ISO 639-1 code for the language in which AWS provides support. AWS
82             Support currently supports English ("en") and Japanese ("ja"). Language
83             parameters must be passed explicitly for operations that take them.
84              
85              
86              
87             =head2 ServiceCode => Str
88              
89             The code for the AWS service returned by the call to DescribeServices.
90              
91              
92              
93             =head2 SeverityCode => Str
94              
95             The code for the severity level returned by the call to
96             DescribeSeverityLevels.
97              
98             The availability of severity levels depends on each customer's support
99             subscription. In other words, your subscription may not necessarily
100             require the urgent level of response time.
101              
102              
103              
104             =head2 B<REQUIRED> Subject => Str
105              
106             The title of the AWS Support case.
107              
108              
109              
110              
111             =head1 SEE ALSO
112              
113             This class forms part of L<Paws>, documenting arguments for method CreateCase in L<Paws::Support>
114              
115             =head1 BUGS and CONTRIBUTIONS
116              
117             The source code is located here: https://github.com/pplu/aws-sdk-perl
118              
119             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
120              
121             =cut
122