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   447 use Moose;
  1         3  
  1         9  
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   6160 use MooseX::ClassAttribute;
  1         2  
  1         9  
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 to use for this operation. Supported language codes
43             are as follows:
44              
45             "en" (English)
46              
47             "jp" (Japanese)
48              
49             "zh" (Chinese)
50              
51             If no code is specified, "en" is used as the default.
52              
53              
54              
55             =head2 IgnoreErrors => Bool
56              
57             If set to true, AWS Service Catalog stops managing the specified
58             ProvisionedProduct object even if it cannot delete the underlying
59             resources.
60              
61              
62              
63             =head2 ProvisionedProductId => Str
64              
65             The identifier of the ProvisionedProduct object to terminate. Specify
66             either C<ProvisionedProductName> or C<ProvisionedProductId>, but not
67             both.
68              
69              
70              
71             =head2 ProvisionedProductName => Str
72              
73             The name of the ProvisionedProduct object to terminate. Specify either
74             C<ProvisionedProductName> or C<ProvisionedProductId>, but not both.
75              
76              
77              
78             =head2 B<REQUIRED> TerminateToken => Str
79              
80             An idempotency token that uniquely identifies the termination request.
81             This token is only valid during the termination process. After the
82             ProvisionedProduct object is terminated, further requests to terminate
83             the same ProvisionedProduct object always return B<ResourceNotFound>
84             regardless of the value of C<TerminateToken>.
85              
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, documenting arguments for method TerminateProvisionedProduct in L<Paws::ServiceCatalog>
92              
93             =head1 BUGS and CONTRIBUTIONS
94              
95             The source code is located here: https://github.com/pplu/aws-sdk-perl
96              
97             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
98              
99             =cut
100