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.
Associates a canary with a group. Using groups can help you with managing and automating your canaries, and you can also view aggregated run results and statistics for all canaries in a group.
You must run this operation in the Region where the canary exists.
For .NET Core this operation is only available in asynchronous form. Please refer to AssociateResourceAsync.
Namespace: Amazon.Synthetics
Assembly: AWSSDK.Synthetics.dll
Version: 3.x.y.z
public abstract AssociateResourceResponse AssociateResource( AssociateResourceRequest request )
Container for the necessary parameters to execute the AssociateResource service method.
Exception | Condition |
---|---|
ConflictException | A conflicting operation is already in progress. |
InternalServerException | An unknown internal error occurred. |
ResourceNotFoundException | One of the specified resources was not found. |
ServiceQuotaExceededException | The request exceeded a service quota value. |
ValidationException | A parameter could not be validated. |
.NET Framework:
Supported in: 4.5 and newer, 3.5