AWS SDK Version 3 for .NET
API Reference

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.

Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the uploaded resource.

You can upload your code resource to the URL with the request headers using any HTTP client.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateUploadUrlAsync.

Namespace: Amazon.CodeGuruSecurity
Assembly: AWSSDK.CodeGuruSecurity.dll
Version: 3.x.y.z

Syntax

C#
public abstract CreateUploadUrlResponse CreateUploadUrl(
         CreateUploadUrlRequest request
)

Parameters

request
Type: Amazon.CodeGuruSecurity.Model.CreateUploadUrlRequest

Container for the necessary parameters to execute the CreateUploadUrl service method.

Return Value


The response from the CreateUploadUrl service method, as returned by CodeGuruSecurity.

Exceptions

ExceptionCondition
AccessDeniedException You do not have sufficient access to perform this action.
InternalServerException The server encountered an internal error and is unable to complete the request.
ThrottlingException The request was denied due to request throttling.
ValidationException The input fails to satisfy the specified constraints.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also