blib/lib/Paws/SSM/DescribePatchProperties.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SSM::DescribePatchProperties;
3 use Moose;
4 has MaxResults => (is => 'ro', isa => 'Int');
5 has NextToken => (is => 'ro', isa => 'Str');
6 has OperatingSystem => (is => 'ro', isa => 'Str', required => 1);
7 has PatchSet => (is => 'ro', isa => 'Str');
8 has Property => (is => 'ro', isa => 'Str', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribePatchProperties');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::DescribePatchPropertiesResult');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::SSM::DescribePatchProperties - Arguments for method DescribePatchProperties on L<Paws::SSM>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribePatchProperties on the
26 L<Amazon Simple Systems Manager (SSM)|Paws::SSM> service. Use the attributes of this class
27 as arguments to method DescribePatchProperties.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribePatchProperties.
30  
31 =head1 SYNOPSIS
32  
33 my $ssm = Paws->service('SSM');
34 my $DescribePatchPropertiesResult = $ssm->DescribePatchProperties(
35 OperatingSystem => 'WINDOWS',
36 Property => 'PRODUCT',
37 MaxResults => 1, # OPTIONAL
38 NextToken => 'MyNextToken', # OPTIONAL
39 PatchSet => 'OS', # OPTIONAL
40 );
41  
42 # Results:
43 my $NextToken = $DescribePatchPropertiesResult->NextToken;
44 my $Properties = $DescribePatchPropertiesResult->Properties;
45  
46 # Returns a L<Paws::SSM::DescribePatchPropertiesResult> object.
47  
48 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.
49 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm/DescribePatchProperties>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 MaxResults => Int
55  
56 The maximum number of items to return for this call. The call also
57 returns a token that you can specify in a subsequent call to get the
58 next set of results.
59  
60  
61  
62 =head2 NextToken => Str
63  
64 The token for the next set of items to return. (You received this token
65 from a previous call.)
66  
67  
68  
69 =head2 B<REQUIRED> OperatingSystem => Str
70  
71 The operating system type for which to list patches.
72  
73 Valid values are: C<"WINDOWS">, C<"AMAZON_LINUX">, C<"AMAZON_LINUX_2">, C<"UBUNTU">, C<"REDHAT_ENTERPRISE_LINUX">, C<"SUSE">, C<"CENTOS">, C<"ORACLE_LINUX">, C<"DEBIAN">, C<"MACOS">
74  
75 =head2 PatchSet => Str
76  
77 Indicates whether to list patches for the Windows operating system or
78 for Microsoft applications. Not applicable for the Linux or macOS
79 operating systems.
80  
81 Valid values are: C<"OS">, C<"APPLICATION">
82  
83 =head2 B<REQUIRED> Property => Str
84  
85 The patch property for which you want to view patch details.
86  
87 Valid values are: C<"PRODUCT">, C<"PRODUCT_FAMILY">, C<"CLASSIFICATION">, C<"MSRC_SEVERITY">, C<"PRIORITY">, C<"SEVERITY">
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method DescribePatchProperties in L<Paws::SSM>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101