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.

CreateComponent

Creates a custom component by grouping similar standalone instances to monitor.

Request Syntax

{ "ComponentName": "string", "ResourceGroupName": "string", "ResourceList": [ "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.

ComponentName

The name of the component.

Type: String

Required: Yes

ResourceGroupName

The name of the resource group.

Type: String

Required: Yes

ResourceList

The list of resource ARNs that belong to the component.

Type: Array of strings

Required: Yes

Response Elements

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

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: