updateIntegratedResources method

Future<void> updateIntegratedResources({
  1. required String agentSpaceId,
  2. required String integrationId,
  3. required List<IntegratedResourceInputItem> items,
})

Updates the integrated resources for an agent space, including their capabilities.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter agentSpaceId : The unique identifier of the agent space.

Parameter integrationId : The unique identifier of the integration.

Parameter items : The list of integrated resource items to update.

Implementation

Future<void> updateIntegratedResources({
  required String agentSpaceId,
  required String integrationId,
  required List<IntegratedResourceInputItem> items,
}) async {
  final $payload = <String, dynamic>{
    'agentSpaceId': agentSpaceId,
    'integrationId': integrationId,
    'items': items,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/UpdateIntegratedResources',
    exceptionFnMap: _exceptionFns,
  );
}