blib/lib/Paws/Connect/UpdateInstanceStorageConfig.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Connect::UpdateInstanceStorageConfig;
3 use Moose;
4 has AssociationId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'AssociationId', required => 1);
5 has InstanceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'InstanceId', required => 1);
6 has ResourceType => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'resourceType', required => 1);
7 has StorageConfig => (is => 'ro', isa => 'Paws::Connect::InstanceStorageConfig', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateInstanceStorageConfig');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/instance/{InstanceId}/storage-config/{AssociationId}');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Connect::UpdateInstanceStorageConfig - Arguments for method UpdateInstanceStorageConfig on L<Paws::Connect>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method UpdateInstanceStorageConfig on the
26 L<Amazon Connect Service|Paws::Connect> service. Use the attributes of this class
27 as arguments to method UpdateInstanceStorageConfig.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateInstanceStorageConfig.
30  
31 =head1 SYNOPSIS
32  
33 my $connect = Paws->service('Connect');
34 $connect->UpdateInstanceStorageConfig(
35 AssociationId => 'MyAssociationId',
36 InstanceId => 'MyInstanceId',
37 ResourceType => 'CHAT_TRANSCRIPTS',
38 StorageConfig => {
39 StorageType => 'S3'
40 , # values: S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM, KINESIS_FIREHOSE
41 AssociationId => 'MyAssociationId', # min: 1, max: 100
42 KinesisFirehoseConfig => {
43 FirehoseArn => 'MyARN',
44  
45 }, # OPTIONAL
46 KinesisStreamConfig => {
47 StreamArn => 'MyARN',
48  
49 }, # OPTIONAL
50 KinesisVideoStreamConfig => {
51 EncryptionConfig => {
52 EncryptionType => 'KMS', # values: KMS
53 KeyId => 'MyKeyId', # min: 1, max: 128
54  
55 },
56 Prefix => 'MyPrefix', # min: 1, max: 128
57 RetentionPeriodHours => 1, # max: 87600
58  
59 }, # OPTIONAL
60 S3Config => {
61 BucketName => 'MyBucketName', # min: 1, max: 128
62 BucketPrefix => 'MyPrefix', # min: 1, max: 128
63 EncryptionConfig => {
64 EncryptionType => 'KMS', # values: KMS
65 KeyId => 'MyKeyId', # min: 1, max: 128
66  
67 },
68 }, # OPTIONAL
69 },
70  
71 );
72  
73 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.
74 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/connect/UpdateInstanceStorageConfig>
75  
76 =head1 ATTRIBUTES
77  
78  
79 =head2 B<REQUIRED> AssociationId => Str
80  
81 The existing association identifier that uniquely identifies the
82 resource type and storage config for the given instance ID.
83  
84  
85  
86 =head2 B<REQUIRED> InstanceId => Str
87  
88 The identifier of the Amazon Connect instance. You can find the
89 instanceId in the ARN of the instance.
90  
91  
92  
93 =head2 B<REQUIRED> ResourceType => Str
94  
95 A valid resource type.
96  
97 Valid values are: C<"CHAT_TRANSCRIPTS">, C<"CALL_RECORDINGS">, C<"SCHEDULED_REPORTS">, C<"MEDIA_STREAMS">, C<"CONTACT_TRACE_RECORDS">, C<"AGENT_EVENTS">
98  
99 =head2 B<REQUIRED> StorageConfig => L<Paws::Connect::InstanceStorageConfig>
100  
101  
102  
103  
104  
105  
106 =head1 SEE ALSO
107  
108 This class forms part of L<Paws>, documenting arguments for method UpdateInstanceStorageConfig in L<Paws::Connect>
109  
110 =head1 BUGS and CONTRIBUTIONS
111  
112 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
113  
114 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
115  
116 =cut
117