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

filter: Statementstmt 0.0% 0 / 41 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 42 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MQ::CreateBrokerInput;
3 use Moose;
4 has AuthenticationStrategy => (is => 'ro', isa => 'Str', request_name => 'authenticationStrategy', traits => ['NameInRequest']);
5 has AutoMinorVersionUpgrade => (is => 'ro', isa => 'Bool', request_name => 'autoMinorVersionUpgrade', traits => ['NameInRequest']);
6 has BrokerName => (is => 'ro', isa => 'Str', request_name => 'brokerName', traits => ['NameInRequest']);
7 has Configuration => (is => 'ro', isa => 'Paws::MQ::ConfigurationId', request_name => 'configuration', traits => ['NameInRequest']);
8 has CreatorRequestId => (is => 'ro', isa => 'Str', request_name => 'creatorRequestId', traits => ['NameInRequest']);
9 has DeploymentMode => (is => 'ro', isa => 'Str', request_name => 'deploymentMode', traits => ['NameInRequest']);
10 has EncryptionOptions => (is => 'ro', isa => 'Paws::MQ::EncryptionOptions', request_name => 'encryptionOptions', traits => ['NameInRequest']);
11 has EngineType => (is => 'ro', isa => 'Str', request_name => 'engineType', traits => ['NameInRequest']);
12 has EngineVersion => (is => 'ro', isa => 'Str', request_name => 'engineVersion', traits => ['NameInRequest']);
13 has HostInstanceType => (is => 'ro', isa => 'Str', request_name => 'hostInstanceType', traits => ['NameInRequest']);
14 has LdapServerMetadata => (is => 'ro', isa => 'Paws::MQ::LdapServerMetadataInput', request_name => 'ldapServerMetadata', traits => ['NameInRequest']);
15 has Logs => (is => 'ro', isa => 'Paws::MQ::Logs', request_name => 'logs', traits => ['NameInRequest']);
16 has MaintenanceWindowStartTime => (is => 'ro', isa => 'Paws::MQ::WeeklyStartTime', request_name => 'maintenanceWindowStartTime', traits => ['NameInRequest']);
17 has PubliclyAccessible => (is => 'ro', isa => 'Bool', request_name => 'publiclyAccessible', traits => ['NameInRequest']);
18 has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'securityGroups', traits => ['NameInRequest']);
19 has StorageType => (is => 'ro', isa => 'Str', request_name => 'storageType', traits => ['NameInRequest']);
20 has SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'subnetIds', traits => ['NameInRequest']);
21 has Tags => (is => 'ro', isa => 'Paws::MQ::__mapOf__string', request_name => 'tags', traits => ['NameInRequest']);
22 has Users => (is => 'ro', isa => 'ArrayRef[Paws::MQ::User]', request_name => 'users', traits => ['NameInRequest']);
23  
24 1;
25  
26 ### main pod documentation begin ###
27  
28 =head1 NAME
29  
30 Paws::MQ::CreateBrokerInput
31  
32 =head1 USAGE
33  
34 This class represents one of two things:
35  
36 =head3 Arguments in a call to a service
37  
38 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
39 Each attribute should be used as a named argument in the calls that expect this type of object.
40  
41 As an example, if Att1 is expected to be a Paws::MQ::CreateBrokerInput object:
42  
43 $service_obj->Method(Att1 => { AuthenticationStrategy => $value, ..., Users => $value });
44  
45 =head3 Results returned from an API call
46  
47 Use accessors for each attribute. If Att1 is expected to be an Paws::MQ::CreateBrokerInput object:
48  
49 $result = $service_obj->Method(...);
50 $result->Att1->AuthenticationStrategy
51  
52 =head1 DESCRIPTION
53  
54 Required. The version of the broker engine. For a list of supported
55 engine versions, see
56 https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
57  
58 =head1 ATTRIBUTES
59  
60  
61 =head2 AuthenticationStrategy => Str
62  
63 The authentication strategy used to secure the broker.
64  
65  
66 =head2 AutoMinorVersionUpgrade => Bool
67  
68 Required. Enables automatic upgrades to new minor versions for brokers,
69 as Apache releases the versions. The automatic upgrades occur during
70 the maintenance window of the broker or after a manual broker reboot.
71  
72  
73 =head2 BrokerName => Str
74  
75 Required. The name of the broker. This value must be unique in your AWS
76 account, 1-50 characters long, must contain only letters, numbers,
77 dashes, and underscores, and must not contain whitespaces, brackets,
78 wildcard characters, or special characters.
79  
80  
81 =head2 Configuration => L<Paws::MQ::ConfigurationId>
82  
83 A list of information about the configuration.
84  
85  
86 =head2 CreatorRequestId => Str
87  
88 The unique ID that the requester receives for the created broker.
89 Amazon MQ passes your ID with the API action. Note: We recommend using
90 a Universally Unique Identifier (UUID) for the creatorRequestId. You
91 may omit the creatorRequestId if your application doesn't require
92 idempotency.
93  
94  
95 =head2 DeploymentMode => Str
96  
97 Required. The deployment mode of the broker.
98  
99  
100 =head2 EncryptionOptions => L<Paws::MQ::EncryptionOptions>
101  
102 Encryption options for the broker.
103  
104  
105 =head2 EngineType => Str
106  
107 Required. The type of broker engine. Note: Currently, Amazon MQ
108 supports ACTIVEMQ and RABBITMQ.
109  
110  
111 =head2 EngineVersion => Str
112  
113 Required. The version of the broker engine. For a list of supported
114 engine versions, see
115 https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
116  
117  
118 =head2 HostInstanceType => Str
119  
120 Required. The broker's instance type.
121  
122  
123 =head2 LdapServerMetadata => L<Paws::MQ::LdapServerMetadataInput>
124  
125 The metadata of the LDAP server used to authenticate and authorize
126 connections to the broker.
127  
128  
129 =head2 Logs => L<Paws::MQ::Logs>
130  
131 Enables Amazon CloudWatch logging for brokers.
132  
133  
134 =head2 MaintenanceWindowStartTime => L<Paws::MQ::WeeklyStartTime>
135  
136 The parameters that determine the WeeklyStartTime.
137  
138  
139 =head2 PubliclyAccessible => Bool
140  
141 Required. Enables connections from applications outside of the VPC that
142 hosts the broker's subnets.
143  
144  
145 =head2 SecurityGroups => ArrayRef[Str|Undef]
146  
147 The list of security groups (1 minimum, 5 maximum) that authorizes
148 connections to brokers.
149  
150  
151 =head2 StorageType => Str
152  
153 The broker's storage type.
154  
155  
156 =head2 SubnetIds => ArrayRef[Str|Undef]
157  
158 The list of groups that define which subnets and IP ranges the broker
159 can use from different Availability Zones. A SINGLE_INSTANCE deployment
160 requires one subnet (for example, the default subnet). An
161 ACTIVE_STANDBY_MULTI_AZ deployment (ACTIVEMQ) requires two subnets. A
162 CLUSTER_MULTI_AZ deployment (RABBITMQ) has no subnet requirements when
163 deployed with public accessibility, deployment without public
164 accessibility requires at least one subnet.
165  
166  
167 =head2 Tags => L<Paws::MQ::__mapOf__string>
168  
169 Create tags when creating the broker.
170  
171  
172 =head2 Users => ArrayRef[L<Paws::MQ::User>]
173  
174 Required. The list of broker users (persons or applications) who can
175 access queues and topics. For RabbitMQ brokers, one and only one
176 administrative user is accepted and created when a broker is first
177 provisioned. All subsequent broker users are created by making RabbitMQ
178 API calls directly to brokers or via the RabbitMQ Web Console. This
179 value can contain only alphanumeric characters, dashes, periods,
180 underscores, and tildes (- . _ ~). This value must be 2-100 characters
181 long.
182  
183  
184  
185 =head1 SEE ALSO
186  
187 This class forms part of L<Paws>, describing an object used in L<Paws::MQ>
188  
189 =head1 BUGS and CONTRIBUTIONS
190  
191 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
192  
193 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
194  
195 =cut
196