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.
Adds a specific service association to an AgentSpace. It overwrites the existing association of the same service. Returns 201 Created on success.
For .NET Core this operation is only available in asynchronous form. Please refer to AssociateServiceAsync.
Namespace: Amazon.DevOpsAgent
Assembly: AWSSDK.DevOpsAgent.dll
Version: 3.x.y.z
public virtual AssociateServiceResponse AssociateService( AssociateServiceRequest request )
Container for the necessary parameters to execute the AssociateService service method.
| Exception | Condition |
|---|---|
| AccessDeniedException | Access to the requested resource is denied due to insufficient permissions. |
| ConflictException | The request conflicts with the current state of the resource. |
| ContentSizeExceededException | This exception is thrown when the content size exceeds the allowed limit. |
| InternalServerException | This exception is thrown when an unexpected error occurs in the processing of a request. |
| InvalidParameterException | One or more parameters provided in the request are invalid. |
| ResourceNotFoundException | The requested resource could not be found. |
| ServiceQuotaExceededException | The request would exceed the service quota limit. |
| ThrottlingException | The request was throttled due to too many requests. Please slow down and try again. |
| ValidationException | The input fails to satisfy the constraints specified by the service. |
.NET Framework:
Supported in: 4.7.2 and newer