blib/lib/Paws/SageMaker/CreateDeviceFleet.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SageMaker::CreateDeviceFleet;
3 use Moose;
4 has Description => (is => 'ro', isa => 'Str');
5 has DeviceFleetName => (is => 'ro', isa => 'Str', required => 1);
6 has EnableIotRoleAlias => (is => 'ro', isa => 'Bool');
7 has OutputConfig => (is => 'ro', isa => 'Paws::SageMaker::EdgeOutputConfig', required => 1);
8 has RoleArn => (is => 'ro', isa => 'Str');
9 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::SageMaker::Tag]');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDeviceFleet');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::SageMaker::CreateDeviceFleet - Arguments for method CreateDeviceFleet on L<Paws::SageMaker>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateDeviceFleet on the
27 L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class
28 as arguments to method CreateDeviceFleet.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDeviceFleet.
31  
32 =head1 SYNOPSIS
33  
34 my $api.sagemaker = Paws->service('SageMaker');
35 $api . sagemaker->CreateDeviceFleet(
36 DeviceFleetName => 'MyEntityName',
37 OutputConfig => {
38 S3OutputLocation => 'MyS3Uri', # max: 1024
39 KmsKeyId => 'MyKmsKeyId', # max: 2048; OPTIONAL
40 PresetDeploymentConfig => 'MyString', # OPTIONAL
41 PresetDeploymentType =>
42 'GreengrassV2Component', # values: GreengrassV2Component; OPTIONAL
43 },
44 Description => 'MyDeviceFleetDescription', # OPTIONAL
45 EnableIotRoleAlias => 1, # OPTIONAL
46 RoleArn => 'MyRoleArn', # OPTIONAL
47 Tags => [
48 {
49 Key => 'MyTagKey', # min: 1, max: 128
50 Value => 'MyTagValue', # max: 256
51  
52 },
53 ...
54 ], # OPTIONAL
55 );
56  
57 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.
58 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/CreateDeviceFleet>
59  
60 =head1 ATTRIBUTES
61  
62  
63 =head2 Description => Str
64  
65 A description of the fleet.
66  
67  
68  
69 =head2 B<REQUIRED> DeviceFleetName => Str
70  
71 The name of the fleet that the device belongs to.
72  
73  
74  
75 =head2 EnableIotRoleAlias => Bool
76  
77 Whether to create an Amazon Web Services IoT Role Alias during device
78 fleet creation. The name of the role alias generated will match this
79 pattern: "SageMakerEdge-{DeviceFleetName}".
80  
81 For example, if your device fleet is called "demo-fleet", the name of
82 the role alias will be "SageMakerEdge-demo-fleet".
83  
84  
85  
86 =head2 B<REQUIRED> OutputConfig => L<Paws::SageMaker::EdgeOutputConfig>
87  
88 The output configuration for storing sample data collected by the
89 fleet.
90  
91  
92  
93 =head2 RoleArn => Str
94  
95 The Amazon Resource Name (ARN) that has access to Amazon Web Services
96 Internet of Things (IoT).
97  
98  
99  
100 =head2 Tags => ArrayRef[L<Paws::SageMaker::Tag>]
101  
102 Creates tags for the specified fleet.
103  
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, documenting arguments for method CreateDeviceFleet in L<Paws::SageMaker>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118