GetGroup - Amazon CloudWatch Synthetics

GetGroup

Returns information about one group. Groups are a global resource, so you can use this operation from any Region.

Request Syntax

GET /group/groupIdentifier HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

groupIdentifier

Specifies the group to return information for. You can specify the group name, the ARN, or the group ID as the GroupIdentifier.

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Group": { "Arn": "string", "CreatedTime": number, "Id": "string", "LastModifiedTime": number, "Name": "string", "Tags": { "string" : "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.

Group

A structure that contains information about the group.

Type: Group object

Errors

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

ConflictException

A conflicting operation is already in progress.

HTTP Status Code: 409

InternalServerException

An unknown internal error occurred.

HTTP Status Code: 500

ResourceNotFoundException

One of the specified resources was not found.

HTTP Status Code: 404

ValidationException

A parameter could not be validated.

HTTP Status Code: 400

See Also

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