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.
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
public abstract CreateUploadUrlResponse CreateUploadUrl( CreateUploadUrlRequest request )
Container for the necessary parameters to execute the CreateUploadUrl service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5 and newer, 3.5