« blib/lib/Paws/KinesisAnalyticsV2/AddApplicationReferenceDataSourceResponse.pm
↑ Summary
blib/lib/Paws/KinesisAnalyticsV2/AddApplicationVpcConfigurationResponse.pm »
| 1 | |||
| 2 | package Paws::KinesisAnalyticsV2::AddApplicationVpcConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has ApplicationName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ConditionalToken => (is => 'ro', isa => 'Str'); | ||
| 6 | has CurrentApplicationVersionId => (is => 'ro', isa => 'Int'); | ||
| 7 | has VpcConfiguration => (is => 'ro', isa => 'Paws::KinesisAnalyticsV2::VpcConfiguration', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddApplicationVpcConfiguration'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::KinesisAnalyticsV2::AddApplicationVpcConfigurationResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::KinesisAnalyticsV2::AddApplicationVpcConfiguration - Arguments for method AddApplicationVpcConfiguration on L<Paws::KinesisAnalyticsV2> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method AddApplicationVpcConfiguration on the | ||
| 25 | L<Amazon Kinesis Analytics|Paws::KinesisAnalyticsV2> service. Use the attributes of this class | ||
| 26 | as arguments to method AddApplicationVpcConfiguration. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddApplicationVpcConfiguration. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $kinesisanalytics = Paws->service('KinesisAnalyticsV2'); | ||
| 33 | my $AddApplicationVpcConfigurationResponse = | ||
| 34 | $kinesisanalytics->AddApplicationVpcConfiguration( | ||
| 35 | ApplicationName => 'MyApplicationName', | ||
| 36 | VpcConfiguration => { | ||
| 37 | SecurityGroupIds => [ 'MySecurityGroupId', ... ], # min: 1, max: 5 | ||
| 38 | SubnetIds => [ 'MySubnetId', ... ], # min: 1, max: 16 | ||
| 39 | |||
| 40 | }, | ||
| 41 | ConditionalToken => 'MyConditionalToken', # OPTIONAL | ||
| 42 | CurrentApplicationVersionId => 1, # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $ApplicationARN = | ||
| 47 | $AddApplicationVpcConfigurationResponse->ApplicationARN; | ||
| 48 | my $ApplicationVersionId = | ||
| 49 | $AddApplicationVpcConfigurationResponse->ApplicationVersionId; | ||
| 50 | my $VpcConfigurationDescription = | ||
| 51 | $AddApplicationVpcConfigurationResponse->VpcConfigurationDescription; | ||
| 52 | |||
| 53 | # Returns a L<Paws::KinesisAnalyticsV2::AddApplicationVpcConfigurationResponse> object. | ||
| 54 | |||
| 55 | 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. | ||
| 56 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics/AddApplicationVpcConfiguration> | ||
| 57 | |||
| 58 | =head1 ATTRIBUTES | ||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> ApplicationName => Str | ||
| 62 | |||
| 63 | The name of an existing application. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 ConditionalToken => Str | ||
| 68 | |||
| 69 | A value you use to implement strong concurrency for application | ||
| 70 | updates. You must provide the C<ApplicationVersionID> or the | ||
| 71 | C<ConditionalToken>. You get the application's current | ||
| 72 | C<ConditionalToken> using DescribeApplication. For better concurrency | ||
| 73 | support, use the C<ConditionalToken> parameter instead of | ||
| 74 | C<CurrentApplicationVersionId>. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head2 CurrentApplicationVersionId => Int | ||
| 79 | |||
| 80 | The version of the application to which you want to add the VPC | ||
| 81 | configuration. You must provide the C<CurrentApplicationVersionId> or | ||
| 82 | the C<ConditionalToken>. You can use the DescribeApplication operation | ||
| 83 | to get the current application version. If the version specified is not | ||
| 84 | the current version, the C<ConcurrentModificationException> is | ||
| 85 | returned. For better concurrency support, use the C<ConditionalToken> | ||
| 86 | parameter instead of C<CurrentApplicationVersionId>. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 B<REQUIRED> VpcConfiguration => L<Paws::KinesisAnalyticsV2::VpcConfiguration> | ||
| 91 | |||
| 92 | Description of the VPC to add to the application. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head1 SEE ALSO | ||
| 98 | |||
| 99 | This class forms part of L<Paws>, documenting arguments for method AddApplicationVpcConfiguration in L<Paws::KinesisAnalyticsV2> | ||
| 100 | |||
| 101 | =head1 BUGS and CONTRIBUTIONS | ||
| 102 | |||
| 103 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 104 | |||
| 105 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 106 | |||
| 107 | =cut | ||
| 108 |