getStorageProfileForQueue method

Future<GetStorageProfileForQueueResponse> getStorageProfileForQueue({
  1. required String farmId,
  2. required String queueId,
  3. required String storageProfileId,
})

Gets a storage profile for a queue.

May throw AccessDeniedException. May throw InternalServerErrorException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter farmId : The farm ID for the queue in storage profile.

Parameter queueId : The queue ID the queue in the storage profile.

Parameter storageProfileId : The storage profile ID for the storage profile in the queue.

Implementation

Future<GetStorageProfileForQueueResponse> getStorageProfileForQueue({
  required String farmId,
  required String queueId,
  required String storageProfileId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/2023-10-12/farms/${Uri.encodeComponent(farmId)}/queues/${Uri.encodeComponent(queueId)}/storage-profiles/${Uri.encodeComponent(storageProfileId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetStorageProfileForQueueResponse.fromJson(response);
}