package CloudCronCLI::Remove;
use MooseX::App::Command;
use Paws;
use JSON;
use CloudDeploy::Utils;
use CloudCron::AWS::CloudWatch;
command_short_description q(Delete a crontab queue or
Arn => $self->target->Arn,
Id => $self->target->Id,
Input => $input->json,
},
],
});
}
__PACKAGE__->meta->make_immutable;
1;
package CloudCron::TargetInput;
use Moose;
use JSON;
has command => (is => 'ro', isa => 'Str', required => 1);
has env => (is => 'ro', isa => 'HashRef[Str]', required => 0, default => sub { {} })
(is => 'ro', isa => 'Str', required => 0, default => sub { 'shell' });
sub json {
my $self = shift;
return to_json({
command => $self->command,
env => $self->env,
use CloudCron::Compiler;
use CloudCron::TargetQueue;
use CloudCron::AWS::CloudWatch;
use JSON;
command_short_description q(Deploy a crontab file into AWS);
command_long_description q(Par