update_association
async
¶
update_association(
agent_space_id: AgentSpaceId,
association_id: AssociationId,
configuration: ServiceConfiguration,
*,
config_overrides: Optional[AsyncDevOpsAgentClientConfig] = None,
capabilities: Optional[AssociationCapabilities] = None,
) -> UpdateAssociationOutput
Partially updates the configuration of an existing service association for an AgentSpace. Present fields are fully replaced; absent fields are left unchanged. Returns 200 OK on success.
Parameters:
-
agent_space_id(AgentSpaceId) –The unique identifier of the AgentSpace
-
association_id(AssociationId) –The unique identifier of the given association.
-
configuration(ServiceConfiguration) –The configuration that directs how AgentSpace interacts with the given service. The entire configuration is replaced on update.
-
capabilities(Optional[AssociationCapabilities], default:None) –Enabled capabilities for this association.
Raises:
-
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.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_devops_agent/_services/async_dev_ops_agent.py
4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 | |