deleteAgentSpace method
Deletes an AgentSpace. This operation is idempotent and returns a 204 No Content response on success.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter agentSpaceId :
The unique identifier of the AgentSpace
Implementation
Future<void> deleteAgentSpace({
required String agentSpaceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/v1/agentspaces/${Uri.encodeComponent(agentSpaceId)}',
hostPrefix: 'cp.',
exceptionFnMap: _exceptionFns,
);
}