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.CreateApplicationPresignedUrl

Description

Creates and returns a URL that you can use to connect to an application's extension. Currently, the only available extension is the Apache Flink dashboard.

The IAM role or user used to call this API defines the permissions to access the extension. After the presigned URL is created, no additional permission is required to access this URL. IAM authorization policies for this API are also enforced for every HTTP request that attempts to connect to the extension.

You control the amount of time that the URL will be valid using the SessionExpirationDurationInSeconds parameter. If you do not provide this parameter, the returned URL is valid for twelve hours.

The URL that you get from a call to CreateApplicationPresignedUrl must be used within 3 minutes to be valid. If you first try to use the URL after the 3-minute limit expires, the service returns an HTTP 403 Forbidden error.

Synopsis

Creating a Request

data CreateApplicationPresignedUrl Source #

See: newCreateApplicationPresignedUrl smart constructor.

Constructors

CreateApplicationPresignedUrl' 

Fields

Instances

Instances details
Eq CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

Read CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

Show CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

Generic CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

Associated Types

type Rep CreateApplicationPresignedUrl :: Type -> Type #

NFData CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

Hashable CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

ToJSON CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

AWSRequest CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

ToHeaders CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

ToPath CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

ToQuery CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

type Rep CreateApplicationPresignedUrl Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

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

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

newCreateApplicationPresignedUrl Source #

Create a value of CreateApplicationPresignedUrl 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:sessionExpirationDurationInSeconds:CreateApplicationPresignedUrl', createApplicationPresignedUrl_sessionExpirationDurationInSeconds - The duration in seconds for which the returned URL will be valid.

$sel:applicationName:CreateApplicationPresignedUrl', createApplicationPresignedUrl_applicationName - The name of the application.

$sel:urlType:CreateApplicationPresignedUrl', createApplicationPresignedUrl_urlType - The type of the extension for which to create and return a URL. Currently, the only valid extension URL type is FLINK_DASHBOARD_URL.

Request Lenses

createApplicationPresignedUrl_urlType :: Lens' CreateApplicationPresignedUrl UrlType Source #

The type of the extension for which to create and return a URL. Currently, the only valid extension URL type is FLINK_DASHBOARD_URL.

Destructuring the Response

data CreateApplicationPresignedUrlResponse Source #

Constructors

CreateApplicationPresignedUrlResponse' 

Fields

Instances

Instances details
Eq CreateApplicationPresignedUrlResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

Read CreateApplicationPresignedUrlResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

Show CreateApplicationPresignedUrlResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

Generic CreateApplicationPresignedUrlResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

NFData CreateApplicationPresignedUrlResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

type Rep CreateApplicationPresignedUrlResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl

type Rep CreateApplicationPresignedUrlResponse = D1 ('MetaData "CreateApplicationPresignedUrlResponse" "Amazonka.KinesisAnalyticsV2.CreateApplicationPresignedUrl" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" 'False) (C1 ('MetaCons "CreateApplicationPresignedUrlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizedUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateApplicationPresignedUrlResponse Source #

Create a value of CreateApplicationPresignedUrlResponse 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:authorizedUrl:CreateApplicationPresignedUrlResponse', createApplicationPresignedUrlResponse_authorizedUrl - The URL of the extension.

$sel:httpStatus:CreateApplicationPresignedUrlResponse', createApplicationPresignedUrlResponse_httpStatus - The response's http status code.

Response Lenses