File Coverage

blib/lib/Paws/ServiceCatalog/TerminateProvisionedProduct.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::ServiceCatalog::TerminateProvisionedProduct;
3 1     1   1910 use Moose;
  1         6  
  1         13  
4             has AcceptLanguage => (is => 'ro', isa => 'Str');
5             has IgnoreErrors => (is => 'ro', isa => 'Bool');
6             has ProvisionedProductId => (is => 'ro', isa => 'Str');
7             has ProvisionedProductName => (is => 'ro', isa => 'Str');
8             has TerminateToken => (is => 'ro', isa => 'Str', required => 1);
9              
10 1     1   12906 use MooseX::ClassAttribute;
  1         5  
  1         15  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'TerminateProvisionedProduct');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ServiceCatalog::TerminateProvisionedProductOutput');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::ServiceCatalog::TerminateProvisionedProduct - Arguments for method TerminateProvisionedProduct on Paws::ServiceCatalog
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method TerminateProvisionedProduct on the
26             AWS Service Catalog service. Use the attributes of this class
27             as arguments to method TerminateProvisionedProduct.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TerminateProvisionedProduct.
30              
31             As an example:
32              
33             $service_obj->TerminateProvisionedProduct(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 AcceptLanguage => Str
41              
42             The language code.
43              
44             =over
45              
46             =item *
47              
48             C<en> - English (default)
49              
50             =item *
51              
52             C<jp> - Japanese
53              
54             =item *
55              
56             C<zh> - Chinese
57              
58             =back
59              
60              
61              
62              
63             =head2 IgnoreErrors => Bool
64              
65             If set to true, AWS Service Catalog stops managing the specified
66             ProvisionedProduct object even if it cannot delete the underlying
67             resources.
68              
69              
70              
71             =head2 ProvisionedProductId => Str
72              
73             The identifier of the ProvisionedProduct object to terminate. Specify
74             either C<ProvisionedProductName> or C<ProvisionedProductId>, but not
75             both.
76              
77              
78              
79             =head2 ProvisionedProductName => Str
80              
81             The name of the ProvisionedProduct object to terminate. Specify either
82             C<ProvisionedProductName> or C<ProvisionedProductId>, but not both.
83              
84              
85              
86             =head2 B<REQUIRED> TerminateToken => Str
87              
88             An idempotency token that uniquely identifies the termination request.
89             This token is only valid during the termination process. After the
90             ProvisionedProduct object is terminated, further requests to terminate
91             the same ProvisionedProduct object always return B<ResourceNotFound>
92             regardless of the value of C<TerminateToken>.
93              
94              
95              
96              
97             =head1 SEE ALSO
98              
99             This class forms part of L<Paws>, documenting arguments for method TerminateProvisionedProduct in L<Paws::ServiceCatalog>
100              
101             =head1 BUGS and CONTRIBUTIONS
102              
103             The source code is located here: https://github.com/pplu/aws-sdk-perl
104              
105             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
106              
107             =cut
108