blib/lib/Paws/DynamoDBStreams/DescribeStream.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::DynamoDBStreams::DescribeStream;
3 use Moose;
4 has ExclusiveStartShardId => (is => 'ro', isa => 'Str');
5 has Limit => (is => 'ro', isa => 'Int');
6 has StreamArn => (is => 'ro', isa => 'Str', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeStream');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DynamoDBStreams::DescribeStreamOutput');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::DynamoDBStreams::DescribeStream - Arguments for method DescribeStream on L<Paws::DynamoDBStreams>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method DescribeStream on the
24 L<Amazon DynamoDB Streams|Paws::DynamoDBStreams> service. Use the attributes of this class
25 as arguments to method DescribeStream.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeStream.
28  
29 =head1 SYNOPSIS
30  
31 my $streams.dynamodb = Paws->service('DynamoDBStreams');
32 # To describe a stream with a given stream ARN
33 # The following example describes a stream with a given stream ARN.
34 my $DescribeStreamOutput =
35 $streams
36 . dynamodb->DescribeStream( 'StreamArn' =>
37 'arn:aws:dynamodb:us-west-2:111122223333:table/Forum/stream/2015-05-20T20:51:10.252'
38 );
39  
40 # Results:
41 my $StreamDescription = $DescribeStreamOutput->StreamDescription;
42  
43 # Returns a L<Paws::DynamoDBStreams::DescribeStreamOutput> object.
44  
45 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.
46 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/streams.dynamodb/DescribeStream>
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 ExclusiveStartShardId => Str
52  
53 The shard ID of the first item that this operation will evaluate. Use
54 the value that was returned for C<LastEvaluatedShardId> in the previous
55 operation.
56  
57  
58  
59 =head2 Limit => Int
60  
61 The maximum number of shard objects to return. The upper limit is 100.
62  
63  
64  
65 =head2 B<REQUIRED> StreamArn => Str
66  
67 The Amazon Resource Name (ARN) for the stream.
68  
69  
70  
71  
72 =head1 SEE ALSO
73  
74 This class forms part of L<Paws>, documenting arguments for method DescribeStream in L<Paws::DynamoDBStreams>
75  
76 =head1 BUGS and CONTRIBUTIONS
77  
78 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
79  
80 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
81  
82 =cut
83