disassociate_resource

Synthetics.Client.disassociate_resource(**kwargs)

Removes a canary from a group. You must run this operation in the Region where the canary exists.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_resource(
    GroupIdentifier='string',
    ResourceArn='string'
)
Parameters
  • GroupIdentifier (string) --

    [REQUIRED]

    Specifies the group. You can specify the group name, the ARN, or the group ID as the GroupIdentifier .

  • ResourceArn (string) --

    [REQUIRED]

    The ARN of the canary that you want to remove from the specified group.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • Synthetics.Client.exceptions.InternalServerException
  • Synthetics.Client.exceptions.ValidationException
  • Synthetics.Client.exceptions.ResourceNotFoundException
  • Synthetics.Client.exceptions.ConflictException