« blib/lib/Paws/LookoutVision/DeleteDatasetResponse.pm
↑ Summary
blib/lib/Paws/LookoutVision/DeleteModelResponse.pm »
| 1 | |||
| 2 | package Paws::LookoutVision::DeleteModel; | ||
| 3 | use Moose; | ||
| 4 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'X-Amzn-Client-Token'); | ||
| 5 | has ModelVersion => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'modelVersion', required => 1); | ||
| 6 | has ProjectName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'projectName', required => 1); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteModel'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2020-11-20/projects/{projectName}/models/{modelVersion}'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'DELETE'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LookoutVision::DeleteModelResponse'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::LookoutVision::DeleteModel - Arguments for method DeleteModel on L<Paws::LookoutVision> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method DeleteModel on the | ||
| 25 | L<Amazon Lookout for Vision|Paws::LookoutVision> service. Use the attributes of this class | ||
| 26 | as arguments to method DeleteModel. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteModel. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $lookoutvision = Paws->service('LookoutVision'); | ||
| 33 | my $DeleteModelResponse = $lookoutvision->DeleteModel( | ||
| 34 | ModelVersion => 'MyModelVersion', | ||
| 35 | ProjectName => 'MyProjectName', | ||
| 36 | ClientToken => 'MyClientToken', # OPTIONAL | ||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $ModelArn = $DeleteModelResponse->ModelArn; | ||
| 41 | |||
| 42 | # Returns a L<Paws::LookoutVision::DeleteModelResponse> object. | ||
| 43 | |||
| 44 | 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. | ||
| 45 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lookoutvision/DeleteModel> | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 ClientToken => Str | ||
| 51 | |||
| 52 | ClientToken is an idempotency token that ensures a call to | ||
| 53 | C<DeleteModel> completes only once. You choose the value to pass. For | ||
| 54 | example, An issue, such as an network outage, might prevent you from | ||
| 55 | getting a response from C<DeleteModel>. In this case, safely retry your | ||
| 56 | call to C<DeleteModel> by using the same C<ClientToken> parameter | ||
| 57 | value. An error occurs if the other input parameters are not the same | ||
| 58 | as in the first request. Using a different value for C<ClientToken> is | ||
| 59 | considered a new call to C<DeleteModel>. An idempotency token is active | ||
| 60 | for 8 hours. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> ModelVersion => Str | ||
| 65 | |||
| 66 | The version of the model that you want to delete. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> ProjectName => Str | ||
| 71 | |||
| 72 | The name of the project that contains the model that you want to | ||
| 73 | delete. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head1 SEE ALSO | ||
| 79 | |||
| 80 | This class forms part of L<Paws>, documenting arguments for method DeleteModel in L<Paws::LookoutVision> | ||
| 81 | |||
| 82 | =head1 BUGS and CONTRIBUTIONS | ||
| 83 | |||
| 84 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 85 | |||
| 86 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 87 | |||
| 88 | =cut | ||
| 89 |