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.
This API is in preview release and subject to change.
Creates and persists an Application resource.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateApplicationAsync.
Namespace: Amazon.AppIntegrationsService
Assembly: AWSSDK.AppIntegrationsService.dll
Version: 3.x.y.z
public virtual CreateApplicationResponse CreateApplication( CreateApplicationRequest request )
Container for the necessary parameters to execute the CreateApplication service method.
Exception | Condition |
---|---|
AccessDeniedException | You do not have sufficient access to perform this action. |
DuplicateResourceException | A resource with the specified name already exists. |
InternalServiceErrorException | Request processing failed due to an error or failure with the service. |
InvalidRequestException | The request is not valid. |
ResourceQuotaExceededException | The allowed quota for the resource has been exceeded. |
ThrottlingException | The throttling limit has been exceeded. |
UnsupportedOperationException | The operation is not supported. |
The following creates an application named My Application with access url https://example.com.
var client = new AmazonAppIntegrationsServiceClient(); var response = client.CreateApplication(new CreateApplicationRequest { ApplicationSourceConfig = new ApplicationSourceConfig { ExternalUrlConfig = new ExternalUrlConfig { AccessUrl = "https://example.com" } }, Description = "My first application.", Name = "My Application", Namespace = "myapplication" }); string arn = response.Arn; string id = response.Id;
.NET Framework:
Supported in: 4.5, 4.0, 3.5