blib/lib/Paws/RDS/StartActivityStream.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RDS::StartActivityStream;
3 use Moose;
4 has ApplyImmediately => (is => 'ro', isa => 'Bool');
5 has EngineNativeAuditFieldsIncluded => (is => 'ro', isa => 'Bool');
6 has KmsKeyId => (is => 'ro', isa => 'Str', required => 1);
7 has Mode => (is => 'ro', isa => 'Str', required => 1);
8 has ResourceArn => (is => 'ro', isa => 'Str', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartActivityStream');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::StartActivityStreamResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro', default => 'StartActivityStreamResult');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::RDS::StartActivityStream - Arguments for method StartActivityStream on L<Paws::RDS>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method StartActivityStream on the
26 L<Amazon Relational Database Service|Paws::RDS> service. Use the attributes of this class
27 as arguments to method StartActivityStream.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartActivityStream.
30  
31 =head1 SYNOPSIS
32  
33 my $rds = Paws->service('RDS');
34 my $StartActivityStreamResponse = $rds->StartActivityStream(
35 KmsKeyId => 'MyString',
36 Mode => 'sync',
37 ResourceArn => 'MyString',
38 ApplyImmediately => 1, # OPTIONAL
39 EngineNativeAuditFieldsIncluded => 1, # OPTIONAL
40 );
41  
42 # Results:
43 my $ApplyImmediately = $StartActivityStreamResponse->ApplyImmediately;
44 my $EngineNativeAuditFieldsIncluded =
45 $StartActivityStreamResponse->EngineNativeAuditFieldsIncluded;
46 my $KinesisStreamName = $StartActivityStreamResponse->KinesisStreamName;
47 my $KmsKeyId = $StartActivityStreamResponse->KmsKeyId;
48 my $Mode = $StartActivityStreamResponse->Mode;
49 my $Status = $StartActivityStreamResponse->Status;
50  
51 # Returns a L<Paws::RDS::StartActivityStreamResponse> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rds/StartActivityStream>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 ApplyImmediately => Bool
60  
61 Specifies whether or not the database activity stream is to start as
62 soon as possible, regardless of the maintenance window for the
63 database.
64  
65  
66  
67 =head2 EngineNativeAuditFieldsIncluded => Bool
68  
69 Specifies whether the database activity stream includes engine-native
70 audit fields. This option only applies to an Oracle DB instance. By
71 default, no engine-native audit fields are included.
72  
73  
74  
75 =head2 B<REQUIRED> KmsKeyId => Str
76  
77 The Amazon Web Services KMS key identifier for encrypting messages in
78 the database activity stream. The Amazon Web Services KMS key
79 identifier is the key ARN, key ID, alias ARN, or alias name for the
80 Amazon Web Services KMS customer master key (CMK).
81  
82  
83  
84 =head2 B<REQUIRED> Mode => Str
85  
86 Specifies the mode of the database activity stream. Database events
87 such as a change or access generate an activity stream event. The
88 database session can handle these events either synchronously or
89 asynchronously.
90  
91 Valid values are: C<"sync">, C<"async">
92  
93 =head2 B<REQUIRED> ResourceArn => Str
94  
95 The Amazon Resource Name (ARN) of the DB cluster, for example,
96 C<arn:aws:rds:us-east-1:12345667890:cluster:das-cluster>.
97  
98  
99  
100  
101 =head1 SEE ALSO
102  
103 This class forms part of L<Paws>, documenting arguments for method StartActivityStream in L<Paws::RDS>
104  
105 =head1 BUGS and CONTRIBUTIONS
106  
107 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
108  
109 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
110  
111 =cut
112