blib/lib/Paws/FSX/AssociateFileSystemAliases.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::FSX::AssociateFileSystemAliases;
3 use Moose;
4 has Aliases => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
5 has ClientRequestToken => (is => 'ro', isa => 'Str');
6 has FileSystemId => (is => 'ro', isa => 'Str', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AssociateFileSystemAliases');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::FSX::AssociateFileSystemAliasesResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::FSX::AssociateFileSystemAliases - Arguments for method AssociateFileSystemAliases on L<Paws::FSX>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method AssociateFileSystemAliases on the
24 L<Amazon FSx|Paws::FSX> service. Use the attributes of this class
25 as arguments to method AssociateFileSystemAliases.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateFileSystemAliases.
28  
29 =head1 SYNOPSIS
30  
31 my $fsx = Paws->service('FSX');
32 my $AssociateFileSystemAliasesResponse = $fsx->AssociateFileSystemAliases(
33 Aliases => [
34 'MyAlternateDNSName', ... # min: 4, max: 253
35 ],
36 FileSystemId => 'MyFileSystemId',
37 ClientRequestToken => 'MyClientRequestToken', # OPTIONAL
38 );
39  
40 # Results:
41 my $Aliases = $AssociateFileSystemAliasesResponse->Aliases;
42  
43 # Returns a L<Paws::FSX::AssociateFileSystemAliasesResponse> object.
44  
45 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.
46 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/fsx/AssociateFileSystemAliases>
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 B<REQUIRED> Aliases => ArrayRef[Str|Undef]
52  
53 An array of one or more DNS alias names to associate with the file
54 system. The alias name has to comply with the following formatting
55 requirements:
56  
57 =over
58  
59 =item *
60  
61 Formatted as a fully-qualified domain name (FQDN), I<
62 C<hostname.domain> >, for example, C<accounting.corp.example.com>.
63  
64 =item *
65  
66 Can contain alphanumeric characters and the hyphen (-).
67  
68 =item *
69  
70 Cannot start or end with a hyphen.
71  
72 =item *
73  
74 Can start with a numeric.
75  
76 =back
77  
78 For DNS alias names, Amazon FSx stores alphabetic characters as
79 lowercase letters (a-z), regardless of how you specify them: as
80 uppercase letters, lowercase letters, or the corresponding letters in
81 escape codes.
82  
83  
84  
85 =head2 ClientRequestToken => Str
86  
87  
88  
89  
90  
91 =head2 B<REQUIRED> FileSystemId => Str
92  
93 Specifies the file system with which you want to associate one or more
94 DNS aliases.
95  
96  
97  
98  
99 =head1 SEE ALSO
100  
101 This class forms part of L<Paws>, documenting arguments for method AssociateFileSystemAliases in L<Paws::FSX>
102  
103 =head1 BUGS and CONTRIBUTIONS
104  
105 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
106  
107 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
108  
109 =cut
110