Amazon CloudWatch Application Insights for .NET and SQL Server
Welcome (API Version 2018-11-25)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

CreateApplication

Adds an application that is created from a resource group.

Request Syntax

{ "OpsCenterEnabled": boolean, "OpsItemSNSTopicArn": "string", "ResourceGroupName": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

OpsCenterEnabled

When set to true, creates opsItems for any problems detected on an application.

Type: Boolean

Required: No

OpsItemSNSTopicArn

The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.

Type: String

Required: No

ResourceGroupName

The name of the resource group.

Type: String

Required: Yes

Response Syntax

{ "ApplicationInfo": { "LifeCycle": "string", "OpsCenterEnabled": boolean, "OpsItemSNSTopicArn": "string", "Remarks": "string", "ResourceGroupName": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ApplicationInfo

Information about the application.

Type: ApplicationInfo object

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerException

The server encountered an internal error and is unable to complete the request.

HTTP Status Code: 400

ResourceInUseException

The resource is already created or in use.

HTTP Status Code: 400

ResourceNotFoundException

The resource does not exist in the customer account.

HTTP Status Code: 400

ValidationException

The parameter is not valid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: