getStorageProfile method
Gets a storage profile.
May throw AccessDeniedException.
May throw InternalServerErrorException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter farmId :
The farm ID for the storage profile.
Parameter storageProfileId :
The storage profile ID.
Implementation
Future<GetStorageProfileResponse> getStorageProfile({
required String farmId,
required String storageProfileId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/2023-10-12/farms/${Uri.encodeComponent(farmId)}/storage-profiles/${Uri.encodeComponent(storageProfileId)}',
exceptionFnMap: _exceptionFns,
);
return GetStorageProfileResponse.fromJson(response);
}