blib/lib/Paws/AlexaForBusiness/CreateNetworkProfile.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::AlexaForBusiness::CreateNetworkProfile;
3 use Moose;
4 has CertificateAuthorityArn => (is => 'ro', isa => 'Str');
5 has ClientRequestToken => (is => 'ro', isa => 'Str', required => 1);
6 has CurrentPassword => (is => 'ro', isa => 'Str');
7 has Description => (is => 'ro', isa => 'Str');
8 has EapMethod => (is => 'ro', isa => 'Str');
9 has NetworkProfileName => (is => 'ro', isa => 'Str', required => 1);
10 has NextPassword => (is => 'ro', isa => 'Str');
11 has SecurityType => (is => 'ro', isa => 'Str', required => 1);
12 has Ssid => (is => 'ro', isa => 'Str', required => 1);
13 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::AlexaForBusiness::Tag]');
14 has TrustAnchors => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
15  
16 use MooseX::ClassAttribute;
17  
18 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateNetworkProfile');
19 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AlexaForBusiness::CreateNetworkProfileResponse');
20 class_has _result_key => (isa => 'Str', is => 'ro');
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::AlexaForBusiness::CreateNetworkProfile - Arguments for method CreateNetworkProfile on L<Paws::AlexaForBusiness>
28  
29 =head1 DESCRIPTION
30  
31 This class represents the parameters used for calling the method CreateNetworkProfile on the
32 L<Alexa For Business|Paws::AlexaForBusiness> service. Use the attributes of this class
33 as arguments to method CreateNetworkProfile.
34  
35 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateNetworkProfile.
36  
37 =head1 SYNOPSIS
38  
39 my $a4b = Paws->service('AlexaForBusiness');
40 my $CreateNetworkProfileResponse = $a4b->CreateNetworkProfile(
41 ClientRequestToken => 'MyClientRequestToken',
42 NetworkProfileName => 'MyNetworkProfileName',
43 SecurityType => 'OPEN',
44 Ssid => 'MyNetworkSsid',
45 CertificateAuthorityArn => 'MyArn', # OPTIONAL
46 CurrentPassword => 'MyCurrentWiFiPassword', # OPTIONAL
47 Description => 'MyNetworkProfileDescription', # OPTIONAL
48 EapMethod => 'EAP_TLS', # OPTIONAL
49 NextPassword => 'MyNextWiFiPassword', # OPTIONAL
50 Tags => [
51 {
52 Key => 'MyTagKey', # min: 1, max: 128
53 Value => 'MyTagValue', # max: 256
54  
55 },
56 ...
57 ], # OPTIONAL
58 TrustAnchors => [ 'MyTrustAnchor', ... ], # OPTIONAL
59 );
60  
61 # Results:
62 my $NetworkProfileArn = $CreateNetworkProfileResponse->NetworkProfileArn;
63  
64 # Returns a L<Paws::AlexaForBusiness::CreateNetworkProfileResponse> object.
65  
66 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.
67 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/a4b/CreateNetworkProfile>
68  
69 =head1 ATTRIBUTES
70  
71  
72 =head2 CertificateAuthorityArn => Str
73  
74 The ARN of the Private Certificate Authority (PCA) created in AWS
75 Certificate Manager (ACM). This is used to issue certificates to the
76 devices.
77  
78  
79  
80 =head2 B<REQUIRED> ClientRequestToken => Str
81  
82  
83  
84  
85  
86 =head2 CurrentPassword => Str
87  
88 The current password of the Wi-Fi network.
89  
90  
91  
92 =head2 Description => Str
93  
94 Detailed information about a device's network profile.
95  
96  
97  
98 =head2 EapMethod => Str
99  
100 The authentication standard that is used in the EAP framework.
101 Currently, EAP_TLS is supported.
102  
103 Valid values are: C<"EAP_TLS">
104  
105 =head2 B<REQUIRED> NetworkProfileName => Str
106  
107 The name of the network profile associated with a device.
108  
109  
110  
111 =head2 NextPassword => Str
112  
113 The next, or subsequent, password of the Wi-Fi network. This password
114 is asynchronously transmitted to the device and is used when the
115 password of the network changes to NextPassword.
116  
117  
118  
119 =head2 B<REQUIRED> SecurityType => Str
120  
121 The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE,
122 WPA2_PSK, WPA_PSK, WEP, or OPEN.
123  
124 Valid values are: C<"OPEN">, C<"WEP">, C<"WPA_PSK">, C<"WPA2_PSK">, C<"WPA2_ENTERPRISE">
125  
126 =head2 B<REQUIRED> Ssid => Str
127  
128 The SSID of the Wi-Fi network.
129  
130  
131  
132 =head2 Tags => ArrayRef[L<Paws::AlexaForBusiness::Tag>]
133  
134 The tags to be added to the specified resource. Do not provide system
135 tags.
136  
137  
138  
139 =head2 TrustAnchors => ArrayRef[Str|Undef]
140  
141 The root certificates of your authentication server that is installed
142 on your devices and used to trust your authentication server during EAP
143 negotiation.
144  
145  
146  
147  
148 =head1 SEE ALSO
149  
150 This class forms part of L<Paws>, documenting arguments for method CreateNetworkProfile in L<Paws::AlexaForBusiness>
151  
152 =head1 BUGS and CONTRIBUTIONS
153  
154 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
155  
156 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
157  
158 =cut
159