libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

Description

Adds a Virtual Private Cloud (VPC) configuration to the application. Applications can use VPCs to store and access resources securely.

Note the following about VPC configurations for Kinesis Data Analytics applications:

  • VPC configurations are not supported for SQL applications.
  • When a VPC is added to a Kinesis Data Analytics application, the application can no longer be accessed from the Internet directly. To enable Internet access to the application, add an Internet gateway to your VPC.
Synopsis

Creating a Request

data AddApplicationVpcConfiguration Source #

See: newAddApplicationVpcConfiguration smart constructor.

Constructors

AddApplicationVpcConfiguration' 

Fields

  • currentApplicationVersionId :: Maybe Natural

    The version of the application to which you want to add the VPC configuration. You must provide the CurrentApplicationVersionId or the ConditionalToken. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

  • conditionalToken :: Maybe Text

    A value you use to implement strong concurrency for application updates. You must provide the ApplicationVersionID or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

  • applicationName :: Text

    The name of an existing application.

  • vpcConfiguration :: VpcConfiguration

    Description of the VPC to add to the application.

Instances

Instances details
Eq AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

Read AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

Show AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

Generic AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

Associated Types

type Rep AddApplicationVpcConfiguration :: Type -> Type #

NFData AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

Hashable AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

ToJSON AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

AWSRequest AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

ToHeaders AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

ToPath AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

ToQuery AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

type Rep AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

type Rep AddApplicationVpcConfiguration = D1 ('MetaData "AddApplicationVpcConfiguration" "Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" 'False) (C1 ('MetaCons "AddApplicationVpcConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "currentApplicationVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "conditionalToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vpcConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VpcConfiguration))))
type AWSResponse AddApplicationVpcConfiguration Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

newAddApplicationVpcConfiguration Source #

Create a value of AddApplicationVpcConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:currentApplicationVersionId:AddApplicationVpcConfiguration', addApplicationVpcConfiguration_currentApplicationVersionId - The version of the application to which you want to add the VPC configuration. You must provide the CurrentApplicationVersionId or the ConditionalToken. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

$sel:conditionalToken:AddApplicationVpcConfiguration', addApplicationVpcConfiguration_conditionalToken - A value you use to implement strong concurrency for application updates. You must provide the ApplicationVersionID or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

$sel:applicationName:AddApplicationVpcConfiguration', addApplicationVpcConfiguration_applicationName - The name of an existing application.

$sel:vpcConfiguration:AddApplicationVpcConfiguration', addApplicationVpcConfiguration_vpcConfiguration - Description of the VPC to add to the application.

Request Lenses

addApplicationVpcConfiguration_currentApplicationVersionId :: Lens' AddApplicationVpcConfiguration (Maybe Natural) Source #

The version of the application to which you want to add the VPC configuration. You must provide the CurrentApplicationVersionId or the ConditionalToken. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

addApplicationVpcConfiguration_conditionalToken :: Lens' AddApplicationVpcConfiguration (Maybe Text) Source #

A value you use to implement strong concurrency for application updates. You must provide the ApplicationVersionID or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

Destructuring the Response

data AddApplicationVpcConfigurationResponse Source #

Constructors

AddApplicationVpcConfigurationResponse' 

Fields

Instances

Instances details
Eq AddApplicationVpcConfigurationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

Read AddApplicationVpcConfigurationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

Show AddApplicationVpcConfigurationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

Generic AddApplicationVpcConfigurationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

NFData AddApplicationVpcConfigurationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

type Rep AddApplicationVpcConfigurationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration

type Rep AddApplicationVpcConfigurationResponse = D1 ('MetaData "AddApplicationVpcConfigurationResponse" "Amazonka.KinesisAnalyticsV2.AddApplicationVpcConfiguration" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" 'False) (C1 ('MetaCons "AddApplicationVpcConfigurationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "applicationARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "applicationVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "vpcConfigurationDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfigurationDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newAddApplicationVpcConfigurationResponse Source #

Create a value of AddApplicationVpcConfigurationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:applicationARN:AddApplicationVpcConfigurationResponse', addApplicationVpcConfigurationResponse_applicationARN - The ARN of the application.

$sel:applicationVersionId:AddApplicationVpcConfigurationResponse', addApplicationVpcConfigurationResponse_applicationVersionId - Provides the current application version. Kinesis Data Analytics updates the ApplicationVersionId each time you update the application.

$sel:vpcConfigurationDescription:AddApplicationVpcConfigurationResponse', addApplicationVpcConfigurationResponse_vpcConfigurationDescription - The parameters of the new VPC configuration.

$sel:httpStatus:AddApplicationVpcConfigurationResponse', addApplicationVpcConfigurationResponse_httpStatus - The response's http status code.

Response Lenses

addApplicationVpcConfigurationResponse_applicationVersionId :: Lens' AddApplicationVpcConfigurationResponse (Maybe Natural) Source #

Provides the current application version. Kinesis Data Analytics updates the ApplicationVersionId each time you update the application.