blib/lib/Paws/Support/DescribeCommunications.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Support::DescribeCommunications;
3 use Moose;
4 has AfterTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'afterTime' );
5 has BeforeTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'beforeTime' );
6 has CaseId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'caseId' , required => 1);
7 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
8 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeCommunications');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Support::DescribeCommunicationsResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Support::DescribeCommunications - Arguments for method DescribeCommunications on L<Paws::Support>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeCommunications on the
26 L<AWS Support|Paws::Support> service. Use the attributes of this class
27 as arguments to method DescribeCommunications.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeCommunications.
30  
31 =head1 SYNOPSIS
32  
33 my $support = Paws->service('Support');
34 my $DescribeCommunicationsResponse = $support->DescribeCommunications(
35 CaseId => 'MyCaseId',
36 AfterTime => 'MyAfterTime', # OPTIONAL
37 BeforeTime => 'MyBeforeTime', # OPTIONAL
38 MaxResults => 1, # OPTIONAL
39 NextToken => 'MyNextToken', # OPTIONAL
40 );
41  
42 # Results:
43 my $Communications = $DescribeCommunicationsResponse->Communications;
44 my $NextToken = $DescribeCommunicationsResponse->NextToken;
45  
46 # Returns a L<Paws::Support::DescribeCommunicationsResponse> object.
47  
48 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.
49 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/support/DescribeCommunications>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 AfterTime => Str
55  
56 The start date for a filtered date search on support case
57 communications. Case communications are available for 12 months after
58 creation.
59  
60  
61  
62 =head2 BeforeTime => Str
63  
64 The end date for a filtered date search on support case communications.
65 Case communications are available for 12 months after creation.
66  
67  
68  
69 =head2 B<REQUIRED> CaseId => Str
70  
71 The support case ID requested or returned in the call. The case ID is
72 an alphanumeric string formatted as shown in this example:
73 case-I<12345678910-2013-c4c1d2bf33c5cf47>
74  
75  
76  
77 =head2 MaxResults => Int
78  
79 The maximum number of results to return before paginating.
80  
81  
82  
83 =head2 NextToken => Str
84  
85 A resumption point for pagination.
86  
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method DescribeCommunications in L<Paws::Support>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101