blib/lib/Paws/MQ/CreateConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::MQ::CreateConfiguration;
3 use Moose;
4 has AuthenticationStrategy => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'authenticationStrategy');
5 has EngineType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'engineType');
6 has EngineVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'engineVersion');
7 has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name');
8 has Tags => (is => 'ro', isa => 'Paws::MQ::__mapOf__string', traits => ['NameInRequest'], request_name => 'tags');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateConfiguration');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/configurations');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MQ::CreateConfigurationResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::MQ::CreateConfiguration - Arguments for method CreateConfiguration on L<Paws::MQ>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateConfiguration on the
27 L<AmazonMQ|Paws::MQ> service. Use the attributes of this class
28 as arguments to method CreateConfiguration.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateConfiguration.
31  
32 =head1 SYNOPSIS
33  
34 my $mq = Paws->service('MQ');
35 my $CreateConfigurationResponse = $mq->CreateConfiguration(
36 AuthenticationStrategy => 'SIMPLE', # OPTIONAL
37 EngineType => 'ACTIVEMQ', # OPTIONAL
38 EngineVersion => 'My__string', # OPTIONAL
39 Name => 'My__string', # OPTIONAL
40 Tags => { 'My__string' => 'My__string', }, # OPTIONAL
41 );
42  
43 # Results:
44 my $Arn = $CreateConfigurationResponse->Arn;
45 my $AuthenticationStrategy =
46 $CreateConfigurationResponse->AuthenticationStrategy;
47 my $Created = $CreateConfigurationResponse->Created;
48 my $Id = $CreateConfigurationResponse->Id;
49 my $LatestRevision = $CreateConfigurationResponse->LatestRevision;
50 my $Name = $CreateConfigurationResponse->Name;
51  
52 # Returns a L<Paws::MQ::CreateConfigurationResponse> object.
53  
54 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.
55 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mq/CreateConfiguration>
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 AuthenticationStrategy => Str
61  
62 The authentication strategy associated with the configuration.
63  
64 Valid values are: C<"SIMPLE">, C<"LDAP">
65  
66 =head2 EngineType => Str
67  
68 Required. The type of broker engine. Note: Currently, Amazon MQ
69 supports ACTIVEMQ and RABBITMQ.
70  
71 Valid values are: C<"ACTIVEMQ">, C<"RABBITMQ">
72  
73 =head2 EngineVersion => Str
74  
75 Required. The version of the broker engine. For a list of supported
76 engine versions, see
77 https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
78  
79  
80  
81 =head2 Name => Str
82  
83 Required. The name of the configuration. This value can contain only
84 alphanumeric characters, dashes, periods, underscores, and tildes (- .
85 _ ~). This value must be 1-150 characters long.
86  
87  
88  
89 =head2 Tags => L<Paws::MQ::__mapOf__string>
90  
91 Create tags when creating the configuration.
92  
93  
94  
95  
96 =head1 SEE ALSO
97  
98 This class forms part of L<Paws>, documenting arguments for method CreateConfiguration in L<Paws::MQ>
99  
100 =head1 BUGS and CONTRIBUTIONS
101  
102 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
103  
104 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
105  
106 =cut
107