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

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::FSX::DeleteFileSystem;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str');
5 has FileSystemId => (is => 'ro', isa => 'Str', required => 1);
6 has LustreConfiguration => (is => 'ro', isa => 'Paws::FSX::DeleteFileSystemLustreConfiguration');
7 has WindowsConfiguration => (is => 'ro', isa => 'Paws::FSX::DeleteFileSystemWindowsConfiguration');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteFileSystem');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::FSX::DeleteFileSystemResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::FSX::DeleteFileSystem - Arguments for method DeleteFileSystem on L<Paws::FSX>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DeleteFileSystem on the
25 L<Amazon FSx|Paws::FSX> service. Use the attributes of this class
26 as arguments to method DeleteFileSystem.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteFileSystem.
29  
30 =head1 SYNOPSIS
31  
32 my $fsx = Paws->service('FSX');
33 my $DeleteFileSystemResponse = $fsx->DeleteFileSystem(
34 FileSystemId => 'MyFileSystemId',
35 ClientRequestToken => 'MyClientRequestToken', # OPTIONAL
36 LustreConfiguration => {
37 FinalBackupTags => [
38 {
39 Key => 'MyTagKey', # min: 1, max: 128
40 Value => 'MyTagValue', # max: 256
41  
42 },
43 ...
44 ], # min: 1, max: 50; OPTIONAL
45 SkipFinalBackup => 1, # OPTIONAL
46 }, # OPTIONAL
47 WindowsConfiguration => {
48 FinalBackupTags => [
49 {
50 Key => 'MyTagKey', # min: 1, max: 128
51 Value => 'MyTagValue', # max: 256
52  
53 },
54 ...
55 ], # min: 1, max: 50; OPTIONAL
56 SkipFinalBackup => 1, # OPTIONAL
57 }, # OPTIONAL
58 );
59  
60 # Results:
61 my $FileSystemId = $DeleteFileSystemResponse->FileSystemId;
62 my $Lifecycle = $DeleteFileSystemResponse->Lifecycle;
63 my $LustreResponse = $DeleteFileSystemResponse->LustreResponse;
64 my $WindowsResponse = $DeleteFileSystemResponse->WindowsResponse;
65  
66 # Returns a L<Paws::FSX::DeleteFileSystemResponse> object.
67  
68 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.
69 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/fsx/DeleteFileSystem>
70  
71 =head1 ATTRIBUTES
72  
73  
74 =head2 ClientRequestToken => Str
75  
76 A string of up to 64 ASCII characters that Amazon FSx uses to ensure
77 idempotent deletion. This is automatically filled on your behalf when
78 using the AWS CLI or SDK.
79  
80  
81  
82 =head2 B<REQUIRED> FileSystemId => Str
83  
84 The ID of the file system you want to delete.
85  
86  
87  
88 =head2 LustreConfiguration => L<Paws::FSX::DeleteFileSystemLustreConfiguration>
89  
90  
91  
92  
93  
94 =head2 WindowsConfiguration => L<Paws::FSX::DeleteFileSystemWindowsConfiguration>
95  
96  
97  
98  
99  
100  
101 =head1 SEE ALSO
102  
103 This class forms part of L<Paws>, documenting arguments for method DeleteFileSystem in L<Paws::FSX>
104  
105 =head1 BUGS and CONTRIBUTIONS
106  
107 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
108  
109 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
110  
111 =cut
112