AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates and returns a URL that you can use to connect to an application's extension.
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.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginCreateApplicationPresignedUrl and EndCreateApplicationPresignedUrl.
Namespace: Amazon.KinesisAnalyticsV2
Assembly: AWSSDK.KinesisAnalyticsV2.dll
Version: 3.x.y.z
public virtual Task<CreateApplicationPresignedUrlResponse> CreateApplicationPresignedUrlAsync( CreateApplicationPresignedUrlRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the CreateApplicationPresignedUrl service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exception | Condition |
---|---|
InvalidArgumentException | The specified input parameter value is not valid. |
ResourceInUseException | The application is not available for this operation. |
ResourceNotFoundException | Specified application can't be found. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer