« blib/lib/Paws/KinesisAnalyticsV2/SqlRunConfiguration.pm
↑ Summary
blib/lib/Paws/KinesisAnalyticsV2/StartApplicationResponse.pm »
| 1 | |||
| 2 | package Paws::KinesisAnalyticsV2::StartApplication; | ||
| 3 | use Moose; | ||
| 4 | has ApplicationName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has RunConfiguration => (is => 'ro', isa => 'Paws::KinesisAnalyticsV2::RunConfiguration'); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartApplication'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::KinesisAnalyticsV2::StartApplicationResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::KinesisAnalyticsV2::StartApplication - Arguments for method StartApplication on L<Paws::KinesisAnalyticsV2> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method StartApplication on the | ||
| 23 | L<Amazon Kinesis Analytics|Paws::KinesisAnalyticsV2> service. Use the attributes of this class | ||
| 24 | as arguments to method StartApplication. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartApplication. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $kinesisanalytics = Paws->service('KinesisAnalyticsV2'); | ||
| 31 | my $StartApplicationResponse = $kinesisanalytics->StartApplication( | ||
| 32 | ApplicationName => 'MyApplicationName', | ||
| 33 | RunConfiguration => { | ||
| 34 | ApplicationRestoreConfiguration => { | ||
| 35 | ApplicationRestoreType => 'SKIP_RESTORE_FROM_SNAPSHOT' | ||
| 36 | , # values: SKIP_RESTORE_FROM_SNAPSHOT, RESTORE_FROM_LATEST_SNAPSHOT, RESTORE_FROM_CUSTOM_SNAPSHOT | ||
| 37 | SnapshotName => 'MySnapshotName', # min: 1, max: 256; OPTIONAL | ||
| 38 | }, # OPTIONAL | ||
| 39 | FlinkRunConfiguration => { | ||
| 40 | AllowNonRestoredState => 1, # OPTIONAL | ||
| 41 | }, # OPTIONAL | ||
| 42 | SqlRunConfigurations => [ | ||
| 43 | { | ||
| 44 | InputId => 'MyId', # min: 1, max: 50 | ||
| 45 | InputStartingPositionConfiguration => { | ||
| 46 | InputStartingPosition => | ||
| 47 | 'NOW', # values: NOW, TRIM_HORIZON, LAST_STOPPED_POINT; OPTIONAL | ||
| 48 | }, | ||
| 49 | |||
| 50 | }, | ||
| 51 | ... | ||
| 52 | ], # OPTIONAL | ||
| 53 | }, # OPTIONAL | ||
| 54 | ); | ||
| 55 | |||
| 56 | 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. | ||
| 57 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics/StartApplication> | ||
| 58 | |||
| 59 | =head1 ATTRIBUTES | ||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> ApplicationName => Str | ||
| 63 | |||
| 64 | The name of the application. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 RunConfiguration => L<Paws::KinesisAnalyticsV2::RunConfiguration> | ||
| 69 | |||
| 70 | Identifies the run configuration (start parameters) of a Kinesis Data | ||
| 71 | Analytics application. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, documenting arguments for method StartApplication in L<Paws::KinesisAnalyticsV2> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |